plataforma-fundacao-componentes 2.23.30 → 2.23.32
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/components/controlLabel/ControlLabel.d.ts +12 -0
- package/dist/components/controlLabel/ControlLabel.stories.d.ts +10 -0
- package/dist/hooks/useScreenSize/useScreenSize.stories.d.ts +1 -1
- package/dist/index.css +56 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +598 -551
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +600 -552
- package/dist/index.modern.js.map +1 -1
- package/dist/libraries/ControlLabelPosition.d.ts +6 -0
- package/dist/utils/HTMLutils.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { LabelHTMLAttributes } from 'react';
|
|
2
|
+
import { ControlLabelPosition } from '../../libraries/ControlLabelPosition';
|
|
3
|
+
import './ControlLabel.scss';
|
|
4
|
+
export interface ControlLabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
|
|
5
|
+
control: JSX.Element;
|
|
6
|
+
labelPosition?: ControlLabelPosition;
|
|
7
|
+
labelGap?: number;
|
|
8
|
+
label: string | number;
|
|
9
|
+
}
|
|
10
|
+
declare function ControlLabel(props: ControlLabelProps): JSX.Element;
|
|
11
|
+
declare const _default: React.MemoExoticComponent<typeof ControlLabel>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const RadioExample: () => JSX.Element;
|
|
7
|
+
export declare const CheckedExample: () => JSX.Element;
|
|
8
|
+
export declare const ButtonExample: () => JSX.Element;
|
|
9
|
+
export declare const SwitchExample: () => JSX.Element;
|
|
10
|
+
export declare const LabelPositionExample: () => JSX.Element;
|
package/dist/index.css
CHANGED
|
@@ -4003,6 +4003,62 @@ h5 {
|
|
|
4003
4003
|
flex: 0 0 calc(100% * 12 / 12);
|
|
4004
4004
|
max-width: calc(100% * 12 / 12); } }
|
|
4005
4005
|
|
|
4006
|
+
:export {
|
|
4007
|
+
widthXs: 575.98px;
|
|
4008
|
+
widthSm: 767.98px;
|
|
4009
|
+
widthMd: 991.98px;
|
|
4010
|
+
widthLg: 1199.98px; }
|
|
4011
|
+
|
|
4012
|
+
:export {
|
|
4013
|
+
white: #fefefe;
|
|
4014
|
+
darkenWhite: #efefef;
|
|
4015
|
+
black: #121212;
|
|
4016
|
+
transparent: rgba(0, 0, 0, 0);
|
|
4017
|
+
primary: #3fa110;
|
|
4018
|
+
primaryDark: #33820d;
|
|
4019
|
+
primaryLight: #d7e6c8;
|
|
4020
|
+
secondaryDarker: #323c32;
|
|
4021
|
+
secondaryDark: #5a645a;
|
|
4022
|
+
blueDarker: #2b517b;
|
|
4023
|
+
secondary: #828a82;
|
|
4024
|
+
secondaryLight: #cdd3cd;
|
|
4025
|
+
secondaryLighter: #f8f9f7;
|
|
4026
|
+
danger: #e60000;
|
|
4027
|
+
dangerLight: #ffb4b4;
|
|
4028
|
+
dangerDark: #ab4745;
|
|
4029
|
+
warning: #ffcd00;
|
|
4030
|
+
warningLight: #ffeb98;
|
|
4031
|
+
warningDark: #765f00; }
|
|
4032
|
+
|
|
4033
|
+
.component-control-label {
|
|
4034
|
+
display: inline-flex;
|
|
4035
|
+
align-items: center;
|
|
4036
|
+
-webkit-user-select: none;
|
|
4037
|
+
-moz-user-select: none;
|
|
4038
|
+
-ms-user-select: none;
|
|
4039
|
+
-webkit-tap-highlight-color: transparent;
|
|
4040
|
+
user-select: none;
|
|
4041
|
+
vertical-align: middle;
|
|
4042
|
+
color: #323c32;
|
|
4043
|
+
gap: 8px; }
|
|
4044
|
+
.component-control-label.top {
|
|
4045
|
+
flex-direction: column-reverse; }
|
|
4046
|
+
.component-control-label.left {
|
|
4047
|
+
flex-direction: row-reverse; }
|
|
4048
|
+
.component-control-label.bottom {
|
|
4049
|
+
flex-direction: column; }
|
|
4050
|
+
.component-control-label.right {
|
|
4051
|
+
flex-direction: row; }
|
|
4052
|
+
.component-control-label.disabled {
|
|
4053
|
+
color: rgba(50, 60, 50, 0.8);
|
|
4054
|
+
cursor: auto; }
|
|
4055
|
+
.component-control-label:not(.disabled):hover {
|
|
4056
|
+
cursor: pointer; }
|
|
4057
|
+
.component-control-label span {
|
|
4058
|
+
padding-top: 2px; }
|
|
4059
|
+
.component-control-label > button {
|
|
4060
|
+
min-width: 18px; }
|
|
4061
|
+
|
|
4006
4062
|
@charset "UTF-8";
|
|
4007
4063
|
:export {
|
|
4008
4064
|
widthXs: 575.98px;
|
package/dist/index.d.ts
CHANGED
|
@@ -128,6 +128,7 @@ import DoughnutSquare from './components/chart/doughnutSquare/DoughnutSquare';
|
|
|
128
128
|
import MoneyByMonth from './components/chart/moneyByMonth/MoneyByMonth';
|
|
129
129
|
import Checkbox from './components/checkbox/Checkbox';
|
|
130
130
|
import Col from './components/col/Col';
|
|
131
|
+
import ControlLabel from './components/controlLabel/ControlLabel';
|
|
131
132
|
import Collapse from './components/collapse/Collapse';
|
|
132
133
|
import Container from './components/container/Container';
|
|
133
134
|
import DatePicker from './components/datePicker/DatePicker';
|
|
@@ -213,6 +214,7 @@ export * from './components/modal/ModalTypes';
|
|
|
213
214
|
export * from './libraries/ActionCardThemes';
|
|
214
215
|
export * from './libraries/BlobFileTypes';
|
|
215
216
|
export * from './libraries/ButtonTheme';
|
|
217
|
+
export * from './libraries/ControlLabelPosition';
|
|
216
218
|
export * from './libraries/InformativoAssembleiasComVideoAlign';
|
|
217
219
|
export * from './libraries/CardThemes';
|
|
218
220
|
export * from './libraries/CheckboxThemes';
|
|
@@ -230,7 +232,7 @@ export * from './libraries/Toast';
|
|
|
230
232
|
export * from './libraries/Tooltips';
|
|
231
233
|
export * from './models/menus';
|
|
232
234
|
export { stringToReactElement } from './utils/ParsingUtils';
|
|
233
|
-
export { Accordion, ActionCard, AdvancedSemiHeader, AssembleiaItem, AssembleiaPauta, Aconteceu, AnimatedLink, Banner, BannerAssembleia, BannerPesquisaCpfCnpj, BigBlockButton, BlocoDeNotas, BreadCrumb, Button, ButtonFileUpload, BlocoMinhasAssembleias, BottomNavigation, Card, Carousel, CarouselPersona, CarouselTouchFrendly, Checkbox, Col, Collapse, Container, DatePicker, Doughnut, DoughnutSquare, DropdownItem, DropdownMenu, DropdownSelector, EditableVideoItem, ElementPaginator, Etapas, Etiqueta, FileLoader, FileUpload, FooterSicredi, FullHeightContainer, Header, HeaderSeparator, HeaderSearchField, IconButton, IconButtonWithLabel, Information, Input, InputArea, ItemDropdownDownload, InformativoAssembleiasComImagem, InformativoAssembleiasComVideo, Menu, MenuItem, Modal, ModalManager, Title,
|
|
235
|
+
export { Accordion, ActionCard, AdvancedSemiHeader, AssembleiaItem, AssembleiaPauta, Aconteceu, AnimatedLink, Banner, BannerAssembleia, BannerPesquisaCpfCnpj, BigBlockButton, BlocoDeNotas, BreadCrumb, Button, ButtonFileUpload, BlocoMinhasAssembleias, BottomNavigation, Card, Carousel, CarouselPersona, CarouselTouchFrendly, Checkbox, Col, ControlLabel, Collapse, Container, DatePicker, Doughnut, DoughnutSquare, DropdownItem, DropdownMenu, DropdownSelector, EditableVideoItem, ElementPaginator, Etapas, Etiqueta, FileLoader, FileUpload, FooterSicredi, FullHeightContainer, Header, HeaderSeparator, HeaderSearchField, IconButton, IconButtonWithLabel, Information, Input, InputArea, ItemDropdownDownload, InformativoAssembleiasComImagem, InformativoAssembleiasComVideo, Menu, MenuItem, Modal, ModalManager, Title,
|
|
234
236
|
/**
|
|
235
237
|
* @deprecated
|
|
236
238
|
*/
|