plataforma-fundacao-componentes 2.23.9 → 2.23.10
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/assets/icons/PhonePlusIcon.d.ts +3 -0
- package/dist/components/assembleiaPauta/AssembleiaPauta.d.ts +3 -3
- package/dist/components/button/Button.d.ts +3 -4
- package/dist/components/button/Button.stories.d.ts +1 -0
- package/dist/components/calendar/Calendar.d.ts +24 -0
- package/dist/components/calendar/Calendar.stories.d.ts +17 -0
- package/dist/components/calendar/components/calendarChip/CalendarChip.d.ts +15 -0
- package/dist/components/calendar/components/calendarDays/CalendarDays.d.ts +22 -0
- package/dist/components/calendar/components/calendarHeader/CalendarHeader.d.ts +8 -0
- package/dist/components/calendar/components/calendarMonthDay/CalendarMonthDay.d.ts +20 -0
- package/dist/components/calendar/components/calendarWeekDay/CalendarWeekDay.d.ts +2 -0
- package/dist/components/calendarEvent/CalendarEvent.d.ts +77 -0
- package/dist/components/calendarEvent/CalendarEvent.stories.d.ts +26 -0
- package/dist/components/col/Col.d.ts +1 -0
- package/dist/components/datePicker/DatePicker.d.ts +2 -5
- package/dist/components/datePicker/components/datePickerCalendar/DatePickerCalendar.d.ts +1 -1
- package/dist/components/dropdownSelector/DropdownSelector.d.ts +16 -0
- package/dist/components/dropdownSelector/DropdownSelector.stories.d.ts +8 -0
- package/dist/components/fileUpload/FileUpload.d.ts +3 -3
- package/dist/components/floatingPanel/FloatingPanel.d.ts +17 -0
- package/dist/components/floatingPanel/FloatingPanel.stories.d.ts +6 -0
- package/dist/components/hourEvents/HourEvents.d.ts +24 -0
- package/dist/components/hourEvents/HourEvents.stories.d.ts +24 -0
- package/dist/components/inlineMonthPicker/InlineMonthPicker.d.ts +16 -0
- package/dist/components/inlineMonthPicker/InlineMonthPicker.stories.d.ts +7 -0
- package/dist/components/input/Input.d.ts +0 -1
- package/dist/components/modal/Modal.d.ts +3 -3
- package/dist/components/modal/ModalMask.d.ts +3 -3
- package/dist/components/modalManager/ModalManager.d.ts +5 -1
- package/dist/components/modalManager/ModalManager.stories.d.ts +2 -1
- package/dist/components/scrollArrowOverflow/ScrollArrowOverflow.d.ts +13 -0
- package/dist/components/scrollArrowOverflow/ScrollArrowOverflow.stories.d.ts +16 -0
- package/dist/components/select/Select.d.ts +7 -4
- package/dist/components/select/Select.stories.d.ts +1 -0
- package/dist/index.css +1502 -10419
- package/dist/index.d.ts +11 -4
- package/dist/index.js +1147 -421
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1142 -423
- package/dist/index.modern.js.map +1 -1
- package/dist/libraries/Notification.d.ts +2 -1
- package/dist/utils/CalendarUtils.d.ts +44 -0
- package/dist/utils/HTMLutils.d.ts +4 -0
- package/dist/utils/MoedaUtils.d.ts +1 -1
- package/dist/utils/ParsingUtils.d.ts +3 -2
- package/package.json +4 -3
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare enum CalendarView {
|
|
3
|
+
Mensal = "mensal",
|
|
4
|
+
Semanal = "semanal",
|
|
5
|
+
Diario = "diario"
|
|
6
|
+
}
|
|
7
|
+
export interface EventoCalendar {
|
|
8
|
+
label: JSX.Element;
|
|
9
|
+
}
|
|
10
|
+
export interface CalendarLanguage {
|
|
11
|
+
addNew: string;
|
|
12
|
+
daysOfWeek: string[];
|
|
13
|
+
daysOfWeekAbrev?: string[];
|
|
14
|
+
months: string[];
|
|
15
|
+
monthsAbrev: string[];
|
|
16
|
+
}
|
|
17
|
+
export declare const ptbrCalendarLanguage: CalendarLanguage;
|
|
18
|
+
export declare const ptbrInlineMonthPickerLabelGenerator: (date: Date) => string;
|
|
19
|
+
/**
|
|
20
|
+
* Retorna os dias da semana (Domingo à Sábado) referentes a data passada
|
|
21
|
+
* @param data Referência
|
|
22
|
+
* @returns
|
|
23
|
+
*/
|
|
24
|
+
export declare function getWeekInMonth(data: Date): Date[];
|
|
25
|
+
/**
|
|
26
|
+
* Retorna os dias da semana (Domingo à Sábado) referentes ao dia, mês e ano passados.
|
|
27
|
+
* @param dia Dia do Mês (1 a 31)
|
|
28
|
+
* @param mes Mês do ano (0 a 11), onde 0 = Janeiro e 11 = Dezembro
|
|
29
|
+
* @param ano Ano
|
|
30
|
+
* @returns Date[]
|
|
31
|
+
*/
|
|
32
|
+
export declare function getWeekInMonth(dia: number, mes: number, ano: number): Date[];
|
|
33
|
+
/**
|
|
34
|
+
* Retorna os dias do mês referêntes à data passada
|
|
35
|
+
* @param data
|
|
36
|
+
*/
|
|
37
|
+
export declare function getDaysInMonth(data: Date): Date[];
|
|
38
|
+
/**
|
|
39
|
+
* Retorna os dias do mês referêntes ao mês e ano passados
|
|
40
|
+
* @param mes Mês do ano (0 a 11), onde 0 = Janeiro e 11 = Dezembro
|
|
41
|
+
* @param ano Ano
|
|
42
|
+
* @returns Date[]
|
|
43
|
+
*/
|
|
44
|
+
export declare function getDaysInMonth(mes: number, ano: number): Date[];
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare const getMergedClassNames: (arr: any[]) => string;
|
|
2
|
+
export declare const useMergedClassNames: (arr: any[]) => string;
|
|
2
3
|
export declare const getUniqueKey: () => string;
|
|
3
4
|
export declare const isMobile: () => boolean;
|
|
5
|
+
export declare const isiPhone: () => boolean;
|
|
4
6
|
export declare const getIdProgramaFromHash: (hash: string) => string;
|
|
5
7
|
export declare const getIdTurmaFromHash: (hash: string) => string;
|
|
6
8
|
export declare class TimeOut {
|
|
@@ -17,3 +19,5 @@ export declare class Interval {
|
|
|
17
19
|
}
|
|
18
20
|
export declare const dispatchToAllYouTubeVideos: (command: 'pauseVideo' | 'stopVideo' | 'playVideo', idToExclude?: string | undefined) => void;
|
|
19
21
|
export declare const dispatchToYoutubeVideo: (command: 'pauseVideo' | 'stopVideo' | 'playVideo', id?: string | undefined) => void;
|
|
22
|
+
export declare const getParentScrollableElements: (anchor?: HTMLElement | null | undefined) => HTMLElement[];
|
|
23
|
+
export declare const getParents: (anchor?: HTMLElement | null | undefined) => HTMLElement[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const formatInputMoeda: (input?: string, simbolo?: string, delimitadorCentesimal?: string, delimitadorDecimal?: string) => string;
|
|
2
|
-
export declare const numberToMoeda: (num:
|
|
2
|
+
export declare const numberToMoeda: (num: number, simbolo?: string, delimitadorCentesimal?: string, delimitadorDecimal?: string) => string;
|
|
3
3
|
export declare const unformatMoeda: (input?: string, maxLength?: number | undefined) => number | "";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export declare const stringToDate: (value:
|
|
2
|
-
export declare const dateToString: (date:
|
|
1
|
+
export declare const stringToDate: (value: string) => Date | null;
|
|
2
|
+
export declare const dateToString: (date: Date) => string;
|
|
3
|
+
export declare const getTwoNumbersIfNotTen: (num: number) => string;
|
|
3
4
|
export declare const secondsToHours: (seconds: number) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "plataforma-fundacao-componentes",
|
|
3
|
-
"version": "2.23.
|
|
3
|
+
"version": "2.23.10",
|
|
4
4
|
"description": "Made with create-react-library",
|
|
5
5
|
"author": "Guvidaletti",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"registry": " https://registry.npmjs.org/"
|
|
13
13
|
},
|
|
14
14
|
"engines": {
|
|
15
|
-
"node": ">=
|
|
15
|
+
"node": ">=14"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
18
|
"build": "microbundle-crl --no-compress --format modern,cjs --css-modules false --jsxFragment React.Fragment",
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"@types/react": "^16.9.27",
|
|
54
54
|
"@types/react-dom": "^16.9.7",
|
|
55
55
|
"@types/react-transition-group": "^4.4.2",
|
|
56
|
+
"@types/resize-observer-browser": "^0.1.7",
|
|
56
57
|
"@types/sortablejs": "^1.10.7",
|
|
57
58
|
"@typescript-eslint/eslint-plugin": "^2.26.0",
|
|
58
59
|
"@typescript-eslint/parser": "^2.26.0",
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
"react": "^16.14.0",
|
|
79
80
|
"react-dom": "^16.14.0",
|
|
80
81
|
"react-scripts": "3.4.3",
|
|
81
|
-
"typescript": "^3.
|
|
82
|
+
"typescript": "^3.9.10"
|
|
82
83
|
},
|
|
83
84
|
"files": [
|
|
84
85
|
"dist"
|