@seedgrid/fe-components 2026.8.6 → 2026.8.8
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/dist/ai/seedgrid-components.manifest.json +340 -154
- package/dist/commons/SgSkeleton.meta.js +3 -3
- package/dist/commons/SgToastHost.meta.js +1 -1
- package/dist/commons/SgToaster.meta.js +1 -1
- package/dist/commons/SgWhistleHost.meta.d.ts.map +1 -1
- package/dist/commons/SgWhistleHost.meta.js +1 -0
- package/dist/commons/SgWhistler.d.ts +10 -0
- package/dist/commons/SgWhistler.d.ts.map +1 -1
- package/dist/commons/SgWhistler.js +8 -4
- package/dist/commons/SgWhistler.meta.d.ts.map +1 -1
- package/dist/commons/SgWhistler.meta.js +1 -0
- package/dist/commons/dismissSgToast.meta.js +3 -3
- package/dist/commons/dismissSgWhistle.meta.js +3 -3
- package/dist/commons/subscribeSgToasts.meta.js +3 -3
- package/dist/commons/subscribeSgWhistles.meta.js +3 -3
- package/dist/commons/toast.meta.d.ts.map +1 -1
- package/dist/commons/toast.meta.js +32 -11
- package/dist/commons/whistle.meta.d.ts.map +1 -1
- package/dist/commons/whistle.meta.js +27 -9
- package/dist/digits/fade-digit/SgFadeDigit.meta.js +1 -1
- package/dist/digits/matrix-digit/SgMatrixDigit.meta.js +1 -1
- package/dist/digits/roller3d-digit/SgRoller3DDigit.meta.js +1 -1
- package/dist/digits/segment-digit/SgSegmentDigit.meta.js +1 -1
- package/dist/digits/seven-segment-digit/SgSevenSegmentDigit.meta.js +1 -1
- package/dist/environment/useSgEnvironment.meta.js +6 -6
- package/dist/environment/useSgNamespaceProvider.meta.js +2 -2
- package/dist/environment/useSgPersistence.meta.js +6 -6
- package/dist/environment/useSgPersistentState.meta.d.ts.map +1 -1
- package/dist/environment/useSgPersistentState.meta.js +15 -9
- package/dist/gadgets/calendar/SgCalendar.meta.js +1 -1
- package/dist/gadgets/clock/themes/useSgClockThemeResolver.meta.d.ts.map +1 -1
- package/dist/gadgets/clock/themes/useSgClockThemeResolver.meta.js +24 -17
- package/dist/gadgets/clock/useSgTime.meta.js +3 -3
- package/dist/gadgets/qr-code/SgQRCode.meta.js +1 -1
- package/dist/gadgets/string-animator/SgStringAnimator.meta.js +1 -1
- package/dist/i18n/en-US.d.ts.map +1 -1
- package/dist/i18n/en-US.js +1 -0
- package/dist/i18n/es.d.ts.map +1 -1
- package/dist/i18n/es.js +1 -0
- package/dist/i18n/fr.d.ts.map +1 -1
- package/dist/i18n/fr.js +1 -0
- package/dist/i18n/pt-BR.d.ts.map +1 -1
- package/dist/i18n/pt-BR.js +1 -0
- package/dist/i18n/pt-PT.d.ts.map +1 -1
- package/dist/i18n/pt-PT.js +1 -0
- package/dist/i18n/useComponentsI18n.meta.js +6 -6
- package/dist/inputs/SgAutocomplete.js +83 -14
- package/dist/inputs/SgAutocomplete.meta.d.ts.map +1 -1
- package/dist/inputs/SgAutocomplete.meta.js +2 -1
- package/dist/layout/SgCarousel.meta.js +1 -1
- package/dist/layout/SgExpandablePanel.meta.d.ts.map +1 -1
- package/dist/layout/SgExpandablePanel.meta.js +5 -1
- package/dist/layout/SgGrid.meta.js +3 -3
- package/dist/layout/SgMenu.meta.d.ts.map +1 -1
- package/dist/layout/SgMenu.meta.js +39 -3
- package/dist/layout/SgStack.meta.js +3 -3
- package/dist/sandbox.cjs +49 -49
- package/dist/wizard/SgWizard.d.ts +12 -0
- package/dist/wizard/SgWizard.d.ts.map +1 -1
- package/dist/wizard/SgWizard.js +11 -2
- package/dist/wizard/SgWizard.meta.d.ts.map +1 -1
- package/dist/wizard/SgWizard.meta.js +11 -1
- package/dist/wizard/SgWizardPage.meta.js +1 -1
- package/package.json +3 -3
|
@@ -100,7 +100,16 @@
|
|
|
100
100
|
"type": "boolean",
|
|
101
101
|
"required": false,
|
|
102
102
|
"default": false,
|
|
103
|
-
"description": "Abre
|
|
103
|
+
"description": "Abre a lista ao focar; com um item ja selecionado abre a lista completa.",
|
|
104
|
+
"semanticRole": "behavior",
|
|
105
|
+
"bindable": true
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "showDropDownButton",
|
|
109
|
+
"type": "boolean",
|
|
110
|
+
"required": false,
|
|
111
|
+
"default": false,
|
|
112
|
+
"description": "Exibe o botao que abre/fecha a lista. Abre a lista completa quando o texto e uma selecao; preserva o filtro quando o usuario digitou.",
|
|
104
113
|
"semanticRole": "behavior",
|
|
105
114
|
"bindable": true
|
|
106
115
|
},
|
|
@@ -342,11 +351,6 @@
|
|
|
342
351
|
"type": "boolean",
|
|
343
352
|
"required": false
|
|
344
353
|
},
|
|
345
|
-
{
|
|
346
|
-
"name": "showDropDownButton",
|
|
347
|
-
"type": "boolean",
|
|
348
|
-
"required": false
|
|
349
|
-
},
|
|
350
354
|
{
|
|
351
355
|
"name": "suffixText",
|
|
352
356
|
"type": "string",
|
|
@@ -10788,9 +10792,9 @@
|
|
|
10788
10792
|
],
|
|
10789
10793
|
"examples": [
|
|
10790
10794
|
{
|
|
10791
|
-
"id": "basic",
|
|
10792
|
-
"title": "
|
|
10793
|
-
"file": "apps/showcase/src/app/components/sg-skeleton/samples/
|
|
10795
|
+
"id": "basic-shapes",
|
|
10796
|
+
"title": "Formas basicas",
|
|
10797
|
+
"file": "apps/showcase/src/app/components/sg-skeleton/samples/basic-shapes.tsx.sample",
|
|
10794
10798
|
"kind": "sample"
|
|
10795
10799
|
},
|
|
10796
10800
|
{
|
|
@@ -10954,9 +10958,9 @@
|
|
|
10954
10958
|
],
|
|
10955
10959
|
"examples": [
|
|
10956
10960
|
{
|
|
10957
|
-
"id": "
|
|
10958
|
-
"title": "
|
|
10959
|
-
"file": "apps/showcase/src/app/components/sg-toaster/samples/
|
|
10961
|
+
"id": "base-setup",
|
|
10962
|
+
"title": "Setup basico",
|
|
10963
|
+
"file": "apps/showcase/src/app/components/sg-toaster/samples/base-setup.tsx.sample",
|
|
10960
10964
|
"kind": "sample"
|
|
10961
10965
|
},
|
|
10962
10966
|
{
|
|
@@ -11106,9 +11110,9 @@
|
|
|
11106
11110
|
],
|
|
11107
11111
|
"examples": [
|
|
11108
11112
|
{
|
|
11109
|
-
"id": "
|
|
11110
|
-
"title": "
|
|
11111
|
-
"file": "apps/showcase/src/app/components/sg-toast-host/samples/
|
|
11113
|
+
"id": "base-setup",
|
|
11114
|
+
"title": "Setup basico",
|
|
11115
|
+
"file": "apps/showcase/src/app/components/sg-toast-host/samples/base-setup.tsx.sample",
|
|
11112
11116
|
"kind": "sample"
|
|
11113
11117
|
},
|
|
11114
11118
|
{
|
|
@@ -11206,6 +11210,15 @@
|
|
|
11206
11210
|
"semanticRole": "behavior",
|
|
11207
11211
|
"bindable": true
|
|
11208
11212
|
},
|
|
11213
|
+
{
|
|
11214
|
+
"name": "duration",
|
|
11215
|
+
"type": "number",
|
|
11216
|
+
"required": false,
|
|
11217
|
+
"default": 4000,
|
|
11218
|
+
"description": "Duracao padrao dos whistles em milissegundos (mesmo default do SgToaster). Cada whistle sobrescreve com options.duration, que tem prioridade; use 0 (ou negativo) para que nada suma sozinho. Whistle 'loading' nunca expira.",
|
|
11219
|
+
"semanticRole": "behavior",
|
|
11220
|
+
"bindable": true
|
|
11221
|
+
},
|
|
11209
11222
|
{
|
|
11210
11223
|
"name": "newestOnTop",
|
|
11211
11224
|
"type": "boolean",
|
|
@@ -11350,6 +11363,15 @@
|
|
|
11350
11363
|
"semanticRole": "behavior",
|
|
11351
11364
|
"bindable": true
|
|
11352
11365
|
},
|
|
11366
|
+
{
|
|
11367
|
+
"name": "duration",
|
|
11368
|
+
"type": "number",
|
|
11369
|
+
"required": false,
|
|
11370
|
+
"default": 4000,
|
|
11371
|
+
"description": "Duracao padrao aplicada aos whistles deste host, em milissegundos (mesmo default do SgToastHost). Cada whistle sobrescreve com options.duration, que tem prioridade; use 0 (ou negativo) para que nada suma sozinho. Whistle 'loading' nunca expira. Com varios hosts montados, vale o do host ATIVO (o ultimo montado).",
|
|
11372
|
+
"semanticRole": "behavior",
|
|
11373
|
+
"bindable": true
|
|
11374
|
+
},
|
|
11353
11375
|
{
|
|
11354
11376
|
"name": "newestOnTop",
|
|
11355
11377
|
"type": "boolean",
|
|
@@ -11519,8 +11541,7 @@
|
|
|
11519
11541
|
{
|
|
11520
11542
|
"name": "options.duration",
|
|
11521
11543
|
"type": "number",
|
|
11522
|
-
"
|
|
11523
|
-
"description": "Duracao em milissegundos antes de auto-fechar (0 = permanente).",
|
|
11544
|
+
"description": "Duracao em milissegundos deste toast; tem PRIORIDADE sobre o host. Omitir NAO significa permanente: cai no `duration` do SgToaster/SgToastHost, cujo default e' 4000 (4s), igual ao par whistle/SgWhistleHost. Use 0 (ou negativo) para permanente, ate' o usuario fechar. Toast do tipo 'loading' nunca fecha sozinho, qualquer que seja o valor.",
|
|
11524
11545
|
"semanticRole": "behavior",
|
|
11525
11546
|
"bindable": true
|
|
11526
11547
|
},
|
|
@@ -11564,26 +11585,44 @@
|
|
|
11564
11585
|
],
|
|
11565
11586
|
"examples": [
|
|
11566
11587
|
{
|
|
11567
|
-
"id": "
|
|
11568
|
-
"title": "
|
|
11569
|
-
"file": "apps/showcase/src/app/components/
|
|
11588
|
+
"id": "base-setup",
|
|
11589
|
+
"title": "Setup basico (host + toast)",
|
|
11590
|
+
"file": "apps/showcase/src/app/components/sg-toaster/samples/base-setup.tsx.sample",
|
|
11570
11591
|
"kind": "sample"
|
|
11571
11592
|
},
|
|
11572
11593
|
{
|
|
11573
|
-
"id": "
|
|
11574
|
-
"title": "
|
|
11575
|
-
"file": "apps/showcase/src/app/components/
|
|
11594
|
+
"id": "toast-types",
|
|
11595
|
+
"title": "Tipos de toast",
|
|
11596
|
+
"file": "apps/showcase/src/app/components/sg-toaster/samples/toast-types.tsx.sample",
|
|
11576
11597
|
"kind": "sample"
|
|
11577
11598
|
},
|
|
11578
11599
|
{
|
|
11579
|
-
"id": "
|
|
11600
|
+
"id": "options-per-toast",
|
|
11601
|
+
"title": "Opcoes por toast (duration, etc.)",
|
|
11602
|
+
"file": "apps/showcase/src/app/components/sg-toaster/samples/options-per-toast.tsx.sample",
|
|
11603
|
+
"kind": "sample"
|
|
11604
|
+
},
|
|
11605
|
+
{
|
|
11606
|
+
"id": "actions-and-custom-toast",
|
|
11607
|
+
"title": "Acao e toast customizado",
|
|
11608
|
+
"file": "apps/showcase/src/app/components/sg-toaster/samples/actions-and-custom-toast.tsx.sample",
|
|
11609
|
+
"kind": "sample"
|
|
11610
|
+
},
|
|
11611
|
+
{
|
|
11612
|
+
"id": "loading-by-id-update-same-toast",
|
|
11613
|
+
"title": "Loading atualizado pelo id",
|
|
11614
|
+
"file": "apps/showcase/src/app/components/sg-toaster/samples/loading-by-id-update-same-toast.tsx.sample",
|
|
11615
|
+
"kind": "sample"
|
|
11616
|
+
},
|
|
11617
|
+
{
|
|
11618
|
+
"id": "toast-promise",
|
|
11580
11619
|
"title": "Toast com promise",
|
|
11581
|
-
"file": "apps/showcase/src/app/components/
|
|
11620
|
+
"file": "apps/showcase/src/app/components/sg-toaster/samples/toast-promise.tsx.sample",
|
|
11582
11621
|
"kind": "sample"
|
|
11583
11622
|
}
|
|
11584
11623
|
],
|
|
11585
11624
|
"showcase": {
|
|
11586
|
-
"route": "/components/
|
|
11625
|
+
"route": "/components/sg-toaster",
|
|
11587
11626
|
"hasPlayground": true,
|
|
11588
11627
|
"hasPropsTable": true
|
|
11589
11628
|
}
|
|
@@ -11673,18 +11712,18 @@
|
|
|
11673
11712
|
{
|
|
11674
11713
|
"id": "dismiss-one",
|
|
11675
11714
|
"title": "Fechar um toast especifico",
|
|
11676
|
-
"file": "apps/showcase/src/app/components/
|
|
11715
|
+
"file": "apps/showcase/src/app/components/sg-toaster/samples/dismiss-one.tsx.sample",
|
|
11677
11716
|
"kind": "sample"
|
|
11678
11717
|
},
|
|
11679
11718
|
{
|
|
11680
11719
|
"id": "dismiss-all",
|
|
11681
11720
|
"title": "Fechar todos os toasts",
|
|
11682
|
-
"file": "apps/showcase/src/app/components/
|
|
11721
|
+
"file": "apps/showcase/src/app/components/sg-toaster/samples/dismiss-all.tsx.sample",
|
|
11683
11722
|
"kind": "sample"
|
|
11684
11723
|
}
|
|
11685
11724
|
],
|
|
11686
11725
|
"showcase": {
|
|
11687
|
-
"route": "/components/
|
|
11726
|
+
"route": "/components/sg-toaster",
|
|
11688
11727
|
"hasPlayground": true,
|
|
11689
11728
|
"hasPropsTable": true
|
|
11690
11729
|
}
|
|
@@ -11771,18 +11810,18 @@
|
|
|
11771
11810
|
{
|
|
11772
11811
|
"id": "basic",
|
|
11773
11812
|
"title": "Monitorar mudancas de toasts",
|
|
11774
|
-
"file": "apps/showcase/src/app/components/
|
|
11813
|
+
"file": "apps/showcase/src/app/components/sg-toaster/samples/subscribe.tsx.sample",
|
|
11775
11814
|
"kind": "sample"
|
|
11776
11815
|
},
|
|
11777
11816
|
{
|
|
11778
11817
|
"id": "in-effect",
|
|
11779
11818
|
"title": "Usar em useEffect",
|
|
11780
|
-
"file": "apps/showcase/src/app/components/
|
|
11819
|
+
"file": "apps/showcase/src/app/components/sg-toaster/samples/subscribe-effect.tsx.sample",
|
|
11781
11820
|
"kind": "sample"
|
|
11782
11821
|
}
|
|
11783
11822
|
],
|
|
11784
11823
|
"showcase": {
|
|
11785
|
-
"route": "/components/
|
|
11824
|
+
"route": "/components/sg-toaster",
|
|
11786
11825
|
"hasPlayground": false,
|
|
11787
11826
|
"hasPropsTable": true
|
|
11788
11827
|
}
|
|
@@ -11896,7 +11935,7 @@
|
|
|
11896
11935
|
{
|
|
11897
11936
|
"name": "options.duration",
|
|
11898
11937
|
"type": "number",
|
|
11899
|
-
"description": "Duracao em milissegundos (0
|
|
11938
|
+
"description": "Duracao em milissegundos deste whistle; tem PRIORIDADE sobre o host. Omitir NAO significa permanente: cai no `duration` do SgWhistler/SgWhistleHost, cujo default e' 4000 (4s), igual ao par toast/SgToastHost. Use 0 (ou negativo) para permanente, ate' o usuario fechar no x — obrigatorio quando o aviso bloqueia uma acao ou carrega um botao de acao, porque sumir leva embora a informacao e o caminho de saida junto. Severidade 'loading' nunca expira sozinha.",
|
|
11900
11939
|
"semanticRole": "behavior",
|
|
11901
11940
|
"bindable": true
|
|
11902
11941
|
},
|
|
@@ -11962,26 +12001,44 @@
|
|
|
11962
12001
|
],
|
|
11963
12002
|
"examples": [
|
|
11964
12003
|
{
|
|
11965
|
-
"id": "
|
|
11966
|
-
"title": "
|
|
11967
|
-
"file": "apps/showcase/src/app/components/
|
|
12004
|
+
"id": "base-setup",
|
|
12005
|
+
"title": "Setup basico (host + sgWhistle)",
|
|
12006
|
+
"file": "apps/showcase/src/app/components/sg-whistler/samples/base-setup.tsx.sample",
|
|
12007
|
+
"kind": "sample"
|
|
12008
|
+
},
|
|
12009
|
+
{
|
|
12010
|
+
"id": "severities-and-stack",
|
|
12011
|
+
"title": "Severidades e empilhamento",
|
|
12012
|
+
"file": "apps/showcase/src/app/components/sg-whistler/samples/severities-and-stack.tsx.sample",
|
|
12013
|
+
"kind": "sample"
|
|
12014
|
+
},
|
|
12015
|
+
{
|
|
12016
|
+
"id": "actions-border-opacity",
|
|
12017
|
+
"title": "Acao, borda e opacidade",
|
|
12018
|
+
"file": "apps/showcase/src/app/components/sg-whistler/samples/actions-border-opacity.tsx.sample",
|
|
12019
|
+
"kind": "sample"
|
|
12020
|
+
},
|
|
12021
|
+
{
|
|
12022
|
+
"id": "update-by-id",
|
|
12023
|
+
"title": "Substituir/atualizar pelo id",
|
|
12024
|
+
"file": "apps/showcase/src/app/components/sg-whistler/samples/update-by-id.tsx.sample",
|
|
11968
12025
|
"kind": "sample"
|
|
11969
12026
|
},
|
|
11970
12027
|
{
|
|
11971
|
-
"id": "
|
|
11972
|
-
"title": "
|
|
11973
|
-
"file": "apps/showcase/src/app/components/
|
|
12028
|
+
"id": "custom-renderer-and-colors",
|
|
12029
|
+
"title": "Renderer e cores customizados",
|
|
12030
|
+
"file": "apps/showcase/src/app/components/sg-whistler/samples/custom-renderer-and-colors.tsx.sample",
|
|
11974
12031
|
"kind": "sample"
|
|
11975
12032
|
},
|
|
11976
12033
|
{
|
|
11977
12034
|
"id": "promise",
|
|
11978
12035
|
"title": "Whistle com promise",
|
|
11979
|
-
"file": "apps/showcase/src/app/components/
|
|
12036
|
+
"file": "apps/showcase/src/app/components/sg-whistler/samples/promise.tsx.sample",
|
|
11980
12037
|
"kind": "sample"
|
|
11981
12038
|
}
|
|
11982
12039
|
],
|
|
11983
12040
|
"showcase": {
|
|
11984
|
-
"route": "/components/
|
|
12041
|
+
"route": "/components/sg-whistler",
|
|
11985
12042
|
"hasPlayground": true,
|
|
11986
12043
|
"hasPropsTable": true
|
|
11987
12044
|
}
|
|
@@ -12072,18 +12129,18 @@
|
|
|
12072
12129
|
{
|
|
12073
12130
|
"id": "dismiss-one",
|
|
12074
12131
|
"title": "Fechar um whistle especifico",
|
|
12075
|
-
"file": "apps/showcase/src/app/components/
|
|
12132
|
+
"file": "apps/showcase/src/app/components/sg-whistler/samples/dismiss-one.tsx.sample",
|
|
12076
12133
|
"kind": "sample"
|
|
12077
12134
|
},
|
|
12078
12135
|
{
|
|
12079
12136
|
"id": "dismiss-all",
|
|
12080
12137
|
"title": "Fechar todos os whistles",
|
|
12081
|
-
"file": "apps/showcase/src/app/components/
|
|
12138
|
+
"file": "apps/showcase/src/app/components/sg-whistler/samples/dismiss-all.tsx.sample",
|
|
12082
12139
|
"kind": "sample"
|
|
12083
12140
|
}
|
|
12084
12141
|
],
|
|
12085
12142
|
"showcase": {
|
|
12086
|
-
"route": "/components/
|
|
12143
|
+
"route": "/components/sg-whistler",
|
|
12087
12144
|
"hasPlayground": true,
|
|
12088
12145
|
"hasPropsTable": true
|
|
12089
12146
|
}
|
|
@@ -12170,18 +12227,18 @@
|
|
|
12170
12227
|
{
|
|
12171
12228
|
"id": "basic",
|
|
12172
12229
|
"title": "Monitorar mudancas de whistles",
|
|
12173
|
-
"file": "apps/showcase/src/app/components/
|
|
12230
|
+
"file": "apps/showcase/src/app/components/sg-whistler/samples/subscribe.tsx.sample",
|
|
12174
12231
|
"kind": "sample"
|
|
12175
12232
|
},
|
|
12176
12233
|
{
|
|
12177
12234
|
"id": "in-effect",
|
|
12178
12235
|
"title": "Usar em useEffect",
|
|
12179
|
-
"file": "apps/showcase/src/app/components/
|
|
12236
|
+
"file": "apps/showcase/src/app/components/sg-whistler/samples/subscribe-effect.tsx.sample",
|
|
12180
12237
|
"kind": "sample"
|
|
12181
12238
|
}
|
|
12182
12239
|
],
|
|
12183
12240
|
"showcase": {
|
|
12184
|
-
"route": "/components/
|
|
12241
|
+
"route": "/components/sg-whistler",
|
|
12185
12242
|
"hasPlayground": false,
|
|
12186
12243
|
"hasPropsTable": true
|
|
12187
12244
|
}
|
|
@@ -13922,9 +13979,9 @@
|
|
|
13922
13979
|
],
|
|
13923
13980
|
"examples": [
|
|
13924
13981
|
{
|
|
13925
|
-
"id": "
|
|
13926
|
-
"title": "Basico",
|
|
13927
|
-
"file": "apps/showcase/src/app/components/sg-carousel/samples/basico.tsx.sample",
|
|
13982
|
+
"id": "basico-horizontal",
|
|
13983
|
+
"title": "Basico horizontal",
|
|
13984
|
+
"file": "apps/showcase/src/app/components/sg-carousel/samples/basico-horizontal.tsx.sample",
|
|
13928
13985
|
"kind": "sample"
|
|
13929
13986
|
},
|
|
13930
13987
|
{
|
|
@@ -14618,9 +14675,33 @@
|
|
|
14618
14675
|
],
|
|
14619
14676
|
"examples": [
|
|
14620
14677
|
{
|
|
14621
|
-
"id": "
|
|
14622
|
-
"title": "
|
|
14623
|
-
"file": "apps/showcase/src/app/components/sg-expandable-panel/samples/
|
|
14678
|
+
"id": "inline-controlado-resize",
|
|
14679
|
+
"title": "Inline controlado com resize",
|
|
14680
|
+
"file": "apps/showcase/src/app/components/sg-expandable-panel/samples/inline-controlado-resize.tsx.sample",
|
|
14681
|
+
"kind": "sample"
|
|
14682
|
+
},
|
|
14683
|
+
{
|
|
14684
|
+
"id": "overlay-comportamento",
|
|
14685
|
+
"title": "Comportamento em overlay",
|
|
14686
|
+
"file": "apps/showcase/src/app/components/sg-expandable-panel/samples/overlay-comportamento.tsx.sample",
|
|
14687
|
+
"kind": "sample"
|
|
14688
|
+
},
|
|
14689
|
+
{
|
|
14690
|
+
"id": "default-open-estilizacao",
|
|
14691
|
+
"title": "Aberto por padrao e estilizacao",
|
|
14692
|
+
"file": "apps/showcase/src/app/components/sg-expandable-panel/samples/default-open-estilizacao.tsx.sample",
|
|
14693
|
+
"kind": "sample"
|
|
14694
|
+
},
|
|
14695
|
+
{
|
|
14696
|
+
"id": "acessibilidade-fade",
|
|
14697
|
+
"title": "Acessibilidade e fade",
|
|
14698
|
+
"file": "apps/showcase/src/app/components/sg-expandable-panel/samples/acessibilidade-fade.tsx.sample",
|
|
14699
|
+
"kind": "sample"
|
|
14700
|
+
},
|
|
14701
|
+
{
|
|
14702
|
+
"id": "sem-backdrop-animation-none",
|
|
14703
|
+
"title": "Sem backdrop e sem animacao",
|
|
14704
|
+
"file": "apps/showcase/src/app/components/sg-expandable-panel/samples/sem-backdrop-animation-none.tsx.sample",
|
|
14624
14705
|
"kind": "sample"
|
|
14625
14706
|
},
|
|
14626
14707
|
{
|
|
@@ -14792,9 +14873,9 @@
|
|
|
14792
14873
|
],
|
|
14793
14874
|
"examples": [
|
|
14794
14875
|
{
|
|
14795
|
-
"id": "
|
|
14796
|
-
"title": "
|
|
14797
|
-
"file": "apps/showcase/src/app/components/sg-grid/samples/
|
|
14876
|
+
"id": "columns-responsivo",
|
|
14877
|
+
"title": "Columns responsivo",
|
|
14878
|
+
"file": "apps/showcase/src/app/components/sg-grid/samples/columns-responsivo.tsx.sample",
|
|
14798
14879
|
"kind": "sample"
|
|
14799
14880
|
},
|
|
14800
14881
|
{
|
|
@@ -15296,9 +15377,45 @@
|
|
|
15296
15377
|
],
|
|
15297
15378
|
"examples": [
|
|
15298
15379
|
{
|
|
15299
|
-
"id": "
|
|
15300
|
-
"title": "
|
|
15301
|
-
"file": "apps/showcase/src/app/components/sg-menu/samples/
|
|
15380
|
+
"id": "sidebar-fixa",
|
|
15381
|
+
"title": "Sidebar fixa",
|
|
15382
|
+
"file": "apps/showcase/src/app/components/sg-menu/samples/sidebar-fixa.tsx.sample",
|
|
15383
|
+
"kind": "sample"
|
|
15384
|
+
},
|
|
15385
|
+
{
|
|
15386
|
+
"id": "drawer-mobile",
|
|
15387
|
+
"title": "Drawer mobile",
|
|
15388
|
+
"file": "apps/showcase/src/app/components/sg-menu/samples/drawer-mobile.tsx.sample",
|
|
15389
|
+
"kind": "sample"
|
|
15390
|
+
},
|
|
15391
|
+
{
|
|
15392
|
+
"id": "panel-menu",
|
|
15393
|
+
"title": "Panel menu",
|
|
15394
|
+
"file": "apps/showcase/src/app/components/sg-menu/samples/panel-menu.tsx.sample",
|
|
15395
|
+
"kind": "sample"
|
|
15396
|
+
},
|
|
15397
|
+
{
|
|
15398
|
+
"id": "tiered",
|
|
15399
|
+
"title": "Menu em niveis",
|
|
15400
|
+
"file": "apps/showcase/src/app/components/sg-menu/samples/tiered.tsx.sample",
|
|
15401
|
+
"kind": "sample"
|
|
15402
|
+
},
|
|
15403
|
+
{
|
|
15404
|
+
"id": "mega-menu-horizontal",
|
|
15405
|
+
"title": "Mega menu horizontal",
|
|
15406
|
+
"file": "apps/showcase/src/app/components/sg-menu/samples/mega-menu-horizontal.tsx.sample",
|
|
15407
|
+
"kind": "sample"
|
|
15408
|
+
},
|
|
15409
|
+
{
|
|
15410
|
+
"id": "mega-menu-vertical",
|
|
15411
|
+
"title": "Mega menu vertical",
|
|
15412
|
+
"file": "apps/showcase/src/app/components/sg-menu/samples/mega-menu-vertical.tsx.sample",
|
|
15413
|
+
"kind": "sample"
|
|
15414
|
+
},
|
|
15415
|
+
{
|
|
15416
|
+
"id": "sidebar-dockable",
|
|
15417
|
+
"title": "Sidebar dockable",
|
|
15418
|
+
"file": "apps/showcase/src/app/components/sg-menu/samples/sidebar-dockable.tsx.sample",
|
|
15302
15419
|
"kind": "sample"
|
|
15303
15420
|
},
|
|
15304
15421
|
{
|
|
@@ -16265,9 +16382,9 @@
|
|
|
16265
16382
|
],
|
|
16266
16383
|
"examples": [
|
|
16267
16384
|
{
|
|
16268
|
-
"id": "
|
|
16269
|
-
"title": "
|
|
16270
|
-
"file": "apps/showcase/src/app/components/sg-stack/samples/
|
|
16385
|
+
"id": "column-row",
|
|
16386
|
+
"title": "Column e row",
|
|
16387
|
+
"file": "apps/showcase/src/app/components/sg-stack/samples/column-row.tsx.sample",
|
|
16271
16388
|
"kind": "sample"
|
|
16272
16389
|
},
|
|
16273
16390
|
{
|
|
@@ -17303,6 +17420,31 @@
|
|
|
17303
17420
|
"semanticRole": "validation",
|
|
17304
17421
|
"bindable": false
|
|
17305
17422
|
},
|
|
17423
|
+
{
|
|
17424
|
+
"name": "onBeforeNext",
|
|
17425
|
+
"type": "(index: number) => boolean | Promise<boolean>",
|
|
17426
|
+
"required": false,
|
|
17427
|
+
"description": "Roda ao clicar em Proximo; devolver false (ou uma Promise<false>) impede o avanco. Enquanto e aguardado, o botao fica desabilitado.",
|
|
17428
|
+
"semanticRole": "validation",
|
|
17429
|
+
"bindable": false
|
|
17430
|
+
},
|
|
17431
|
+
{
|
|
17432
|
+
"name": "onBeforeFinish",
|
|
17433
|
+
"type": "(index: number) => boolean | Promise<boolean>",
|
|
17434
|
+
"required": false,
|
|
17435
|
+
"description": "Roda ao clicar em concluir; devolver false impede a finalizacao.",
|
|
17436
|
+
"semanticRole": "validation",
|
|
17437
|
+
"bindable": false
|
|
17438
|
+
},
|
|
17439
|
+
{
|
|
17440
|
+
"name": "nextDisabled",
|
|
17441
|
+
"type": "boolean",
|
|
17442
|
+
"required": false,
|
|
17443
|
+
"default": false,
|
|
17444
|
+
"description": "Desabilita o avanco de forma declarativa: o botao Proximo fica desabilitado e o stepper para de oferecer as etapas seguintes. Use quando o bloqueio JA e conhecido (ex.: uma checagem assincrona ja resolveu que a etapa nao pode avancar) — onBeforeNext/validateStep so agem no clique e deixam o botao com aparencia de clicavel. Nao afeta o botao da ultima etapa; para isso use onBeforeFinish.",
|
|
17445
|
+
"semanticRole": "behavior",
|
|
17446
|
+
"bindable": true
|
|
17447
|
+
},
|
|
17306
17448
|
{
|
|
17307
17449
|
"name": "onStepChange",
|
|
17308
17450
|
"type": "(index: number) => void",
|
|
@@ -17323,16 +17465,6 @@
|
|
|
17323
17465
|
"name": "labels",
|
|
17324
17466
|
"type": "Partial<SgWizardLabels>",
|
|
17325
17467
|
"required": false
|
|
17326
|
-
},
|
|
17327
|
-
{
|
|
17328
|
-
"name": "onBeforeFinish",
|
|
17329
|
-
"type": "((index: number) => boolean | Promise<boolean>)",
|
|
17330
|
-
"required": false
|
|
17331
|
-
},
|
|
17332
|
-
{
|
|
17333
|
-
"name": "onBeforeNext",
|
|
17334
|
-
"type": "((index: number) => boolean | Promise<boolean>)",
|
|
17335
|
-
"required": false
|
|
17336
17468
|
}
|
|
17337
17469
|
],
|
|
17338
17470
|
"states": [
|
|
@@ -17343,9 +17475,51 @@
|
|
|
17343
17475
|
],
|
|
17344
17476
|
"examples": [
|
|
17345
17477
|
{
|
|
17346
|
-
"id": "
|
|
17347
|
-
"title": "
|
|
17348
|
-
"file": "apps/showcase/src/app/components/sg-wizard/samples/
|
|
17478
|
+
"id": "validacao-automatica",
|
|
17479
|
+
"title": "Validacao automatica",
|
|
17480
|
+
"file": "apps/showcase/src/app/components/sg-wizard/samples/validacao-automatica.tsx.sample",
|
|
17481
|
+
"kind": "sample"
|
|
17482
|
+
},
|
|
17483
|
+
{
|
|
17484
|
+
"id": "validatestep",
|
|
17485
|
+
"title": "validateStep",
|
|
17486
|
+
"file": "apps/showcase/src/app/components/sg-wizard/samples/validatestep.tsx.sample",
|
|
17487
|
+
"kind": "sample"
|
|
17488
|
+
},
|
|
17489
|
+
{
|
|
17490
|
+
"id": "onbeforenext-async",
|
|
17491
|
+
"title": "onBeforeNext assincrono",
|
|
17492
|
+
"file": "apps/showcase/src/app/components/sg-wizard/samples/onbeforenext-async.tsx.sample",
|
|
17493
|
+
"kind": "sample"
|
|
17494
|
+
},
|
|
17495
|
+
{
|
|
17496
|
+
"id": "nextdisabled",
|
|
17497
|
+
"title": "Avanco bloqueado (nextDisabled)",
|
|
17498
|
+
"file": "apps/showcase/src/app/components/sg-wizard/samples/nextdisabled.tsx.sample",
|
|
17499
|
+
"kind": "sample"
|
|
17500
|
+
},
|
|
17501
|
+
{
|
|
17502
|
+
"id": "stepnavigation",
|
|
17503
|
+
"title": "stepNavigation",
|
|
17504
|
+
"file": "apps/showcase/src/app/components/sg-wizard/samples/stepnavigation.tsx.sample",
|
|
17505
|
+
"kind": "sample"
|
|
17506
|
+
},
|
|
17507
|
+
{
|
|
17508
|
+
"id": "stepper-numerado",
|
|
17509
|
+
"title": "Stepper numerado",
|
|
17510
|
+
"file": "apps/showcase/src/app/components/sg-wizard/samples/stepper-numerado.tsx.sample",
|
|
17511
|
+
"kind": "sample"
|
|
17512
|
+
},
|
|
17513
|
+
{
|
|
17514
|
+
"id": "stepper-com-icones",
|
|
17515
|
+
"title": "Stepper com icones",
|
|
17516
|
+
"file": "apps/showcase/src/app/components/sg-wizard/samples/stepper-com-icones.tsx.sample",
|
|
17517
|
+
"kind": "sample"
|
|
17518
|
+
},
|
|
17519
|
+
{
|
|
17520
|
+
"id": "labels-customizados",
|
|
17521
|
+
"title": "Labels customizados",
|
|
17522
|
+
"file": "apps/showcase/src/app/components/sg-wizard/samples/labels-customizados.tsx.sample",
|
|
17349
17523
|
"kind": "sample"
|
|
17350
17524
|
},
|
|
17351
17525
|
{
|
|
@@ -17481,9 +17655,9 @@
|
|
|
17481
17655
|
],
|
|
17482
17656
|
"examples": [
|
|
17483
17657
|
{
|
|
17484
|
-
"id": "
|
|
17485
|
-
"title": "
|
|
17486
|
-
"file": "apps/showcase/src/app/components/sg-wizard/samples/
|
|
17658
|
+
"id": "validacao-automatica",
|
|
17659
|
+
"title": "Validacao automatica",
|
|
17660
|
+
"file": "apps/showcase/src/app/components/sg-wizard/samples/validacao-automatica.tsx.sample",
|
|
17487
17661
|
"kind": "sample"
|
|
17488
17662
|
}
|
|
17489
17663
|
],
|
|
@@ -17702,9 +17876,9 @@
|
|
|
17702
17876
|
],
|
|
17703
17877
|
"examples": [
|
|
17704
17878
|
{
|
|
17705
|
-
"id": "
|
|
17706
|
-
"title": "Basico",
|
|
17707
|
-
"file": "apps/showcase/src/app/components/gadgets/sg-calendar/samples/basico.tsx.sample",
|
|
17879
|
+
"id": "basico-mes-atual",
|
|
17880
|
+
"title": "Basico (mes atual)",
|
|
17881
|
+
"file": "apps/showcase/src/app/components/gadgets/sg-calendar/samples/basico-mes-atual.tsx.sample",
|
|
17708
17882
|
"kind": "sample"
|
|
17709
17883
|
},
|
|
17710
17884
|
{
|
|
@@ -18164,9 +18338,9 @@
|
|
|
18164
18338
|
],
|
|
18165
18339
|
"examples": [
|
|
18166
18340
|
{
|
|
18167
|
-
"id": "
|
|
18168
|
-
"title": "
|
|
18169
|
-
"file": "apps/showcase/src/app/components/hooks/use-sg-time/samples/
|
|
18341
|
+
"id": "uso-basico",
|
|
18342
|
+
"title": "Uso basico",
|
|
18343
|
+
"file": "apps/showcase/src/app/components/hooks/use-sg-time/samples/uso-basico.tsx.sample",
|
|
18170
18344
|
"kind": "sample"
|
|
18171
18345
|
}
|
|
18172
18346
|
],
|
|
@@ -18424,50 +18598,56 @@
|
|
|
18424
18598
|
],
|
|
18425
18599
|
"props": [
|
|
18426
18600
|
{
|
|
18427
|
-
"name": "returns
|
|
18428
|
-
"type": "
|
|
18429
|
-
"description": "
|
|
18430
|
-
"semanticRole": "
|
|
18431
|
-
"bindable":
|
|
18601
|
+
"name": "returns",
|
|
18602
|
+
"type": "SgClockThemeResolver | null",
|
|
18603
|
+
"description": "Resolvedor do SgClockThemeProvider mais proximo. Fora de um provider o hook devolve null — nao ha fallback implicito.",
|
|
18604
|
+
"semanticRole": "data",
|
|
18605
|
+
"bindable": false
|
|
18432
18606
|
},
|
|
18433
18607
|
{
|
|
18434
|
-
"name": "returns.
|
|
18435
|
-
"type": "(
|
|
18436
|
-
"description": "
|
|
18608
|
+
"name": "returns.resolve",
|
|
18609
|
+
"type": "(id: string) => SgClockTheme | null",
|
|
18610
|
+
"description": "Resolve um tema pelo id. No modo fallback do provider, um id desconhecido cai no fallbackThemeId; no modo strict devolve null.",
|
|
18437
18611
|
"semanticRole": "data",
|
|
18438
18612
|
"bindable": false
|
|
18439
18613
|
},
|
|
18440
18614
|
{
|
|
18441
|
-
"name": "returns.
|
|
18442
|
-
"type": "
|
|
18443
|
-
"description": "
|
|
18615
|
+
"name": "returns.list",
|
|
18616
|
+
"type": "() => SgClockTheme[]",
|
|
18617
|
+
"description": "Temas visiveis para esta arvore: os globais do registry mais os locais do provider, ordenados por `order`.",
|
|
18444
18618
|
"semanticRole": "data",
|
|
18445
18619
|
"bindable": false
|
|
18446
18620
|
},
|
|
18447
18621
|
{
|
|
18448
|
-
"name": "returns.
|
|
18449
|
-
"type": "(
|
|
18450
|
-
"description": "
|
|
18622
|
+
"name": "returns.registerLocal",
|
|
18623
|
+
"type": "(theme: SgClockTheme) => void",
|
|
18624
|
+
"description": "Registra um tema apenas nesta arvore, sem tocar no registry global.",
|
|
18625
|
+
"semanticRole": "behavior",
|
|
18626
|
+
"bindable": false
|
|
18627
|
+
},
|
|
18628
|
+
{
|
|
18629
|
+
"name": "returns.registerManyLocal",
|
|
18630
|
+
"type": "(themes: SgClockTheme[]) => void",
|
|
18631
|
+
"description": "Mesma coisa que registerLocal, para uma lista.",
|
|
18451
18632
|
"semanticRole": "behavior",
|
|
18452
18633
|
"bindable": false
|
|
18453
18634
|
}
|
|
18454
18635
|
],
|
|
18455
18636
|
"states": [
|
|
18456
|
-
"
|
|
18457
|
-
"
|
|
18458
|
-
"
|
|
18459
|
-
"custom"
|
|
18637
|
+
"fallback",
|
|
18638
|
+
"strict",
|
|
18639
|
+
"sem-provider"
|
|
18460
18640
|
],
|
|
18461
18641
|
"examples": [
|
|
18462
18642
|
{
|
|
18463
18643
|
"id": "basic",
|
|
18464
18644
|
"title": "Resolver e alternar temas",
|
|
18465
|
-
"file": "apps/showcase/src/app/components/
|
|
18645
|
+
"file": "apps/showcase/src/app/components/providers/sg-clock-theme-provider/samples/resolver-hook.tsx.sample",
|
|
18466
18646
|
"kind": "sample"
|
|
18467
18647
|
}
|
|
18468
18648
|
],
|
|
18469
18649
|
"showcase": {
|
|
18470
|
-
"route": "/components/
|
|
18650
|
+
"route": "/components/providers/sg-clock-theme-provider",
|
|
18471
18651
|
"hasPlayground": true,
|
|
18472
18652
|
"hasPropsTable": true
|
|
18473
18653
|
}
|
|
@@ -19531,9 +19711,9 @@
|
|
|
19531
19711
|
],
|
|
19532
19712
|
"examples": [
|
|
19533
19713
|
{
|
|
19534
|
-
"id": "interactive",
|
|
19535
|
-
"title": "
|
|
19536
|
-
"file": "apps/showcase/src/app/components/gadgets/sg-qr-code/samples/
|
|
19714
|
+
"id": "interactive-example",
|
|
19715
|
+
"title": "Exemplo interativo",
|
|
19716
|
+
"file": "apps/showcase/src/app/components/gadgets/sg-qr-code/samples/interactive-example.tsx.sample",
|
|
19537
19717
|
"kind": "sample"
|
|
19538
19718
|
},
|
|
19539
19719
|
{
|
|
@@ -19716,9 +19896,9 @@
|
|
|
19716
19896
|
],
|
|
19717
19897
|
"examples": [
|
|
19718
19898
|
{
|
|
19719
|
-
"id": "
|
|
19720
|
-
"title": "Roller 3D",
|
|
19721
|
-
"file": "apps/showcase/src/app/components/gadgets/sg-string-animator/samples/
|
|
19899
|
+
"id": "roller-3d",
|
|
19900
|
+
"title": "Roller 3D (numeros)",
|
|
19901
|
+
"file": "apps/showcase/src/app/components/gadgets/sg-string-animator/samples/roller-3d-numeros-right-aligned.tsx.sample",
|
|
19722
19902
|
"kind": "sample"
|
|
19723
19903
|
},
|
|
19724
19904
|
{
|
|
@@ -20053,9 +20233,9 @@
|
|
|
20053
20233
|
],
|
|
20054
20234
|
"examples": [
|
|
20055
20235
|
{
|
|
20056
|
-
"id": "
|
|
20057
|
-
"title": "Basico",
|
|
20058
|
-
"file": "apps/showcase/src/app/components/digits/sg-fade-digit/samples/basico.tsx.sample",
|
|
20236
|
+
"id": "basico-0-9",
|
|
20237
|
+
"title": "Basico (0-9)",
|
|
20238
|
+
"file": "apps/showcase/src/app/components/digits/sg-fade-digit/samples/basico-0-9.tsx.sample",
|
|
20059
20239
|
"kind": "sample"
|
|
20060
20240
|
},
|
|
20061
20241
|
{
|
|
@@ -20385,9 +20565,9 @@
|
|
|
20385
20565
|
],
|
|
20386
20566
|
"examples": [
|
|
20387
20567
|
{
|
|
20388
|
-
"id": "
|
|
20389
|
-
"title": "Basico",
|
|
20390
|
-
"file": "apps/showcase/src/app/components/digits/sg-matrix-digit/samples/basico.tsx.sample",
|
|
20568
|
+
"id": "basico-0-9",
|
|
20569
|
+
"title": "Basico (0-9)",
|
|
20570
|
+
"file": "apps/showcase/src/app/components/digits/sg-matrix-digit/samples/basico-0-9.tsx.sample",
|
|
20391
20571
|
"kind": "sample"
|
|
20392
20572
|
},
|
|
20393
20573
|
{
|
|
@@ -20743,9 +20923,9 @@
|
|
|
20743
20923
|
],
|
|
20744
20924
|
"examples": [
|
|
20745
20925
|
{
|
|
20746
|
-
"id": "
|
|
20747
|
-
"title": "Basico",
|
|
20748
|
-
"file": "apps/showcase/src/app/components/digits/sg-roller3d-digit/samples/basico.tsx.sample",
|
|
20926
|
+
"id": "basico-0-9",
|
|
20927
|
+
"title": "Basico (0-9)",
|
|
20928
|
+
"file": "apps/showcase/src/app/components/digits/sg-roller3d-digit/samples/basico-0-9.tsx.sample",
|
|
20749
20929
|
"kind": "sample"
|
|
20750
20930
|
},
|
|
20751
20931
|
{
|
|
@@ -20891,9 +21071,9 @@
|
|
|
20891
21071
|
],
|
|
20892
21072
|
"examples": [
|
|
20893
21073
|
{
|
|
20894
|
-
"id": "
|
|
20895
|
-
"title": "Basico",
|
|
20896
|
-
"file": "apps/showcase/src/app/components/digits/sg-segment-digit/samples/basico.tsx.sample",
|
|
21074
|
+
"id": "basico-0-9",
|
|
21075
|
+
"title": "Basico (0-9)",
|
|
21076
|
+
"file": "apps/showcase/src/app/components/digits/sg-segment-digit/samples/basico-0-9.tsx.sample",
|
|
20897
21077
|
"kind": "sample"
|
|
20898
21078
|
},
|
|
20899
21079
|
{
|
|
@@ -21093,9 +21273,9 @@
|
|
|
21093
21273
|
],
|
|
21094
21274
|
"examples": [
|
|
21095
21275
|
{
|
|
21096
|
-
"id": "
|
|
21097
|
-
"title": "Basico",
|
|
21098
|
-
"file": "apps/showcase/src/app/components/digits/sg-seven-segment-digit/samples/basico.tsx.sample",
|
|
21276
|
+
"id": "basico-0-9",
|
|
21277
|
+
"title": "Basico (0-9)",
|
|
21278
|
+
"file": "apps/showcase/src/app/components/digits/sg-seven-segment-digit/samples/basico-0-9.tsx.sample",
|
|
21099
21279
|
"kind": "sample"
|
|
21100
21280
|
},
|
|
21101
21281
|
{
|
|
@@ -21383,15 +21563,15 @@
|
|
|
21383
21563
|
],
|
|
21384
21564
|
"examples": [
|
|
21385
21565
|
{
|
|
21386
|
-
"id": "
|
|
21387
|
-
"title": "
|
|
21388
|
-
"file": "apps/showcase/src/app/components/hooks/use-sg-environment/samples/
|
|
21566
|
+
"id": "default-sem-provider",
|
|
21567
|
+
"title": "Default sem provider",
|
|
21568
|
+
"file": "apps/showcase/src/app/components/hooks/use-sg-environment/samples/default-sem-provider.tsx.sample",
|
|
21389
21569
|
"kind": "sample"
|
|
21390
21570
|
},
|
|
21391
21571
|
{
|
|
21392
|
-
"id": "
|
|
21393
|
-
"title": "Com
|
|
21394
|
-
"file": "apps/showcase/src/app/components/hooks/use-sg-environment/samples/
|
|
21572
|
+
"id": "com-provider",
|
|
21573
|
+
"title": "Com provider",
|
|
21574
|
+
"file": "apps/showcase/src/app/components/hooks/use-sg-environment/samples/com-provider.tsx.sample",
|
|
21395
21575
|
"kind": "sample"
|
|
21396
21576
|
}
|
|
21397
21577
|
],
|
|
@@ -21482,12 +21662,12 @@
|
|
|
21482
21662
|
{
|
|
21483
21663
|
"id": "basic",
|
|
21484
21664
|
"title": "Obter namespace atual",
|
|
21485
|
-
"file": "apps/showcase/src/app/components/
|
|
21665
|
+
"file": "apps/showcase/src/app/components/providers/sg-environment-provider/samples/namespace-provider-hook.tsx.sample",
|
|
21486
21666
|
"kind": "sample"
|
|
21487
21667
|
}
|
|
21488
21668
|
],
|
|
21489
21669
|
"showcase": {
|
|
21490
|
-
"route": "/components/
|
|
21670
|
+
"route": "/components/providers/sg-environment-provider",
|
|
21491
21671
|
"hasPlayground": false,
|
|
21492
21672
|
"hasPropsTable": true
|
|
21493
21673
|
}
|
|
@@ -21615,15 +21795,15 @@
|
|
|
21615
21795
|
],
|
|
21616
21796
|
"examples": [
|
|
21617
21797
|
{
|
|
21618
|
-
"id": "
|
|
21619
|
-
"title": "
|
|
21620
|
-
"file": "apps/showcase/src/app/components/hooks/use-sg-persistence/samples/
|
|
21798
|
+
"id": "uso-basico",
|
|
21799
|
+
"title": "Uso basico",
|
|
21800
|
+
"file": "apps/showcase/src/app/components/hooks/use-sg-persistence/samples/uso-basico.tsx.sample",
|
|
21621
21801
|
"kind": "sample"
|
|
21622
21802
|
},
|
|
21623
21803
|
{
|
|
21624
|
-
"id": "
|
|
21625
|
-
"title": "
|
|
21626
|
-
"file": "apps/showcase/src/app/components/hooks/use-sg-persistence/samples/
|
|
21804
|
+
"id": "quando-usar-vs-persistent-state",
|
|
21805
|
+
"title": "Quando usar vs useSgPersistentState",
|
|
21806
|
+
"file": "apps/showcase/src/app/components/hooks/use-sg-persistence/samples/quando-usar-vs-persistent-state.tsx.sample",
|
|
21627
21807
|
"kind": "sample"
|
|
21628
21808
|
}
|
|
21629
21809
|
],
|
|
@@ -21753,21 +21933,27 @@
|
|
|
21753
21933
|
],
|
|
21754
21934
|
"examples": [
|
|
21755
21935
|
{
|
|
21756
|
-
"id": "
|
|
21757
|
-
"title": "
|
|
21758
|
-
"file": "apps/showcase/src/app/components/hooks/use-sg-persistent-state/samples/
|
|
21936
|
+
"id": "uso-basico",
|
|
21937
|
+
"title": "Uso basico",
|
|
21938
|
+
"file": "apps/showcase/src/app/components/hooks/use-sg-persistent-state/samples/uso-basico.tsx.sample",
|
|
21759
21939
|
"kind": "sample"
|
|
21760
21940
|
},
|
|
21761
21941
|
{
|
|
21762
|
-
"id": "
|
|
21763
|
-
"title": "
|
|
21764
|
-
"file": "apps/showcase/src/app/components/hooks/use-sg-persistent-state/samples/
|
|
21942
|
+
"id": "serializacao-customizada",
|
|
21943
|
+
"title": "Serializacao customizada",
|
|
21944
|
+
"file": "apps/showcase/src/app/components/hooks/use-sg-persistent-state/samples/serialize-e-deserialize-customizados.tsx.sample",
|
|
21765
21945
|
"kind": "sample"
|
|
21766
21946
|
},
|
|
21767
21947
|
{
|
|
21768
|
-
"id": "
|
|
21769
|
-
"title": "
|
|
21770
|
-
"file": "apps/showcase/src/app/components/hooks/use-sg-persistent-state/samples/
|
|
21948
|
+
"id": "com-isolamento-por-namespace",
|
|
21949
|
+
"title": "Isolamento por namespace",
|
|
21950
|
+
"file": "apps/showcase/src/app/components/hooks/use-sg-persistent-state/samples/com-isolamento-por-namespace.tsx.sample",
|
|
21951
|
+
"kind": "sample"
|
|
21952
|
+
},
|
|
21953
|
+
{
|
|
21954
|
+
"id": "versionamento-de-estado",
|
|
21955
|
+
"title": "Versionamento de estado",
|
|
21956
|
+
"file": "apps/showcase/src/app/components/hooks/use-sg-persistent-state/samples/versionamento-de-estado.tsx.sample",
|
|
21771
21957
|
"kind": "sample"
|
|
21772
21958
|
}
|
|
21773
21959
|
],
|
|
@@ -21997,15 +22183,15 @@
|
|
|
21997
22183
|
],
|
|
21998
22184
|
"examples": [
|
|
21999
22185
|
{
|
|
22000
|
-
"id": "
|
|
22001
|
-
"title": "
|
|
22002
|
-
"file": "apps/showcase/src/app/components/hooks/use-components-i18n/samples/
|
|
22186
|
+
"id": "uso-basico",
|
|
22187
|
+
"title": "Uso basico",
|
|
22188
|
+
"file": "apps/showcase/src/app/components/hooks/use-components-i18n/samples/uso-basico.tsx.sample",
|
|
22003
22189
|
"kind": "sample"
|
|
22004
22190
|
},
|
|
22005
22191
|
{
|
|
22006
|
-
"id": "
|
|
22007
|
-
"title": "
|
|
22008
|
-
"file": "apps/showcase/src/app/components/hooks/use-components-i18n/samples/
|
|
22192
|
+
"id": "locale-aware",
|
|
22193
|
+
"title": "Componentes conscientes do locale",
|
|
22194
|
+
"file": "apps/showcase/src/app/components/hooks/use-components-i18n/samples/componentes-conscientes-do-locale.tsx.sample",
|
|
22009
22195
|
"kind": "sample"
|
|
22010
22196
|
}
|
|
22011
22197
|
],
|