@useblu/ocean-react 1.91.0 → 1.93.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useblu/ocean-react",
3
- "version": "1.91.0",
3
+ "version": "1.93.0",
4
4
  "private": false,
5
5
  "description": "React components that implement Ocean's Design System.",
6
6
  "main": "index.js",
@@ -1,469 +0,0 @@
1
- import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import Input from '../Input';
4
- export declare const commonArgTypes: {
5
- label: {
6
- description: string;
7
- control: string;
8
- };
9
- placeholder: {
10
- description: string;
11
- control: string;
12
- };
13
- helperText: {
14
- description: string;
15
- control: string;
16
- };
17
- error: {
18
- description: string;
19
- control: string;
20
- };
21
- disabled: {
22
- description: string;
23
- control: string;
24
- };
25
- required: {
26
- description: string;
27
- control: string;
28
- };
29
- type: {
30
- table: {
31
- disable: boolean;
32
- };
33
- };
34
- defaultValue: {
35
- table: {
36
- disable: boolean;
37
- };
38
- };
39
- htmlFor: {
40
- table: {
41
- disable: boolean;
42
- };
43
- };
44
- };
45
- export declare const adornmentSpecificProps: {
46
- position: {
47
- table: {
48
- disable: boolean;
49
- };
50
- };
51
- };
52
- export declare const tooltipSpecificProps: {
53
- tooltipMessage: {
54
- description: string;
55
- control: string;
56
- };
57
- };
58
- export declare const currencySpecificProps: {
59
- type: {
60
- description: string;
61
- control: {
62
- type: null;
63
- };
64
- };
65
- adornment: {
66
- description: string;
67
- control: {
68
- type: null;
69
- };
70
- };
71
- position: {
72
- description: string;
73
- control: {
74
- type: string;
75
- };
76
- options: string[];
77
- };
78
- placeholder: {
79
- description: string;
80
- control: {
81
- type: string;
82
- };
83
- };
84
- helperText: {
85
- description: string;
86
- control: {
87
- type: string;
88
- };
89
- };
90
- error: {
91
- description: string;
92
- control: {
93
- type: string;
94
- };
95
- };
96
- disabled: {
97
- description: string;
98
- control: {
99
- type: string;
100
- };
101
- };
102
- defaultValue: {
103
- description: string;
104
- control: {
105
- type: null;
106
- };
107
- };
108
- tooltipMessage: {
109
- description: string;
110
- control: {
111
- type: string;
112
- };
113
- type: string;
114
- };
115
- };
116
- export declare const defaultUsageDecorator: ((Story: React.ComponentType) => JSX.Element)[];
117
- export declare const createIntroduction: (description: string, overview: string, features?: string[]) => () => JSX.Element;
118
- export declare const createCommonPatterns: (codeExamples: string[]) => () => JSX.Element;
119
- export declare const SharedBestPractices: {
120
- (): JSX.Element;
121
- displayName: string;
122
- };
123
- export declare const TooltipBestPractices: {
124
- (): JSX.Element;
125
- displayName: string;
126
- };
127
- export declare const CurrencyBestPractices: {
128
- (): JSX.Element;
129
- displayName: string;
130
- };
131
- export declare const SharedCssClasses: {
132
- (): JSX.Element;
133
- displayName: string;
134
- };
135
- export declare const TooltipCssClasses: {
136
- (): JSX.Element;
137
- displayName: string;
138
- };
139
- export declare const createApiReference: (specificProps?: Array<{
140
- prop: string;
141
- type: string;
142
- default: string;
143
- description: string;
144
- }>) => (() => JSX.Element);
145
- export declare const SharedUsageExamples: {
146
- (): JSX.Element;
147
- displayName: string;
148
- };
149
- export declare const commonCodeExamples: {
150
- basicUsage: string;
151
- withValidation: string;
152
- disabled: string;
153
- withIcon: string;
154
- currency: string;
155
- tooltip: string;
156
- };
157
- export declare const containerStyles: {
158
- form: {
159
- display: string;
160
- flexDirection: "column";
161
- gap: string;
162
- maxWidth: string;
163
- };
164
- grid: {
165
- display: string;
166
- gridTemplateColumns: string;
167
- gap: string;
168
- maxWidth: string;
169
- };
170
- inline: {
171
- display: string;
172
- gap: string;
173
- alignItems: string;
174
- flexWrap: "wrap";
175
- };
176
- };
177
- export declare const defaultUsageControls: {
178
- include: string[];
179
- };
180
- export declare const tooltipApiReference: {
181
- prop: string;
182
- type: string;
183
- default: string;
184
- description: string;
185
- }[];
186
- export declare const createMetaStructure: (title: string, argTypes: Record<string, unknown>, pageComponent: () => JSX.Element) => Meta<typeof Input>;
187
- export declare const createStandardDocsPage: <T>(Introduction: () => JSX.Element, Usage: StoryObj<T>, CommonPatterns: () => JSX.Element, examples: Array<{
188
- title: string;
189
- story: StoryObj<T>;
190
- }>, components: Array<React.ComponentType>, ApiReference: () => JSX.Element) => (() => JSX.Element);
191
- export declare const INPUT_COMMON_DATA: {
192
- LABELS: {
193
- email: string;
194
- senha: string;
195
- telefone: string;
196
- nomeCompleto: string;
197
- cpfCnpj: string;
198
- usuario: string;
199
- idade: string;
200
- endereco: string;
201
- cidade: string;
202
- cep: string;
203
- empresa: string;
204
- cargo: string;
205
- nome: string;
206
- sobrenome: string;
207
- titulo: string;
208
- descricao: string;
209
- mensagem: string;
210
- observacoes: string;
211
- comentarios: string;
212
- buscar: string;
213
- buscarProdutos: string;
214
- pesquisar: string;
215
- confirmarSenha: string;
216
- codigoSeguranca: string;
217
- preco: string;
218
- realBrasileiro: string;
219
- dolarAmericano: string;
220
- euro: string;
221
- libraEsterlina: string;
222
- precoCusto: string;
223
- frete: string;
224
- desconto: string;
225
- campoNormal: string;
226
- campoComErro: string;
227
- campoDesabilitado: string;
228
- nomeProduto: string;
229
- quantidadeEstoque: string;
230
- sku: string;
231
- };
232
- PLACEHOLDERS: {
233
- seuEmail: string;
234
- digiteSenha: string;
235
- telefoneExemplo: string;
236
- nomeCompleto: string;
237
- cpfExemplo: string;
238
- nomeUsuario: string;
239
- idadeExemplo: string;
240
- enderecoExemplo: string;
241
- cidadeExemplo: string;
242
- cepExemplo: string;
243
- empresaExemplo: string;
244
- cargoExemplo: string;
245
- tituloExemplo: string;
246
- descricaoExemplo: string;
247
- mensagemExemplo: string;
248
- observacoesExemplo: string;
249
- buscarExemplo: string;
250
- buscarProdutos: string;
251
- digitePesquisar: string;
252
- buscarAqui: string;
253
- confirmarSenha: string;
254
- cvv: string;
255
- precoExemplo: string;
256
- valorExemplo: string;
257
- digitarAqui: string;
258
- emailInvalido: string;
259
- naoEditar: string;
260
- nomeProdutoExemplo: string;
261
- quantidadeExemplo: string;
262
- skuExemplo: string;
263
- };
264
- HELPER_TEXTS: {
265
- emailVerificacao: string;
266
- senhaForte: string;
267
- incluaDDD: string;
268
- primeiroUltimoNome: string;
269
- identificacaoFiscal: string;
270
- identificadorUnico: string;
271
- minimoCaracteres: string;
272
- idadeMaior18: string;
273
- incluaApartamento: string;
274
- cidadeOndeVive: string;
275
- cepCompleto: string;
276
- nomeEmpresaTrabalha: string;
277
- cargoAtual: string;
278
- nomeUsuario: string;
279
- sobrenomeCompleto: string;
280
- tituloDescritivo: string;
281
- descricaoDetalhada: string;
282
- mensagemDetalhada: string;
283
- observacoesAdicionais: string;
284
- comentariosOpcionais: string;
285
- usePalavrasChave: string;
286
- pressioneEnterBuscar: string;
287
- cliqueBolinha: string;
288
- emailValido: string;
289
- senhaSegura: string;
290
- telefoneComDDD: string;
291
- usuarioUnico: string;
292
- senhasDevemCoincidir: string;
293
- codigoTresDigitos: string;
294
- digite3Caracteres: string;
295
- valorEmReais: string;
296
- digitePrecoBrasileiro: string;
297
- moedaBrasileira: string;
298
- moedaAmericana: string;
299
- moedaEuropeia: string;
300
- moedaBritanica: string;
301
- digitePrecoProduto: string;
302
- precoMaiorZero: string;
303
- precoCalculadoAuto: string;
304
- valorDentroLimite: string;
305
- valorExcedeLimite: string;
306
- campoObrigatorio: string;
307
- custoProduto: string;
308
- custosEnvio: string;
309
- valorDesconto: string;
310
- estadoNormal: string;
311
- erroValidacao: string;
312
- preenchidoAuto: string;
313
- tituloDescriptivoProduto: string;
314
- precoVendaProduto: string;
315
- inventarioDisponivel: string;
316
- identificadorUnicoProduto: string;
317
- };
318
- TOOLTIPS: {
319
- senhaRequisitos: string;
320
- emailPrivacidade: string;
321
- telefoneFormato: string;
322
- cpfCnpjFormato: string;
323
- usuarioRequisitos: string;
324
- valorExemplo: string;
325
- observacoesLimite: string;
326
- skuExplicacao: string;
327
- registroSeguranca: string;
328
- taxIdProposito: string;
329
- };
330
- };
331
- export declare const COMMON_LABELS: {
332
- email: string;
333
- senha: string;
334
- telefone: string;
335
- nomeCompleto: string;
336
- cpfCnpj: string;
337
- usuario: string;
338
- idade: string;
339
- endereco: string;
340
- cidade: string;
341
- cep: string;
342
- empresa: string;
343
- cargo: string;
344
- nome: string;
345
- sobrenome: string;
346
- titulo: string;
347
- descricao: string;
348
- mensagem: string;
349
- observacoes: string;
350
- comentarios: string;
351
- buscar: string;
352
- buscarProdutos: string;
353
- pesquisar: string;
354
- confirmarSenha: string;
355
- codigoSeguranca: string;
356
- preco: string;
357
- realBrasileiro: string;
358
- dolarAmericano: string;
359
- euro: string;
360
- libraEsterlina: string;
361
- precoCusto: string;
362
- frete: string;
363
- desconto: string;
364
- campoNormal: string;
365
- campoComErro: string;
366
- campoDesabilitado: string;
367
- nomeProduto: string;
368
- quantidadeEstoque: string;
369
- sku: string;
370
- };
371
- export declare const COMMON_PLACEHOLDERS: {
372
- seuEmail: string;
373
- digiteSenha: string;
374
- telefoneExemplo: string;
375
- nomeCompleto: string;
376
- cpfExemplo: string;
377
- nomeUsuario: string;
378
- idadeExemplo: string;
379
- enderecoExemplo: string;
380
- cidadeExemplo: string;
381
- cepExemplo: string;
382
- empresaExemplo: string;
383
- cargoExemplo: string;
384
- tituloExemplo: string;
385
- descricaoExemplo: string;
386
- mensagemExemplo: string;
387
- observacoesExemplo: string;
388
- buscarExemplo: string;
389
- buscarProdutos: string;
390
- digitePesquisar: string;
391
- buscarAqui: string;
392
- confirmarSenha: string;
393
- cvv: string;
394
- precoExemplo: string;
395
- valorExemplo: string;
396
- digitarAqui: string;
397
- emailInvalido: string;
398
- naoEditar: string;
399
- nomeProdutoExemplo: string;
400
- quantidadeExemplo: string;
401
- skuExemplo: string;
402
- };
403
- export declare const COMMON_HELPER_TEXTS: {
404
- emailVerificacao: string;
405
- senhaForte: string;
406
- incluaDDD: string;
407
- primeiroUltimoNome: string;
408
- identificacaoFiscal: string;
409
- identificadorUnico: string;
410
- minimoCaracteres: string;
411
- idadeMaior18: string;
412
- incluaApartamento: string;
413
- cidadeOndeVive: string;
414
- cepCompleto: string;
415
- nomeEmpresaTrabalha: string;
416
- cargoAtual: string;
417
- nomeUsuario: string;
418
- sobrenomeCompleto: string;
419
- tituloDescritivo: string;
420
- descricaoDetalhada: string;
421
- mensagemDetalhada: string;
422
- observacoesAdicionais: string;
423
- comentariosOpcionais: string;
424
- usePalavrasChave: string;
425
- pressioneEnterBuscar: string;
426
- cliqueBolinha: string;
427
- emailValido: string;
428
- senhaSegura: string;
429
- telefoneComDDD: string;
430
- usuarioUnico: string;
431
- senhasDevemCoincidir: string;
432
- codigoTresDigitos: string;
433
- digite3Caracteres: string;
434
- valorEmReais: string;
435
- digitePrecoBrasileiro: string;
436
- moedaBrasileira: string;
437
- moedaAmericana: string;
438
- moedaEuropeia: string;
439
- moedaBritanica: string;
440
- digitePrecoProduto: string;
441
- precoMaiorZero: string;
442
- precoCalculadoAuto: string;
443
- valorDentroLimite: string;
444
- valorExcedeLimite: string;
445
- campoObrigatorio: string;
446
- custoProduto: string;
447
- custosEnvio: string;
448
- valorDesconto: string;
449
- estadoNormal: string;
450
- erroValidacao: string;
451
- preenchidoAuto: string;
452
- tituloDescriptivoProduto: string;
453
- precoVendaProduto: string;
454
- inventarioDisponivel: string;
455
- identificadorUnicoProduto: string;
456
- };
457
- export declare const COMMON_TOOLTIPS: {
458
- senhaRequisitos: string;
459
- emailPrivacidade: string;
460
- telefoneFormato: string;
461
- cpfCnpjFormato: string;
462
- usuarioRequisitos: string;
463
- valorExemplo: string;
464
- observacoesLimite: string;
465
- skuExplicacao: string;
466
- registroSeguranca: string;
467
- taxIdProposito: string;
468
- };
469
- //# sourceMappingURL=_shared.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_shared.d.ts","sourceRoot":"","sources":["../../../src/Input/stories/_shared.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,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