synos-helena 21.10.3-beta.1 → 21.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -29,6 +29,32 @@ O Helena DS segue o Calendar Versioning mais um cronograma interno de lançament
29
29
 
30
30
  # Aguardando publicação ...
31
31
 
32
+ # 21.11.1
33
+
34
+ 💄 Correção das cores em inputs desabilitados (#445);
35
+
36
+ 🐞 Ajuste de alinhamento de botões e alinhamento dos painéis FromL e FromR quando não tem o PowerSearch no `HLFromTo` (#446);
37
+
38
+ 🐞 Correção no `HLDatePicker` quando passado um moment no inicialValue usando showtime (#507);
39
+
40
+ 🌟 Nova propriedade no `HLCollapseInfoPanel` para determinar se o componente deve iniciar aberto (#464);
41
+
42
+ 🌟 Novas propriedades no `HLTable` para permitir a persistência das configurações de visualização das colunas (#526);
43
+
44
+ 🔥 Desenvolvimento do componente `HLArticle` (#525);
45
+
46
+ 🔥 Desenvolvimento do componente `HLMarkdown` (#525);
47
+
48
+ 🔥 Desenvolvimento do componente `HLCode` (#525);
49
+
50
+ # 21.11.0
51
+
52
+ 🐞 Correção do scroll do componente `HLFromTo` para possibilitar um tamanho máximo (#520);
53
+
54
+ 💄 Ajuste no tamanho da imagem de logo no `HLSideMenu` (#516);
55
+
56
+ 🌟 Adição das propriedades `hidden` e `unhiddable` às colunas da `HLTable`, para ocultar ou travar o status visível de uma coluna (#511)
57
+
32
58
  # 21.10.2
33
59
 
34
60
  🌟 Agora é possível uma maior customização no `batchActions` do componente `HLTable` (#522);
@@ -55,8 +81,6 @@ O Helena DS segue o Calendar Versioning mais um cronograma interno de lançament
55
81
 
56
82
  🐞 Resolvido o problema em que clicar no botão de `Limpar histórico` dentro do modal de `Limpar histórico de notificações` fazia ele ficar carregando infinitamente (#513);
57
83
 
58
- 💄 Correção da cores em inputs desabilitados (#445);
59
-
60
84
  🐞 Mudança no `HLTable` para que as colunas da tabela sejam efetivamente alteradas ao mudar as seleções de colunas visíveis;
61
85
 
62
86
  # 21.9.0
package/lib/index.d.ts CHANGED
@@ -6,6 +6,7 @@
6
6
  // ../antd/lib/card
7
7
  // ../react
8
8
  // ../antd/lib/checkbox
9
+ // ../react-syntax-highlighter
9
10
  // ../antd/lib/collapse
10
11
  // util/constants
11
12
  // HLInput
@@ -23,6 +24,7 @@
23
24
  // HLModulesMenu
24
25
  // HLNotification
25
26
  // HLUserBox
27
+ // ../react-markdown/lib/react-markdown
26
28
  // ../react-router-dom
27
29
  // ../antd/lib/page-header
28
30
  // HLContext
@@ -39,6 +41,7 @@ import { Card } from 'antd';
39
41
  import { CardTabListType } from 'antd/lib/card';
40
42
  import { CSSProperties } from 'react';
41
43
  import { CheckboxChangeEvent } from 'antd/lib/checkbox';
44
+ import { SyntaxHighlighterProps } from 'react-syntax-highlighter';
42
45
  import { CollapseProps } from 'antd/lib/collapse';
43
46
  import { CollapsePanelProps } from 'antd/lib/collapse';
44
47
  import { DATE_TIME, DATE } from 'src/util/constants';
@@ -62,6 +65,7 @@ import { HLModulesMenuPropTypes } from 'src/HLModulesMenu';
62
65
  import { HLNotificationPropTypes } from 'src/HLNotification';
63
66
  import { HLUserBoxPropTypes } from 'src/HLUserBox';
64
67
  import { Input } from 'antd';
68
+ import { ReactMarkdownOptions } from 'react-markdown/lib/react-markdown';
65
69
  import { Link } from 'react-router-dom';
66
70
  import { BreadcrumbProps } from 'antd';
67
71
  import { PageHeaderProps } from 'antd/lib/page-header';
@@ -78,6 +82,21 @@ export type HLAlertPropTypes = AlertProps;
78
82
 
79
83
  export const HLAlert: React.FC<HLAlertPropTypes>;
80
84
 
85
+ export type HLArticleSection = {
86
+ key: string;
87
+ title: string;
88
+ content: ReactNode;
89
+ subsections?: HLArticleSection[];
90
+ };
91
+
92
+ export type HLArticlePropTypes = {
93
+ href: string;
94
+ title?: string;
95
+ sections: HLArticleSection[];
96
+ };
97
+
98
+ export const HLArticle: React.FC<HLArticlePropTypes>;
99
+
81
100
 
82
101
  export type HLButtonPropTypes = ButtonProps & {
83
102
  premium?: boolean;
@@ -126,6 +145,13 @@ export interface HLCheckboxPropTypes {
126
145
  export const HLCheckbox: React.FC<HLCheckboxPropTypes>;
127
146
 
128
147
 
148
+ export type HLCodePropTypes = SyntaxHighlighterProps & {
149
+ copyToClipboard?: boolean;
150
+ };
151
+
152
+ export const HLCode: React.FC<HLCodePropTypes>;
153
+
154
+
129
155
  export type HLCollapsePropTypes = CollapseProps;
130
156
 
131
157
  export const HLCollapse: React.FC<HLCollapsePropTypes> & { Panel: typeof Panel };
@@ -140,6 +166,7 @@ export interface HLCollapseInfoPanelPropTypes {
140
166
  object: any;
141
167
  title: string;
142
168
  columns?: number;
169
+ isOpen?: boolean;
143
170
  }
144
171
 
145
172
 
@@ -441,6 +468,11 @@ export interface HLMainPropTypes {
441
468
 
442
469
  export const HLMain: React.FC<HLMainPropTypes>;
443
470
 
471
+
472
+ export type HLMarkdownPropTypes = ReactMarkdownOptions;
473
+
474
+ export const HLMarkdown: React.FC<HLMarkdownPropTypes>;
475
+
444
476
  interface Module {
445
477
  title: string;
446
478
  description?: string;
@@ -604,7 +636,7 @@ export interface HLSideMenuPropTypes {
604
636
  changeOpenKeys: Function;
605
637
  onOpenChange: Function;
606
638
  generateLink: Function;
607
- allowsAccessByResourceId: Function;
639
+ allowsAccessByUrl: Function;
608
640
  changeCollapsedState: Function;
609
641
  openKeys: any[];
610
642
  baseboardLogoPath?: string;
@@ -722,8 +754,10 @@ export {
722
754
  HLAdvancedPowerSelect,
723
755
  AdvancedPowerSelectStoreInterface,
724
756
  HLFromTo,
725
- HLMarkDown,
757
+ HLMarkdown,
726
758
  HLEditTable,
759
+ HLArticle,
760
+ HLCode,
727
761
  };
728
762
 
729
763
  declare module '*.module.css';