@seedgrid/fe-components 2026.10.0 → 2026.10.2

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 (37) hide show
  1. package/dist/ai/seedgrid-components.manifest.json +24 -264
  2. package/dist/buttons/SgFloatActionButton.meta.js +2 -2
  3. package/dist/buttons/SgSplitButton.meta.js +1 -1
  4. package/dist/digits/matrix-digit/SgMatrixDigit.meta.d.ts.map +1 -1
  5. package/dist/digits/matrix-digit/SgMatrixDigit.meta.js +0 -1
  6. package/dist/digits/roller3d-digit/SgRoller3DDigit.meta.d.ts.map +1 -1
  7. package/dist/digits/roller3d-digit/SgRoller3DDigit.meta.js +0 -2
  8. package/dist/digits/segment-digit/SgSegmentDigit.meta.d.ts.map +1 -1
  9. package/dist/digits/segment-digit/SgSegmentDigit.meta.js +0 -2
  10. package/dist/digits/seven-segment-digit/SgSevenSegmentDigit.meta.d.ts.map +1 -1
  11. package/dist/digits/seven-segment-digit/SgSevenSegmentDigit.meta.js +0 -1
  12. package/dist/gadgets/string-animator/SgStringAnimator.meta.js +2 -2
  13. package/dist/inputs/SgDatatable.meta.d.ts.map +1 -1
  14. package/dist/inputs/SgDatatable.meta.js +2 -3
  15. package/dist/inputs/SgInputCurrency.meta.d.ts.map +1 -1
  16. package/dist/inputs/SgInputCurrency.meta.js +1 -22
  17. package/dist/inputs/SgInputDate.meta.js +1 -1
  18. package/dist/inputs/SgInputNumber.meta.d.ts.map +1 -1
  19. package/dist/inputs/SgInputNumber.meta.js +1 -15
  20. package/dist/inputs/SgInputTextarea.meta.d.ts.map +1 -1
  21. package/dist/inputs/SgInputTextarea.meta.js +0 -14
  22. package/dist/inputs/SgPickList.meta.d.ts.map +1 -1
  23. package/dist/inputs/SgPickList.meta.js +1 -4
  24. package/dist/inputs/SgRating.meta.d.ts.map +1 -1
  25. package/dist/inputs/SgRating.meta.js +2 -3
  26. package/dist/inputs/SgTextEditor.meta.d.ts.map +1 -1
  27. package/dist/inputs/SgTextEditor.meta.js +2 -6
  28. package/dist/inputs/SgToggleSwitch.meta.d.ts.map +1 -1
  29. package/dist/inputs/SgToggleSwitch.meta.js +0 -3
  30. package/dist/layout/SgAccordion.meta.js +2 -2
  31. package/dist/layout/SgCard.meta.js +1 -1
  32. package/dist/layout/SgMenu.meta.js +1 -1
  33. package/dist/layout/SgPageControl.meta.js +1 -1
  34. package/dist/layout/SgPanel.meta.js +2 -2
  35. package/dist/layout/SgTreeView.meta.d.ts.map +1 -1
  36. package/dist/layout/SgTreeView.meta.js +0 -30
  37. package/package.json +3 -3
@@ -3043,15 +3043,15 @@
3043
3043
  },
3044
3044
  {
3045
3045
  "name": "rows",
3046
- "type": "SgDatatableRow[]",
3046
+ "type": "number",
3047
3047
  "required": false,
3048
- "description": "Linhas exibidas na tabela.",
3049
- "semanticRole": "value",
3048
+ "description": "Linhas por pagina quando a paginacao esta ativa (os dados vao em value).",
3049
+ "semanticRole": "behavior",
3050
3050
  "bindable": true
3051
3051
  },
3052
3052
  {
3053
3053
  "name": "selectionMode",
3054
- "type": "string",
3054
+ "type": "\"single\" | \"multiple\"",
3055
3055
  "required": false,
3056
3056
  "description": "Modo de selecao de linhas.",
3057
3057
  "semanticRole": "behavior",
@@ -3075,14 +3075,6 @@
3075
3075
  "semanticRole": "behavior",
3076
3076
  "bindable": true
3077
3077
  },
3078
- {
3079
- "name": "rowsPerPage",
3080
- "type": "number",
3081
- "required": false,
3082
- "description": "Quantidade de linhas por pagina.",
3083
- "semanticRole": "behavior",
3084
- "bindable": true
3085
- },
3086
3078
  {
3087
3079
  "name": "onPage",
3088
3080
  "type": "(event: SgDatatablePageEvent) => void",
@@ -4027,22 +4019,6 @@
4027
4019
  "semanticRole": "validation",
4028
4020
  "bindable": true
4029
4021
  },
4030
- {
4031
- "name": "min",
4032
- "type": "number",
4033
- "required": false,
4034
- "description": "Valor minimo aceito.",
4035
- "semanticRole": "validation",
4036
- "bindable": true
4037
- },
4038
- {
4039
- "name": "max",
4040
- "type": "number",
4041
- "required": false,
4042
- "description": "Valor maximo aceito.",
4043
- "semanticRole": "validation",
4044
- "bindable": true
4045
- },
4046
4022
  {
4047
4023
  "name": "decimals",
4048
4024
  "type": "number",
@@ -4062,7 +4038,7 @@
4062
4038
  },
4063
4039
  {
4064
4040
  "name": "onChange",
4065
- "type": "(value: number | null) => void",
4041
+ "type": "(value: string) => void",
4066
4042
  "required": false,
4067
4043
  "description": "Callback com o valor numerico atual.",
4068
4044
  "semanticRole": "event",
@@ -4367,14 +4343,6 @@
4367
4343
  "semanticRole": "behavior",
4368
4344
  "bindable": true
4369
4345
  },
4370
- {
4371
- "name": "symbol",
4372
- "type": "string",
4373
- "required": false,
4374
- "description": "Simbolo monetario exibido no campo.",
4375
- "semanticRole": "appearance",
4376
- "bindable": true
4377
- },
4378
4346
  {
4379
4347
  "name": "required",
4380
4348
  "type": "boolean",
@@ -4384,25 +4352,9 @@
4384
4352
  "semanticRole": "validation",
4385
4353
  "bindable": true
4386
4354
  },
4387
- {
4388
- "name": "min",
4389
- "type": "number",
4390
- "required": false,
4391
- "description": "Valor monetario minimo aceito.",
4392
- "semanticRole": "validation",
4393
- "bindable": true
4394
- },
4395
- {
4396
- "name": "max",
4397
- "type": "number",
4398
- "required": false,
4399
- "description": "Valor monetario maximo aceito.",
4400
- "semanticRole": "validation",
4401
- "bindable": true
4402
- },
4403
4355
  {
4404
4356
  "name": "onChange",
4405
- "type": "(value: number | null) => void",
4357
+ "type": "(value: string) => void",
4406
4358
  "required": false,
4407
4359
  "description": "Callback com o valor monetario normalizado.",
4408
4360
  "semanticRole": "event",
@@ -4766,7 +4718,7 @@
4766
4718
  },
4767
4719
  {
4768
4720
  "name": "onChange",
4769
- "type": "(value: string | null) => void",
4721
+ "type": "(value: string) => void",
4770
4722
  "required": false,
4771
4723
  "description": "Callback com a data selecionada ou digitada.",
4772
4724
  "semanticRole": "event",
@@ -7464,39 +7416,14 @@
7464
7416
  "semanticRole": "value",
7465
7417
  "bindable": true
7466
7418
  },
7467
- {
7468
- "name": "sourceLabel",
7469
- "type": "string",
7470
- "required": false,
7471
- "description": "Rotulo da lista de origem.",
7472
- "semanticRole": "label",
7473
- "bindable": true
7474
- },
7475
- {
7476
- "name": "targetLabel",
7477
- "type": "string",
7478
- "required": false,
7479
- "description": "Rotulo da lista de destino.",
7480
- "semanticRole": "label",
7481
- "bindable": true
7482
- },
7483
7419
  {
7484
7420
  "name": "selectionMode",
7485
- "type": "string",
7421
+ "type": "\"single\" | \"multiple\"",
7486
7422
  "required": false,
7487
7423
  "description": "Modo de selecao nas listas.",
7488
7424
  "semanticRole": "behavior",
7489
7425
  "bindable": true
7490
7426
  },
7491
- {
7492
- "name": "showFilters",
7493
- "type": "boolean",
7494
- "required": false,
7495
- "default": true,
7496
- "description": "Exibe filtros nas listas.",
7497
- "semanticRole": "appearance",
7498
- "bindable": true
7499
- },
7500
7427
  {
7501
7428
  "name": "disabled",
7502
7429
  "type": "boolean",
@@ -7953,14 +7880,6 @@
7953
7880
  "semanticRole": "value",
7954
7881
  "bindable": true
7955
7882
  },
7956
- {
7957
- "name": "max",
7958
- "type": "number",
7959
- "required": false,
7960
- "description": "Quantidade maxima de itens de avaliacao.",
7961
- "semanticRole": "validation",
7962
- "bindable": true
7963
- },
7964
7883
  {
7965
7884
  "name": "readOnly",
7966
7885
  "type": "boolean",
@@ -7981,7 +7900,7 @@
7981
7900
  },
7982
7901
  {
7983
7902
  "name": "size",
7984
- "type": "string",
7903
+ "type": "\"sm\" | \"md\" | \"lg\" | \"xl\"",
7985
7904
  "required": false,
7986
7905
  "description": "Tamanho visual do controle.",
7987
7906
  "semanticRole": "appearance",
@@ -7989,7 +7908,7 @@
7989
7908
  },
7990
7909
  {
7991
7910
  "name": "onChange",
7992
- "type": "(value: number | null) => void",
7911
+ "type": "(value: number) => void",
7993
7912
  "required": false,
7994
7913
  "description": "Callback de mudanca.",
7995
7914
  "semanticRole": "event",
@@ -8547,31 +8466,6 @@
8547
8466
  "semanticRole": "data",
8548
8467
  "bindable": false
8549
8468
  },
8550
- {
8551
- "name": "label",
8552
- "type": "string",
8553
- "required": false,
8554
- "description": "Rotulo exibido ao usuario.",
8555
- "semanticRole": "label",
8556
- "bindable": true
8557
- },
8558
- {
8559
- "name": "value",
8560
- "type": "string",
8561
- "required": false,
8562
- "description": "Conteudo atual do editor.",
8563
- "semanticRole": "value",
8564
- "bindable": true
8565
- },
8566
- {
8567
- "name": "readOnly",
8568
- "type": "boolean",
8569
- "required": false,
8570
- "default": false,
8571
- "description": "Impede edicao do conteudo.",
8572
- "semanticRole": "behavior",
8573
- "bindable": true
8574
- },
8575
8469
  {
8576
8470
  "name": "placeholder",
8577
8471
  "type": "string",
@@ -8582,23 +8476,15 @@
8582
8476
  },
8583
8477
  {
8584
8478
  "name": "height",
8585
- "type": "number | string",
8479
+ "type": "number",
8586
8480
  "required": false,
8587
8481
  "description": "Altura do editor.",
8588
8482
  "semanticRole": "appearance",
8589
8483
  "bindable": true
8590
8484
  },
8591
- {
8592
- "name": "onChange",
8593
- "type": "(value: string) => void",
8594
- "required": false,
8595
- "description": "Callback de mudanca do conteudo.",
8596
- "semanticRole": "event",
8597
- "bindable": false
8598
- },
8599
8485
  {
8600
8486
  "name": "onSave",
8601
- "type": "(meta: SgTextEditorSaveMeta) => void",
8487
+ "type": "(file: File, meta: SgTextEditorSaveMeta) => void",
8602
8488
  "required": false,
8603
8489
  "description": "Callback de persistencia do conteudo.",
8604
8490
  "semanticRole": "event",
@@ -8782,14 +8668,6 @@
8782
8668
  "semanticRole": "label",
8783
8669
  "bindable": true
8784
8670
  },
8785
- {
8786
- "name": "placeholder",
8787
- "type": "string",
8788
- "required": false,
8789
- "description": "Texto de apoio para orientar o conteudo esperado.",
8790
- "semanticRole": "label",
8791
- "bindable": true
8792
- },
8793
8671
  {
8794
8672
  "name": "required",
8795
8673
  "type": "boolean",
@@ -8799,14 +8677,6 @@
8799
8677
  "semanticRole": "validation",
8800
8678
  "bindable": true
8801
8679
  },
8802
- {
8803
- "name": "rows",
8804
- "type": "number",
8805
- "required": false,
8806
- "description": "Quantidade inicial de linhas visiveis.",
8807
- "semanticRole": "appearance",
8808
- "bindable": true
8809
- },
8810
8680
  {
8811
8681
  "name": "maxLength",
8812
8682
  "type": "number",
@@ -9108,15 +8978,6 @@
9108
8978
  "semanticRole": "value",
9109
8979
  "bindable": true
9110
8980
  },
9111
- {
9112
- "name": "disabled",
9113
- "type": "boolean",
9114
- "required": false,
9115
- "default": false,
9116
- "description": "Desabilita interacao.",
9117
- "semanticRole": "behavior",
9118
- "bindable": true
9119
- },
9120
8981
  {
9121
8982
  "name": "readOnly",
9122
8983
  "type": "boolean",
@@ -9126,22 +8987,6 @@
9126
8987
  "semanticRole": "behavior",
9127
8988
  "bindable": true
9128
8989
  },
9129
- {
9130
- "name": "checkedLabel",
9131
- "type": "string",
9132
- "required": false,
9133
- "description": "Texto exibido no estado ligado.",
9134
- "semanticRole": "appearance",
9135
- "bindable": true
9136
- },
9137
- {
9138
- "name": "uncheckedLabel",
9139
- "type": "string",
9140
- "required": false,
9141
- "description": "Texto exibido no estado desligado.",
9142
- "semanticRole": "appearance",
9143
- "bindable": true
9144
- },
9145
8990
  {
9146
8991
  "name": "onChange",
9147
8992
  "type": "(checked: boolean) => void",
@@ -9548,7 +9393,7 @@
9548
9393
  },
9549
9394
  {
9550
9395
  "name": "position",
9551
- "type": "\"bottom-right\" | \"bottom-left\" | \"top-right\" | \"top-left\"",
9396
+ "type": "\"left-top\" | \"left-center\" | \"left-bottom\" | \"center-top\" | \"center-bottom\" | \"right-top\" | \"right-center\" | \"right-bottom\"",
9552
9397
  "required": false,
9553
9398
  "default": "bottom-right",
9554
9399
  "description": "Posicao do FAB na area visivel.",
@@ -9565,7 +9410,7 @@
9565
9410
  },
9566
9411
  {
9567
9412
  "name": "severity",
9568
- "type": "\"primary\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"help\" | \"danger\"",
9413
+ "type": "\"primary\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"help\" | \"danger\" | \"plain\"",
9569
9414
  "required": false,
9570
9415
  "default": "primary",
9571
9416
  "description": "Peso visual da acao flutuante.",
@@ -9814,7 +9659,7 @@
9814
9659
  "props": [
9815
9660
  {
9816
9661
  "name": "label",
9817
- "type": "ReactNode",
9662
+ "type": "string",
9818
9663
  "required": false,
9819
9664
  "description": "Conteudo textual principal da acao.",
9820
9665
  "semanticRole": "label",
@@ -13174,7 +13019,7 @@
13174
13019
  },
13175
13020
  {
13176
13021
  "name": "activeIndex",
13177
- "type": "number[]",
13022
+ "type": "number | number[]",
13178
13023
  "required": false,
13179
13024
  "description": "Estado controlado dos paineis abertos.",
13180
13025
  "semanticRole": "value",
@@ -13182,7 +13027,7 @@
13182
13027
  },
13183
13028
  {
13184
13029
  "name": "defaultActiveIndex",
13185
- "type": "number[]",
13030
+ "type": "number | number[]",
13186
13031
  "required": false,
13187
13032
  "description": "Estado inicial dos paineis abertos.",
13188
13033
  "semanticRole": "behavior",
@@ -13620,7 +13465,7 @@
13620
13465
  },
13621
13466
  {
13622
13467
  "name": "onClick",
13623
- "type": "() => void",
13468
+ "type": "React.MouseEventHandler<HTMLElement>",
13624
13469
  "required": false,
13625
13470
  "description": "Callback disparado quando o card e acionado.",
13626
13471
  "semanticRole": "event",
@@ -15134,7 +14979,7 @@
15134
14979
  },
15135
14980
  {
15136
14981
  "name": "menuVariantStyle",
15137
- "type": "\"panel\" | \"tiered\" | \"mega-horizontal\" | \"mega-vertical\"",
14982
+ "type": "\"panel\" | \"tiered\" | \"mega-horizontal\" | \"mega-vertical\" | \"PanelMenu\" | \"Tiered\" | \"MegaMenuHorizontal\" | \"MegaMenuVertical\"",
15138
14983
  "required": false,
15139
14984
  "default": "panel",
15140
14985
  "description": "Variante visual e comportamental do menu.",
@@ -15582,7 +15427,7 @@
15582
15427
  },
15583
15428
  {
15584
15429
  "name": "onActivePageIdChange",
15585
- "type": "(pageId: string, context: object) => void",
15430
+ "type": "(pageId: string, context: { index: number; page: SgPageControlPageProps }) => void",
15586
15431
  "required": false,
15587
15432
  "description": "Callback disparado quando a pagina ativa muda.",
15588
15433
  "semanticRole": "event",
@@ -15924,7 +15769,7 @@
15924
15769
  },
15925
15770
  {
15926
15771
  "name": "width",
15927
- "type": "number | string",
15772
+ "type": "number | `${number}%`",
15928
15773
  "required": false,
15929
15774
  "description": "Largura do painel quando dockado ou usado em composicoes controladas.",
15930
15775
  "semanticRole": "behavior",
@@ -15932,7 +15777,7 @@
15932
15777
  },
15933
15778
  {
15934
15779
  "name": "height",
15935
- "type": "number | string",
15780
+ "type": "number | `${number}%`",
15936
15781
  "required": false,
15937
15782
  "description": "Altura do painel quando dockado ou usado em composicoes controladas.",
15938
15783
  "semanticRole": "behavior",
@@ -16658,23 +16503,6 @@
16658
16503
  "semanticRole": "data",
16659
16504
  "bindable": true
16660
16505
  },
16661
- {
16662
- "name": "selectionMode",
16663
- "type": "\"single\" | \"multiple\" | \"checkbox\"",
16664
- "required": false,
16665
- "default": "single",
16666
- "description": "Modo principal de selecao dos nos.",
16667
- "semanticRole": "behavior",
16668
- "bindable": true
16669
- },
16670
- {
16671
- "name": "selectedIds",
16672
- "type": "string[]",
16673
- "required": false,
16674
- "description": "Nos selecionados de forma controlada.",
16675
- "semanticRole": "value",
16676
- "bindable": true
16677
- },
16678
16506
  {
16679
16507
  "name": "checkedIds",
16680
16508
  "type": "string[]",
@@ -16692,15 +16520,6 @@
16692
16520
  "semanticRole": "behavior",
16693
16521
  "bindable": true
16694
16522
  },
16695
- {
16696
- "name": "expandAllByDefault",
16697
- "type": "boolean",
16698
- "required": false,
16699
- "default": false,
16700
- "description": "Expande a arvore inteira na montagem inicial.",
16701
- "semanticRole": "behavior",
16702
- "bindable": true
16703
- },
16704
16523
  {
16705
16524
  "name": "size",
16706
16525
  "type": "\"sm\" | \"md\" | \"lg\"",
@@ -16710,14 +16529,6 @@
16710
16529
  "semanticRole": "appearance",
16711
16530
  "bindable": true
16712
16531
  },
16713
- {
16714
- "name": "onSelectionChange",
16715
- "type": "(ids: string[]) => void",
16716
- "required": false,
16717
- "description": "Callback disparado quando a selecao muda.",
16718
- "semanticRole": "event",
16719
- "bindable": false
16720
- },
16721
16532
  {
16722
16533
  "name": "branchLabelBehavior",
16723
16534
  "type": "\"none\" | \"toggle\"",
@@ -20200,7 +20011,7 @@
20200
20011
  },
20201
20012
  {
20202
20013
  "name": "stringAnimatorStyle",
20203
- "type": "\"roller3d\" | \"flip\" | \"neon\" | \"fade\" | \"matrix\" | \"discard\" | \"segment\" | \"sevenSegment\"",
20014
+ "type": "\"roller3d\" | \"flip\" | \"neon\" | \"fade\" | \"discard\" | \"matrix\"",
20204
20015
  "required": false,
20205
20016
  "default": "roller3d",
20206
20017
  "description": "Estilo visual usado na transicao.",
@@ -20209,7 +20020,7 @@
20209
20020
  },
20210
20021
  {
20211
20022
  "name": "alignTo",
20212
- "type": "\"left\" | \"center\" | \"right\"",
20023
+ "type": "\"left\" | \"right\"",
20213
20024
  "required": false,
20214
20025
  "default": "left",
20215
20026
  "description": "Alinhamento do texto animado.",
@@ -20856,15 +20667,6 @@
20856
20667
  "semanticRole": "value",
20857
20668
  "bindable": true
20858
20669
  },
20859
- {
20860
- "name": "fontSize",
20861
- "type": "number",
20862
- "required": false,
20863
- "default": 72,
20864
- "description": "Escala visual do display.",
20865
- "semanticRole": "appearance",
20866
- "bindable": true
20867
- },
20868
20670
  {
20869
20671
  "name": "color",
20870
20672
  "type": "string",
@@ -21253,22 +21055,6 @@
21253
21055
  "semanticRole": "appearance",
21254
21056
  "bindable": true
21255
21057
  },
21256
- {
21257
- "name": "color",
21258
- "type": "string",
21259
- "required": false,
21260
- "description": "Cor principal do digito.",
21261
- "semanticRole": "appearance",
21262
- "bindable": true
21263
- },
21264
- {
21265
- "name": "backgroundColor",
21266
- "type": "string",
21267
- "required": false,
21268
- "description": "Cor do fundo do display.",
21269
- "semanticRole": "appearance",
21270
- "bindable": true
21271
- },
21272
21058
  {
21273
21059
  "name": "className",
21274
21060
  "type": "string",
@@ -21399,15 +21185,6 @@
21399
21185
  "semanticRole": "value",
21400
21186
  "bindable": true
21401
21187
  },
21402
- {
21403
- "name": "fontSize",
21404
- "type": "number",
21405
- "required": false,
21406
- "default": 72,
21407
- "description": "Escala visual do digito.",
21408
- "semanticRole": "appearance",
21409
- "bindable": true
21410
- },
21411
21188
  {
21412
21189
  "name": "color",
21413
21190
  "type": "string",
@@ -21416,14 +21193,6 @@
21416
21193
  "semanticRole": "appearance",
21417
21194
  "bindable": true
21418
21195
  },
21419
- {
21420
- "name": "backgroundColor",
21421
- "type": "string",
21422
- "required": false,
21423
- "description": "Cor de fundo do display.",
21424
- "semanticRole": "appearance",
21425
- "bindable": true
21426
- },
21427
21196
  {
21428
21197
  "name": "className",
21429
21198
  "type": "string",
@@ -21547,15 +21316,6 @@
21547
21316
  "semanticRole": "value",
21548
21317
  "bindable": true
21549
21318
  },
21550
- {
21551
- "name": "fontSize",
21552
- "type": "number",
21553
- "required": false,
21554
- "default": 72,
21555
- "description": "Escala visual do digito.",
21556
- "semanticRole": "appearance",
21557
- "bindable": true
21558
- },
21559
21319
  {
21560
21320
  "name": "color",
21561
21321
  "type": "string",
@@ -29,7 +29,7 @@ export const sgMeta = {
29
29
  },
30
30
  {
31
31
  name: "position",
32
- type: '"bottom-right" | "bottom-left" | "top-right" | "top-left"',
32
+ type: "\"left-top\" | \"left-center\" | \"left-bottom\" | \"center-top\" | \"center-bottom\" | \"right-top\" | \"right-center\" | \"right-bottom\"",
33
33
  default: "bottom-right",
34
34
  description: "Posicao do FAB na area visivel.",
35
35
  semanticRole: "behavior",
@@ -44,7 +44,7 @@ export const sgMeta = {
44
44
  },
45
45
  {
46
46
  name: "severity",
47
- type: '"primary" | "secondary" | "success" | "info" | "warning" | "help" | "danger"',
47
+ type: "\"primary\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"help\" | \"danger\" | \"plain\"",
48
48
  default: "primary",
49
49
  description: "Peso visual da acao flutuante.",
50
50
  semanticRole: "appearance",
@@ -14,7 +14,7 @@ export const sgMeta = {
14
14
  props: [
15
15
  {
16
16
  name: "label",
17
- type: "ReactNode",
17
+ type: "string",
18
18
  description: "Conteudo textual principal da acao.",
19
19
  semanticRole: "label",
20
20
  bindable: true
@@ -1 +1 @@
1
- {"version":3,"file":"SgMatrixDigit.meta.d.ts","sourceRoot":"","sources":["../../../src/digits/matrix-digit/SgMatrixDigit.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,MAAM,EAAE,QA4BpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAmBrB,CAAC"}
1
+ {"version":3,"file":"SgMatrixDigit.meta.d.ts","sourceRoot":"","sources":["../../../src/digits/matrix-digit/SgMatrixDigit.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,MAAM,EAAE,QA2BpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAmBrB,CAAC"}
@@ -13,7 +13,6 @@ export const sgMeta = {
13
13
  fieldSemantics: ["digitDisplay", "matrixDigit", "counterDigit", "panelDigit"],
14
14
  props: [
15
15
  { name: "value", type: "string", required: true, description: "Caractere exibido na matriz.", semanticRole: "value", bindable: true },
16
- { name: "fontSize", type: "number", default: 72, description: "Escala visual do display.", semanticRole: "appearance", bindable: true },
17
16
  { name: "color", type: "string", description: "Cor principal do digito.", semanticRole: "appearance", bindable: true },
18
17
  { name: "backgroundColor", type: "string", description: "Cor do fundo do display.", semanticRole: "appearance", bindable: true },
19
18
  { name: "className", type: "string", description: "Classes CSS adicionais.", semanticRole: "appearance", bindable: true }
@@ -1 +1 @@
1
- {"version":3,"file":"SgRoller3DDigit.meta.d.ts","sourceRoot":"","sources":["../../../src/digits/roller3d-digit/SgRoller3DDigit.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,MAAM,EAAE,QA4BpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAmBrB,CAAC"}
1
+ {"version":3,"file":"SgRoller3DDigit.meta.d.ts","sourceRoot":"","sources":["../../../src/digits/roller3d-digit/SgRoller3DDigit.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,MAAM,EAAE,QA0BpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAmBrB,CAAC"}
@@ -14,8 +14,6 @@ export const sgMeta = {
14
14
  props: [
15
15
  { name: "value", type: "string", required: true, description: "Caractere exibido no display.", semanticRole: "value", bindable: true },
16
16
  { name: "fontSize", type: "number", default: 72, description: "Tamanho da fonte do digito.", semanticRole: "appearance", bindable: true },
17
- { name: "color", type: "string", description: "Cor principal do digito.", semanticRole: "appearance", bindable: true },
18
- { name: "backgroundColor", type: "string", description: "Cor do fundo do display.", semanticRole: "appearance", bindable: true },
19
17
  { name: "className", type: "string", description: "Classes CSS adicionais.", semanticRole: "appearance", bindable: true }
20
18
  ],
21
19
  states: ["idle", "animating"],
@@ -1 +1 @@
1
- {"version":3,"file":"SgSegmentDigit.meta.d.ts","sourceRoot":"","sources":["../../../src/digits/segment-digit/SgSegmentDigit.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,MAAM,EAAE,QA4BpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAmBrB,CAAC"}
1
+ {"version":3,"file":"SgSegmentDigit.meta.d.ts","sourceRoot":"","sources":["../../../src/digits/segment-digit/SgSegmentDigit.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,MAAM,EAAE,QA0BpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAmBrB,CAAC"}
@@ -13,9 +13,7 @@ export const sgMeta = {
13
13
  fieldSemantics: ["digitDisplay", "segmentDigit", "industrialCounter", "clockDigit"],
14
14
  props: [
15
15
  { name: "value", type: "string", required: true, description: "Caractere exibido no display.", semanticRole: "value", bindable: true },
16
- { name: "fontSize", type: "number", default: 72, description: "Escala visual do digito.", semanticRole: "appearance", bindable: true },
17
16
  { name: "color", type: "string", description: "Cor dos segmentos ativos.", semanticRole: "appearance", bindable: true },
18
- { name: "backgroundColor", type: "string", description: "Cor de fundo do display.", semanticRole: "appearance", bindable: true },
19
17
  { name: "className", type: "string", description: "Classes CSS adicionais.", semanticRole: "appearance", bindable: true }
20
18
  ],
21
19
  states: ["idle"],
@@ -1 +1 @@
1
- {"version":3,"file":"SgSevenSegmentDigit.meta.d.ts","sourceRoot":"","sources":["../../../src/digits/seven-segment-digit/SgSevenSegmentDigit.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,MAAM,EAAE,QA4BpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAmBrB,CAAC"}
1
+ {"version":3,"file":"SgSevenSegmentDigit.meta.d.ts","sourceRoot":"","sources":["../../../src/digits/seven-segment-digit/SgSevenSegmentDigit.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,MAAM,EAAE,QA2BpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAmBrB,CAAC"}
@@ -13,7 +13,6 @@ export const sgMeta = {
13
13
  fieldSemantics: ["digitDisplay", "sevenSegmentDigit", "clockDigit", "numericPanel"],
14
14
  props: [
15
15
  { name: "value", type: "string", required: true, description: "Caractere exibido no display.", semanticRole: "value", bindable: true },
16
- { name: "fontSize", type: "number", default: 72, description: "Escala visual do digito.", semanticRole: "appearance", bindable: true },
17
16
  { name: "color", type: "string", description: "Cor dos segmentos ativos.", semanticRole: "appearance", bindable: true },
18
17
  { name: "backgroundColor", type: "string", description: "Cor do fundo do display.", semanticRole: "appearance", bindable: true },
19
18
  { name: "className", type: "string", description: "Classes CSS adicionais.", semanticRole: "appearance", bindable: true }
@@ -14,8 +14,8 @@ export const sgMeta = {
14
14
  props: [
15
15
  { name: "sourceString", type: "string", required: true, description: "Texto inicial da animacao.", semanticRole: "value", bindable: true },
16
16
  { name: "targetString", type: "string", required: true, description: "Texto final da animacao.", semanticRole: "value", bindable: true },
17
- { name: "stringAnimatorStyle", type: '"roller3d" | "flip" | "neon" | "fade" | "matrix" | "discard" | "segment" | "sevenSegment"', default: "roller3d", description: "Estilo visual usado na transicao.", semanticRole: "appearance", bindable: true },
18
- { name: "alignTo", type: '"left" | "center" | "right"', default: "left", description: "Alinhamento do texto animado.", semanticRole: "appearance", bindable: true },
17
+ { name: "stringAnimatorStyle", type: "\"roller3d\" | \"flip\" | \"neon\" | \"fade\" | \"discard\" | \"matrix\"", default: "roller3d", description: "Estilo visual usado na transicao.", semanticRole: "appearance", bindable: true },
18
+ { name: "alignTo", type: "\"left\" | \"right\"", default: "left", description: "Alinhamento do texto animado.", semanticRole: "appearance", bindable: true },
19
19
  { name: "fontSize", type: "number", default: 28, description: "Escala visual do display.", semanticRole: "appearance", bindable: true }
20
20
  ],
21
21
  states: ["idle", "animating", "completed"],
@@ -1 +1 @@
1
- {"version":3,"file":"SgDatatable.meta.d.ts","sourceRoot":"","sources":["../../src/inputs/SgDatatable.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,MAAM,EAAE,QA+BpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAmBrB,CAAC"}
1
+ {"version":3,"file":"SgDatatable.meta.d.ts","sourceRoot":"","sources":["../../src/inputs/SgDatatable.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,MAAM,EAAE,QA8BpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAmBrB,CAAC"}
@@ -14,11 +14,10 @@ export const sgMeta = {
14
14
  props: [
15
15
  { name: "id", type: "string", description: "Identificador da tabela usado para DOM e persistencia do layout de colunas.", semanticRole: "data", bindable: true },
16
16
  { name: "columns", type: "SgDatatableColumn[]", description: "Definicao das colunas da tabela.", semanticRole: "data", bindable: true },
17
- { name: "rows", type: "SgDatatableRow[]", description: "Linhas exibidas na tabela.", semanticRole: "value", bindable: true },
18
- { name: "selectionMode", type: "string", description: "Modo de selecao de linhas.", semanticRole: "behavior", bindable: true },
17
+ { name: "rows", type: "number", description: "Linhas por pagina quando a paginacao esta ativa (os dados vao em value).", semanticRole: "behavior", bindable: true },
18
+ { name: "selectionMode", type: "\"single\" | \"multiple\"", description: "Modo de selecao de linhas.", semanticRole: "behavior", bindable: true },
19
19
  { name: "loading", type: "boolean", default: false, description: "Indica estado de carregamento.", semanticRole: "appearance", bindable: true },
20
20
  { name: "paginator", type: "boolean", default: false, description: "Ativa paginacao.", semanticRole: "behavior", bindable: true },
21
- { name: "rowsPerPage", type: "number", description: "Quantidade de linhas por pagina.", semanticRole: "behavior", bindable: true },
22
21
  { name: "onPage", type: "(event: SgDatatablePageEvent) => void", description: "Callback de paginacao.", semanticRole: "event", bindable: false },
23
22
  { name: "onSort", type: "(event: SgDatatableSortEvent) => void", description: "Callback de ordenacao.", semanticRole: "event", bindable: false }
24
23
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"SgInputCurrency.meta.d.ts","sourceRoot":"","sources":["../../src/inputs/SgInputCurrency.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,MAAM,EAAE,QA8GpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAyBrB,CAAC"}
1
+ {"version":3,"file":"SgInputCurrency.meta.d.ts","sourceRoot":"","sources":["../../src/inputs/SgInputCurrency.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,MAAM,EAAE,QAyFpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAyBrB,CAAC"}
@@ -41,13 +41,6 @@ export const sgMeta = {
41
41
  semanticRole: "behavior",
42
42
  bindable: true
43
43
  },
44
- {
45
- name: "symbol",
46
- type: "string",
47
- description: "Simbolo monetario exibido no campo.",
48
- semanticRole: "appearance",
49
- bindable: true
50
- },
51
44
  {
52
45
  name: "required",
53
46
  type: "boolean",
@@ -56,23 +49,9 @@ export const sgMeta = {
56
49
  semanticRole: "validation",
57
50
  bindable: true
58
51
  },
59
- {
60
- name: "min",
61
- type: "number",
62
- description: "Valor monetario minimo aceito.",
63
- semanticRole: "validation",
64
- bindable: true
65
- },
66
- {
67
- name: "max",
68
- type: "number",
69
- description: "Valor monetario maximo aceito.",
70
- semanticRole: "validation",
71
- bindable: true
72
- },
73
52
  {
74
53
  name: "onChange",
75
- type: "(value: number | null) => void",
54
+ type: "(value: string) => void",
76
55
  description: "Callback com o valor monetario normalizado.",
77
56
  semanticRole: "event",
78
57
  bindable: false
@@ -73,7 +73,7 @@ export const sgMeta = {
73
73
  },
74
74
  {
75
75
  name: "onChange",
76
- type: "(value: string | null) => void",
76
+ type: "(value: string) => void",
77
77
  description: "Callback com a data selecionada ou digitada.",
78
78
  semanticRole: "event",
79
79
  bindable: false
@@ -1 +1 @@
1
- {"version":3,"file":"SgInputNumber.meta.d.ts","sourceRoot":"","sources":["../../src/inputs/SgInputNumber.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,MAAM,EAAE,QA+GpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAyBrB,CAAC"}
1
+ {"version":3,"file":"SgInputNumber.meta.d.ts","sourceRoot":"","sources":["../../src/inputs/SgInputNumber.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,MAAM,EAAE,QAiGpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAyBrB,CAAC"}
@@ -42,20 +42,6 @@ export const sgMeta = {
42
42
  semanticRole: "validation",
43
43
  bindable: true
44
44
  },
45
- {
46
- name: "min",
47
- type: "number",
48
- description: "Valor minimo aceito.",
49
- semanticRole: "validation",
50
- bindable: true
51
- },
52
- {
53
- name: "max",
54
- type: "number",
55
- description: "Valor maximo aceito.",
56
- semanticRole: "validation",
57
- bindable: true
58
- },
59
45
  {
60
46
  name: "decimals",
61
47
  type: "number",
@@ -73,7 +59,7 @@ export const sgMeta = {
73
59
  },
74
60
  {
75
61
  name: "onChange",
76
- type: "(value: number | null) => void",
62
+ type: "(value: string) => void",
77
63
  description: "Callback com o valor numerico atual.",
78
64
  semanticRole: "event",
79
65
  bindable: false
@@ -1 +1 @@
1
- {"version":3,"file":"SgInputTextarea.meta.d.ts","sourceRoot":"","sources":["../../src/inputs/SgInputTextarea.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,MAAM,EAAE,QA8GpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAyBrB,CAAC"}
1
+ {"version":3,"file":"SgInputTextarea.meta.d.ts","sourceRoot":"","sources":["../../src/inputs/SgInputTextarea.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,MAAM,EAAE,QAgGpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAyBrB,CAAC"}
@@ -34,13 +34,6 @@ export const sgMeta = {
34
34
  semanticRole: "label",
35
35
  bindable: true
36
36
  },
37
- {
38
- name: "placeholder",
39
- type: "string",
40
- description: "Texto de apoio para orientar o conteudo esperado.",
41
- semanticRole: "label",
42
- bindable: true
43
- },
44
37
  {
45
38
  name: "required",
46
39
  type: "boolean",
@@ -49,13 +42,6 @@ export const sgMeta = {
49
42
  semanticRole: "validation",
50
43
  bindable: true
51
44
  },
52
- {
53
- name: "rows",
54
- type: "number",
55
- description: "Quantidade inicial de linhas visiveis.",
56
- semanticRole: "appearance",
57
- bindable: true
58
- },
59
45
  {
60
46
  name: "maxLength",
61
47
  type: "number",
@@ -1 +1 @@
1
- {"version":3,"file":"SgPickList.meta.d.ts","sourceRoot":"","sources":["../../src/inputs/SgPickList.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,MAAM,EAAE,QA8BpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAmBrB,CAAC"}
1
+ {"version":3,"file":"SgPickList.meta.d.ts","sourceRoot":"","sources":["../../src/inputs/SgPickList.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,MAAM,EAAE,QA2BpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAmBrB,CAAC"}
@@ -14,10 +14,7 @@ export const sgMeta = {
14
14
  props: [
15
15
  { name: "id", type: "string", description: "Identificador unico do componente.", semanticRole: "data", bindable: false },
16
16
  { name: "value", type: "SgPickListValue", description: "Estado atual das listas.", semanticRole: "value", bindable: true },
17
- { name: "sourceLabel", type: "string", description: "Rotulo da lista de origem.", semanticRole: "label", bindable: true },
18
- { name: "targetLabel", type: "string", description: "Rotulo da lista de destino.", semanticRole: "label", bindable: true },
19
- { name: "selectionMode", type: "string", description: "Modo de selecao nas listas.", semanticRole: "behavior", bindable: true },
20
- { name: "showFilters", type: "boolean", default: true, description: "Exibe filtros nas listas.", semanticRole: "appearance", bindable: true },
17
+ { name: "selectionMode", type: "\"single\" | \"multiple\"", description: "Modo de selecao nas listas.", semanticRole: "behavior", bindable: true },
21
18
  { name: "disabled", type: "boolean", default: false, description: "Desabilita interacao.", semanticRole: "behavior", bindable: true },
22
19
  { name: "onChange", type: "(event: SgPickListChangeEvent) => void", description: "Callback ao mover itens.", semanticRole: "event", bindable: false }
23
20
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"SgRating.meta.d.ts","sourceRoot":"","sources":["../../src/inputs/SgRating.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,MAAM,EAAE,QA8BpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAmBrB,CAAC"}
1
+ {"version":3,"file":"SgRating.meta.d.ts","sourceRoot":"","sources":["../../src/inputs/SgRating.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,MAAM,EAAE,QA6BpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAmBrB,CAAC"}
@@ -15,11 +15,10 @@ export const sgMeta = {
15
15
  { name: "id", type: "string", description: "Identificador unico do componente.", semanticRole: "data", bindable: false },
16
16
  { name: "label", type: "string", description: "Rotulo do campo.", semanticRole: "label", bindable: true },
17
17
  { name: "value", type: "number", description: "Nota atual.", semanticRole: "value", bindable: true },
18
- { name: "max", type: "number", description: "Quantidade maxima de itens de avaliacao.", semanticRole: "validation", bindable: true },
19
18
  { name: "readOnly", type: "boolean", default: false, description: "Impede alteracao da nota.", semanticRole: "behavior", bindable: true },
20
19
  { name: "disabled", type: "boolean", default: false, description: "Desabilita interacao.", semanticRole: "behavior", bindable: true },
21
- { name: "size", type: "string", description: "Tamanho visual do controle.", semanticRole: "appearance", bindable: true },
22
- { name: "onChange", type: "(value: number | null) => void", description: "Callback de mudanca.", semanticRole: "event", bindable: false }
20
+ { name: "size", type: "\"sm\" | \"md\" | \"lg\" | \"xl\"", description: "Tamanho visual do controle.", semanticRole: "appearance", bindable: true },
21
+ { name: "onChange", type: "(value: number) => void", description: "Callback de mudanca.", semanticRole: "event", bindable: false }
23
22
  ],
24
23
  states: ["default", "disabled", "readOnly", "error"],
25
24
  showcase: { route: "/components/sg-rating", hasPlayground: true, hasPropsTable: true },
@@ -1 +1 @@
1
- {"version":3,"file":"SgTextEditor.meta.d.ts","sourceRoot":"","sources":["../../src/inputs/SgTextEditor.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,MAAM,EAAE,QA8BpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAmBrB,CAAC"}
1
+ {"version":3,"file":"SgTextEditor.meta.d.ts","sourceRoot":"","sources":["../../src/inputs/SgTextEditor.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,MAAM,EAAE,QA0BpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAmBrB,CAAC"}
@@ -13,13 +13,9 @@ export const sgMeta = {
13
13
  fieldSemantics: ["richText", "formattedDescription", "articleBody", "htmlContent"],
14
14
  props: [
15
15
  { name: "id", type: "string", description: "Identificador unico do editor.", semanticRole: "data", bindable: false },
16
- { name: "label", type: "string", description: "Rotulo exibido ao usuario.", semanticRole: "label", bindable: true },
17
- { name: "value", type: "string", description: "Conteudo atual do editor.", semanticRole: "value", bindable: true },
18
- { name: "readOnly", type: "boolean", default: false, description: "Impede edicao do conteudo.", semanticRole: "behavior", bindable: true },
19
16
  { name: "placeholder", type: "string", description: "Texto de ajuda inicial.", semanticRole: "appearance", bindable: true },
20
- { name: "height", type: "number | string", description: "Altura do editor.", semanticRole: "appearance", bindable: true },
21
- { name: "onChange", type: "(value: string) => void", description: "Callback de mudanca do conteudo.", semanticRole: "event", bindable: false },
22
- { name: "onSave", type: "(meta: SgTextEditorSaveMeta) => void", description: "Callback de persistencia do conteudo.", semanticRole: "event", bindable: false }
17
+ { name: "height", type: "number", description: "Altura do editor.", semanticRole: "appearance", bindable: true },
18
+ { name: "onSave", type: "(file: File, meta: SgTextEditorSaveMeta) => void", description: "Callback de persistencia do conteudo.", semanticRole: "event", bindable: false }
23
19
  ],
24
20
  states: ["default", "readOnly", "disabled", "error"],
25
21
  showcase: { route: "/components/sg-text-editor", hasPlayground: true, hasPropsTable: true },
@@ -1 +1 @@
1
- {"version":3,"file":"SgToggleSwitch.meta.d.ts","sourceRoot":"","sources":["../../src/inputs/SgToggleSwitch.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,MAAM,EAAE,QA8BpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAmBrB,CAAC"}
1
+ {"version":3,"file":"SgToggleSwitch.meta.d.ts","sourceRoot":"","sources":["../../src/inputs/SgToggleSwitch.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,MAAM,EAAE,QA2BpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAmBrB,CAAC"}
@@ -15,10 +15,7 @@ export const sgMeta = {
15
15
  { name: "id", type: "string", required: true, description: "Identificador unico do componente.", semanticRole: "data", bindable: false },
16
16
  { name: "label", type: "string", description: "Rotulo exibido ao usuario.", semanticRole: "label", bindable: true },
17
17
  { name: "checked", type: "boolean", description: "Valor booleano atual.", semanticRole: "value", bindable: true },
18
- { name: "disabled", type: "boolean", default: false, description: "Desabilita interacao.", semanticRole: "behavior", bindable: true },
19
18
  { name: "readOnly", type: "boolean", default: false, description: "Permite visualizacao sem alteracao.", semanticRole: "behavior", bindable: true },
20
- { name: "checkedLabel", type: "string", description: "Texto exibido no estado ligado.", semanticRole: "appearance", bindable: true },
21
- { name: "uncheckedLabel", type: "string", description: "Texto exibido no estado desligado.", semanticRole: "appearance", bindable: true },
22
19
  { name: "onChange", type: "(checked: boolean) => void", description: "Callback de mudanca.", semanticRole: "event", bindable: false }
23
20
  ],
24
21
  states: ["default", "checked", "unchecked", "disabled", "readOnly"],
@@ -46,14 +46,14 @@ export const sgMeta = {
46
46
  },
47
47
  {
48
48
  name: "activeIndex",
49
- type: "number[]",
49
+ type: "number | number[]",
50
50
  description: "Estado controlado dos paineis abertos.",
51
51
  semanticRole: "value",
52
52
  bindable: true
53
53
  },
54
54
  {
55
55
  name: "defaultActiveIndex",
56
- type: "number[]",
56
+ type: "number | number[]",
57
57
  description: "Estado inicial dos paineis abertos.",
58
58
  semanticRole: "behavior",
59
59
  bindable: true
@@ -68,7 +68,7 @@ export const sgMeta = {
68
68
  },
69
69
  {
70
70
  name: "onClick",
71
- type: "() => void",
71
+ type: "React.MouseEventHandler<HTMLElement>",
72
72
  description: "Callback disparado quando o card e acionado.",
73
73
  semanticRole: "event",
74
74
  bindable: false
@@ -37,7 +37,7 @@ export const sgMeta = {
37
37
  },
38
38
  {
39
39
  name: "menuVariantStyle",
40
- type: '"panel" | "tiered" | "mega-horizontal" | "mega-vertical"',
40
+ type: "\"panel\" | \"tiered\" | \"mega-horizontal\" | \"mega-vertical\" | \"PanelMenu\" | \"Tiered\" | \"MegaMenuHorizontal\" | \"MegaMenuVertical\"",
41
41
  default: "panel",
42
42
  description: "Variante visual e comportamental do menu.",
43
43
  semanticRole: "behavior",
@@ -20,7 +20,7 @@ export const sgMeta = {
20
20
  { name: "size", type: '"sm" | "md" | "lg"', default: "md", description: "Escala visual das abas.", semanticRole: "appearance", bindable: true },
21
21
  { name: "fullWidthTabs", type: "boolean", default: false, description: "Distribui as abas em larguras iguais a partir do tablet; no celular elas mantem a largura natural e a lista rola.", semanticRole: "appearance", bindable: true },
22
22
  { name: "mobilePageControl", type: '"scroll" | "select"', default: "scroll", description: "Comportamento no celular: rolagem horizontal das abas ou troca por um select nativo.", semanticRole: "behavior", bindable: true },
23
- { name: "onActivePageIdChange", type: "(pageId: string, context: object) => void", description: "Callback disparado quando a pagina ativa muda.", semanticRole: "event", bindable: false }
23
+ { name: "onActivePageIdChange", type: "(pageId: string, context: { index: number; page: SgPageControlPageProps }) => void", description: "Callback disparado quando a pagina ativa muda.", semanticRole: "event", bindable: false }
24
24
  ],
25
25
  states: ["default", "controlled", "keyboard-navigation"],
26
26
  examples: [
@@ -22,14 +22,14 @@ export const sgMeta = {
22
22
  },
23
23
  {
24
24
  name: "width",
25
- type: "number | string",
25
+ type: "number | `${number}%`",
26
26
  description: "Largura do painel quando dockado ou usado em composicoes controladas.",
27
27
  semanticRole: "behavior",
28
28
  bindable: true
29
29
  },
30
30
  {
31
31
  name: "height",
32
- type: "number | string",
32
+ type: "number | `${number}%`",
33
33
  description: "Altura do painel quando dockado ou usado em composicoes controladas.",
34
34
  semanticRole: "behavior",
35
35
  bindable: true
@@ -1 +1 @@
1
- {"version":3,"file":"SgTreeView.meta.d.ts","sourceRoot":"","sources":["../../src/layout/SgTreeView.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,MAAM,EAAE,QA0GpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAyBrB,CAAC"}
1
+ {"version":3,"file":"SgTreeView.meta.d.ts","sourceRoot":"","sources":["../../src/layout/SgTreeView.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE9D,eAAO,MAAM,MAAM,EAAE,QA4EpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAyBrB,CAAC"}
@@ -20,21 +20,6 @@ export const sgMeta = {
20
20
  semanticRole: "data",
21
21
  bindable: true
22
22
  },
23
- {
24
- name: "selectionMode",
25
- type: '"single" | "multiple" | "checkbox"',
26
- default: "single",
27
- description: "Modo principal de selecao dos nos.",
28
- semanticRole: "behavior",
29
- bindable: true
30
- },
31
- {
32
- name: "selectedIds",
33
- type: "string[]",
34
- description: "Nos selecionados de forma controlada.",
35
- semanticRole: "value",
36
- bindable: true
37
- },
38
23
  {
39
24
  name: "checkedIds",
40
25
  type: "string[]",
@@ -50,14 +35,6 @@ export const sgMeta = {
50
35
  semanticRole: "behavior",
51
36
  bindable: true
52
37
  },
53
- {
54
- name: "expandAllByDefault",
55
- type: "boolean",
56
- default: false,
57
- description: "Expande a arvore inteira na montagem inicial.",
58
- semanticRole: "behavior",
59
- bindable: true
60
- },
61
38
  {
62
39
  name: "size",
63
40
  type: '"sm" | "md" | "lg"',
@@ -66,13 +43,6 @@ export const sgMeta = {
66
43
  semanticRole: "appearance",
67
44
  bindable: true
68
45
  },
69
- {
70
- name: "onSelectionChange",
71
- type: "(ids: string[]) => void",
72
- description: "Callback disparado quando a selecao muda.",
73
- semanticRole: "event",
74
- bindable: false
75
- }
76
46
  ],
77
47
  states: ["default", "searching", "expanded", "collapsed", "selected", "checked"],
78
48
  examples: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seedgrid/fe-components",
3
- "version": "2026.10.0",
3
+ "version": "2026.10.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -69,7 +69,7 @@
69
69
  "tailwindcss-animate": "^1.0.7",
70
70
  "postcss": "^8.4.45",
71
71
  "autoprefixer": "^10.4.20",
72
- "@seedgrid/fe-theme": "2026.10.0"
72
+ "@seedgrid/fe-theme": "2026.10.2"
73
73
  },
74
74
  "dependencies": {
75
75
  "@pqina/flip": "^1.8.4",
@@ -82,6 +82,6 @@
82
82
  "build:sandbox": "tsup --config tsup.sandbox.config.ts",
83
83
  "dev": "node scripts/build-style.mjs && tsc -p tsconfig.json --watch --preserveWatchOutput",
84
84
  "typecheck": "tsc -p tsconfig.json --noEmit",
85
- "test": "pnpm run build && node --test tests/i18n.test.mjs tests/rhf.test.mjs tests/rhf-components-contract.test.mjs tests/i18n-components-contract.test.mjs tests/providers-hooks.test.mjs tests/providers-hooks-dom.test.mjs tests/realtime-dom.test.mjs tests/commons.test.mjs tests/commons-dom.test.mjs tests/overlay.test.mjs tests/buttons-menus.test.mjs tests/buttons-menus-dom.test.mjs tests/menu-logic.test.mjs tests/inputs-i18n.test.mjs tests/inputs-dom.test.mjs tests/datatable-dom.test.mjs tests/period-resolver.test.mjs tests/year-part-resolver.test.mjs tests/gadgets.test.mjs tests/gadgets-dom.test.mjs tests/gauge-math.test.mjs tests/clock-theme-picker.test.mjs tests/wizard.test.mjs tests/wizard-logic.test.mjs tests/utils.test.mjs tests/ai-manifest-props-contract.test.mjs"
85
+ "test": "pnpm run build && node scripts/check-meta-types.mjs && node --test tests/i18n.test.mjs tests/rhf.test.mjs tests/rhf-components-contract.test.mjs tests/i18n-components-contract.test.mjs tests/providers-hooks.test.mjs tests/providers-hooks-dom.test.mjs tests/realtime-dom.test.mjs tests/commons.test.mjs tests/commons-dom.test.mjs tests/overlay.test.mjs tests/buttons-menus.test.mjs tests/buttons-menus-dom.test.mjs tests/menu-logic.test.mjs tests/inputs-i18n.test.mjs tests/inputs-dom.test.mjs tests/datatable-dom.test.mjs tests/period-resolver.test.mjs tests/year-part-resolver.test.mjs tests/gadgets.test.mjs tests/gadgets-dom.test.mjs tests/gauge-math.test.mjs tests/clock-theme-picker.test.mjs tests/wizard.test.mjs tests/wizard-logic.test.mjs tests/utils.test.mjs tests/ai-manifest-props-contract.test.mjs"
86
86
  }
87
87
  }