@sixbell-telco/sdk 4.9.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.
Files changed (34) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/components/alert/src/alert.component.d.ts +8 -1
  3. package/components/data-table/README.md +1 -0
  4. package/components/file-upload/file-dropzone/file-dropzone.component.d.ts +12 -0
  5. package/components/file-upload/file-uploader/file-uploader.component.d.ts +6 -0
  6. package/components/forms/combobox/README.md +41 -1
  7. package/components/forms/combobox/src/combobox.component.d.ts +134 -3
  8. package/components/forms/select/README.md +41 -1
  9. package/components/forms/select/src/select.component.d.ts +119 -3
  10. package/components/forms/textarea/src/textarea.component.d.ts +6 -1
  11. package/components/progress/src/progress.component.d.ts +17 -3
  12. package/components/table/README.md +2 -0
  13. package/components/table/src/table.component.d.ts +13 -0
  14. package/fesm2022/sixbell-telco-sdk-components-alert.mjs +12 -5
  15. package/fesm2022/sixbell-telco-sdk-components-alert.mjs.map +1 -1
  16. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +2 -2
  17. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -1
  18. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +32 -6
  19. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
  20. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +204 -21
  21. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
  22. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +189 -17
  23. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
  24. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +11 -3
  25. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
  26. package/fesm2022/sixbell-telco-sdk-components-progress.mjs +22 -4
  27. package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
  28. package/fesm2022/sixbell-telco-sdk-components-table.mjs +39 -5
  29. package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
  30. package/i18n/sdk/en.json +7 -1
  31. package/i18n/sdk/es.json +7 -1
  32. package/i18n/sdk/pt.json +7 -1
  33. package/manifest.json +95 -9
  34. package/package.json +1 -1
package/manifest.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": 1,
3
3
  "package": "@sixbell-telco/sdk",
4
- "version": "4.9.0",
4
+ "version": "4.10.0",
5
5
  "glossary": "GLOSSARY.md",
6
6
  "entryPoints": [
7
7
  {
@@ -639,7 +639,7 @@
639
639
  "entryPoint": "@sixbell-telco/sdk/components/alert",
640
640
  "selector": "st-alert-actions",
641
641
  "source": "projects/sdk/components/alert/src/alert.component.ts",
642
- "description": "Action area of `st-alert`, aligned after the body.",
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.",
643
643
  "inputs": [],
644
644
  "outputs": [],
645
645
  "slots": [
@@ -743,6 +743,7 @@
743
743
  "ui-kit-alert--default",
744
744
  "ui-kit-alert--variants",
745
745
  "ui-kit-alert--with-actions-and-dismiss",
746
+ "ui-kit-alert--actions-on-narrow-width",
746
747
  "ui-kit-alert--over-modern-band"
747
748
  ]
748
749
  },
@@ -5319,6 +5320,26 @@
5319
5320
  "default": "true",
5320
5321
  "description": "Whether to show a \"Clear All\" button at the bottom of the dropdown for multiple selection\nOnly applies when selectionType is 'multiple'"
5321
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
+ },
5322
5343
  {
5323
5344
  "name": "searchPlaceholder",
5324
5345
  "type": "string",
@@ -5374,7 +5395,21 @@
5374
5395
  "type": "string",
5375
5396
  "required": false,
5376
5397
  "default": "''",
5377
- "description": "The object property holding a secondary text shown under the option label\n(for example why it is disabled: \"Already added\"). It is part of the\noption's accessible name."
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."
5378
5413
  },
5379
5414
  {
5380
5415
  "name": "selectionType",
@@ -5483,7 +5518,12 @@
5483
5518
  "ui-kit-combobox--multiple-selection-no-clear-buttons",
5484
5519
  "ui-kit-combobox--async-options",
5485
5520
  "ui-kit-combobox--motion",
5486
- "ui-kit-combobox--disabled-options"
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"
5487
5527
  ]
5488
5528
  },
5489
5529
  {
@@ -6758,7 +6798,21 @@
6758
6798
  "type": "string",
6759
6799
  "required": false,
6760
6800
  "default": "''",
6761
- "description": "The object property holding a secondary text shown under the option label\n(for example why it is disabled: \"Already added\"). It is part of the\noption's accessible name."
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."
6762
6816
  },
6763
6817
  {
6764
6818
  "name": "allowClear",
@@ -6769,6 +6823,26 @@
6769
6823
  "default": "true",
6770
6824
  "description": "Whether to show a clear button next to the selected value"
6771
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
+ },
6772
6846
  {
6773
6847
  "name": "parentForm",
6774
6848
  "type": "FormGroup<any> | null",
@@ -6863,7 +6937,12 @@
6863
6937
  "ui-kit-select--with-object-options-detailed",
6864
6938
  "ui-kit-select--async-options",
6865
6939
  "ui-kit-select--motion",
6866
- "ui-kit-select--disabled-options"
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"
6867
6946
  ]
6868
6947
  },
6869
6948
  {
@@ -7150,7 +7229,7 @@
7150
7229
  "type": "number",
7151
7230
  "required": false,
7152
7231
  "default": "0",
7153
- "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."
7154
7233
  },
7155
7234
  {
7156
7235
  "name": "parentForm",
@@ -8168,7 +8247,7 @@
8168
8247
  "type": "number",
8169
8248
  "required": false,
8170
8249
  "default": "-1",
8171
- "description": "Current progress value (0-100)"
8250
+ "description": "Current progress value, from 0 to `max`"
8172
8251
  },
8173
8252
  {
8174
8253
  "name": "max",
@@ -8197,6 +8276,12 @@
8197
8276
  "required": false,
8198
8277
  "default": "'none'",
8199
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\")."
8200
8285
  }
8201
8286
  ],
8202
8287
  "outputs": [],
@@ -8213,7 +8298,8 @@
8213
8298
  "ui-kit-progress--indeterminate",
8214
8299
  "ui-kit-progress--label-on-top",
8215
8300
  "ui-kit-progress--label-on-bottom",
8216
- "ui-kit-progress--no-label"
8301
+ "ui-kit-progress--no-label",
8302
+ "ui-kit-progress--percentage-of-max"
8217
8303
  ]
8218
8304
  },
8219
8305
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sixbell-telco/sdk",
3
- "version": "4.9.0",
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",