@sixbell-telco/sdk 4.8.0 → 4.10.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.
- package/CHANGELOG.md +53 -0
- package/components/accordion/README.md +1 -1
- package/components/accordion/src/accordion.component.d.ts +4 -0
- package/components/alert/src/alert.component.d.ts +8 -1
- package/components/data-table/README.md +1 -0
- package/components/data-table/src/data-table.component.d.ts +2 -24
- package/components/dialog/README.md +4 -3
- package/components/dialog/dialog-actions/dialog-actions.component.d.ts +2 -1
- package/components/dialog/src/dialog.component.d.ts +10 -5
- package/components/dropdown-menu/bar/dropdown-menu-bar-item/dropdown-menu-bar-item.component.d.ts +1 -1
- package/components/dropdown-menu/src/dropdown-menu-item/dropdown-menu-item.component.d.ts +3 -2
- package/components/file-upload/file-dropzone/file-dropzone.component.d.ts +12 -0
- package/components/file-upload/file-uploader/file-uploader.component.d.ts +6 -0
- package/components/forms/combobox/README.md +49 -0
- package/components/forms/combobox/src/combobox.component.d.ts +178 -3
- package/components/forms/date-picker/README.md +3 -1
- package/components/forms/date-picker/src/date-picker.component.d.ts +8 -1
- package/components/forms/form-error/README.md +2 -0
- package/components/forms/form-error/src/form-error.component.d.ts +17 -0
- package/components/forms/form-hint/README.md +2 -2
- package/components/forms/form-item/README.md +1 -0
- package/components/forms/form-item/src/form-item.component.d.ts +38 -6
- package/components/forms/input/README.md +7 -0
- package/components/forms/input/src/input.component.d.ts +11 -1
- package/components/forms/select/README.md +48 -0
- package/components/forms/select/src/select.component.d.ts +157 -2
- package/components/forms/textarea/README.md +1 -0
- package/components/forms/textarea/src/textarea.component.d.ts +6 -1
- package/components/paginator/README.md +3 -0
- package/components/paginator/components/pagination-item/pagination-item.component.d.ts +8 -3
- package/components/paginator/src/paginator.component.d.ts +2 -1
- package/components/progress/src/progress.component.d.ts +17 -3
- package/components/table/README.md +2 -0
- package/components/table/src/table.component.d.ts +16 -23
- package/directives/only-numbers/src/only-numbers.directive.d.ts +27 -1
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +6 -1
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-alert.mjs +12 -5
- package/fesm2022/sixbell-telco-sdk-components-alert.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +5 -2
- package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +30 -13
- package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +2 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +10 -4
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +32 -6
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +272 -23
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs +17 -4
- package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +32 -4
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs +74 -10
- package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +13 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +258 -18
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +11 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +15 -11
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs +22 -4
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +42 -5
- package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs +49 -4
- package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-layouts.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-layouts.mjs.map +1 -1
- package/i18n/sdk/en.json +14 -4
- package/i18n/sdk/es.json +14 -4
- package/i18n/sdk/pt.json +14 -4
- package/manifest.json +185 -19
- package/package.json +1 -1
- package/src/_index.css +19 -0
package/i18n/sdk/en.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"selectPrompt": "Click to select files or drag and drop here",
|
|
6
6
|
"maxSizeLabel": "Max size:",
|
|
7
7
|
"allowedTypesLabel": "Allowed types:",
|
|
8
|
+
"chooseFiles": "Choose or drop files",
|
|
8
9
|
"invalidFileType": "Invalid file type",
|
|
9
10
|
"fileTooLarge": "File too large",
|
|
10
11
|
"fileCounter": "{{current}} of {{max}} files",
|
|
@@ -18,7 +19,8 @@
|
|
|
18
19
|
}
|
|
19
20
|
},
|
|
20
21
|
"fileUploader": {
|
|
21
|
-
"allowedTypesLabel": "Allowed types:"
|
|
22
|
+
"allowedTypesLabel": "Allowed types:",
|
|
23
|
+
"chooseFile": "Choose file"
|
|
22
24
|
}
|
|
23
25
|
},
|
|
24
26
|
"audioPlayer": {
|
|
@@ -63,7 +65,8 @@
|
|
|
63
65
|
},
|
|
64
66
|
"select": {
|
|
65
67
|
"placeholder": "Select",
|
|
66
|
-
"clearSelection": "Clear selection"
|
|
68
|
+
"clearSelection": "Clear selection",
|
|
69
|
+
"noOptions": "No options available"
|
|
67
70
|
},
|
|
68
71
|
"formErrors": {
|
|
69
72
|
"validation": {
|
|
@@ -87,6 +90,7 @@
|
|
|
87
90
|
},
|
|
88
91
|
"table": {
|
|
89
92
|
"entriesByPage": "Entries per page",
|
|
93
|
+
"scrollRegion": "Scrollable table",
|
|
90
94
|
"perPage": "{{count}} / page",
|
|
91
95
|
"totalEntries": "{{total}} entries",
|
|
92
96
|
"entriesRange": "{{range}} of {{total}} entries",
|
|
@@ -160,7 +164,8 @@
|
|
|
160
164
|
"to": "To"
|
|
161
165
|
},
|
|
162
166
|
"previousMonth": "Previous month",
|
|
163
|
-
"nextMonth": "Next month"
|
|
167
|
+
"nextMonth": "Next month",
|
|
168
|
+
"time": "Time"
|
|
164
169
|
},
|
|
165
170
|
"layout": {
|
|
166
171
|
"title": "Choose layout",
|
|
@@ -195,7 +200,12 @@
|
|
|
195
200
|
"previous": "Previous page",
|
|
196
201
|
"next": "Next page",
|
|
197
202
|
"last": "Last page",
|
|
198
|
-
"page": "Page {{page}}"
|
|
203
|
+
"page": "Page {{page}}",
|
|
204
|
+
"label": "Pagination",
|
|
205
|
+
"more": "More pages"
|
|
206
|
+
},
|
|
207
|
+
"progress": {
|
|
208
|
+
"label": "Progress"
|
|
199
209
|
},
|
|
200
210
|
"notification": {
|
|
201
211
|
"label": "Notifications",
|
package/i18n/sdk/es.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"selectPrompt": "Haz clic para seleccionar archivos o arrastra y suelta aquí",
|
|
6
6
|
"maxSizeLabel": "Tamaño máximo:",
|
|
7
7
|
"allowedTypesLabel": "Tipos permitidos:",
|
|
8
|
+
"chooseFiles": "Elegir o soltar archivos",
|
|
8
9
|
"invalidFileType": "Tipo de archivo no válido",
|
|
9
10
|
"fileTooLarge": "Archivo demasiado grande",
|
|
10
11
|
"fileCounter": "{{current}} de {{max}} archivos",
|
|
@@ -18,7 +19,8 @@
|
|
|
18
19
|
}
|
|
19
20
|
},
|
|
20
21
|
"fileUploader": {
|
|
21
|
-
"allowedTypesLabel": "Tipos permitidos:"
|
|
22
|
+
"allowedTypesLabel": "Tipos permitidos:",
|
|
23
|
+
"chooseFile": "Elegir archivo"
|
|
22
24
|
}
|
|
23
25
|
},
|
|
24
26
|
"audioPlayer": {
|
|
@@ -63,7 +65,8 @@
|
|
|
63
65
|
},
|
|
64
66
|
"select": {
|
|
65
67
|
"placeholder": "Seleccione",
|
|
66
|
-
"clearSelection": "Limpiar selección"
|
|
68
|
+
"clearSelection": "Limpiar selección",
|
|
69
|
+
"noOptions": "No hay opciones disponibles"
|
|
67
70
|
},
|
|
68
71
|
"formErrors": {
|
|
69
72
|
"validation": {
|
|
@@ -87,6 +90,7 @@
|
|
|
87
90
|
},
|
|
88
91
|
"table": {
|
|
89
92
|
"entriesByPage": "Entradas por página",
|
|
93
|
+
"scrollRegion": "Tabla con desplazamiento",
|
|
90
94
|
"perPage": "{{count}} / página",
|
|
91
95
|
"totalEntries": "{{total}} entradas",
|
|
92
96
|
"entriesRange": "{{range}} de {{total}} entradas",
|
|
@@ -160,7 +164,8 @@
|
|
|
160
164
|
"to": "Hasta"
|
|
161
165
|
},
|
|
162
166
|
"previousMonth": "Mes anterior",
|
|
163
|
-
"nextMonth": "Mes siguiente"
|
|
167
|
+
"nextMonth": "Mes siguiente",
|
|
168
|
+
"time": "Hora"
|
|
164
169
|
},
|
|
165
170
|
"layout": {
|
|
166
171
|
"title": "Elegir diseño",
|
|
@@ -195,7 +200,12 @@
|
|
|
195
200
|
"previous": "Página anterior",
|
|
196
201
|
"next": "Página siguiente",
|
|
197
202
|
"last": "Última página",
|
|
198
|
-
"page": "Página {{page}}"
|
|
203
|
+
"page": "Página {{page}}",
|
|
204
|
+
"label": "Paginación",
|
|
205
|
+
"more": "Más páginas"
|
|
206
|
+
},
|
|
207
|
+
"progress": {
|
|
208
|
+
"label": "Progreso"
|
|
199
209
|
},
|
|
200
210
|
"notification": {
|
|
201
211
|
"label": "Notificaciones",
|
package/i18n/sdk/pt.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"selectPrompt": "Haz clic para seleccionar archivos o arrastra y suelta aquí",
|
|
6
6
|
"maxSizeLabel": "Tamaño máximo:",
|
|
7
7
|
"allowedTypesLabel": "Tipos permitidos:",
|
|
8
|
+
"chooseFiles": "Escolher ou soltar arquivos",
|
|
8
9
|
"invalidFileType": "Tipo de archivo no válido",
|
|
9
10
|
"fileTooLarge": "Archivo demasiado grande",
|
|
10
11
|
"fileCounter": "{{current}} de {{max}} archivos",
|
|
@@ -18,7 +19,8 @@
|
|
|
18
19
|
}
|
|
19
20
|
},
|
|
20
21
|
"fileUploader": {
|
|
21
|
-
"allowedTypesLabel": "Tipos permitidos:"
|
|
22
|
+
"allowedTypesLabel": "Tipos permitidos:",
|
|
23
|
+
"chooseFile": "Escolher arquivo"
|
|
22
24
|
}
|
|
23
25
|
},
|
|
24
26
|
"audioPlayer": {
|
|
@@ -63,7 +65,8 @@
|
|
|
63
65
|
},
|
|
64
66
|
"select": {
|
|
65
67
|
"placeholder": "Selecione",
|
|
66
|
-
"clearSelection": "Limpar seleção"
|
|
68
|
+
"clearSelection": "Limpar seleção",
|
|
69
|
+
"noOptions": "Nenhuma opção disponível"
|
|
67
70
|
},
|
|
68
71
|
"formErrors": {
|
|
69
72
|
"validation": {
|
|
@@ -87,6 +90,7 @@
|
|
|
87
90
|
},
|
|
88
91
|
"table": {
|
|
89
92
|
"entriesByPage": "Entradas por página",
|
|
93
|
+
"scrollRegion": "Tabela com rolagem",
|
|
90
94
|
"perPage": "{{count}} / página",
|
|
91
95
|
"totalEntries": "{{total}} entradas",
|
|
92
96
|
"entriesRange": "{{range}} de {{total}} entradas",
|
|
@@ -160,7 +164,8 @@
|
|
|
160
164
|
"to": "Até"
|
|
161
165
|
},
|
|
162
166
|
"previousMonth": "Mês anterior",
|
|
163
|
-
"nextMonth": "Próximo mês"
|
|
167
|
+
"nextMonth": "Próximo mês",
|
|
168
|
+
"time": "Horário"
|
|
164
169
|
},
|
|
165
170
|
"layout": {
|
|
166
171
|
"title": "Escolher layout",
|
|
@@ -195,7 +200,12 @@
|
|
|
195
200
|
"previous": "Página anterior",
|
|
196
201
|
"next": "Próxima página",
|
|
197
202
|
"last": "Última página",
|
|
198
|
-
"page": "Página {{page}}"
|
|
203
|
+
"page": "Página {{page}}",
|
|
204
|
+
"label": "Paginação",
|
|
205
|
+
"more": "Mais páginas"
|
|
206
|
+
},
|
|
207
|
+
"progress": {
|
|
208
|
+
"label": "Progresso"
|
|
199
209
|
},
|
|
200
210
|
"notification": {
|
|
201
211
|
"label": "Notificações",
|
package/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": 1,
|
|
3
3
|
"package": "@sixbell-telco/sdk",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.10.0",
|
|
5
5
|
"glossary": "GLOSSARY.md",
|
|
6
6
|
"entryPoints": [
|
|
7
7
|
{
|
|
@@ -565,7 +565,8 @@
|
|
|
565
565
|
"name": "name",
|
|
566
566
|
"type": "string",
|
|
567
567
|
"required": false,
|
|
568
|
-
"default": "
|
|
568
|
+
"default": "`st-accordion-${nextAccordionId++}`",
|
|
569
|
+
"description": "Group name shared by the item inputs. Defaults to a name unique to this accordion, so two\n`type=\"single\"` accordions on one page do not close each other's items."
|
|
569
570
|
},
|
|
570
571
|
{
|
|
571
572
|
"name": "type",
|
|
@@ -638,7 +639,7 @@
|
|
|
638
639
|
"entryPoint": "@sixbell-telco/sdk/components/alert",
|
|
639
640
|
"selector": "st-alert-actions",
|
|
640
641
|
"source": "projects/sdk/components/alert/src/alert.component.ts",
|
|
641
|
-
"description": "Action area of `st-alert
|
|
642
|
+
"description": "Action area of `st-alert`. From a 28rem wide alert up it sits after the body on the same row;\nbelow that it wraps to its own row under the text, so the text keeps its width on phones.",
|
|
642
643
|
"inputs": [],
|
|
643
644
|
"outputs": [],
|
|
644
645
|
"slots": [
|
|
@@ -742,6 +743,7 @@
|
|
|
742
743
|
"ui-kit-alert--default",
|
|
743
744
|
"ui-kit-alert--variants",
|
|
744
745
|
"ui-kit-alert--with-actions-and-dismiss",
|
|
746
|
+
"ui-kit-alert--actions-on-narrow-width",
|
|
745
747
|
"ui-kit-alert--over-modern-band"
|
|
746
748
|
]
|
|
747
749
|
},
|
|
@@ -1624,6 +1626,7 @@
|
|
|
1624
1626
|
"ui-kit-card--header-only-summary",
|
|
1625
1627
|
"ui-kit-card--quick-api-checks",
|
|
1626
1628
|
"ui-kit-card--image-layouts",
|
|
1629
|
+
"ui-kit-card--inner-radius",
|
|
1627
1630
|
"ui-kit-card--sticky-footer"
|
|
1628
1631
|
]
|
|
1629
1632
|
},
|
|
@@ -2023,7 +2026,6 @@
|
|
|
2023
2026
|
"entryPoint": "@sixbell-telco/sdk/components/data-table",
|
|
2024
2027
|
"selector": "st-data-table",
|
|
2025
2028
|
"source": "projects/sdk/components/data-table/src/data-table.component.ts",
|
|
2026
|
-
"description": "A styled container component for data tables - provides styling shell only\n\nThis component is similar to st-table but with additional data table specific styling.\nUsers should compose their own table structure using TanStack Table and SDK components.",
|
|
2027
2029
|
"inputs": [
|
|
2028
2030
|
{
|
|
2029
2031
|
"name": "noDataIcon",
|
|
@@ -2543,7 +2545,7 @@
|
|
|
2543
2545
|
],
|
|
2544
2546
|
"required": false,
|
|
2545
2547
|
"default": "'right'",
|
|
2546
|
-
"description": "Horizontal alignment of the actions. Dialog actions sit at the bottom right, dismiss first and confirm
|
|
2548
|
+
"description": "Horizontal alignment of the actions from `sm` up. Dialog actions sit at the bottom right, dismiss first and\nconfirm last. Below `sm` they stack full width with the last one (the confirm) on top."
|
|
2547
2549
|
}
|
|
2548
2550
|
],
|
|
2549
2551
|
"outputs": [],
|
|
@@ -2586,7 +2588,7 @@
|
|
|
2586
2588
|
"bareAttribute": true,
|
|
2587
2589
|
"required": false,
|
|
2588
2590
|
"default": "true",
|
|
2589
|
-
"description": "Below the `sm` breakpoint (640px) the dialog fills the screen: full width and height, no radius
|
|
2591
|
+
"description": "Below the `sm` breakpoint (640px) the dialog fills the screen: full width and height, no radius.\nSet it to `false` for a short confirm that should stay a centered card on phones. Either way the\ndialog never grows past the viewport: the content scrolls and the title and actions stay visible."
|
|
2590
2592
|
},
|
|
2591
2593
|
{
|
|
2592
2594
|
"name": "xPosition",
|
|
@@ -2691,7 +2693,9 @@
|
|
|
2691
2693
|
"ui-kit-dialog--form-fullscreen-on-mobile",
|
|
2692
2694
|
"ui-kit-dialog--confirm-without-fullscreen",
|
|
2693
2695
|
"ui-kit-dialog--long-title",
|
|
2694
|
-
"ui-kit-dialog--fullscreen-scroll-lock"
|
|
2696
|
+
"ui-kit-dialog--fullscreen-scroll-lock",
|
|
2697
|
+
"ui-kit-dialog--tall-content",
|
|
2698
|
+
"ui-kit-dialog--long-single-word-title"
|
|
2695
2699
|
]
|
|
2696
2700
|
},
|
|
2697
2701
|
{
|
|
@@ -3673,7 +3677,7 @@
|
|
|
3673
3677
|
"bareAttribute": true,
|
|
3674
3678
|
"required": false,
|
|
3675
3679
|
"default": "false",
|
|
3676
|
-
"description": "Whether the menu item is disabled"
|
|
3680
|
+
"description": "Whether the menu item is disabled. The CDK menu item gets it too, so the item has\n`aria-disabled`, keyboard navigation skips it and it never fires `triggered`."
|
|
3677
3681
|
},
|
|
3678
3682
|
{
|
|
3679
3683
|
"name": "active",
|
|
@@ -5316,6 +5320,26 @@
|
|
|
5316
5320
|
"default": "true",
|
|
5317
5321
|
"description": "Whether to show a \"Clear All\" button at the bottom of the dropdown for multiple selection\nOnly applies when selectionType is 'multiple'"
|
|
5318
5322
|
},
|
|
5323
|
+
{
|
|
5324
|
+
"name": "panelWidth",
|
|
5325
|
+
"type": "ComboboxPanelWidth",
|
|
5326
|
+
"values": [
|
|
5327
|
+
"trigger",
|
|
5328
|
+
"content"
|
|
5329
|
+
],
|
|
5330
|
+
"required": false,
|
|
5331
|
+
"default": "'trigger'",
|
|
5332
|
+
"description": "Width of the options panel.\n- `'trigger'`: as wide as the control; a long option wraps onto more lines.\n- `'content'`: at least as wide as the control and wider when an option needs it, up to\n `min(28rem, 100vw - 2rem)`. The width is measured over every option, so searching never resizes the\n panel. Options stay on one line; past that cap the description, then the label, end in an ellipsis and\n the row shows its full text as a tooltip. Near the viewport edge the panel aligns to the control's end\n instead of overflowing."
|
|
5333
|
+
},
|
|
5334
|
+
{
|
|
5335
|
+
"name": "fitOptions",
|
|
5336
|
+
"type": "boolean",
|
|
5337
|
+
"transform": "booleanAttribute",
|
|
5338
|
+
"bareAttribute": true,
|
|
5339
|
+
"required": false,
|
|
5340
|
+
"default": "false",
|
|
5341
|
+
"description": "Size the closed control to its widest option or the placeholder, measured with the option row's own\nfont, padding and check icon for the current `size`. A selected value never truncates and the control\nkeeps its width between selections. The panel then follows its options as with `panelWidth=\"content\"`.\nThe control does not shrink in a flex row (`shrink-0`); `min-w-*` and `w-*` classes on the element still apply."
|
|
5342
|
+
},
|
|
5319
5343
|
{
|
|
5320
5344
|
"name": "searchPlaceholder",
|
|
5321
5345
|
"type": "string",
|
|
@@ -5359,6 +5383,34 @@
|
|
|
5359
5383
|
"default": "''",
|
|
5360
5384
|
"description": "The object property to use as the value when options are objects\nUses the entire object if not specified"
|
|
5361
5385
|
},
|
|
5386
|
+
{
|
|
5387
|
+
"name": "disabledKey",
|
|
5388
|
+
"type": "string",
|
|
5389
|
+
"required": false,
|
|
5390
|
+
"default": "''",
|
|
5391
|
+
"description": "The object property that marks an option as disabled when truthy.\nA disabled option stays in the list (and in search results), is dimmed,\ncarries `aria-disabled=\"true\"` and cannot be chosen by click or keyboard.\nLeave empty to keep every option enabled."
|
|
5392
|
+
},
|
|
5393
|
+
{
|
|
5394
|
+
"name": "descriptionKey",
|
|
5395
|
+
"type": "string",
|
|
5396
|
+
"required": false,
|
|
5397
|
+
"default": "''",
|
|
5398
|
+
"description": "The object property holding a secondary text shown right-aligned on the option row\n(for example why it is disabled: \"Already added\"). It is part of the\noption's accessible name."
|
|
5399
|
+
},
|
|
5400
|
+
{
|
|
5401
|
+
"name": "groupKey",
|
|
5402
|
+
"type": "string",
|
|
5403
|
+
"required": false,
|
|
5404
|
+
"default": "''",
|
|
5405
|
+
"description": "The object property naming the group an option belongs to. Options that share a value are listed\ntogether under one header showing that value, groups in the order they first appear, each group\nnamed by its header for assistive technology. Options without the property are listed first,\nungrouped. A group whose options are all filtered out by the search hides its header. Headers\ncannot be chosen and the arrow keys skip them. Leave empty for a flat list."
|
|
5406
|
+
},
|
|
5407
|
+
{
|
|
5408
|
+
"name": "checkedKey",
|
|
5409
|
+
"type": "string",
|
|
5410
|
+
"required": false,
|
|
5411
|
+
"default": "''",
|
|
5412
|
+
"description": "The object property that marks an option as already taken outside this field when truthy (for\nexample a country added earlier). The option shows the check icon, in the option's own color, but\nit is not part of the value and never appears in the trigger. Pair it with `disabledKey` so it is\ndimmed, check included, and cannot be chosen again."
|
|
5413
|
+
},
|
|
5362
5414
|
{
|
|
5363
5415
|
"name": "selectionType",
|
|
5364
5416
|
"type": "SelectionType",
|
|
@@ -5465,7 +5517,13 @@
|
|
|
5465
5517
|
"ui-kit-combobox--multiple-selection-no-clear-all",
|
|
5466
5518
|
"ui-kit-combobox--multiple-selection-no-clear-buttons",
|
|
5467
5519
|
"ui-kit-combobox--async-options",
|
|
5468
|
-
"ui-kit-combobox--motion"
|
|
5520
|
+
"ui-kit-combobox--motion",
|
|
5521
|
+
"ui-kit-combobox--disabled-options",
|
|
5522
|
+
"ui-kit-combobox--groups",
|
|
5523
|
+
"ui-kit-combobox--already-added",
|
|
5524
|
+
"ui-kit-combobox--content-width-panel",
|
|
5525
|
+
"ui-kit-combobox--fit-options",
|
|
5526
|
+
"ui-kit-combobox--long-option-past-cap"
|
|
5469
5527
|
]
|
|
5470
5528
|
},
|
|
5471
5529
|
{
|
|
@@ -5789,6 +5847,7 @@
|
|
|
5789
5847
|
"entryPoint": "@sixbell-telco/sdk/components/forms/form-error",
|
|
5790
5848
|
"selector": "st-form-errors",
|
|
5791
5849
|
"source": "projects/sdk/components/forms/form-error/src/form-error.component.ts",
|
|
5850
|
+
"description": "The validation message of one control on `parentForm`.",
|
|
5792
5851
|
"inputs": [
|
|
5793
5852
|
{
|
|
5794
5853
|
"name": "parentForm",
|
|
@@ -6102,6 +6161,24 @@
|
|
|
6102
6161
|
"default": "false",
|
|
6103
6162
|
"description": "Whether to restrict input to numeric characters only"
|
|
6104
6163
|
},
|
|
6164
|
+
{
|
|
6165
|
+
"name": "onlyNumbersAllowNegative",
|
|
6166
|
+
"type": "boolean",
|
|
6167
|
+
"transform": "booleanAttribute",
|
|
6168
|
+
"bareAttribute": true,
|
|
6169
|
+
"required": false,
|
|
6170
|
+
"default": "false",
|
|
6171
|
+
"description": "With `onlyNumbers`, also accept a single leading `-`"
|
|
6172
|
+
},
|
|
6173
|
+
{
|
|
6174
|
+
"name": "onlyNumbersAllowDecimal",
|
|
6175
|
+
"type": "boolean",
|
|
6176
|
+
"transform": "booleanAttribute",
|
|
6177
|
+
"bareAttribute": true,
|
|
6178
|
+
"required": false,
|
|
6179
|
+
"default": "false",
|
|
6180
|
+
"description": "With `onlyNumbers`, also accept a single `.` as decimal separator after at least one digit"
|
|
6181
|
+
},
|
|
6105
6182
|
{
|
|
6106
6183
|
"name": "ghost",
|
|
6107
6184
|
"type": "boolean",
|
|
@@ -6211,7 +6288,8 @@
|
|
|
6211
6288
|
"ui-kit-input--medium",
|
|
6212
6289
|
"ui-kit-input--large",
|
|
6213
6290
|
"ui-kit-input--extra-large",
|
|
6214
|
-
"ui-kit-input--disabled"
|
|
6291
|
+
"ui-kit-input--disabled",
|
|
6292
|
+
"ui-kit-input--only-numbers-negative-decimal"
|
|
6215
6293
|
]
|
|
6216
6294
|
},
|
|
6217
6295
|
{
|
|
@@ -6708,6 +6786,34 @@
|
|
|
6708
6786
|
"default": "''",
|
|
6709
6787
|
"description": "The object property to use as the value when options are objects\nUses the entire object if not specified"
|
|
6710
6788
|
},
|
|
6789
|
+
{
|
|
6790
|
+
"name": "disabledKey",
|
|
6791
|
+
"type": "string",
|
|
6792
|
+
"required": false,
|
|
6793
|
+
"default": "''",
|
|
6794
|
+
"description": "The object property that marks an option as disabled when truthy.\nA disabled option stays in the list (and in search results), is dimmed,\ncarries `aria-disabled=\"true\"` and cannot be chosen by click or keyboard.\nLeave empty to keep every option enabled."
|
|
6795
|
+
},
|
|
6796
|
+
{
|
|
6797
|
+
"name": "descriptionKey",
|
|
6798
|
+
"type": "string",
|
|
6799
|
+
"required": false,
|
|
6800
|
+
"default": "''",
|
|
6801
|
+
"description": "The object property holding a secondary text shown right-aligned on the option row\n(for example why it is disabled: \"Already added\"). It is part of the\noption's accessible name."
|
|
6802
|
+
},
|
|
6803
|
+
{
|
|
6804
|
+
"name": "groupKey",
|
|
6805
|
+
"type": "string",
|
|
6806
|
+
"required": false,
|
|
6807
|
+
"default": "''",
|
|
6808
|
+
"description": "The object property naming the group an option belongs to. Options that share a value are listed\ntogether under one header showing that value, groups in the order they first appear, each group\nnamed by its header for assistive technology. Options without the property are listed first,\nungrouped. Headers cannot be chosen and the arrow keys skip them. Leave empty for a flat list."
|
|
6809
|
+
},
|
|
6810
|
+
{
|
|
6811
|
+
"name": "checkedKey",
|
|
6812
|
+
"type": "string",
|
|
6813
|
+
"required": false,
|
|
6814
|
+
"default": "''",
|
|
6815
|
+
"description": "The object property that marks an option as already taken outside this field when truthy (for\nexample a country added earlier). The option shows the check icon, in the option's own color, but\nit is not part of the value and never appears in the trigger. Pair it with `disabledKey` so it is\ndimmed, check included, and cannot be chosen again."
|
|
6816
|
+
},
|
|
6711
6817
|
{
|
|
6712
6818
|
"name": "allowClear",
|
|
6713
6819
|
"type": "boolean",
|
|
@@ -6717,6 +6823,26 @@
|
|
|
6717
6823
|
"default": "true",
|
|
6718
6824
|
"description": "Whether to show a clear button next to the selected value"
|
|
6719
6825
|
},
|
|
6826
|
+
{
|
|
6827
|
+
"name": "panelWidth",
|
|
6828
|
+
"type": "SelectPanelWidth",
|
|
6829
|
+
"values": [
|
|
6830
|
+
"trigger",
|
|
6831
|
+
"content"
|
|
6832
|
+
],
|
|
6833
|
+
"required": false,
|
|
6834
|
+
"default": "'trigger'",
|
|
6835
|
+
"description": "Width of the options panel.\n- `'trigger'`: as wide as the control; a long option wraps onto more lines.\n- `'content'`: at least as wide as the control and wider when an option needs it, up to\n `min(28rem, 100vw - 2rem)`. Options stay on one line; past that cap the description, then the label,\n end in an ellipsis and the row shows its full text as a tooltip. Near the viewport edge the panel\n aligns to the control's end instead of overflowing."
|
|
6836
|
+
},
|
|
6837
|
+
{
|
|
6838
|
+
"name": "fitOptions",
|
|
6839
|
+
"type": "boolean",
|
|
6840
|
+
"transform": "booleanAttribute",
|
|
6841
|
+
"bareAttribute": true,
|
|
6842
|
+
"required": false,
|
|
6843
|
+
"default": "false",
|
|
6844
|
+
"description": "Size the closed control to its widest option or the placeholder, measured with the option row's own\nfont, padding and check icon for the current `size`. A selected value never truncates and the control\nkeeps its width between selections. The panel then follows its options as with `panelWidth=\"content\"`.\nThe control does not shrink in a flex row (`shrink-0`); `min-w-*` and `w-*` classes on the element still apply."
|
|
6845
|
+
},
|
|
6720
6846
|
{
|
|
6721
6847
|
"name": "parentForm",
|
|
6722
6848
|
"type": "FormGroup<any> | null",
|
|
@@ -6810,7 +6936,13 @@
|
|
|
6810
6936
|
"ui-kit-select--with-simple-options",
|
|
6811
6937
|
"ui-kit-select--with-object-options-detailed",
|
|
6812
6938
|
"ui-kit-select--async-options",
|
|
6813
|
-
"ui-kit-select--motion"
|
|
6939
|
+
"ui-kit-select--motion",
|
|
6940
|
+
"ui-kit-select--disabled-options",
|
|
6941
|
+
"ui-kit-select--groups",
|
|
6942
|
+
"ui-kit-select--already-added",
|
|
6943
|
+
"ui-kit-select--content-width-panel",
|
|
6944
|
+
"ui-kit-select--fit-options",
|
|
6945
|
+
"ui-kit-select--long-option-past-cap"
|
|
6814
6946
|
]
|
|
6815
6947
|
},
|
|
6816
6948
|
{
|
|
@@ -7097,7 +7229,7 @@
|
|
|
7097
7229
|
"type": "number",
|
|
7098
7230
|
"required": false,
|
|
7099
7231
|
"default": "0",
|
|
7100
|
-
"description": "Maximum allowed character count"
|
|
7232
|
+
"description": "Maximum allowed character count. When set, the counter is shown, the textarea references it\nthrough `aria-describedby`, and the native `maxlength` stops typing past the limit."
|
|
7101
7233
|
},
|
|
7102
7234
|
{
|
|
7103
7235
|
"name": "parentForm",
|
|
@@ -7799,7 +7931,7 @@
|
|
|
7799
7931
|
"name": "ariaLabel",
|
|
7800
7932
|
"type": "string | null | undefined",
|
|
7801
7933
|
"required": false,
|
|
7802
|
-
"description": "Accessible name forwarded to the inner `<button>` as `aria-label`.\nRequired for the `icon` and `dots` variants, which have no visible text."
|
|
7934
|
+
"description": "Accessible name forwarded to the inner `<button>` as `aria-label`.\nRequired for the `icon` and `dots` variants, which have no visible text.\nOn the `ellipsis` variant it replaces the screen-reader text, which defaults to `sdk.pagination.more` (\"More pages\")."
|
|
7803
7935
|
}
|
|
7804
7936
|
],
|
|
7805
7937
|
"outputs": [
|
|
@@ -7821,7 +7953,7 @@
|
|
|
7821
7953
|
{
|
|
7822
7954
|
"name": "triggered",
|
|
7823
7955
|
"type": "void",
|
|
7824
|
-
"description": "Event emitted
|
|
7956
|
+
"description": "Event emitted once per activation. Enter and Space reach it through the native button click\nthey produce, so one key press or one mouse click emits it once."
|
|
7825
7957
|
}
|
|
7826
7958
|
],
|
|
7827
7959
|
"slots": []
|
|
@@ -7908,7 +8040,8 @@
|
|
|
7908
8040
|
"ui-kit-paginator--default",
|
|
7909
8041
|
"ui-kit-paginator--with-dots",
|
|
7910
8042
|
"ui-kit-paginator--single-page",
|
|
7911
|
-
"ui-kit-paginator--large-page-number"
|
|
8043
|
+
"ui-kit-paginator--large-page-number",
|
|
8044
|
+
"ui-kit-paginator--phone"
|
|
7912
8045
|
]
|
|
7913
8046
|
},
|
|
7914
8047
|
{
|
|
@@ -8114,7 +8247,7 @@
|
|
|
8114
8247
|
"type": "number",
|
|
8115
8248
|
"required": false,
|
|
8116
8249
|
"default": "-1",
|
|
8117
|
-
"description": "Current progress value
|
|
8250
|
+
"description": "Current progress value, from 0 to `max`"
|
|
8118
8251
|
},
|
|
8119
8252
|
{
|
|
8120
8253
|
"name": "max",
|
|
@@ -8143,6 +8276,12 @@
|
|
|
8143
8276
|
"required": false,
|
|
8144
8277
|
"default": "'none'",
|
|
8145
8278
|
"description": "Position of progress value label"
|
|
8279
|
+
},
|
|
8280
|
+
{
|
|
8281
|
+
"name": "ariaLabel",
|
|
8282
|
+
"type": "string | null | undefined",
|
|
8283
|
+
"required": false,
|
|
8284
|
+
"description": "Accessible name of the progress bar. Defaults to `sdk.progress.label` (\"Progress\")."
|
|
8146
8285
|
}
|
|
8147
8286
|
],
|
|
8148
8287
|
"outputs": [],
|
|
@@ -8159,7 +8298,8 @@
|
|
|
8159
8298
|
"ui-kit-progress--indeterminate",
|
|
8160
8299
|
"ui-kit-progress--label-on-top",
|
|
8161
8300
|
"ui-kit-progress--label-on-bottom",
|
|
8162
|
-
"ui-kit-progress--no-label"
|
|
8301
|
+
"ui-kit-progress--no-label",
|
|
8302
|
+
"ui-kit-progress--percentage-of-max"
|
|
8163
8303
|
]
|
|
8164
8304
|
},
|
|
8165
8305
|
{
|
|
@@ -8742,7 +8882,6 @@
|
|
|
8742
8882
|
"entryPoint": "@sixbell-telco/sdk/components/table",
|
|
8743
8883
|
"selector": "st-table",
|
|
8744
8884
|
"source": "projects/sdk/components/table/src/table.component.ts",
|
|
8745
|
-
"description": "A feature-rich data table component with sorting, pagination, and row selection",
|
|
8746
8885
|
"inputs": [
|
|
8747
8886
|
{
|
|
8748
8887
|
"name": "size",
|
|
@@ -8962,6 +9101,9 @@
|
|
|
8962
9101
|
{
|
|
8963
9102
|
"select": "st-table-empty-actions"
|
|
8964
9103
|
},
|
|
9104
|
+
{
|
|
9105
|
+
"select": "caption, colgroup"
|
|
9106
|
+
},
|
|
8965
9107
|
{
|
|
8966
9108
|
"select": "thead"
|
|
8967
9109
|
},
|
|
@@ -9609,7 +9751,7 @@
|
|
|
9609
9751
|
"entryPoint": "@sixbell-telco/sdk/directives/only-numbers",
|
|
9610
9752
|
"selector": "[stOnlyNumbers]",
|
|
9611
9753
|
"source": "projects/sdk/directives/only-numbers/src/only-numbers.directive.ts",
|
|
9612
|
-
"description": "Directive that restricts input to numeric characters only.\n\nUse the `stOnlyNumbers` selector to enable numeric-only input restriction.",
|
|
9754
|
+
"description": "Directive that restricts input to numeric characters only.\n\nUse the `stOnlyNumbers` selector to enable numeric-only input restriction.\nBy default only digits are accepted. `stOnlyNumbersAllowNegative` accepts a\nleading `-` and `stOnlyNumbersAllowDecimal` accepts one `.` after at least\none digit. With either option on, each keypress and paste is judged by the\nvalue it would leave in the field (the current value with the selection\nreplaced). Half-typed values such as `-`, `4.` or `-0.` stay typeable;\nchecking that the final value is complete is the form validator's job.",
|
|
9613
9755
|
"inputs": [
|
|
9614
9756
|
{
|
|
9615
9757
|
"name": "stOnlyNumbers",
|
|
@@ -9619,6 +9761,24 @@
|
|
|
9619
9761
|
"required": false,
|
|
9620
9762
|
"default": "false",
|
|
9621
9763
|
"description": "Enable numeric-only input restriction."
|
|
9764
|
+
},
|
|
9765
|
+
{
|
|
9766
|
+
"name": "stOnlyNumbersAllowNegative",
|
|
9767
|
+
"type": "boolean",
|
|
9768
|
+
"transform": "booleanAttribute",
|
|
9769
|
+
"bareAttribute": true,
|
|
9770
|
+
"required": false,
|
|
9771
|
+
"default": "false",
|
|
9772
|
+
"description": "Accept a single leading `-`. Only applies when `stOnlyNumbers` is on."
|
|
9773
|
+
},
|
|
9774
|
+
{
|
|
9775
|
+
"name": "stOnlyNumbersAllowDecimal",
|
|
9776
|
+
"type": "boolean",
|
|
9777
|
+
"transform": "booleanAttribute",
|
|
9778
|
+
"bareAttribute": true,
|
|
9779
|
+
"required": false,
|
|
9780
|
+
"default": "false",
|
|
9781
|
+
"description": "Accept a single `.` as decimal separator, after at least one digit. Only applies when `stOnlyNumbers` is on."
|
|
9622
9782
|
}
|
|
9623
9783
|
],
|
|
9624
9784
|
"outputs": []
|
|
@@ -10870,6 +11030,12 @@
|
|
|
10870
11030
|
"suffix": "field",
|
|
10871
11031
|
"utility": "rounded-field"
|
|
10872
11032
|
},
|
|
11033
|
+
{
|
|
11034
|
+
"name": "--radius-inner",
|
|
11035
|
+
"group": "radius",
|
|
11036
|
+
"suffix": "inner",
|
|
11037
|
+
"utility": "rounded-inner"
|
|
11038
|
+
},
|
|
10873
11039
|
{
|
|
10874
11040
|
"name": "--radius-selector",
|
|
10875
11041
|
"group": "radius",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sixbell-telco/sdk",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.10.0",
|
|
4
4
|
"description": "Enghouse Networks UI Kit: Angular 19 components, directives and services with runtime light and dark themes, built on Tailwind CSS 4 and DaisyUI 5",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"enghouse",
|
package/src/_index.css
CHANGED
|
@@ -257,6 +257,15 @@
|
|
|
257
257
|
--color-shadow-backdrop: var(--color-shadow-backdrop, oklch(0% 0 0 / 0.24));
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
+
/*
|
|
261
|
+
* rounded-inner: concentric radius for a surface inside a card. Inlined so it resolves on the element
|
|
262
|
+
* itself and follows the nearest card size (--card-p) and the theme (--radius-box). Outside a card it
|
|
263
|
+
* falls back to --radius-selector; max() keeps it from going negative.
|
|
264
|
+
*/
|
|
265
|
+
@theme inline reference {
|
|
266
|
+
--radius-inner: max(var(--radius-selector), calc(var(--radius-box) - var(--card-p, 1.5rem)));
|
|
267
|
+
}
|
|
268
|
+
|
|
260
269
|
/* Plain `border` / `divide-*` and the page font follow the theme, not Tailwind's 1px and system font. */
|
|
261
270
|
@theme inline {
|
|
262
271
|
--default-border-width: var(--border);
|
|
@@ -357,6 +366,16 @@
|
|
|
357
366
|
--color-base-placeholder: var(--color-base-content-muted);
|
|
358
367
|
}
|
|
359
368
|
|
|
369
|
+
/*
|
|
370
|
+
* Concentric inner radius for a surface inside a card (image, iframe, chart, nested panel):
|
|
371
|
+
* the card radius minus the card padding, never below the selector radius. Resolved on every theme
|
|
372
|
+
* root and again on .card-body, where daisyUI sets --card-p per card size (card-xs .. card-xl).
|
|
373
|
+
* The rounded-inner utility computes the same formula on the element itself (see @theme above).
|
|
374
|
+
*/
|
|
375
|
+
:where(:root, :host, [data-theme], .card-body) {
|
|
376
|
+
--radius-inner: max(var(--radius-selector), calc(var(--radius-box) - var(--card-p, 1.5rem)));
|
|
377
|
+
}
|
|
378
|
+
|
|
360
379
|
/* The page font follows the theme on whichever element carries it: html, or body for a runtime theme */
|
|
361
380
|
:where(html, [data-theme]) {
|
|
362
381
|
font-family: var(--font-body);
|