@sixbell-telco/sdk 4.8.0 → 4.9.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 +24 -0
- package/components/accordion/README.md +1 -1
- package/components/accordion/src/accordion.component.d.ts +4 -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/forms/combobox/README.md +9 -0
- package/components/forms/combobox/src/combobox.component.d.ts +46 -2
- 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 +8 -0
- package/components/forms/select/src/select.component.d.ts +40 -1
- package/components/forms/textarea/README.md +1 -0
- 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/table/src/table.component.d.ts +3 -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-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 +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +74 -8
- 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 +74 -6
- 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 +2 -2
- 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-table.mjs +5 -2
- 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 +7 -3
- package/i18n/sdk/es.json +7 -3
- package/i18n/sdk/pt.json +7 -3
- package/manifest.json +95 -15
- package/package.json +1 -1
- package/src/_index.css +19 -0
package/i18n/sdk/en.json
CHANGED
|
@@ -63,7 +63,8 @@
|
|
|
63
63
|
},
|
|
64
64
|
"select": {
|
|
65
65
|
"placeholder": "Select",
|
|
66
|
-
"clearSelection": "Clear selection"
|
|
66
|
+
"clearSelection": "Clear selection",
|
|
67
|
+
"noOptions": "No options available"
|
|
67
68
|
},
|
|
68
69
|
"formErrors": {
|
|
69
70
|
"validation": {
|
|
@@ -160,7 +161,8 @@
|
|
|
160
161
|
"to": "To"
|
|
161
162
|
},
|
|
162
163
|
"previousMonth": "Previous month",
|
|
163
|
-
"nextMonth": "Next month"
|
|
164
|
+
"nextMonth": "Next month",
|
|
165
|
+
"time": "Time"
|
|
164
166
|
},
|
|
165
167
|
"layout": {
|
|
166
168
|
"title": "Choose layout",
|
|
@@ -195,7 +197,9 @@
|
|
|
195
197
|
"previous": "Previous page",
|
|
196
198
|
"next": "Next page",
|
|
197
199
|
"last": "Last page",
|
|
198
|
-
"page": "Page {{page}}"
|
|
200
|
+
"page": "Page {{page}}",
|
|
201
|
+
"label": "Pagination",
|
|
202
|
+
"more": "More pages"
|
|
199
203
|
},
|
|
200
204
|
"notification": {
|
|
201
205
|
"label": "Notifications",
|
package/i18n/sdk/es.json
CHANGED
|
@@ -63,7 +63,8 @@
|
|
|
63
63
|
},
|
|
64
64
|
"select": {
|
|
65
65
|
"placeholder": "Seleccione",
|
|
66
|
-
"clearSelection": "Limpiar selección"
|
|
66
|
+
"clearSelection": "Limpiar selección",
|
|
67
|
+
"noOptions": "No hay opciones disponibles"
|
|
67
68
|
},
|
|
68
69
|
"formErrors": {
|
|
69
70
|
"validation": {
|
|
@@ -160,7 +161,8 @@
|
|
|
160
161
|
"to": "Hasta"
|
|
161
162
|
},
|
|
162
163
|
"previousMonth": "Mes anterior",
|
|
163
|
-
"nextMonth": "Mes siguiente"
|
|
164
|
+
"nextMonth": "Mes siguiente",
|
|
165
|
+
"time": "Hora"
|
|
164
166
|
},
|
|
165
167
|
"layout": {
|
|
166
168
|
"title": "Elegir diseño",
|
|
@@ -195,7 +197,9 @@
|
|
|
195
197
|
"previous": "Página anterior",
|
|
196
198
|
"next": "Página siguiente",
|
|
197
199
|
"last": "Última página",
|
|
198
|
-
"page": "Página {{page}}"
|
|
200
|
+
"page": "Página {{page}}",
|
|
201
|
+
"label": "Paginación",
|
|
202
|
+
"more": "Más páginas"
|
|
199
203
|
},
|
|
200
204
|
"notification": {
|
|
201
205
|
"label": "Notificaciones",
|
package/i18n/sdk/pt.json
CHANGED
|
@@ -63,7 +63,8 @@
|
|
|
63
63
|
},
|
|
64
64
|
"select": {
|
|
65
65
|
"placeholder": "Selecione",
|
|
66
|
-
"clearSelection": "Limpar seleção"
|
|
66
|
+
"clearSelection": "Limpar seleção",
|
|
67
|
+
"noOptions": "Nenhuma opção disponível"
|
|
67
68
|
},
|
|
68
69
|
"formErrors": {
|
|
69
70
|
"validation": {
|
|
@@ -160,7 +161,8 @@
|
|
|
160
161
|
"to": "Até"
|
|
161
162
|
},
|
|
162
163
|
"previousMonth": "Mês anterior",
|
|
163
|
-
"nextMonth": "Próximo mês"
|
|
164
|
+
"nextMonth": "Próximo mês",
|
|
165
|
+
"time": "Horário"
|
|
164
166
|
},
|
|
165
167
|
"layout": {
|
|
166
168
|
"title": "Escolher layout",
|
|
@@ -195,7 +197,9 @@
|
|
|
195
197
|
"previous": "Página anterior",
|
|
196
198
|
"next": "Próxima página",
|
|
197
199
|
"last": "Última página",
|
|
198
|
-
"page": "Página {{page}}"
|
|
200
|
+
"page": "Página {{page}}",
|
|
201
|
+
"label": "Paginação",
|
|
202
|
+
"more": "Mais páginas"
|
|
199
203
|
},
|
|
200
204
|
"notification": {
|
|
201
205
|
"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.9.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",
|
|
@@ -1624,6 +1625,7 @@
|
|
|
1624
1625
|
"ui-kit-card--header-only-summary",
|
|
1625
1626
|
"ui-kit-card--quick-api-checks",
|
|
1626
1627
|
"ui-kit-card--image-layouts",
|
|
1628
|
+
"ui-kit-card--inner-radius",
|
|
1627
1629
|
"ui-kit-card--sticky-footer"
|
|
1628
1630
|
]
|
|
1629
1631
|
},
|
|
@@ -2023,7 +2025,6 @@
|
|
|
2023
2025
|
"entryPoint": "@sixbell-telco/sdk/components/data-table",
|
|
2024
2026
|
"selector": "st-data-table",
|
|
2025
2027
|
"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
2028
|
"inputs": [
|
|
2028
2029
|
{
|
|
2029
2030
|
"name": "noDataIcon",
|
|
@@ -2543,7 +2544,7 @@
|
|
|
2543
2544
|
],
|
|
2544
2545
|
"required": false,
|
|
2545
2546
|
"default": "'right'",
|
|
2546
|
-
"description": "Horizontal alignment of the actions. Dialog actions sit at the bottom right, dismiss first and confirm
|
|
2547
|
+
"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
2548
|
}
|
|
2548
2549
|
],
|
|
2549
2550
|
"outputs": [],
|
|
@@ -2586,7 +2587,7 @@
|
|
|
2586
2587
|
"bareAttribute": true,
|
|
2587
2588
|
"required": false,
|
|
2588
2589
|
"default": "true",
|
|
2589
|
-
"description": "Below the `sm` breakpoint (640px) the dialog fills the screen: full width and height, no radius
|
|
2590
|
+
"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
2591
|
},
|
|
2591
2592
|
{
|
|
2592
2593
|
"name": "xPosition",
|
|
@@ -2691,7 +2692,9 @@
|
|
|
2691
2692
|
"ui-kit-dialog--form-fullscreen-on-mobile",
|
|
2692
2693
|
"ui-kit-dialog--confirm-without-fullscreen",
|
|
2693
2694
|
"ui-kit-dialog--long-title",
|
|
2694
|
-
"ui-kit-dialog--fullscreen-scroll-lock"
|
|
2695
|
+
"ui-kit-dialog--fullscreen-scroll-lock",
|
|
2696
|
+
"ui-kit-dialog--tall-content",
|
|
2697
|
+
"ui-kit-dialog--long-single-word-title"
|
|
2695
2698
|
]
|
|
2696
2699
|
},
|
|
2697
2700
|
{
|
|
@@ -3673,7 +3676,7 @@
|
|
|
3673
3676
|
"bareAttribute": true,
|
|
3674
3677
|
"required": false,
|
|
3675
3678
|
"default": "false",
|
|
3676
|
-
"description": "Whether the menu item is disabled"
|
|
3679
|
+
"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
3680
|
},
|
|
3678
3681
|
{
|
|
3679
3682
|
"name": "active",
|
|
@@ -5359,6 +5362,20 @@
|
|
|
5359
5362
|
"default": "''",
|
|
5360
5363
|
"description": "The object property to use as the value when options are objects\nUses the entire object if not specified"
|
|
5361
5364
|
},
|
|
5365
|
+
{
|
|
5366
|
+
"name": "disabledKey",
|
|
5367
|
+
"type": "string",
|
|
5368
|
+
"required": false,
|
|
5369
|
+
"default": "''",
|
|
5370
|
+
"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."
|
|
5371
|
+
},
|
|
5372
|
+
{
|
|
5373
|
+
"name": "descriptionKey",
|
|
5374
|
+
"type": "string",
|
|
5375
|
+
"required": false,
|
|
5376
|
+
"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."
|
|
5378
|
+
},
|
|
5362
5379
|
{
|
|
5363
5380
|
"name": "selectionType",
|
|
5364
5381
|
"type": "SelectionType",
|
|
@@ -5465,7 +5482,8 @@
|
|
|
5465
5482
|
"ui-kit-combobox--multiple-selection-no-clear-all",
|
|
5466
5483
|
"ui-kit-combobox--multiple-selection-no-clear-buttons",
|
|
5467
5484
|
"ui-kit-combobox--async-options",
|
|
5468
|
-
"ui-kit-combobox--motion"
|
|
5485
|
+
"ui-kit-combobox--motion",
|
|
5486
|
+
"ui-kit-combobox--disabled-options"
|
|
5469
5487
|
]
|
|
5470
5488
|
},
|
|
5471
5489
|
{
|
|
@@ -5789,6 +5807,7 @@
|
|
|
5789
5807
|
"entryPoint": "@sixbell-telco/sdk/components/forms/form-error",
|
|
5790
5808
|
"selector": "st-form-errors",
|
|
5791
5809
|
"source": "projects/sdk/components/forms/form-error/src/form-error.component.ts",
|
|
5810
|
+
"description": "The validation message of one control on `parentForm`.",
|
|
5792
5811
|
"inputs": [
|
|
5793
5812
|
{
|
|
5794
5813
|
"name": "parentForm",
|
|
@@ -6102,6 +6121,24 @@
|
|
|
6102
6121
|
"default": "false",
|
|
6103
6122
|
"description": "Whether to restrict input to numeric characters only"
|
|
6104
6123
|
},
|
|
6124
|
+
{
|
|
6125
|
+
"name": "onlyNumbersAllowNegative",
|
|
6126
|
+
"type": "boolean",
|
|
6127
|
+
"transform": "booleanAttribute",
|
|
6128
|
+
"bareAttribute": true,
|
|
6129
|
+
"required": false,
|
|
6130
|
+
"default": "false",
|
|
6131
|
+
"description": "With `onlyNumbers`, also accept a single leading `-`"
|
|
6132
|
+
},
|
|
6133
|
+
{
|
|
6134
|
+
"name": "onlyNumbersAllowDecimal",
|
|
6135
|
+
"type": "boolean",
|
|
6136
|
+
"transform": "booleanAttribute",
|
|
6137
|
+
"bareAttribute": true,
|
|
6138
|
+
"required": false,
|
|
6139
|
+
"default": "false",
|
|
6140
|
+
"description": "With `onlyNumbers`, also accept a single `.` as decimal separator after at least one digit"
|
|
6141
|
+
},
|
|
6105
6142
|
{
|
|
6106
6143
|
"name": "ghost",
|
|
6107
6144
|
"type": "boolean",
|
|
@@ -6211,7 +6248,8 @@
|
|
|
6211
6248
|
"ui-kit-input--medium",
|
|
6212
6249
|
"ui-kit-input--large",
|
|
6213
6250
|
"ui-kit-input--extra-large",
|
|
6214
|
-
"ui-kit-input--disabled"
|
|
6251
|
+
"ui-kit-input--disabled",
|
|
6252
|
+
"ui-kit-input--only-numbers-negative-decimal"
|
|
6215
6253
|
]
|
|
6216
6254
|
},
|
|
6217
6255
|
{
|
|
@@ -6708,6 +6746,20 @@
|
|
|
6708
6746
|
"default": "''",
|
|
6709
6747
|
"description": "The object property to use as the value when options are objects\nUses the entire object if not specified"
|
|
6710
6748
|
},
|
|
6749
|
+
{
|
|
6750
|
+
"name": "disabledKey",
|
|
6751
|
+
"type": "string",
|
|
6752
|
+
"required": false,
|
|
6753
|
+
"default": "''",
|
|
6754
|
+
"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."
|
|
6755
|
+
},
|
|
6756
|
+
{
|
|
6757
|
+
"name": "descriptionKey",
|
|
6758
|
+
"type": "string",
|
|
6759
|
+
"required": false,
|
|
6760
|
+
"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."
|
|
6762
|
+
},
|
|
6711
6763
|
{
|
|
6712
6764
|
"name": "allowClear",
|
|
6713
6765
|
"type": "boolean",
|
|
@@ -6810,7 +6862,8 @@
|
|
|
6810
6862
|
"ui-kit-select--with-simple-options",
|
|
6811
6863
|
"ui-kit-select--with-object-options-detailed",
|
|
6812
6864
|
"ui-kit-select--async-options",
|
|
6813
|
-
"ui-kit-select--motion"
|
|
6865
|
+
"ui-kit-select--motion",
|
|
6866
|
+
"ui-kit-select--disabled-options"
|
|
6814
6867
|
]
|
|
6815
6868
|
},
|
|
6816
6869
|
{
|
|
@@ -7799,7 +7852,7 @@
|
|
|
7799
7852
|
"name": "ariaLabel",
|
|
7800
7853
|
"type": "string | null | undefined",
|
|
7801
7854
|
"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."
|
|
7855
|
+
"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
7856
|
}
|
|
7804
7857
|
],
|
|
7805
7858
|
"outputs": [
|
|
@@ -7821,7 +7874,7 @@
|
|
|
7821
7874
|
{
|
|
7822
7875
|
"name": "triggered",
|
|
7823
7876
|
"type": "void",
|
|
7824
|
-
"description": "Event emitted
|
|
7877
|
+
"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
7878
|
}
|
|
7826
7879
|
],
|
|
7827
7880
|
"slots": []
|
|
@@ -7908,7 +7961,8 @@
|
|
|
7908
7961
|
"ui-kit-paginator--default",
|
|
7909
7962
|
"ui-kit-paginator--with-dots",
|
|
7910
7963
|
"ui-kit-paginator--single-page",
|
|
7911
|
-
"ui-kit-paginator--large-page-number"
|
|
7964
|
+
"ui-kit-paginator--large-page-number",
|
|
7965
|
+
"ui-kit-paginator--phone"
|
|
7912
7966
|
]
|
|
7913
7967
|
},
|
|
7914
7968
|
{
|
|
@@ -8742,7 +8796,6 @@
|
|
|
8742
8796
|
"entryPoint": "@sixbell-telco/sdk/components/table",
|
|
8743
8797
|
"selector": "st-table",
|
|
8744
8798
|
"source": "projects/sdk/components/table/src/table.component.ts",
|
|
8745
|
-
"description": "A feature-rich data table component with sorting, pagination, and row selection",
|
|
8746
8799
|
"inputs": [
|
|
8747
8800
|
{
|
|
8748
8801
|
"name": "size",
|
|
@@ -8962,6 +9015,9 @@
|
|
|
8962
9015
|
{
|
|
8963
9016
|
"select": "st-table-empty-actions"
|
|
8964
9017
|
},
|
|
9018
|
+
{
|
|
9019
|
+
"select": "caption, colgroup"
|
|
9020
|
+
},
|
|
8965
9021
|
{
|
|
8966
9022
|
"select": "thead"
|
|
8967
9023
|
},
|
|
@@ -9609,7 +9665,7 @@
|
|
|
9609
9665
|
"entryPoint": "@sixbell-telco/sdk/directives/only-numbers",
|
|
9610
9666
|
"selector": "[stOnlyNumbers]",
|
|
9611
9667
|
"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.",
|
|
9668
|
+
"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
9669
|
"inputs": [
|
|
9614
9670
|
{
|
|
9615
9671
|
"name": "stOnlyNumbers",
|
|
@@ -9619,6 +9675,24 @@
|
|
|
9619
9675
|
"required": false,
|
|
9620
9676
|
"default": "false",
|
|
9621
9677
|
"description": "Enable numeric-only input restriction."
|
|
9678
|
+
},
|
|
9679
|
+
{
|
|
9680
|
+
"name": "stOnlyNumbersAllowNegative",
|
|
9681
|
+
"type": "boolean",
|
|
9682
|
+
"transform": "booleanAttribute",
|
|
9683
|
+
"bareAttribute": true,
|
|
9684
|
+
"required": false,
|
|
9685
|
+
"default": "false",
|
|
9686
|
+
"description": "Accept a single leading `-`. Only applies when `stOnlyNumbers` is on."
|
|
9687
|
+
},
|
|
9688
|
+
{
|
|
9689
|
+
"name": "stOnlyNumbersAllowDecimal",
|
|
9690
|
+
"type": "boolean",
|
|
9691
|
+
"transform": "booleanAttribute",
|
|
9692
|
+
"bareAttribute": true,
|
|
9693
|
+
"required": false,
|
|
9694
|
+
"default": "false",
|
|
9695
|
+
"description": "Accept a single `.` as decimal separator, after at least one digit. Only applies when `stOnlyNumbers` is on."
|
|
9622
9696
|
}
|
|
9623
9697
|
],
|
|
9624
9698
|
"outputs": []
|
|
@@ -10870,6 +10944,12 @@
|
|
|
10870
10944
|
"suffix": "field",
|
|
10871
10945
|
"utility": "rounded-field"
|
|
10872
10946
|
},
|
|
10947
|
+
{
|
|
10948
|
+
"name": "--radius-inner",
|
|
10949
|
+
"group": "radius",
|
|
10950
|
+
"suffix": "inner",
|
|
10951
|
+
"utility": "rounded-inner"
|
|
10952
|
+
},
|
|
10873
10953
|
{
|
|
10874
10954
|
"name": "--radius-selector",
|
|
10875
10955
|
"group": "radius",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sixbell-telco/sdk",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.9.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);
|