@sixbell-telco/sdk 1.6.0 → 2.1.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 (209) hide show
  1. package/CHANGELOG.md +260 -711
  2. package/README.md +337 -278
  3. package/_index.css +3 -3
  4. package/components/accordion/accordion-item/accordion-item.component.d.ts +3 -4
  5. package/components/audio-player/audio-timeline/audio-timeline.component.d.ts +29 -2
  6. package/components/audio-player/services/audio.service.d.ts +14 -14
  7. package/components/audio-player/src/audio-player.component.d.ts +7 -3
  8. package/components/audio-player/volume-control/volume-control.component.d.ts +28 -1
  9. package/components/button/src/button.component.d.ts +46 -1
  10. package/components/countdown/src/countdown.component.d.ts +1 -1
  11. package/components/data-table/data-table-empty-actions/data-table-empty-actions.component.d.ts +5 -0
  12. package/components/data-table/public-api.d.ts +1 -0
  13. package/components/data-table/src/data-table.component.d.ts +11 -3
  14. package/components/dialog/src/dialog.component.d.ts +51 -5
  15. package/components/dropdown/dropdown-content/dropdown-content.component.d.ts +2 -1
  16. package/components/dropdown/dropdown-item/dropdown-item.component.d.ts +37 -1
  17. package/components/dropdown/dropdown-item-checkbox/dropdown-item-checkbox.component.d.ts +33 -1
  18. package/components/dropdown/dropdown-item-radio/dropdown-item-radio.component.d.ts +33 -1
  19. package/components/dropdown/dropdown-trigger/dropdown-trigger.component.d.ts +53 -2
  20. package/components/dropdown/src/dropdown.component.d.ts +2 -2
  21. package/components/dropdown-menu/bar/dropdown-menu-bar-content/dropdown-menu-bar-content.component.d.ts +2 -1
  22. package/components/dropdown-menu/bar/dropdown-menu-bar-item/dropdown-menu-bar-item.component.d.ts +33 -1
  23. package/components/dropdown-menu/bar/dropdown-menu-bar-item-checkbox/dropdown-menu-bar-item-checkbox.component.d.ts +33 -1
  24. package/components/dropdown-menu/bar/dropdown-menu-bar-item-radio/dropdown-menu-bar-item-radio.component.d.ts +33 -1
  25. package/components/dropdown-menu/src/directives/dropdown-menu.directive.d.ts +1 -3
  26. package/components/dropdown-menu/src/dropdown-menu-content/dropdown-menu-content.component.d.ts +4 -4
  27. package/components/dropdown-menu/src/dropdown-menu-item/dropdown-menu-item.component.d.ts +33 -1
  28. package/components/dropdown-menu/src/dropdown-menu-sub-content/dropdown-menu-sub-content.component.d.ts +2 -1
  29. package/components/dual-list/src/dual-list.component.d.ts +4 -2
  30. package/components/file-upload/file-dropzone/file-dropzone.component.d.ts +53 -8
  31. package/components/file-upload/file-uploader/file-uploader.component.d.ts +40 -9
  32. package/components/forms/checkbox/src/checkbox.component.d.ts +46 -2
  33. package/components/forms/combobox/src/combobox.component.d.ts +40 -5
  34. package/components/forms/date-picker/src/date-picker.component.d.ts +11 -1
  35. package/components/forms/form-group/README.md +114 -0
  36. package/components/forms/form-group/index.d.ts +5 -0
  37. package/components/forms/form-group/public-api.d.ts +1 -0
  38. package/components/forms/form-group/src/form-group.component.d.ts +150 -0
  39. package/components/forms/form-item/README.md +17 -0
  40. package/components/forms/form-item/index.d.ts +5 -0
  41. package/components/forms/form-item/public-api.d.ts +1 -0
  42. package/components/forms/form-item/src/form-item.component.d.ts +5 -0
  43. package/components/forms/input/src/input.component.d.ts +45 -2
  44. package/components/forms/radio/src/radio.component.d.ts +46 -2
  45. package/components/forms/range/src/range.component.d.ts +38 -1
  46. package/components/forms/select/src/select.component.d.ts +40 -5
  47. package/components/forms/switch/src/switch.component.d.ts +46 -2
  48. package/components/forms/textarea/src/textarea.component.d.ts +62 -12
  49. package/components/forms/toggle/src/toggle.component.d.ts +46 -1
  50. package/components/link/src/link.component.d.ts +0 -3
  51. package/components/overlay/overlay-content/overlay-content.component.d.ts +2 -1
  52. package/components/overlay/overlay-trigger/overlay-trigger.component.d.ts +37 -5
  53. package/components/overlay/src/overlay.component.d.ts +4 -5
  54. package/components/paginator/components/pagination-item/pagination-item.component.d.ts +37 -1
  55. package/components/tab/directives/tab-content/tab-content.directive.d.ts +5 -6
  56. package/components/tab/directives/tab-header/tab-header.directive.d.ts +2 -2
  57. package/components/table/public-api.d.ts +1 -0
  58. package/components/table/src/table.component.d.ts +36 -4
  59. package/components/table/table-empty-actions/table-empty-actions.component.d.ts +5 -0
  60. package/components/table/table-header-checkbox/table-header-checkbox.component.d.ts +5 -11
  61. package/components/table/table-row-checkbox/table-row-checkbox.component.d.ts +5 -11
  62. package/components/toast/toast-message/toast-message.component.d.ts +42 -1
  63. package/components/tooltip/src/tooltip.component.d.ts +10 -1
  64. package/components/wizard/services/wizard.service.d.ts +5 -5
  65. package/components/wizard/wizard-marker/wizard-marker.component.d.ts +2 -3
  66. package/directives/auto-focus/public-api.d.ts +1 -1
  67. package/directives/auto-focus/src/{autofocus.directive.d.ts → auto-focus.directive.d.ts} +9 -15
  68. package/directives/click-outside/src/click-outside.directive.d.ts +1 -3
  69. package/directives/only-numbers/public-api.d.ts +6 -1
  70. package/directives/only-numbers/src/only-numbers.directive.d.ts +36 -0
  71. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +6 -9
  72. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
  73. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +133 -51
  74. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
  75. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +1 -1
  76. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
  77. package/fesm2022/sixbell-telco-sdk-components-badge.mjs +2 -2
  78. package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
  79. package/fesm2022/sixbell-telco-sdk-components-button.mjs +78 -4
  80. package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
  81. package/fesm2022/sixbell-telco-sdk-components-countdown.mjs.map +1 -1
  82. package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs +1 -1
  83. package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs.map +1 -1
  84. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +53 -27
  85. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -1
  86. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +82 -12
  87. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -1
  88. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +166 -13
  89. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -1
  90. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +68 -24
  91. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -1
  92. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +283 -16
  93. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
  94. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +12 -9
  95. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
  96. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +151 -10
  97. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
  98. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +69 -3
  99. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
  100. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +96 -19
  101. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
  102. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs +15 -3
  103. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs.map +1 -1
  104. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +2 -2
  105. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
  106. package/fesm2022/sixbell-telco-sdk-components-forms-form-group.mjs +159 -0
  107. package/fesm2022/sixbell-telco-sdk-components-forms-form-group.mjs.map +1 -0
  108. package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs +20 -0
  109. package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs.map +1 -0
  110. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +62 -6
  111. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
  112. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +69 -3
  113. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
  114. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +57 -4
  115. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
  116. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +91 -20
  117. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
  118. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +80 -6
  119. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
  120. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +131 -13
  121. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
  122. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +69 -3
  123. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
  124. package/fesm2022/sixbell-telco-sdk-components-link.mjs +2 -7
  125. package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
  126. package/fesm2022/sixbell-telco-sdk-components-overlay.mjs +94 -42
  127. package/fesm2022/sixbell-telco-sdk-components-overlay.mjs.map +1 -1
  128. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +71 -10
  129. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
  130. package/fesm2022/sixbell-telco-sdk-components-tab.mjs +5 -9
  131. package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
  132. package/fesm2022/sixbell-telco-sdk-components-table.mjs +131 -47
  133. package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
  134. package/fesm2022/sixbell-telco-sdk-components-toast.mjs +69 -4
  135. package/fesm2022/sixbell-telco-sdk-components-toast.mjs.map +1 -1
  136. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +15 -3
  137. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
  138. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +4 -4
  139. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
  140. package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs +29 -49
  141. package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs.map +1 -1
  142. package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs +7 -10
  143. package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs.map +1 -1
  144. package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs +48 -17
  145. package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs.map +1 -1
  146. package/fesm2022/sixbell-telco-sdk-utils-date.mjs +1 -1
  147. package/fesm2022/sixbell-telco-sdk-utils-date.mjs.map +1 -1
  148. package/fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs +1 -1
  149. package/fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs.map +1 -1
  150. package/fesm2022/sixbell-telco-sdk-utils-runtime-config.mjs +339 -0
  151. package/fesm2022/sixbell-telco-sdk-utils-runtime-config.mjs.map +1 -0
  152. package/fesm2022/sixbell-telco-sdk-utils-sync.mjs +1 -1
  153. package/fesm2022/sixbell-telco-sdk-utils-sync.mjs.map +1 -1
  154. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs +1062 -730
  155. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs.map +1 -1
  156. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs +350 -267
  157. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs.map +1 -1
  158. package/package.json +55 -46
  159. package/utils/runtime-config/README.md +235 -0
  160. package/utils/{resource-loader → runtime-config}/index.d.ts +1 -1
  161. package/utils/runtime-config/public-api.d.ts +5 -0
  162. package/utils/runtime-config/src/http-client.d.ts +11 -0
  163. package/utils/runtime-config/src/runtime-config-loader.d.ts +23 -0
  164. package/utils/runtime-config/src/runtime-config-store.d.ts +11 -0
  165. package/utils/runtime-config/src/runtime-update-adapter.d.ts +15 -0
  166. package/utils/runtime-config/src/types.d.ts +66 -0
  167. package/utils/theme/README.md +324 -986
  168. package/utils/theme/public-api.d.ts +4 -4
  169. package/utils/theme/src/constants.d.ts +6 -12
  170. package/utils/theme/src/models/theme.d.ts +46 -173
  171. package/utils/theme/src/providers/theme.provider.d.ts +0 -10
  172. package/utils/theme/src/providers/theme.provider.types.d.ts +16 -15
  173. package/utils/theme/src/theme-assets/theme-assets.service.d.ts +16 -12
  174. package/utils/theme/src/theme-dom/theme-dom.service.d.ts +10 -3
  175. package/utils/theme/src/theme.service.d.ts +24 -27
  176. package/utils/theme/src/utils/utils.d.ts +2 -10
  177. package/utils/translation/README.md +170 -1390
  178. package/utils/translation/public-api.d.ts +3 -3
  179. package/utils/translation/src/constants.d.ts +7 -9
  180. package/utils/translation/src/models/translation.d.ts +9 -10
  181. package/utils/translation/src/providers/translation.provider.d.ts +17 -28
  182. package/utils/translation/src/providers/translation.provider.types.d.ts +13 -6
  183. package/utils/translation/src/translation-dom/translation-dom.service.d.ts +2 -3
  184. package/utils/translation/src/translation.service.d.ts +37 -9
  185. package/directives/only-numbers/src/just-numbers.directive.d.ts +0 -9
  186. package/fesm2022/sixbell-telco-sdk-utils-resource-loader.mjs +0 -1222
  187. package/fesm2022/sixbell-telco-sdk-utils-resource-loader.mjs.map +0 -1
  188. package/utils/resource-loader/README.md +0 -460
  189. package/utils/resource-loader/public-api.d.ts +0 -1
  190. package/utils/resource-loader/src/cache/index.d.ts +0 -2
  191. package/utils/resource-loader/src/cache/layers/factory.d.ts +0 -38
  192. package/utils/resource-loader/src/cache/layers/index.d.ts +0 -3
  193. package/utils/resource-loader/src/cache/layers/indexed-db-cache.d.ts +0 -118
  194. package/utils/resource-loader/src/cache/layers/local-storage-cache.d.ts +0 -86
  195. package/utils/resource-loader/src/cache/layers/memory-cache.d.ts +0 -76
  196. package/utils/resource-loader/src/cache/types.d.ts +0 -107
  197. package/utils/resource-loader/src/config/index.d.ts +0 -1
  198. package/utils/resource-loader/src/config/load-config.d.ts +0 -32
  199. package/utils/resource-loader/src/constants.d.ts +0 -38
  200. package/utils/resource-loader/src/http/index.d.ts +0 -1
  201. package/utils/resource-loader/src/http/retryable-client.d.ts +0 -43
  202. package/utils/resource-loader/src/index.d.ts +0 -1
  203. package/utils/resource-loader/src/resource-loader.d.ts +0 -67
  204. package/utils/resource-loader/src/types.d.ts +0 -152
  205. package/utils/resource-loader/src/utils/cache-validator.d.ts +0 -72
  206. package/utils/resource-loader/src/utils/helpers.d.ts +0 -15
  207. package/utils/resource-loader/src/utils/index.d.ts +0 -2
  208. package/utils/theme/src/providers/constants.d.ts +0 -7
  209. package/utils/translation/src/providers/constants.d.ts +0 -11
package/README.md CHANGED
@@ -1,104 +1,137 @@
1
- # Sixbell Telco SDK
1
+ # Sixbell Telco SDK - Component Library
2
2
 
3
- We are thrilled to have you here. This SDK is designed to provide you with a comprehensive set of UI components and utils to accelerate your development process. Whether you are building a small project or a large-scale application, our components are crafted to be flexible, customizable, and easy to integrate.
3
+ Welcome to the Sixbell Telco SDK component library. This is a comprehensive Angular component library featuring 25+ pre-built, production-ready UI components built with Angular 19, Tailwind CSS v4, and DaisyUI.
4
4
 
5
- Explore the documentation, try out the examples, and start building amazing applications with Sixbell Telco SDK today!
5
+ ## Overview
6
6
 
7
- Happy coding!
7
+ The SDK provides:
8
8
 
9
- [![sixbell-telco-sdk-banner](https://i.postimg.cc/QNQ1CphY/banner.png)](https://postimg.cc/0rNbHK67)
9
+ - **25+ Production-Ready Components**: Button, Card, Form inputs, Data Table, Dialog, Dropdown, and more
10
+ - **Utility Services**: Theme management, i18n translation, logging, and resource loading
11
+ - **Directive Support**: Auto-focus, click-outside, form validation directives
12
+ - **Tailwind CSS v4 + DaisyUI**: Modern styling with customizable themes
13
+ - **Multi-Entry Point Architecture**: Granular imports for optimized bundle sizes
14
+ - **Angular 19 Signal-Based**: Modern reactive patterns with Angular signals
10
15
 
11
16
  ## Pre-requirements
12
17
 
13
- - Angular 19.2.X or later
18
+ - **Node.js**: ^18.19.1 || ^20.11.1 || ^22.0.0
19
+ - **npm**: 9.6.7 || ^10.0.0 || ^11.0.0
20
+ - **Angular**: 19.2.x or later
21
+ - **Tailwind CSS**: v4.x
14
22
 
15
23
  ## Available Components
16
24
 
17
- ### General components
18
-
19
- | Component | Description | Documentation |
20
- | -------------- | ---------------------------------------------------------- | ------------- |
21
- | Accordion | Expandable/collapsible content | Coming soon |
22
- | Accordion Item | Item within an accordion | Coming soon |
23
- | Audio Player | Audio playback with track controls | Coming soon |
24
- | Avatar | User avatar display | Coming soon |
25
- | Button | Buttons for various actions | Coming soon |
26
- | Card | Container for content and actions | Coming soon |
27
- | Countdown | Countdown timer | Coming soon |
28
- | Data Table | Advanced data grid: sorting, filtering, pagination, expand | Coming soon |
29
- | Dialog | Dialog component | Coming soon |
30
- | Dropdown | Dropdown menu for actions or links | Coming soon |
31
- | Dropdown Menu | Advanced dropdown menu system | Coming soon |
32
- | Dual List | Dual list for selecting items | Coming soon |
33
- | File Uploader | Upload files | Coming soon |
34
- | File Dropzone | Drag and drop file upload | Coming soon |
35
- | Icon | Display icons | Coming soon |
36
- | Link | Hyperlink component | Coming soon |
37
- | Notification | Display notifications | Coming soon |
38
- | Overlay | Generic overlay with trigger/content & width sync | Coming soon |
39
- | Paginator | Pagination controls | Coming soon |
40
- | Product Card | Display product information | Coming soon |
41
- | Progress | Progress bar | Coming soon |
42
- | Tab | Tabbed navigation | Coming soon |
43
- | Table | Display basic tabular data | Coming soon |
44
- | Toast | Toast notifications | Coming soon |
45
- | Tooltip | Display tooltips | Coming soon |
46
- | Wizard | Step-by-step wizard | Coming soon |
47
-
48
- ### Forms specific components
49
-
50
- | Component | Description | Documentation |
51
- | ---------- | -------------------------------------------------- | ------------- |
52
- | Checkbox | Checkbox input | Coming soon |
53
- | Combobox | Combo box for selecting options | Coming soon |
54
- | Datepicker | Date selection input (single & range with overlay) | Coming soon |
55
- | Form Error | Display form errors | Coming soon |
56
- | Input | Text input field | Coming soon |
57
- | Radio | Radio button input | Coming soon |
58
- | Range | Range slider input | Coming soon |
59
- | Select | Dropdown select input | Coming soon |
60
- | Switch | Toggle switch input | Coming soon |
61
- | Textarea | Multi-line text input | Coming soon |
62
- | Toggle | Toggle button input | Coming soon |
63
-
64
- ### Services
65
-
66
- | Service | Description | Documentation |
67
- | ------------------- | -------------------------------------------------------------------------------- | ----------------------------------------- |
68
- | Logger Service | Comprehensive logging with theme-aware styling, IndexedDB persistence | [README](utils/logger/README.md) |
69
- | Theme Service | Runtime theme management with multi-tenant support and automatic persistence | [README](utils/theme/README.md) |
70
- | Translation Service | Runtime i18n with ngx-translate integration, multi-language support, persistence | [README](utils/translation/README.md) |
71
- | Resource Loader | Intelligent resource loading with multi-layer caching and fallback support | [README](utils/resource-loader/README.md) |
72
-
73
- ## Setup
74
-
75
- ### Quick Setup (Recommended)
76
-
77
- We provide a CLI tool for automatic setup:
25
+ ### General Components
26
+
27
+ | Component | Description |
28
+ | ------------- | ------------------------------------------------- |
29
+ | Accordion | Expandable/collapsible content sections |
30
+ | Avatar | User profile pictures with initials fallback |
31
+ | Badge | Status and label indicators |
32
+ | Button | Interactive buttons with variants and sizes |
33
+ | Card | Container for content with actions |
34
+ | Countdown | Countdown timer with customizable formatting |
35
+ | Data Table | Advanced grid with sorting, filtering, pagination |
36
+ | Dialog | Modal dialogs with animations and positioning |
37
+ | Dropdown | Menu dropdown for actions and links |
38
+ | Dropdown Menu | Advanced nested menu system |
39
+ | Dual List | Dual list selection for managing items |
40
+ | File Dropzone | Drag-and-drop file upload with validation |
41
+ | File Uploader | File input with validation and preview |
42
+ | Icon | SVG icon component with ng-icons integration |
43
+ | Link | Hyperlink component with router support |
44
+ | Modal | Modal dialogs (legacy - use Dialog instead) |
45
+ | Notification | Toast-style notifications |
46
+ | Overlay | Generic overlay with trigger and content |
47
+ | Paginator | Pagination controls for data |
48
+ | Product Card | Product display card with image and actions |
49
+ | Progress | Progress bar with variants |
50
+ | Sonner Toast | Modern toast notifications via ngx-sonner |
51
+ | Tab | Tabbed navigation interface |
52
+ | Table | Basic table for displaying data |
53
+ | Tooltip | Floating tooltip with positioning |
54
+ | Wizard | Multi-step wizard with validation |
55
+
56
+ ### Form Components
57
+
58
+ | Component | Description |
59
+ | ---------- | ----------------------------------------------- |
60
+ | Checkbox | Checkbox input with multiple variants |
61
+ | Combobox | Searchable dropdown with multi-select support |
62
+ | Datepicker | Single and range date selection with time |
63
+ | Form Item | Layout wrapper for fields + full-width errors |
64
+ | Form Error | Error message display for form fields |
65
+ | Input | Text input with variants, icons, and validation |
66
+ | Radio | Radio button group selection |
67
+ | Range | Slider input for numeric ranges |
68
+ | Select | Dropdown select with object support |
69
+ | Switch | Toggle switch for boolean values |
70
+ | Textarea | Multi-line text input with character count |
71
+ | Toggle | Toggle button for boolean states |
72
+
73
+ ### Form Errors Layout
74
+
75
+ For full-width validation messages, wrap each field and its error with `st-form-item` and place `st-form-errors` as a sibling (not inside the field component).
78
76
 
79
- ```bash
80
- npx @sixbell-telco/cli init
77
+ ```html
78
+ <st-form-item>
79
+ <st-input formControlName="controlInput" label="Input" [parentForm]="form"></st-input>
80
+ <st-form-errors [parentForm]="form" formField="controlInput" />
81
+ </st-form-item>
82
+ ```
83
+
84
+ Migration notes: `projects/sdk/components/forms/form-error/MIGRATION.md`
85
+
86
+ ### Optional Label Indicator
87
+
88
+ Form fields can display an optional indicator inline with the legend. Enable it with `showOptional` and customize the text with `optionalText`.
89
+
90
+ ```html
91
+ <st-input label="Email" [showOptional]="true" [optionalText]="'sdk.formFields.optional'"></st-input>
92
+ ```
93
+
94
+ Add the translation key to your SDK translations (example shown for English):
95
+
96
+ ```json
97
+ {
98
+ "sdk": {
99
+ "formFields": {
100
+ "optional": "Optional"
101
+ }
102
+ }
103
+ }
81
104
  ```
82
105
 
83
- This will automatically:
106
+ ### Utility Services
107
+
108
+ | Service | Purpose | Documentation |
109
+ | ------------------- | -------------------------------------------------- | ------------------------------- |
110
+ | Logger Service | Theme-aware logging with IndexedDB persistence | [README](utils/logger/) |
111
+ | Theme Service | Runtime theme management with multi-tenant support | [README](utils/theme/) |
112
+ | Translation Service | Multi-language i18n with ngx-translate integration | [README](utils/translation/) |
113
+ | Runtime Config | Last-known-good runtime config loader | [README](utils/runtime-config/) |
84
114
 
85
- - Install all necessary dependencies
86
- - Configure Tailwind CSS and Daisy UI
87
- - Set up required theme configurations
115
+ ### Directives
88
116
 
89
- > **Note:** The CLI tool is currently a work in progress and is not yet available. Coming soon!
117
+ | Directive | Purpose |
118
+ | ------------- | ---------------------------------------- |
119
+ | auto-focus | Auto-focus elements when visible |
120
+ | click-outside | Detect clicks outside an element |
121
+ | only-numbers | Restrict input to numeric values only |
122
+ | typography | Apply typography styles to text elements |
90
123
 
91
- ### Manual Setup
124
+ ## Installation
92
125
 
93
- 1. Install dependencies:
126
+ ### Step 1: Install Dependencies
94
127
 
95
128
  ```bash
96
- npm i -D @sixbell-telco/sdk @tailwindcss/typography daisyui @midudev/tailwind-animations
129
+ npm install @sixbell-telco/sdk @tailwindcss/typography daisyui @midudev/tailwind-animations
97
130
  ```
98
131
 
99
- 2. Configure Tailwind CSS ([Tailwind guide](https://tailwindcss.com/docs/guides/angular))
132
+ ### Step 2: Import SDK Styles
100
133
 
101
- 3. Add the provided configuration to global stylesheet where you configured tailwind [See detailed config below]
134
+ In your global `styles.css`:
102
135
 
103
136
  ```css
104
137
  @import '../node_modules/@sixbell-telco/sdk/_index.css';
@@ -108,49 +141,36 @@ npm i -D @sixbell-telco/sdk @tailwindcss/typography daisyui @midudev/tailwind-an
108
141
  @source '../src';
109
142
  ```
110
143
 
111
- > **⚠️ IMPORTANT**: Make sure to import the `_index.css` before the tailwind import.
112
-
113
- > **⚠️ IMPORTANT**: The `@source` decorator indicates where tailwind should look for classes.
114
-
115
- With that configuration the library custom CSS will be loaded
144
+ > ⚠️ **Important**: Import `_index.css` **before** the tailwind import.
116
145
 
117
- 4. **Microfrontend Configuration (Required for Microfrontends Only)**
146
+ ### Step 3: Configure Microfrontend (if applicable)
118
147
 
119
- Add the following path mapping to your `tsconfig.json` file under `compilerOptions.paths`:
120
-
121
- ```json
122
- "@sixbell-telco/sdk/*": ["./node_modules/@sixbell-telco/sdk/*"]
123
- ```
124
-
125
- Complete example of a `tsconfig.json`:
148
+ Add path mapping to `tsconfig.json`:
126
149
 
127
150
  ```json
128
151
  {
129
- "compileOnSave": false,
130
152
  "compilerOptions": {
131
153
  "paths": {
132
154
  "@sixbell-telco/sdk/*": ["./node_modules/@sixbell-telco/sdk/*"]
133
- // ... other path mappings
134
155
  }
135
- // ... other compiler options
136
156
  }
137
157
  }
138
158
  ```
139
159
 
140
- This configuration ensures proper module resolution in microfrontend architectures.
141
-
142
- 5. **VSCode Settings (Optional)**
160
+ ### Step 4: Optional - VSCode Configuration
143
161
 
144
- For VSCode users, it is recommended to install the official Tailwind CSS extension and add the following to your `settings.json` file:
162
+ Install the Tailwind CSS extension and add to `.vscode/settings.json`:
145
163
 
146
164
  ```json
165
+ {
147
166
  "editor.quickSuggestions": {
148
167
  "strings": "on"
149
168
  },
150
169
  "files.associations": {
151
170
  "*.css": "tailwindcss"
152
171
  },
153
- "tailwindCSS.classFunctions": ["tw", "clsx", "cva", "cx", "tw\\.[a-z-]+", "cn"],
172
+ "tailwindCSS.classFunctions": ["tw", "clsx", "cva", "cn", "tw\\.[a-z-]+"]
173
+ }
154
174
  ```
155
175
 
156
176
  These settings improve your development experience:
@@ -161,7 +181,7 @@ These settings improve your development experience:
161
181
 
162
182
  With these settings, VSCode will provide class autocompletion for the library's custom attributes and utility functions.
163
183
 
164
- ## Services Configuration
184
+ ## Themes and translation configuration (an optional Logger)
165
185
 
166
186
  Configure all services using runtime providers in your `app.config.ts`. This approach loads configuration from JSON files at runtime, eliminating the need to recompile when updating themes or languages.
167
187
 
@@ -201,12 +221,8 @@ The `translation.json` file defines available languages and their translation pa
201
221
 
202
222
  ```json
203
223
  {
204
- "defaultLanguage": "es",
205
- "translationPaths": {
206
- "en": "/assets/i18n/en.json",
207
- "es": "/assets/i18n/es.json",
208
- "pt": "/assets/i18n/pt.json"
209
- }
224
+ "defaultLang": "es",
225
+ "translationPaths": ["/assets/i18n/"]
210
226
  }
211
227
  ```
212
228
 
@@ -226,80 +242,13 @@ The `themes.json` file defines available themes and their variants:
226
242
 
227
243
  ```json
228
244
  {
229
- "fonts": [
230
- {
231
- "family": "Poppins",
232
- "displayName": "Poppins Sans-Serif",
233
- "faces": [
234
- {
235
- "weight": 400,
236
- "style": "normal",
237
- "src": "./assets/fonts/Poppins-Regular.ttf"
238
- },
239
- {
240
- "weight": 700,
241
- "style": "normal",
242
- "src": "./assets/fonts/Poppins-Bold.ttf"
243
- }
244
- ]
245
- }
246
- ],
247
- "themes": {
248
- "sixbell_telco": {
249
- "light": {
250
- "displayName": "Sixbell Telco Light",
251
- "daisyuiName": "sixbell_telco__light",
252
- "prefersDark": false,
253
- "variables": {
254
- "--color-primary": "oklch(65.64% 0.1155 219.3)",
255
- "--color-secondary": "oklch(86.57% 0.0064 255.48)"
256
- }
257
- },
258
- "dark": {
259
- "displayName": "Sixbell Telco Dark",
260
- "daisyuiName": "sixbell_telco__dark",
261
- "prefersDark": true,
262
- "variables": {
263
- "--color-primary": "oklch(65.64% 0.1155 219.3)",
264
- "--color-secondary": "oklch(48.72% 0.0161 276.78)"
265
- }
266
- }
267
- },
268
- "custom_theme": {
269
- "light": {
270
- "displayName": "Custom Theme Light",
271
- "daisyuiName": "custom__light",
272
- "prefersDark": false,
273
- "variables": {
274
- "--color-primary": "oklch(70% 0.15 220)",
275
- "--color-secondary": "oklch(80% 0.1 210)"
276
- }
277
- },
278
- "dark": {
279
- "displayName": "Custom Theme Dark",
280
- "daisyuiName": "custom__dark",
281
- "prefersDark": true,
282
- "variables": {
283
- "--color-primary": "oklch(60% 0.12 220)",
284
- "--color-secondary": "oklch(50% 0.08 210)"
285
- }
286
- }
287
- }
288
- },
289
- "assets": {
290
- "sixbell_telco": {
291
- "logo": {
292
- "light": "/assets/logos/sixbell-logo-light.svg",
293
- "dark": "/assets/logos/sixbell-logo-dark.svg"
294
- }
295
- },
296
- "custom_theme": {
297
- "logo": {
298
- "light": "/assets/logos/custom-logo-light.svg",
299
- "dark": "/assets/logos/custom-logo-dark.svg"
300
- }
301
- }
245
+ "meta": {
246
+ "name": "themes",
247
+ "updatedAt": "2026-02-02T00:00:00Z",
248
+ "hash": "themes-v2",
249
+ "schemaVersion": "2"
302
250
  },
251
+ "themes": ["/assets/themes/catalog/sixbell_telco.json", "/assets/themes/catalog/custom_theme.json"],
303
252
  "defaultTheme": "sixbell_telco",
304
253
  "defaultScheme": "system",
305
254
  "excludeThemes": []
@@ -345,13 +294,13 @@ export const appConfig: ApplicationConfig = {
345
294
 
346
295
  - **No Recompilation**: Update themes and languages without rebuilding your application
347
296
  - **Multi-Tenant Support**: Easily switch themes and language sets per deployment environment
348
- - **Caching Strategy**: ResourceLoader intelligently caches configurations (IndexedDB → localStorage → memory)
297
+ - **Caching Strategy**: RuntimeConfigStore keeps last-known-good config in Dexie
349
298
  - **Hot Updates**: Changes to `themes.json` and `translation.json` take effect immediately
350
299
  - **Persistent Preferences**: User language and theme preferences are stored and restored automatically
351
300
 
352
301
  ## Adding Custom Themes
353
302
 
354
- Themes are managed through a runtime configuration file (`themes.json`) with CSS variables and font definitions. This approach allows for:
303
+ Themes are managed through a runtime configuration file (`themes.json`) with theme JSON files. This approach allows for:
355
304
 
356
305
  - **Zero Recompilation**: Add/modify themes without rebuilding
357
306
  - **Multi-Tenant Support**: Different themes per deployment
@@ -365,80 +314,13 @@ Add your custom theme to `/assets/themes/themes.json`:
365
314
 
366
315
  ```json
367
316
  {
368
- "fonts": [
369
- {
370
- "family": "Poppins",
371
- "displayName": "Poppins Sans-Serif",
372
- "faces": [
373
- {
374
- "weight": 400,
375
- "style": "normal",
376
- "src": "./assets/fonts/Poppins-Regular.ttf"
377
- },
378
- {
379
- "weight": 700,
380
- "style": "normal",
381
- "src": "./assets/fonts/Poppins-Bold.ttf"
382
- }
383
- ]
384
- }
385
- ],
386
- "themes": {
387
- "sixbell_telco": {
388
- "light": {
389
- "displayName": "Sixbell Telco Light",
390
- "daisyuiName": "sixbell_telco__light",
391
- "prefersDark": false,
392
- "variables": {
393
- "--color-primary": "oklch(65.64% 0.1155 219.3)",
394
- "--color-secondary": "oklch(86.57% 0.0064 255.48)"
395
- }
396
- },
397
- "dark": {
398
- "displayName": "Sixbell Telco Dark",
399
- "daisyuiName": "sixbell_telco__dark",
400
- "prefersDark": true,
401
- "variables": {
402
- "--color-primary": "oklch(65.64% 0.1155 219.3)",
403
- "--color-secondary": "oklch(48.72% 0.0161 276.78)"
404
- }
405
- }
406
- },
407
- "custom_theme": {
408
- "light": {
409
- "displayName": "Custom Theme Light",
410
- "daisyuiName": "custom__light",
411
- "prefersDark": false,
412
- "variables": {
413
- "--color-primary": "oklch(70% 0.15 220)",
414
- "--color-secondary": "oklch(80% 0.1 210)"
415
- }
416
- },
417
- "dark": {
418
- "displayName": "Custom Theme Dark",
419
- "daisyuiName": "custom__dark",
420
- "prefersDark": true,
421
- "variables": {
422
- "--color-primary": "oklch(60% 0.12 220)",
423
- "--color-secondary": "oklch(50% 0.08 210)"
424
- }
425
- }
426
- }
427
- },
428
- "assets": {
429
- "sixbell_telco": {
430
- "logo": {
431
- "light": "/assets/logos/sixbell-logo-light.svg",
432
- "dark": "/assets/logos/sixbell-logo-dark.svg"
433
- }
434
- },
435
- "custom_theme": {
436
- "logo": {
437
- "light": "/assets/logos/custom-logo-light.svg",
438
- "dark": "/assets/logos/custom-logo-dark.svg"
439
- }
440
- }
317
+ "meta": {
318
+ "name": "themes",
319
+ "updatedAt": "2026-02-02T00:00:00Z",
320
+ "hash": "themes-v2",
321
+ "schemaVersion": "2"
441
322
  },
323
+ "themes": ["/assets/themes/catalog/sixbell_telco.json", "/assets/themes/catalog/custom_theme.json"],
442
324
  "defaultTheme": "sixbell_telco",
443
325
  "defaultScheme": "system",
444
326
  "excludeThemes": []
@@ -447,11 +329,7 @@ Add your custom theme to `/assets/themes/themes.json`:
447
329
 
448
330
  **Configuration Structure:**
449
331
 
450
- - `fonts`: Font definitions with faces (weight and style variants)
451
- - `themes`: Theme variants (light/dark) with CSS variables and DaisyUI names
452
- - `daisyuiName`: Maps to CSS `@plugin "daisyui/theme" { name: '...' }`
453
- - `variables`: CSS custom properties applied to this theme variant
454
- - `assets`: Theme-specific resources (logos, banners) for light/dark schemes
332
+ - `themes`: Theme JSON paths
455
333
  - `defaultTheme`: Initial theme on app startup
456
334
  - `defaultScheme`: Initial color scheme (`'system'`, `'light'`, or `'dark'`)
457
335
 
@@ -508,7 +386,9 @@ export class ThemeSwitcherComponent {
508
386
  themeService = inject(ThemeService);
509
387
  private assetsService = inject(ThemeAssetsService);
510
388
 
511
- logoUrl = computed(() => this.assetsService.getAssetUrl('logo') || '/default-logo.svg');
389
+ logoUrl = computed(
390
+ () => this.assetsService.getAssetUrl(this.themeService.selectedTheme(), 'logo', this.themeService.resolvedScheme()) || '/default-logo.svg',
391
+ );
512
392
  }
513
393
  ```
514
394
 
@@ -522,7 +402,7 @@ Store theme and scheme display names in translation files. Create `/assets/theme
522
402
  {
523
403
  "sdk": {
524
404
  "theme": {
525
- "themes": {
405
+ "catalog": {
526
406
  "sixbell_telco": "Sixbell Telco",
527
407
  "custom_theme": "Custom Theme"
528
408
  },
@@ -542,7 +422,7 @@ Store theme and scheme display names in translation files. Create `/assets/theme
542
422
  {
543
423
  "sdk": {
544
424
  "theme": {
545
- "themes": {
425
+ "catalog": {
546
426
  "sixbell_telco": "Sixbell Telco",
547
427
  "custom_theme": "Tema Personalizado"
548
428
  },
@@ -562,7 +442,7 @@ Store theme and scheme display names in translation files. Create `/assets/theme
562
442
  {
563
443
  "sdk": {
564
444
  "theme": {
565
- "themes": {
445
+ "catalog": {
566
446
  "sixbell_telco": "Sixbell Telco",
567
447
  "custom_theme": "Tema Personalizado"
568
448
  },
@@ -599,19 +479,15 @@ Create `/assets/translation/translation.json` in your application:
599
479
 
600
480
  ```json
601
481
  {
602
- "defaultLanguage": "es",
603
- "translationPaths": {
604
- "en": "/assets/i18n/en.json",
605
- "es": "/assets/i18n/es.json",
606
- "pt": "/assets/i18n/pt.json"
607
- }
482
+ "defaultLang": "es",
483
+ "translationPaths": ["/assets/i18n/"]
608
484
  }
609
485
  ```
610
486
 
611
487
  **Configuration Structure:**
612
488
 
613
- - `defaultLanguage`: Language code loaded on app initialization
614
- - `translationPaths`: Map of language codes to their translation file paths
489
+ - `defaultLang`: Language code used on app initialization
490
+ - `translationPaths`: List of directories that contain `{lang}.json`
615
491
  - Custom paths are fully supported - organize as needed for your architecture
616
492
 
617
493
  ### 2. Create Translation Files
@@ -1014,7 +890,7 @@ import { inject } from '@angular/core';
1014
890
  export class MyComponent {
1015
891
  private translationService = inject(TranslationService);
1016
892
 
1017
- availableLanguages = this.translationService.availableLanguages;
893
+ availableLanguages = this.translationService.getAvailableLanguageCodes();
1018
894
  currentLanguage = this.translationService.currentLanguage;
1019
895
 
1020
896
  setLanguage(languageCode: string) {
@@ -1022,7 +898,7 @@ export class MyComponent {
1022
898
  }
1023
899
 
1024
900
  getLanguageName(languageCode: string): string {
1025
- return this.translationService.getLanguageName(languageCode);
901
+ return this.translationService.getLanguageDisplayName(languageCode);
1026
902
  }
1027
903
  }
1028
904
  ```
@@ -1134,12 +1010,195 @@ export class MyComponent {
1134
1010
  }
1135
1011
  ```
1136
1012
 
1013
+ ## Quick Start
1014
+
1015
+ ### Using Components
1016
+
1017
+ ```typescript
1018
+ import { Component } from '@angular/core';
1019
+ import { ButtonComponent } from '@sixbell-telco/sdk/components/button';
1020
+ import { CardComponent } from '@sixbell-telco/sdk/components/card';
1021
+
1022
+ @Component({
1023
+ selector: 'app-example',
1024
+ standalone: true,
1025
+ imports: [ButtonComponent, CardComponent],
1026
+ template: `
1027
+ <st-card>
1028
+ <h2>Hello World</h2>
1029
+ <st-button variant="primary">Click me!</st-button>
1030
+ </st-card>
1031
+ `,
1032
+ })
1033
+ export class ExampleComponent {}
1034
+ ```
1035
+
1036
+ ### Using Form Components
1037
+
1038
+ ```typescript
1039
+ import { Component, signal } from '@angular/core';
1040
+ import { ReactiveFormsModule, FormControl, FormGroup } from '@angular/forms';
1041
+ import { InputComponent } from '@sixbell-telco/sdk/components/forms/input';
1042
+ import { ButtonComponent } from '@sixbell-telco/sdk/components/button';
1043
+
1044
+ @Component({
1045
+ selector: 'app-form-example',
1046
+ standalone: true,
1047
+ imports: [InputComponent, ButtonComponent, ReactiveFormsModule],
1048
+ template: `
1049
+ <form [formGroup]="form">
1050
+ <st-input formControlName="email" placeholder="Enter email"></st-input>
1051
+ <st-button (click)="submit()">Submit</st-button>
1052
+ </form>
1053
+ `,
1054
+ })
1055
+ export class FormExampleComponent {
1056
+ form = new FormGroup({
1057
+ email: new FormControl(''),
1058
+ });
1059
+
1060
+ submit() {
1061
+ console.log(this.form.value);
1062
+ }
1063
+ }
1064
+ ```
1065
+
1066
+ ### Using Services
1067
+
1068
+ ```typescript
1069
+ import { Component, inject, effect } from '@angular/core';
1070
+ import { ThemeService } from '@sixbell-telco/sdk/utils/theme';
1071
+ import { TranslationService } from '@sixbell-telco/sdk/utils/translation';
1072
+ import { LoggerService } from '@sixbell-telco/sdk/utils/logger';
1073
+
1074
+ @Component({
1075
+ selector: 'app-services-example',
1076
+ template: `
1077
+ <div>
1078
+ <p>Current Theme: {{ themeService.selectedTheme() }}</p>
1079
+ <p>Dark Mode: {{ themeService.isDarkTheme() ? 'Yes' : 'No' }}</p>
1080
+ <button (click)="toggleTheme()">Toggle Theme</button>
1081
+ </div>
1082
+ `,
1083
+ })
1084
+ export class ServicesExampleComponent {
1085
+ themeService = inject(ThemeService);
1086
+ translationService = inject(TranslationService);
1087
+ logger = inject(LoggerService);
1088
+
1089
+ constructor() {
1090
+ effect(() => {
1091
+ this.logger.info(`Theme changed to: ${this.themeService.selectedTheme()}`);
1092
+ });
1093
+ }
1094
+
1095
+ toggleTheme() {
1096
+ const newScheme = this.themeService.isDarkTheme() ? 'light' : 'dark';
1097
+ this.themeService.setScheme(newScheme);
1098
+ }
1099
+ }
1100
+ ```
1101
+
1102
+ ## Configuration
1103
+
1104
+ ### Theme Configuration
1105
+
1106
+ Runtime themes are loaded from `themes.json`. See [Theme Service README](utils/theme/) for detailed configuration.
1107
+
1108
+ ### Translation Configuration
1109
+
1110
+ Runtime translations are loaded from `translation.json`. See [Translation Service README](utils/translation/) for detailed configuration.
1111
+
1112
+ ### Logger Configuration
1113
+
1114
+ Configure logging levels and output. See [Logger Service README](utils/logger/) for detailed options.
1115
+
1116
+ ## Architecture
1117
+
1118
+ ### Multi-Entry Point Imports
1119
+
1120
+ Always use specific imports for optimal tree-shaking:
1121
+
1122
+ ```typescript
1123
+ // ✅ Correct - specific imports
1124
+ import { ButtonComponent } from '@sixbell-telco/sdk/components/button';
1125
+ import { ThemeService } from '@sixbell-telco/sdk/utils/theme';
1126
+
1127
+ // ❌ Avoid - barrel exports
1128
+ import { ButtonComponent } from '@sixbell-telco/sdk';
1129
+ ```
1130
+
1131
+ ### Component Prefix
1132
+
1133
+ All SDK components use the `st-` prefix:
1134
+
1135
+ ```html
1136
+ <st-button>Button</st-button>
1137
+ <st-input type="text" />
1138
+ <st-card>Card Content</st-card>
1139
+ ```
1140
+
1141
+ ### Signal-Based API
1142
+
1143
+ Components use Angular 19 signals for reactive inputs:
1144
+
1145
+ ```typescript
1146
+ variant = input<'primary' | 'secondary'>();
1147
+ isDisabled = input(false);
1148
+
1149
+ @Component({
1150
+ template: `<button [disabled]="isDisabled()">{{ variant() }}</button>`,
1151
+ })
1152
+ ```
1153
+
1154
+ ## Testing
1155
+
1156
+ The SDK includes Jest configuration. Run tests with:
1157
+
1158
+ ```bash
1159
+ npm test # Run all tests
1160
+ npm run test:watch # Watch mode
1161
+ npm run test:coverage # Coverage report
1162
+ ```
1163
+
1164
+ See `.github/instructions/testing-basics.instructions.md` for Angular 19 testing patterns.
1165
+
1137
1166
  ## Documentation
1138
1167
 
1139
- For detailed component documentation, visit our [Storybook](https://storybook.js.org/tutorials/intro-to-storybook/angular/en/get-started/)
1168
+ - **Component Stories**: View component documentation in [Storybook](../storybook/README.md)
1169
+ - **Live Examples**: Showcase app at `projects/showcase/`
1170
+ - **API Documentation**: JSDoc comments in component files
1171
+ - **Changelog**: See [CHANGELOG.md](./CHANGELOG.md)
1172
+
1173
+ ## Contributing
1174
+
1175
+ When creating new components:
1176
+
1177
+ 1. Use `st-` prefix for selectors
1178
+ 2. Follow CVA pattern for styling variants
1179
+ 3. Use signal-based inputs
1180
+ 4. Add comprehensive JSDoc comments
1181
+ 5. Create Storybook stories
1182
+ 6. Add unit tests with Jest
1183
+ 7. Update CHANGELOG.md
1184
+
1185
+ ## Resources
1186
+
1187
+ - <a href="https://angular.dev" target="_blank" rel="noopener noreferrer">Angular Documentation</a>
1188
+ - <a href="https://tailwindcss.com" target="_blank" rel="noopener noreferrer">Tailwind CSS</a>
1189
+ - <a href="https://daisyui.com" target="_blank" rel="noopener noreferrer">DaisyUI</a>
1190
+ - <a href="https://cva.style" target="_blank" rel="noopener noreferrer">class-variance-authority</a>
1191
+ - <a href="https://ng-icons.herokuapp.com" target="_blank" rel="noopener noreferrer">ng-icons</a>
1192
+ - <a href="https://material.angular.io/cdk" target="_blank" rel="noopener noreferrer">Angular CDK</a>
1193
+
1194
+ ## License
1195
+
1196
+ MIT - See [LICENSE](./LICENSE) file for details
1197
+
1198
+ ## Support
1140
1199
 
1141
- > **Note:** Our Storybook documentation is currently a work in progress and will be available soon!
1200
+ For issues, questions, or feature requests, please visit the project repository or contact the Sixbell Telco team.
1142
1201
 
1143
- ## Last update
1202
+ ---
1144
1203
 
1145
- This file was last updated on November 4th, 2025.
1204
+ **Last updated**: November 24, 2025