@sixbell-telco/sdk 0.1.3 → 0.1.5
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 +128 -4
- package/README.md +53 -45
- package/components/accordion/accordion-item/accordion-item.component.d.ts +9 -6
- package/components/avatar/src/avatar.component.d.ts +17 -12
- package/components/button/src/button.component.d.ts +29 -28
- package/components/card/src/card.component.d.ts +18 -12
- package/components/dropdown/src/dropdown.component.d.ts +29 -27
- package/components/dual-list/src/dual-list.component.d.ts +47 -37
- package/components/file-upload/file-uploader/src/file-uploader.component.d.ts +20 -11
- package/components/forms/checkbox/src/checkbox.component.d.ts +7 -3
- package/components/forms/combobox/src/combobox.component.d.ts +17 -16
- package/components/forms/input/src/input.component.d.ts +20 -15
- package/components/forms/radio/src/radio.component.d.ts +14 -1
- package/components/forms/range/src/range.component.d.ts +11 -11
- package/components/forms/select/src/select.component.d.ts +17 -15
- package/components/forms/switch/src/switch.component.d.ts +11 -11
- package/components/forms/textarea/src/textarea.component.d.ts +20 -16
- package/components/forms/toggle/src/toggle.component.d.ts +12 -7
- package/components/icon/src/icon.component.d.ts +12 -7
- package/components/link/src/link.component.d.ts +27 -16
- package/components/modal/src/modal.component.d.ts +18 -7
- package/components/notification/src/notification.component.d.ts +15 -7
- package/components/paginator/components/pagination-item/pagination-item.component.d.ts +18 -7
- package/components/product-card/src/product-card.component.d.ts +42 -17
- package/components/progress/src/progress.component.d.ts +9 -7
- package/components/tab/directives/tab-content/tab-content.directive.d.ts +8 -10
- package/components/tab/directives/tab-header/tab-header.directive.d.ts +9 -12
- package/components/tab/src/tab.component.d.ts +14 -9
- package/components/table/src/table.component.d.ts +28 -17
- package/components/toast/toast-message/toast-message.component.d.ts +9 -7
- package/components/tooltip/src/tooltip.component.d.ts +12 -7
- package/components/wizard/wizard-content/wizard-content.component.d.ts +3 -3
- package/directives/typography/src/typography.directive.d.ts +13 -12
- package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +7 -7
- package/esm2022/components/accordion/src/accordion.component.mjs +3 -3
- package/esm2022/components/avatar/src/avatar.component.mjs +7 -7
- package/esm2022/components/button/src/button.component.mjs +13 -11
- package/esm2022/components/card/src/card.component.mjs +7 -7
- package/esm2022/components/dropdown/src/dropdown.component.mjs +15 -11
- package/esm2022/components/dual-list/src/dual-list.component.mjs +53 -33
- package/esm2022/components/file-upload/file-dropzone/src/file-dropzone.component.mjs +3 -4
- package/esm2022/components/file-upload/file-uploader/src/file-uploader.component.mjs +28 -22
- package/esm2022/components/forms/checkbox/src/checkbox.component.mjs +9 -9
- package/esm2022/components/forms/combobox/src/combobox.component.mjs +31 -28
- package/esm2022/components/forms/datepicker/src/datepicker.component.mjs +3 -3
- package/esm2022/components/forms/form-error/src/form-error.component.mjs +3 -3
- package/esm2022/components/forms/input/src/input.component.mjs +34 -34
- package/esm2022/components/forms/radio/src/radio.component.mjs +53 -4
- package/esm2022/components/forms/range/src/range.component.mjs +14 -13
- package/esm2022/components/forms/select/src/select.component.mjs +30 -28
- package/esm2022/components/forms/switch/src/switch.component.mjs +15 -14
- package/esm2022/components/forms/textarea/src/textarea.component.mjs +35 -36
- package/esm2022/components/forms/toggle/src/toggle.component.mjs +113 -90
- package/esm2022/components/icon/src/icon.component.mjs +9 -8
- package/esm2022/components/link/src/link.component.mjs +26 -20
- package/esm2022/components/modal/src/modal.component.mjs +17 -13
- package/esm2022/components/notification/src/notification.component.mjs +10 -8
- package/esm2022/components/paginator/components/pagination-item/pagination-item.component.mjs +18 -15
- package/esm2022/components/paginator/src/paginator.component.mjs +3 -3
- package/esm2022/components/product-card/src/product-card.component.mjs +52 -46
- package/esm2022/components/progress/src/progress.component.mjs +11 -11
- package/esm2022/components/tab/directives/tab-content/tab-content.directive.mjs +14 -13
- package/esm2022/components/tab/directives/tab-header/tab-header.directive.mjs +17 -15
- package/esm2022/components/tab/src/tab.component.mjs +17 -15
- package/esm2022/components/table/src/table.component.mjs +32 -23
- package/esm2022/components/table/table-header-checkbox/table-header-checkbox.component.mjs +1 -1
- package/esm2022/components/table/table-row-checkbox/table-row-checkbox.component.mjs +1 -1
- package/esm2022/components/toast/toast-message/toast-message.component.mjs +22 -17
- package/esm2022/components/toast/toasts-container/toasts-container.component.mjs +2 -2
- package/esm2022/components/tooltip/src/tooltip.component.mjs +12 -10
- package/esm2022/components/wizard/wizard-content/wizard-content.component.mjs +6 -6
- package/esm2022/components/wizard/wizard-marker/wizard-marker.component.mjs +3 -3
- package/esm2022/components/wizard/wizard-step/wizard-step.component.mjs +3 -4
- package/esm2022/components/wizard/wizard-wrapper/wizard-wrapper.component.mjs +3 -11
- package/esm2022/directives/typography/src/typography.directive.mjs +9 -6
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +9 -9
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +7 -7
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-button.mjs +13 -11
- package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-card.mjs +7 -7
- package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +15 -11
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +51 -31
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs +2 -3
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs +27 -21
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +8 -8
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +30 -27
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-datepicker.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-datepicker.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +33 -33
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +52 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +13 -12
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +29 -27
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +14 -13
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +34 -35
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +113 -90
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-icon.mjs +9 -8
- package/fesm2022/sixbell-telco-sdk-components-icon.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-link.mjs +26 -20
- package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-modal.mjs +17 -13
- package/fesm2022/sixbell-telco-sdk-components-modal.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-notification.mjs +10 -8
- package/fesm2022/sixbell-telco-sdk-components-notification.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +20 -17
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +52 -46
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs +11 -11
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs +46 -41
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +35 -25
- package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-toast.mjs +23 -18
- package/fesm2022/sixbell-telco-sdk-components-toast.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +12 -10
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +11 -19
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs +8 -5
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs.map +1 -1
- package/package.json +9 -3
package/CHANGELOG.md
CHANGED
|
@@ -86,6 +86,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
86
86
|
|
|
87
87
|
- **Link Component**: Fixed styling issues for button variants (`d56cdf4`)
|
|
88
88
|
- **Form Errors**: Handle case where errors are null (`fdfbe1c`)
|
|
89
|
+
- **Changelog**: Fix types, update sections, and remove unnecessary sections (`4715ded`)
|
|
89
90
|
|
|
90
91
|
### Changed
|
|
91
92
|
|
|
@@ -96,7 +97,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
96
97
|
- **VScode Settings**: Updated VSCode settings (`528b633`)
|
|
97
98
|
- **Basic Configurations**: Updated basic configurations (`528b633`)
|
|
98
99
|
- **Avatar Showcase**: Reverted addition of avatar component to showcase app (`386f05e`)
|
|
99
|
-
- **Tailwind Config**: Added new paths for handling styles (`4c01c3b`)
|
|
100
|
+
- **Tailwind Config**: Added new paths for handling styles (`4c01c3b`)one
|
|
100
101
|
- **Project Settings**: Updated tsconfig settings (`a5472d5`)
|
|
101
102
|
- **Project Structure**: Refactored showcase web app with own settings (`ab6a802`)
|
|
102
103
|
- **Dependencies**: Added dayjs as peer dependency for countdown component (`808ddfa`)
|
|
@@ -109,9 +110,132 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
109
110
|
- **File Dropzone**: Rename dropzone.component to file-dropzone.component (`172e70c`)
|
|
110
111
|
- **Form Error**: Change form-errors name to form-error (`075f0db`)
|
|
111
112
|
- **README**: Update documentation (`8ba33c1`)
|
|
112
|
-
|
|
113
|
-
### Refactored
|
|
114
|
-
|
|
115
113
|
- **SDK**: Refactored SDK module structure (`528b633`)
|
|
116
114
|
- **SVG Add Icon**: Removed unused component from SVG add icon (`528b633`)
|
|
117
115
|
- **SDK**: Fixed TypeScript issues (`2650c35`)
|
|
116
|
+
- **Avatar Component**: Simplified variants implementation to one level (`1ec34a1`)
|
|
117
|
+
- **Accordion Item**: Renamed intent to variant (`ebd2ed2`)
|
|
118
|
+
- **Showcase**: Updated implementation of avatar and accordion components (`c099a26`)
|
|
119
|
+
- **Button Component**: Refactored nested variants implementation to one level (`52edbcf`)
|
|
120
|
+
- **Components**: Updated button usage in dual-list, file-dropzone, wizard-wrapper components and showcase (`f39bafe`, `ccb3c50`, `b38f3d0`, `3fbfded`)
|
|
121
|
+
- **Card Component**: Refactored variants nested implementation into one level (`284789a`)
|
|
122
|
+
- **Showcase**: Updated card variant implementation (`5666b3c`)
|
|
123
|
+
- **Dropdown Component**: Refactored variants nested implementation into one level (`b97bedd`)
|
|
124
|
+
- **Showcase**: Updated dropdown variant implementation (`e942986`)
|
|
125
|
+
- **Checkbox Component**: Refactored variants nested implementation into one level (`be3cb15`)
|
|
126
|
+
- **Showcase**: Updated checkbox variant implementation in table and showcase components (`6cbd794`, `b60a284`, `f466488`)
|
|
127
|
+
- **Input Component**: Refactored variants nested implementation into one level (`e8b22a8`)
|
|
128
|
+
- **Input Component**: Normalized type scheme naming (`47c6af9`)
|
|
129
|
+
- **File Uploader Component**: Normalized type scheme naming (`43e8ee0`)
|
|
130
|
+
- **Dual List Component**: Normalized type scheme naming (`f59b77d`)
|
|
131
|
+
- **Dropdown Component**: Normalized type scheme naming (`2796997`)
|
|
132
|
+
- **Card Component**: Normalized type scheme naming (`71c4ea1`)
|
|
133
|
+
- **Button Component**: Normalized type scheme naming (`846bcd6`)
|
|
134
|
+
- **Avatar Component**: Normalized type scheme naming (`ec6b4e6`)
|
|
135
|
+
- **Accordion Item Component**: Normalized type scheme naming (`ee4faf6`)
|
|
136
|
+
- **Combobox Component**: Updated file uploader variant implementation (`6acfb86`)
|
|
137
|
+
- **File Uploader Component**: Updated file uploader variant implementation (`c3d4703`)
|
|
138
|
+
- **Accordion Component**: Removed white spaces (`18bccaa`)
|
|
139
|
+
- **File Dropzone Component**: Removed unused import (`841d4ef`)
|
|
140
|
+
- **Combobox Component**: Refactored variants nested implementation into one level (`bae89d0`)
|
|
141
|
+
- **Showcase**: Updated combobox variants implementation (`2b2b0ee`)
|
|
142
|
+
- **Radio Component**: Refactored variants nested implementation into one level (`44f3a1a`)
|
|
143
|
+
- **Checkbox Component**: Added Checkbox main props type (`83bc3f9`)
|
|
144
|
+
- **Range Component**: Refactored variants nested implementation into one level (`dee746b`)
|
|
145
|
+
- **Select Component**: Refactored variants nested implementation into one level (`d41d545`)
|
|
146
|
+
- **Table Component**: Updated select variant implementation (`d5be5d9`)
|
|
147
|
+
- **Table Component**: Removed unused import (`2a146a4`)
|
|
148
|
+
- **Switch Component**: Refactored variants nested implementation into one level (`c0b47c8`)
|
|
149
|
+
- **Switch Component**: Removed unused import (`45798c6`)
|
|
150
|
+
- **Textarea Component**: Refactored variants nested implementation into one level (`00be1b1`)
|
|
151
|
+
- **Textarea Component**: Removed unused import (`40cdea4`)
|
|
152
|
+
- **Showcase**: Updated textarea variants implementation (`e2a26bb`)
|
|
153
|
+
- **Toast Message Component**: Refactored variants nested implementation into one level (`ace21f0`)
|
|
154
|
+
- **Showcase**: Updated toast message variants implementation (`905cd74`)
|
|
155
|
+
- **Toggle Component**: Refactored variants nested implementation into one level (`8feee0d`)
|
|
156
|
+
- **Showcase**: Updated toggle variants implementation (`5b7445a`)
|
|
157
|
+
- **Showcase**: Update components references (`74fb472`)
|
|
158
|
+
- **Wizard**: Update button props references (`9574fab`)
|
|
159
|
+
- **Wizard Step**: Update icon variants implementation (`8fa5f6c`)
|
|
160
|
+
- **Toast Message**: Update icon variants implementation (`8329954`)
|
|
161
|
+
- **Product Card**: Update icon variants implementation (`4daf239`)
|
|
162
|
+
- **Pagination Item**: Update icon variants implementation (`9d237ab`)
|
|
163
|
+
- **Notification**: Update icon variants implementation (`11476cd`)
|
|
164
|
+
- **Link**: Update icon variants implementation (`499720c`)
|
|
165
|
+
- **Icon**: Normalize props and refactor variant into one level (`fcb0e39`)
|
|
166
|
+
- **Toggle**: Normalize component props naming (`400d508`)
|
|
167
|
+
- **Textarea**: Normalize component props naming (`8743b91`)
|
|
168
|
+
- **Switch**: Normalize component props naming (`ca24fcb`)
|
|
169
|
+
- **Select**: Normalize component props naming (`b3253b2`)
|
|
170
|
+
- **Range**: Normalize component props naming (`9804177`)
|
|
171
|
+
- **Radio**: Normalize component props naming (`41c55d1`)
|
|
172
|
+
- **Input**: Normalize component props naming (`a1f72ad`)
|
|
173
|
+
- **Datepicker**: Update icon variant implementation (`d5e7985`)
|
|
174
|
+
- **Combobox**: Normalize component props naming (`00edda4`)
|
|
175
|
+
- **Checkbox**: Normalize component props naming (`10152d3`)
|
|
176
|
+
- **File Uploader**: Normalize component props naming (`fbf0886`)
|
|
177
|
+
- **Dual List**: Normalize component props naming (`22be61e`)
|
|
178
|
+
- **Dropdown**: Normalize component props naming (`571a514`)
|
|
179
|
+
- **Card**: Normalize component props naming (`3d5ac89`)
|
|
180
|
+
- **Button**: Normalize component props naming (`ed528b9`)
|
|
181
|
+
- **Avatar**: Normalize component props naming (`53988de`)
|
|
182
|
+
- **Accordion Item**: Normalize component props naming (`001ace8`)
|
|
183
|
+
- **Dropdown**: Refactor interface into type (`b70a74`)
|
|
184
|
+
- **Button**: Refactor interface into type (`3b25af3`)
|
|
185
|
+
- **Showcase**: Update link variants implementation (`5f058cb`)
|
|
186
|
+
- **Link**: Refactor variants nested implementation into one level (`288c601`)
|
|
187
|
+
- **Modal**: Refactor variants nested implementation into one level (`c8a13ab`)
|
|
188
|
+
- **Showcase**: Update modal variants implementation (`8643ac5`)
|
|
189
|
+
- **Notification**: Refactor variants nested implementation into one level (`9319445`)
|
|
190
|
+
- **Showcase**: Update notification variants implementation (`e4ba37d`)
|
|
191
|
+
- **Paginator**: Update paginator item variants implementation (`d39c936`)
|
|
192
|
+
- **Paginator Item**: Refactor variants nested implementation into one level (`a91dd11`)
|
|
193
|
+
- **Product Card**: Refactor variants nested implementation into one level (`88454b8`)
|
|
194
|
+
- **Showcase**: Update product card variants implementation (`c150a61`)
|
|
195
|
+
- **Product Card**: Remove comments (`31265e0`)
|
|
196
|
+
- **Progress**: Refactor variants nested implementation into one level (`2e95a8f`)
|
|
197
|
+
- **Showcase**: Update tab variants implementation (`1b898ca`)
|
|
198
|
+
- **Tab**: Refactor variants nested implementation into one level (`20d1b98`)
|
|
199
|
+
- **Tab Header**: Refactor variants nested implementation into one level (`af8f267`)
|
|
200
|
+
- **Tab Content**: Refactor variants nested implementation into one level (`dc82589`)
|
|
201
|
+
- **Showcase**: Update table and dual list variants implementation (`19260bb`)
|
|
202
|
+
- **File Dropzone**: Update dual list variants implementation (`db50b8c`)
|
|
203
|
+
- **Dual List**: Update table item variants implementation (`54a25be`)
|
|
204
|
+
- **Table**: Refactor variants nested implementation into one level (`2bce77c`)
|
|
205
|
+
- **Toast Message**: Refactor variants nested implementation into one level (`1817030`)
|
|
206
|
+
- **Showcase**: Update tooltip variants implementation (`081c4ae`)
|
|
207
|
+
- **Tooltip**: Refactor variants nested implementation into one level (`e9c0284`)
|
|
208
|
+
- **Wizard Wrapper**: Remove unused import (`80111d9`)
|
|
209
|
+
- **Wizard Step**: Remove unused import (`d29c3f5`)
|
|
210
|
+
- **Wizard Content**: Update props naming scheme (`00c8220`)
|
|
211
|
+
- **Showcase**: Update typography variants implementation (`fa1a132`)
|
|
212
|
+
- **Wizard Wrapper**: Update typography variants implementation (`ca7a61a`)
|
|
213
|
+
- **Wizard Step**: Update typography variants implementation (`71345e3`)
|
|
214
|
+
- **Wizard Marker**: Update typography variants implementation (`fbb4dfe`)
|
|
215
|
+
- **Toast Message**: Update typography variants implementation (`2206ea4`)
|
|
216
|
+
- **Table**: Update typography variants implementation (`637472c`)
|
|
217
|
+
- **Progress**: Update typography variants implementation (`e0b82f0`)
|
|
218
|
+
- **Product Card**: Update typography variants implementation (`aaedbb6`)
|
|
219
|
+
- **Pagination Item**: Update typography variants implementation (`9628bef`)
|
|
220
|
+
- **Link**: Update typography variants implementation (`1ae4ac6`)
|
|
221
|
+
- **Toggle**: Update typography variants implementation (`5205350`)
|
|
222
|
+
- **Textarea**: Update typography variants implementation (`4231917`)
|
|
223
|
+
- **Switch**: Update typography variants implementation (`10f803b`)
|
|
224
|
+
- **Select**: Update typography variants implementation (`2d3a73e`)
|
|
225
|
+
- **Range**: Update typography variants implementation (`a407da8`)
|
|
226
|
+
- **Radio**: Update typography variants implementation (`6c933a9`)
|
|
227
|
+
- **Input**: Update typography variants implementation (`bb51b89`)
|
|
228
|
+
- **Form Error**: Update typography variants implementation (`903c6b0`)
|
|
229
|
+
- **Combobox**: Update typography variants implementation (`de370dc`)
|
|
230
|
+
- **Checkbox**: Update typography variants implementation (`554d7e6`)
|
|
231
|
+
- **File Uploader**: Update typography variants implementation (`eb00372`)
|
|
232
|
+
- **File Dropzone**: Update typography variants implementation (`94cba2b`)
|
|
233
|
+
- **Dual List**: Update typography variants implementation (`f495ab1`)
|
|
234
|
+
- **Dropdown**: Update typography variants implementation (`ca5c519`)
|
|
235
|
+
- **Button**: Update typography variants implementation (`dea8948`)
|
|
236
|
+
- **Avatar**: Update typography variants implementation (`94007a2`)
|
|
237
|
+
- **Accordion Item**: Update typography variants implementation (`02ced00`)
|
|
238
|
+
- **Typography**: Refactor variants nested implementation into one level (`8aea15a`)
|
|
239
|
+
- **Settings**: Add class attributes for Tailwind IntelliSense (`0de5988`)
|
|
240
|
+
- **SDK**: Add package documentation (`26fae79`)
|
|
241
|
+
- **Package.json**: Add author, description, license, keywords and name (`6257842`)
|
package/README.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Sixbell Telco SDK
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
We are thrilled to have you here. This SDK is designed to provide you with a comprehensive set of UI components 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.
|
|
4
4
|
|
|
5
|
-
!
|
|
5
|
+
Explore the documentation, try out the examples, and start building amazing applications with Sixbell Telco SDK today!
|
|
6
|
+
|
|
7
|
+
Happy coding!
|
|
8
|
+
|
|
9
|
+

|
|
6
10
|
|
|
7
11
|
## Pre-requirements
|
|
8
12
|
|
|
@@ -12,47 +16,46 @@ Welcome to the project! This README will provide you with an overview of the fil
|
|
|
12
16
|
|
|
13
17
|
### General components
|
|
14
18
|
|
|
15
|
-
| Component
|
|
16
|
-
|
|
|
17
|
-
| Accordion
|
|
18
|
-
| Accordion Item
|
|
19
|
-
| Avatar
|
|
20
|
-
| Button
|
|
21
|
-
| Card
|
|
22
|
-
| Countdown
|
|
23
|
-
| Dropdown
|
|
24
|
-
| Dual List
|
|
25
|
-
| File Uploader
|
|
26
|
-
| File Dropzone
|
|
27
|
-
| Icon
|
|
28
|
-
| Link
|
|
29
|
-
| Modal
|
|
30
|
-
| Notification
|
|
31
|
-
| Paginator
|
|
32
|
-
| Product Card
|
|
33
|
-
| Progress
|
|
34
|
-
| Tab
|
|
35
|
-
| Table
|
|
36
|
-
| Toast
|
|
37
|
-
| Tooltip
|
|
38
|
-
| Wizard
|
|
19
|
+
| Component | Description |
|
|
20
|
+
| -------------- | ---------------------------------- |
|
|
21
|
+
| Accordion | Expandable/collapsible content |
|
|
22
|
+
| Accordion Item | Item within an accordion |
|
|
23
|
+
| Avatar | User avatar display |
|
|
24
|
+
| Button | Buttons for various actions |
|
|
25
|
+
| Card | Container for content and actions |
|
|
26
|
+
| Countdown | Countdown timer |
|
|
27
|
+
| Dropdown | Dropdown menu for actions or links |
|
|
28
|
+
| Dual List | Dual list for selecting items |
|
|
29
|
+
| File Uploader | Upload files |
|
|
30
|
+
| File Dropzone | Drag and drop file upload |
|
|
31
|
+
| Icon | Display icons |
|
|
32
|
+
| Link | Hyperlink component |
|
|
33
|
+
| Modal | Modal dialog |
|
|
34
|
+
| Notification | Display notifications |
|
|
35
|
+
| Paginator | Pagination controls |
|
|
36
|
+
| Product Card | Display product information |
|
|
37
|
+
| Progress | Progress bar |
|
|
38
|
+
| Tab | Tabbed navigation |
|
|
39
|
+
| Table | Display tabular data |
|
|
40
|
+
| Toast | Toast notifications |
|
|
41
|
+
| Tooltip | Display tooltips |
|
|
42
|
+
| Wizard | Step-by-step wizard |
|
|
39
43
|
|
|
40
44
|
### Forms specific components
|
|
41
45
|
|
|
42
|
-
| Component
|
|
43
|
-
|
|
|
44
|
-
| Checkbox
|
|
45
|
-
| Combobox
|
|
46
|
-
| Datepicker
|
|
47
|
-
| Form Error
|
|
48
|
-
| Input
|
|
49
|
-
| Radio
|
|
50
|
-
| Range
|
|
51
|
-
| Select
|
|
52
|
-
| Switch
|
|
53
|
-
| Textarea
|
|
54
|
-
| Toggle
|
|
55
|
-
|
|
46
|
+
| Component | Description |
|
|
47
|
+
| ---------- | ------------------------------- |
|
|
48
|
+
| Checkbox | Checkbox input |
|
|
49
|
+
| Combobox | Combo box for selecting options |
|
|
50
|
+
| Datepicker | Date selection input |
|
|
51
|
+
| Form Error | Display form errors |
|
|
52
|
+
| Input | Text input field |
|
|
53
|
+
| Radio | Radio button input |
|
|
54
|
+
| Range | Range slider input |
|
|
55
|
+
| Select | Dropdown select input |
|
|
56
|
+
| Switch | Toggle switch input |
|
|
57
|
+
| Textarea | Multi-line text input |
|
|
58
|
+
| Toggle | Toggle button input |
|
|
56
59
|
|
|
57
60
|
## Setup
|
|
58
61
|
|
|
@@ -65,16 +68,17 @@ npx @sixbell-telco/cli init
|
|
|
65
68
|
```
|
|
66
69
|
|
|
67
70
|
This will automatically:
|
|
71
|
+
|
|
68
72
|
- Install all necessary dependencies
|
|
69
73
|
- Configure Tailwind CSS and Daisy UI
|
|
70
74
|
- Set up required theme configurations
|
|
71
75
|
|
|
72
76
|
> **Note:** The CLI tool is currently a work in progress and is not yet available. Coming soon!
|
|
73
77
|
|
|
74
|
-
|
|
75
78
|
### Manual Setup
|
|
76
79
|
|
|
77
80
|
1. Install dependencies:
|
|
81
|
+
|
|
78
82
|
```bash
|
|
79
83
|
npm i @sixbell-telco/sdk @tailwindcss/typography daisyui
|
|
80
84
|
```
|
|
@@ -206,16 +210,20 @@ import { ButtonComponent } from '@sixbell-telco/sdk/components/button';
|
|
|
206
210
|
@Component({
|
|
207
211
|
imports: [ButtonComponent],
|
|
208
212
|
template: `
|
|
209
|
-
<
|
|
213
|
+
<div>
|
|
214
|
+
<h1>Awesome button</h2>
|
|
215
|
+
<app-button label="Click me!" variant="primary" padding="normal" shape="round-sm" />
|
|
216
|
+
</div>
|
|
210
217
|
`
|
|
211
218
|
})
|
|
212
219
|
```
|
|
213
220
|
|
|
214
221
|
## Documentation
|
|
215
222
|
|
|
216
|
-
For detailed component documentation, visit our [Storybook](https://
|
|
223
|
+
For detailed component documentation, visit our [Storybook](https://storybook.js.org/tutorials/intro-to-storybook/angular/en/get-started/)
|
|
217
224
|
|
|
218
225
|
> **Note:** Our Storybook documentation is currently a work in progress and will be available soon!
|
|
219
226
|
|
|
220
227
|
## Last update
|
|
221
|
-
|
|
228
|
+
|
|
229
|
+
This file was last updated in 15th of November, 2024.
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import { AccordionComponent } from '../src/accordion.component';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const accordionItemComponent: (props?: ({
|
|
4
4
|
variant?: "default" | "arrow" | "plus" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
-
export type
|
|
6
|
+
export type AccordionVariantProps = 'default' | 'arrow' | 'plus' | null | undefined;
|
|
7
|
+
export type AccordionItemProps = {
|
|
8
|
+
variant?: AccordionVariantProps;
|
|
9
|
+
};
|
|
7
10
|
export declare class AccordionItemComponent {
|
|
8
11
|
private accordion;
|
|
9
12
|
header: import("@angular/core").InputSignal<string>;
|
|
10
13
|
opened: import("@angular/core").InputSignal<boolean>;
|
|
11
|
-
variant: import("@angular/core").InputSignal<
|
|
12
|
-
|
|
14
|
+
variant: import("@angular/core").InputSignal<AccordionVariantProps>;
|
|
15
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
13
16
|
name: string;
|
|
14
17
|
type: string;
|
|
15
18
|
constructor(accordion: AccordionComponent);
|
|
16
|
-
get
|
|
19
|
+
get componentClass(): string;
|
|
17
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemComponent, [{ host: true; }]>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "app-accordion-item", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "opened": { "alias": "opened"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "app-accordion-item", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "opened": { "alias": "opened"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
19
22
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export type
|
|
2
|
+
export type AvatarUser = {
|
|
3
3
|
firstName: string;
|
|
4
4
|
lastName: string;
|
|
5
5
|
email: string;
|
|
@@ -7,27 +7,32 @@ export type User = {
|
|
|
7
7
|
client: string;
|
|
8
8
|
};
|
|
9
9
|
export type AvatarTypes = 'quick' | 'profile';
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const avatarComponent: (props?: ({
|
|
11
11
|
variant?: "primary" | null | undefined;
|
|
12
12
|
shape?: "round-xs" | "round-sm" | "round-md" | "round-lg" | null | undefined;
|
|
13
13
|
size?: "auto" | null | undefined;
|
|
14
14
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
-
export type
|
|
16
|
-
export type
|
|
17
|
-
export type
|
|
15
|
+
export type AvatarVariantProps = 'primary' | null | undefined;
|
|
16
|
+
export type AvatarShapeProps = 'round-xs' | 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
17
|
+
export type AvatarSizeProps = 'auto' | null | undefined;
|
|
18
|
+
export type AvatarProps = {
|
|
19
|
+
variant?: AvatarVariantProps;
|
|
20
|
+
shape?: AvatarShapeProps;
|
|
21
|
+
size?: AvatarSizeProps;
|
|
22
|
+
};
|
|
18
23
|
export declare class AvatarComponent {
|
|
19
|
-
variant: import("@angular/core").InputSignal<
|
|
20
|
-
shape: import("@angular/core").InputSignal<
|
|
21
|
-
size: import("@angular/core").InputSignal<
|
|
22
|
-
|
|
24
|
+
variant: import("@angular/core").InputSignal<AvatarVariantProps>;
|
|
25
|
+
shape: import("@angular/core").InputSignal<AvatarShapeProps>;
|
|
26
|
+
size: import("@angular/core").InputSignal<AvatarSizeProps>;
|
|
27
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
23
28
|
type: import("@angular/core").InputSignal<AvatarTypes>;
|
|
24
|
-
user: import("@angular/core").InputSignal<
|
|
29
|
+
user: import("@angular/core").InputSignal<AvatarUser>;
|
|
25
30
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
26
31
|
get initials(): string;
|
|
27
|
-
get
|
|
32
|
+
get componentClass(): string;
|
|
28
33
|
get profile(): string;
|
|
29
34
|
get client(): string;
|
|
30
35
|
formatTitleCase(value: string): string;
|
|
31
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "app-avatar", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "app-avatar", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
33
38
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IconName } from '@sixbell-telco/sdk/components/icon';
|
|
2
|
-
import {
|
|
2
|
+
import { TypographyVariantProps } from '@sixbell-telco/sdk/directives/typography';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const buttonContainer: (props?: ({
|
|
5
5
|
variant?: "primary" | "warning" | "error" | "secondary" | "ghost-primary" | "ghost-error" | "circle" | "icon" | null | undefined;
|
|
6
6
|
shape?: "round-none" | "round-sm" | "round-md" | "round-lg" | null | undefined;
|
|
7
7
|
padding?: "none" | "normal" | "sm" | "md" | "lg" | null | undefined;
|
|
@@ -9,44 +9,45 @@ export declare const buttonBase: (props?: ({
|
|
|
9
9
|
width?: "normal" | "fit" | "auto" | "full" | "min-content" | "max-content" | null | undefined;
|
|
10
10
|
alignment?: "center" | "left" | "right" | null | undefined;
|
|
11
11
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
|
-
export type
|
|
13
|
-
export type
|
|
14
|
-
export type
|
|
15
|
-
export type
|
|
16
|
-
export type
|
|
17
|
-
export type
|
|
12
|
+
export type ButtonContainerVariantProps = 'primary' | 'warning' | 'error' | 'secondary' | 'ghost-primary' | 'ghost-error' | 'circle' | 'icon' | null | undefined;
|
|
13
|
+
export type ButtonContainerShapeProps = 'round-none' | 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
14
|
+
export type ButtonContainerPaddingProps = 'none' | 'normal' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
15
|
+
export type ButtonContainerHeightProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | 'normal' | null | undefined;
|
|
16
|
+
export type ButtonContainerWidthProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | 'normal' | null | undefined;
|
|
17
|
+
export type ButtonContainerAlignmentProps = 'center' | 'left' | 'right' | null | undefined;
|
|
18
18
|
export declare const buttonIcon: (props?: ({
|
|
19
19
|
iconPosition?: "center" | "left" | "right" | null | undefined;
|
|
20
20
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
21
21
|
export type ButtonIconVariantProps = 'center' | 'left' | 'right' | null | undefined;
|
|
22
|
-
export
|
|
23
|
-
variant?:
|
|
24
|
-
shape?:
|
|
25
|
-
padding?:
|
|
26
|
-
height?:
|
|
27
|
-
width?:
|
|
28
|
-
alignment?:
|
|
22
|
+
export type ButtonProps = {
|
|
23
|
+
variant?: ButtonContainerVariantProps;
|
|
24
|
+
shape?: ButtonContainerShapeProps;
|
|
25
|
+
padding?: ButtonContainerPaddingProps;
|
|
26
|
+
height?: ButtonContainerHeightProps;
|
|
27
|
+
width?: ButtonContainerWidthProps;
|
|
28
|
+
alignment?: ButtonContainerAlignmentProps;
|
|
29
29
|
iconPosition?: ButtonIconVariantProps;
|
|
30
|
-
}
|
|
31
|
-
export declare const
|
|
30
|
+
};
|
|
31
|
+
export declare const buttonComponent: ({ variant, shape, padding, height, width, alignment, iconPosition }?: ButtonProps) => string;
|
|
32
32
|
type HTMLButtonType = 'button' | 'submit' | 'reset';
|
|
33
33
|
export declare class ButtonComponent {
|
|
34
|
-
variant: import("@angular/core").InputSignal<
|
|
35
|
-
shape: import("@angular/core").InputSignal<
|
|
36
|
-
padding: import("@angular/core").InputSignal<
|
|
37
|
-
height: import("@angular/core").InputSignal<
|
|
38
|
-
width: import("@angular/core").InputSignal<
|
|
39
|
-
alignment: import("@angular/core").InputSignal<
|
|
34
|
+
variant: import("@angular/core").InputSignal<ButtonContainerVariantProps>;
|
|
35
|
+
shape: import("@angular/core").InputSignal<ButtonContainerShapeProps>;
|
|
36
|
+
padding: import("@angular/core").InputSignal<ButtonContainerPaddingProps>;
|
|
37
|
+
height: import("@angular/core").InputSignal<ButtonContainerHeightProps>;
|
|
38
|
+
width: import("@angular/core").InputSignal<ButtonContainerWidthProps>;
|
|
39
|
+
alignment: import("@angular/core").InputSignal<ButtonContainerAlignmentProps>;
|
|
40
40
|
iconPosition: import("@angular/core").InputSignal<ButtonIconVariantProps>;
|
|
41
|
-
fontSize: import("@angular/core").InputSignal<
|
|
42
|
-
|
|
41
|
+
fontSize: import("@angular/core").InputSignal<TypographyVariantProps>;
|
|
42
|
+
containerClasses: import("@angular/core").InputSignal<string>;
|
|
43
|
+
iconClasses: import("@angular/core").InputSignal<string>;
|
|
43
44
|
label: import("@angular/core").InputSignal<string>;
|
|
44
45
|
type: import("@angular/core").InputSignal<HTMLButtonType>;
|
|
45
46
|
iconName: import("@angular/core").InputSignal<IconName | undefined>;
|
|
46
47
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
47
|
-
get
|
|
48
|
-
get
|
|
48
|
+
get containerClass(): string;
|
|
49
|
+
get iconClass(): string;
|
|
49
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "app-button", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "fontSize": { "alias": "fontSize"; "required": false; "isSignal": true; }; "
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "app-button", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "fontSize": { "alias": "fontSize"; "required": false; "isSignal": true; }; "containerClasses": { "alias": "containerClasses"; "required": false; "isSignal": true; }; "iconClasses": { "alias": "iconClasses"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
51
52
|
}
|
|
52
53
|
export {};
|
|
@@ -1,21 +1,27 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const cardComponent: (props?: ({
|
|
3
3
|
shadow?: "none" | "primary" | "secondary" | null | undefined;
|
|
4
4
|
height?: "fit" | "auto" | "full" | "min-content" | "max-content" | null | undefined;
|
|
5
5
|
width?: "fit" | "auto" | "full" | "min-content" | "max-content" | null | undefined;
|
|
6
6
|
shape?: "round-sm" | "round-md" | "round-lg" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
-
export type
|
|
9
|
-
export type
|
|
10
|
-
export type
|
|
11
|
-
export type
|
|
8
|
+
export type CardShadowProps = 'none' | 'primary' | 'secondary' | null | undefined;
|
|
9
|
+
export type CardHeightProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | null | undefined;
|
|
10
|
+
export type CardWidthProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | null | undefined;
|
|
11
|
+
export type CardShapeProps = 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
12
|
+
export type CardProps = {
|
|
13
|
+
shadow?: CardShadowProps;
|
|
14
|
+
height?: CardHeightProps;
|
|
15
|
+
width?: CardWidthProps;
|
|
16
|
+
shape?: CardShapeProps;
|
|
17
|
+
};
|
|
12
18
|
export declare class CardComponent {
|
|
13
|
-
shadow: import("@angular/core").InputSignal<
|
|
14
|
-
height: import("@angular/core").InputSignal<
|
|
15
|
-
width: import("@angular/core").InputSignal<
|
|
16
|
-
shape: import("@angular/core").InputSignal<
|
|
17
|
-
|
|
18
|
-
get
|
|
19
|
+
shadow: import("@angular/core").InputSignal<CardShadowProps>;
|
|
20
|
+
height: import("@angular/core").InputSignal<CardHeightProps>;
|
|
21
|
+
width: import("@angular/core").InputSignal<CardWidthProps>;
|
|
22
|
+
shape: import("@angular/core").InputSignal<CardShapeProps>;
|
|
23
|
+
classes: import("@angular/core").InputSignal<string>;
|
|
24
|
+
get componentClass(): string;
|
|
19
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "app-card", never, { "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "app-card", never, { "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
21
27
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IconName } from '@sixbell-telco/sdk/components/icon';
|
|
2
2
|
import { Route } from '@sixbell-telco/sdk/components/link';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const dropdownButton: (props?: ({
|
|
5
5
|
variant?: "primary" | "secondary" | "sucess" | "warning" | "error" | "info" | "accent" | "icon" | null | undefined;
|
|
6
6
|
shape?: "round-none" | "round-sm" | "round-md" | "round-lg" | null | undefined;
|
|
7
7
|
padding?: "none" | "normal" | "sm" | "md" | "lg" | null | undefined;
|
|
@@ -9,12 +9,12 @@ export declare const dropdownBase: (props?: ({
|
|
|
9
9
|
width?: "normal" | "fit" | "auto" | "full" | "min-content" | "max-content" | null | undefined;
|
|
10
10
|
alignment?: "center" | "left" | "right" | null | undefined;
|
|
11
11
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
|
-
export type
|
|
13
|
-
export type
|
|
14
|
-
export type
|
|
15
|
-
export type
|
|
16
|
-
export type
|
|
17
|
-
export type
|
|
12
|
+
export type DropdownButtonVariantProps = 'primary' | 'secondary' | 'sucess' | 'warning' | 'error' | 'info' | 'accent' | 'icon' | null | undefined;
|
|
13
|
+
export type DropdownButtonShapeProps = 'round-none' | 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
14
|
+
export type DropdownButtonPaddingProps = 'none' | 'normal' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
15
|
+
export type DropdownButtonHeightProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | 'normal' | null | undefined;
|
|
16
|
+
export type DropdownButtonWidthProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | 'normal' | null | undefined;
|
|
17
|
+
export type DropdownButtonAlignmentProps = 'center' | 'left' | 'right' | null | undefined;
|
|
18
18
|
export declare const dropdownMenu: (props?: ({
|
|
19
19
|
menuPosition?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
20
20
|
menuAlignment?: "start" | "end" | null | undefined;
|
|
@@ -27,38 +27,40 @@ export declare const dropdownIcon: (props?: ({
|
|
|
27
27
|
iconPosition?: "center" | "left" | "right" | null | undefined;
|
|
28
28
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
29
29
|
export type DropdownIconPositionProps = 'center' | 'left' | 'right' | null | undefined;
|
|
30
|
-
export
|
|
31
|
-
variant?:
|
|
32
|
-
shape?:
|
|
33
|
-
height?:
|
|
34
|
-
padding?:
|
|
35
|
-
width?:
|
|
36
|
-
alignment?:
|
|
30
|
+
export type DropdownProps = {
|
|
31
|
+
variant?: DropdownButtonVariantProps;
|
|
32
|
+
shape?: DropdownButtonShapeProps;
|
|
33
|
+
height?: DropdownButtonHeightProps;
|
|
34
|
+
padding?: DropdownButtonPaddingProps;
|
|
35
|
+
width?: DropdownButtonWidthProps;
|
|
36
|
+
alignment?: DropdownButtonAlignmentProps;
|
|
37
37
|
menuAlignment?: DropdownMenuAlignmentProps;
|
|
38
38
|
menuPosition?: DropdownMenuPositionProps;
|
|
39
39
|
menuOpenBy?: DropdownMenuOpenByProps;
|
|
40
40
|
iconPosition?: DropdownIconPositionProps;
|
|
41
|
-
}
|
|
42
|
-
export declare const
|
|
41
|
+
};
|
|
42
|
+
export declare const dropdownComponent: ({ variant, shape, height, padding, width, alignment, menuAlignment, menuPosition, menuOpenBy, iconPosition, }?: DropdownProps) => string;
|
|
43
43
|
export declare class DropdownComponent {
|
|
44
|
-
variant: import("@angular/core").InputSignal<
|
|
45
|
-
shape: import("@angular/core").InputSignal<
|
|
46
|
-
padding: import("@angular/core").InputSignal<
|
|
47
|
-
height: import("@angular/core").InputSignal<
|
|
48
|
-
width: import("@angular/core").InputSignal<
|
|
49
|
-
alignment: import("@angular/core").InputSignal<
|
|
44
|
+
variant: import("@angular/core").InputSignal<DropdownButtonVariantProps>;
|
|
45
|
+
shape: import("@angular/core").InputSignal<DropdownButtonShapeProps>;
|
|
46
|
+
padding: import("@angular/core").InputSignal<DropdownButtonPaddingProps>;
|
|
47
|
+
height: import("@angular/core").InputSignal<DropdownButtonHeightProps>;
|
|
48
|
+
width: import("@angular/core").InputSignal<DropdownButtonWidthProps>;
|
|
49
|
+
alignment: import("@angular/core").InputSignal<DropdownButtonAlignmentProps>;
|
|
50
50
|
menuPosition: import("@angular/core").InputSignal<DropdownMenuPositionProps>;
|
|
51
51
|
menuAlignment: import("@angular/core").InputSignal<DropdownMenuAlignmentProps>;
|
|
52
52
|
menuOpenBy: import("@angular/core").InputSignal<DropdownMenuOpenByProps>;
|
|
53
53
|
iconPosition: import("@angular/core").InputSignal<DropdownIconPositionProps>;
|
|
54
|
-
|
|
54
|
+
buttonClasses: import("@angular/core").InputSignal<string>;
|
|
55
|
+
menuClasses: import("@angular/core").InputSignal<string>;
|
|
56
|
+
iconClasses: import("@angular/core").InputSignal<string>;
|
|
55
57
|
label: import("@angular/core").InputSignal<string | undefined>;
|
|
56
58
|
iconName: import("@angular/core").InputSignal<IconName | undefined>;
|
|
57
59
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
58
60
|
routes: import("@angular/core").InputSignal<Route[]>;
|
|
59
|
-
get
|
|
60
|
-
get
|
|
61
|
-
get
|
|
61
|
+
get buttonClass(): string;
|
|
62
|
+
get menuClass(): string;
|
|
63
|
+
get iconClass(): string;
|
|
62
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "app-dropdown", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; "menuPosition": { "alias": "menuPosition"; "required": false; "isSignal": true; }; "menuAlignment": { "alias": "menuAlignment"; "required": false; "isSignal": true; }; "menuOpenBy": { "alias": "menuOpenBy"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "app-dropdown", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; "menuPosition": { "alias": "menuPosition"; "required": false; "isSignal": true; }; "menuAlignment": { "alias": "menuAlignment"; "required": false; "isSignal": true; }; "menuOpenBy": { "alias": "menuOpenBy"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "buttonClasses": { "alias": "buttonClasses"; "required": false; "isSignal": true; }; "menuClasses": { "alias": "menuClasses"; "required": false; "isSignal": true; }; "iconClasses": { "alias": "iconClasses"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "routes": { "alias": "routes"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
64
66
|
}
|