@nextelco/common-ui 2.1.97 → 2.1.99
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/esm/index.js +222 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/legacy/assets/svgs/proef-footer-logo.svg.js +5 -0
- package/dist/esm/legacy/assets/svgs/proef-footer-logo.svg.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Acronym/Acronym.css +43 -0
- package/dist/esm/legacy/components/atoms/Acronym/Acronym.js +31 -0
- package/dist/esm/legacy/components/atoms/Acronym/Acronym.js.map +1 -0
- package/dist/esm/legacy/components/atoms/BreadCrumb/BreadCrumb.css +36 -0
- package/dist/esm/legacy/components/atoms/BreadCrumb/BreadCrumb.js +57 -0
- package/dist/esm/legacy/components/atoms/BreadCrumb/BreadCrumb.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Button/variants/ActionButton.css +218 -0
- package/dist/esm/legacy/components/atoms/Button/variants/ActionButton.js +50 -0
- package/dist/esm/legacy/components/atoms/Button/variants/ActionButton.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Button/variants/FilterButton.css +56 -0
- package/dist/esm/legacy/components/atoms/Button/variants/FilterButton.js +34 -0
- package/dist/esm/legacy/components/atoms/Button/variants/FilterButton.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Button/variants/IconButton.css +74 -0
- package/dist/esm/legacy/components/atoms/Button/variants/IconButton.js +29 -0
- package/dist/esm/legacy/components/atoms/Button/variants/IconButton.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Button/variants/MainButton.css +99 -0
- package/dist/esm/legacy/components/atoms/Button/variants/MainButton.js +36 -0
- package/dist/esm/legacy/components/atoms/Button/variants/MainButton.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Button/variants/TabButton.css +63 -0
- package/dist/esm/legacy/components/atoms/Button/variants/TabButton.js +21 -0
- package/dist/esm/legacy/components/atoms/Button/variants/TabButton.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Field/Field.css +171 -0
- package/dist/esm/legacy/components/atoms/Field/Field.js +70 -0
- package/dist/esm/legacy/components/atoms/Field/Field.js.map +1 -0
- package/dist/esm/legacy/components/atoms/IconText/IconText.css +10 -0
- package/dist/esm/legacy/components/atoms/IconText/IconText.js +25 -0
- package/dist/esm/legacy/components/atoms/IconText/IconText.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Icone/Icone.js +24 -0
- package/dist/esm/legacy/components/atoms/Icone/Icone.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Input/Input.css +12 -0
- package/dist/esm/legacy/components/atoms/Input/Input.js +28 -0
- package/dist/esm/legacy/components/atoms/Input/Input.js.map +1 -0
- package/dist/esm/legacy/components/atoms/InputData/InputData.js +36 -0
- package/dist/esm/legacy/components/atoms/InputData/InputData.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Label/Label.css +192 -0
- package/dist/esm/legacy/components/atoms/Label/Label.js +13 -0
- package/dist/esm/legacy/components/atoms/Label/Label.js.map +1 -0
- package/dist/esm/legacy/components/atoms/MultiTagPickerTag/MultiTagPickerTag.css +40 -0
- package/dist/esm/legacy/components/atoms/MultiTagPickerTag/MultiTagPickerTag.js +21 -0
- package/dist/esm/legacy/components/atoms/MultiTagPickerTag/MultiTagPickerTag.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Select/Select.css +16 -0
- package/dist/esm/legacy/components/atoms/Select/Select.js +27 -0
- package/dist/esm/legacy/components/atoms/Select/Select.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Stack/Stack.js +20 -0
- package/dist/esm/legacy/components/atoms/Stack/Stack.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Switch/CustomSwitch.css +36 -0
- package/dist/esm/legacy/components/atoms/Switch/CustomSwitch.js +29 -0
- package/dist/esm/legacy/components/atoms/Switch/CustomSwitch.js.map +1 -0
- package/dist/esm/legacy/components/atoms/Tooltip/Tooltip.css +17 -0
- package/dist/esm/legacy/components/atoms/Tooltip/Tooltip.js +41 -0
- package/dist/esm/legacy/components/atoms/Tooltip/Tooltip.js.map +1 -0
- package/dist/esm/legacy/components/charts/Charts.js +259 -0
- package/dist/esm/legacy/components/charts/Charts.js.map +1 -0
- package/dist/esm/legacy/components/layout/AppLauncher/AppLauncher.js +100 -0
- package/dist/esm/legacy/components/layout/AppLauncher/AppLauncher.js.map +1 -0
- package/dist/esm/legacy/components/layout/Error/Error.css +20 -0
- package/dist/esm/legacy/components/layout/Error/Error.js +12 -0
- package/dist/esm/legacy/components/layout/Error/Error.js.map +1 -0
- package/dist/esm/legacy/components/layout/Footer/Footer.css +42 -0
- package/dist/esm/legacy/components/layout/Footer/Footer.js +23 -0
- package/dist/esm/legacy/components/layout/Footer/Footer.js.map +1 -0
- package/dist/esm/legacy/components/layout/Header/Header.css +66 -0
- package/dist/esm/legacy/components/layout/Header/Header.js +37 -0
- package/dist/esm/legacy/components/layout/Header/Header.js.map +1 -0
- package/dist/esm/legacy/components/layout/Layout/Layout.js +92 -0
- package/dist/esm/legacy/components/layout/Layout/Layout.js.map +1 -0
- package/dist/esm/legacy/components/layout/Sidebar/Sidebar.js +227 -0
- package/dist/esm/legacy/components/layout/Sidebar/Sidebar.js.map +1 -0
- package/dist/esm/legacy/components/layout/Spinner/Spinner.css +10 -0
- package/dist/esm/legacy/components/layout/Spinner/Spinner.js +19 -0
- package/dist/esm/legacy/components/layout/Spinner/Spinner.js.map +1 -0
- package/dist/esm/legacy/components/layout/TopBar/TopBar.js +34 -0
- package/dist/esm/legacy/components/layout/TopBar/TopBar.js.map +1 -0
- package/dist/esm/legacy/components/layout/TopNavLayout/TopNavLayout.js +82 -0
- package/dist/esm/legacy/components/layout/TopNavLayout/TopNavLayout.js.map +1 -0
- package/dist/esm/legacy/components/molecules/BarraValor/BarraValor.js +25 -0
- package/dist/esm/legacy/components/molecules/BarraValor/BarraValor.js.map +1 -0
- package/dist/esm/legacy/components/molecules/ColumnPicker/ColumnPicker.js +179 -0
- package/dist/esm/legacy/components/molecules/ColumnPicker/ColumnPicker.js.map +1 -0
- package/dist/esm/legacy/components/molecules/ConfirmModal/ConfirmModal.css +3 -0
- package/dist/esm/legacy/components/molecules/ConfirmModal/ConfirmModal.js +33 -0
- package/dist/esm/legacy/components/molecules/ConfirmModal/ConfirmModal.js.map +1 -0
- package/dist/esm/legacy/components/molecules/DataTable/DataTable.js +1145 -0
- package/dist/esm/legacy/components/molecules/DataTable/DataTable.js.map +1 -0
- package/dist/esm/legacy/components/molecules/FileDropzone/FileDropzone.js +68 -0
- package/dist/esm/legacy/components/molecules/FileDropzone/FileDropzone.js.map +1 -0
- package/dist/esm/legacy/components/molecules/LanguageSwitcher/LanguageSwitcher.js +96 -0
- package/dist/esm/legacy/components/molecules/LanguageSwitcher/LanguageSwitcher.js.map +1 -0
- package/dist/esm/legacy/components/molecules/Modal/Modal.css +54 -0
- package/dist/esm/legacy/components/molecules/Modal/Modal.js +64 -0
- package/dist/esm/legacy/components/molecules/Modal/Modal.js.map +1 -0
- package/dist/esm/legacy/components/molecules/MultiTagPicker/MultiTagPicker.css +97 -0
- package/dist/esm/legacy/components/molecules/MultiTagPicker/MultiTagPicker.js +113 -0
- package/dist/esm/legacy/components/molecules/MultiTagPicker/MultiTagPicker.js.map +1 -0
- package/dist/esm/legacy/components/molecules/PhotoAvatar/PhotoAvatar.js +107 -0
- package/dist/esm/legacy/components/molecules/PhotoAvatar/PhotoAvatar.js.map +1 -0
- package/dist/esm/legacy/components/molecules/Search/Search.css +18 -0
- package/dist/esm/legacy/components/molecules/Search/Search.js +30 -0
- package/dist/esm/legacy/components/molecules/Search/Search.js.map +1 -0
- package/dist/esm/legacy/components/molecules/SeletorPesquisa/SeletorPesquisa.js +116 -0
- package/dist/esm/legacy/components/molecules/SeletorPesquisa/SeletorPesquisa.js.map +1 -0
- package/dist/esm/legacy/components/molecules/Sidebar/Sidebar.css +69 -0
- package/dist/esm/legacy/components/molecules/Sidebar/Sidebar.js +62 -0
- package/dist/esm/legacy/components/molecules/Sidebar/Sidebar.js.map +1 -0
- package/dist/esm/legacy/components/molecules/UserAvatar/UserAvatar.js +105 -0
- package/dist/esm/legacy/components/molecules/UserAvatar/UserAvatar.js.map +1 -0
- package/dist/esm/legacy/components/organisms/GanttChart/GanttChart.js +162 -0
- package/dist/esm/legacy/components/organisms/GanttChart/GanttChart.js.map +1 -0
- package/dist/esm/legacy/components/organisms/Kanban/Kanban.js +88 -0
- package/dist/esm/legacy/components/organisms/Kanban/Kanban.js.map +1 -0
- package/dist/esm/legacy/components/organisms/LazyLoader/LazyLoader.js +87 -0
- package/dist/esm/legacy/components/organisms/LazyLoader/LazyLoader.js.map +1 -0
- package/dist/esm/legacy/components/organisms/MapaPontos/MapaPontos.js +427 -0
- package/dist/esm/legacy/components/organisms/MapaPontos/MapaPontos.js.map +1 -0
- package/dist/esm/legacy/components/organisms/PainelFiltros/PainelFiltros.js +206 -0
- package/dist/esm/legacy/components/organisms/PainelFiltros/PainelFiltros.js.map +1 -0
- package/dist/esm/legacy/components/organisms/PesquisaRapida/PesquisaRapida.js +147 -0
- package/dist/esm/legacy/components/organisms/PesquisaRapida/PesquisaRapida.js.map +1 -0
- package/dist/esm/legacy/components/organisms/Profile/Profile.css +26 -0
- package/dist/esm/legacy/components/organisms/Profile/Profile.js +26 -0
- package/dist/esm/legacy/components/organisms/Profile/Profile.js.map +1 -0
- package/dist/esm/legacy/components/organisms/RoleGuard/RoleGuard.js +68 -0
- package/dist/esm/legacy/components/organisms/RoleGuard/RoleGuard.js.map +1 -0
- package/dist/esm/legacy/components/organisms/Selector/Selector.css +87 -0
- package/dist/esm/legacy/components/organisms/Selector/Selector.js +181 -0
- package/dist/esm/legacy/components/organisms/Selector/Selector.js.map +1 -0
- package/dist/esm/legacy/components/organisms/StatusMatrix/StatusMatrix.js +115 -0
- package/dist/esm/legacy/components/organisms/StatusMatrix/StatusMatrix.js.map +1 -0
- package/dist/esm/legacy/components/ui/Avisos.js +86 -0
- package/dist/esm/legacy/components/ui/Avisos.js.map +1 -0
- package/dist/esm/legacy/components/ui/BarraAcoes.js +19 -0
- package/dist/esm/legacy/components/ui/BarraAcoes.js.map +1 -0
- package/dist/esm/legacy/components/ui/CabecalhoPagina.js +32 -0
- package/dist/esm/legacy/components/ui/CabecalhoPagina.js.map +1 -0
- package/dist/esm/legacy/components/ui/CaixaPesquisa.js +57 -0
- package/dist/esm/legacy/components/ui/CaixaPesquisa.js.map +1 -0
- package/dist/esm/legacy/components/ui/Confirmacao.js +52 -0
- package/dist/esm/legacy/components/ui/Confirmacao.js.map +1 -0
- package/dist/esm/legacy/components/ui/Escolha.js +157 -0
- package/dist/esm/legacy/components/ui/Escolha.js.map +1 -0
- package/dist/esm/legacy/components/ui/FaixaAviso.js +17 -0
- package/dist/esm/legacy/components/ui/FaixaAviso.js.map +1 -0
- package/dist/esm/legacy/components/ui/MenuAcoes.js +116 -0
- package/dist/esm/legacy/components/ui/MenuAcoes.js.map +1 -0
- package/dist/esm/legacy/components/ui/Passos.js +32 -0
- package/dist/esm/legacy/components/ui/Passos.js.map +1 -0
- package/dist/esm/legacy/components/ui/Separadores.js +52 -0
- package/dist/esm/legacy/components/ui/Separadores.js.map +1 -0
- package/dist/esm/legacy/components/ui/TextoAuto.js +33 -0
- package/dist/esm/legacy/components/ui/TextoAuto.js.map +1 -0
- package/dist/esm/legacy/components/ui/Ui.js +360 -0
- package/dist/esm/legacy/components/ui/Ui.js.map +1 -0
- package/dist/esm/legacy/components/ui/painelFlutuante.js +52 -0
- package/dist/esm/legacy/components/ui/painelFlutuante.js.map +1 -0
- package/dist/esm/legacy/constants/Colors.js +33 -0
- package/dist/esm/legacy/constants/Colors.js.map +1 -0
- package/dist/esm/legacy/constants/FontWeight.js +35 -0
- package/dist/esm/legacy/constants/FontWeight.js.map +1 -0
- package/dist/esm/legacy/contexts/apiContext.js +25 -0
- package/dist/esm/legacy/contexts/apiContext.js.map +1 -0
- package/dist/esm/legacy/contexts/authContext.js +85 -0
- package/dist/esm/legacy/contexts/authContext.js.map +1 -0
- package/dist/esm/legacy/contexts/socketContext.js +34 -0
- package/dist/esm/legacy/contexts/socketContext.js.map +1 -0
- package/dist/esm/legacy/hooks/useApi.js +62 -0
- package/dist/esm/legacy/hooks/useApi.js.map +1 -0
- package/dist/esm/legacy/hooks/useTheme.js +39 -0
- package/dist/esm/legacy/hooks/useTheme.js.map +1 -0
- package/dist/esm/legacy/pages/Error/ErrorPage.css +18 -0
- package/dist/esm/legacy/pages/Error/ErrorPage.js +50 -0
- package/dist/esm/legacy/pages/Error/ErrorPage.js.map +1 -0
- package/dist/esm/legacy/pages/Loading/Loading.css +46 -0
- package/dist/esm/legacy/pages/Loading/Loading.js +9 -0
- package/dist/esm/legacy/pages/Loading/Loading.js.map +1 -0
- package/dist/esm/legacy/pages/Login/LoginScreen.js +46 -0
- package/dist/esm/legacy/pages/Login/LoginScreen.js.map +1 -0
- package/dist/esm/legacy/pages/NotFound/NotFound.css +21 -0
- package/dist/esm/legacy/pages/NotFound/NotFound.js +24 -0
- package/dist/esm/legacy/pages/NotFound/NotFound.js.map +1 -0
- package/dist/esm/legacy/styles/themes/ButtonThemes.js +28 -0
- package/dist/esm/legacy/styles/themes/ButtonThemes.js.map +1 -0
- package/dist/esm/legacy/styles/utils/utils.js +7 -0
- package/dist/esm/legacy/styles/utils/utils.js.map +1 -0
- package/dist/esm/legacy/utils/stringUtils.js +35 -0
- package/dist/esm/legacy/utils/stringUtils.js.map +1 -0
- package/dist/esm/v1/capabilities/documents/QRScanning/scanQRCodes.js +157 -0
- package/dist/esm/v1/capabilities/documents/QRScanning/scanQRCodes.js.map +1 -0
- package/dist/esm/v1/components/documents/DocumentDropzone/DocumentDropzone.js +307 -0
- package/dist/esm/v1/components/documents/DocumentDropzone/DocumentDropzone.js.map +1 -0
- package/dist/esm/v1/components/forms/FormField/FormField.js +59 -0
- package/dist/esm/v1/components/forms/FormField/FormField.js.map +1 -0
- package/dist/esm/v1/components/forms/FormGrid/FormGrid.js +20 -0
- package/dist/esm/v1/components/forms/FormGrid/FormGrid.js.map +1 -0
- package/dist/esm/v1/components/overlays/Dialog/Dialog.js +87 -0
- package/dist/esm/v1/components/overlays/Dialog/Dialog.js.map +1 -0
- package/dist/esm/v1/foundations/icons/icons.js +76 -0
- package/dist/esm/v1/foundations/icons/icons.js.map +1 -0
- package/dist/esm/v1/primitives/buttons/Button/Button.js +27 -0
- package/dist/esm/v1/primitives/buttons/Button/Button.js.map +1 -0
- package/dist/esm/v1/primitives/documents/PdfPreview/PdfPreview.js +137 -0
- package/dist/esm/v1/primitives/documents/PdfPreview/PdfPreview.js.map +1 -0
- package/dist/esm/v1/primitives/documents/PdfPreview/pdfjs.js +26 -0
- package/dist/esm/v1/primitives/documents/PdfPreview/pdfjs.js.map +1 -0
- package/dist/esm/v1/primitives/forms/LookupInput/LookupInput.js +37 -0
- package/dist/esm/v1/primitives/forms/LookupInput/LookupInput.js.map +1 -0
- package/dist/esm/v1/primitives/forms/SelectInput/SelectInput.js +29 -0
- package/dist/esm/v1/primitives/forms/SelectInput/SelectInput.js.map +1 -0
- package/dist/esm/v1/primitives/forms/TextArea/TextArea.js +75 -0
- package/dist/esm/v1/primitives/forms/TextArea/TextArea.js.map +1 -0
- package/dist/esm/v1/primitives/forms/TextInput/TextInput.js +21 -0
- package/dist/esm/v1/primitives/forms/TextInput/TextInput.js.map +1 -0
- package/dist/esm/v1/primitives/forms/field.js +12 -0
- package/dist/esm/v1/primitives/forms/field.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/style.layered.css +1 -1
- package/dist/types/index.d.ts +14 -13
- package/dist/types/{components → legacy/components}/atoms/Acronym/Acronym.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/BreadCrumb/BreadCrumb.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Button/variants/ActionButton.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Button/variants/FilterButton.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Button/variants/IconButton.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Button/variants/MainButton.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Button/variants/TabButton.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Field/Field.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/IconText/IconText.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Icone/Icone.d.ts +2 -0
- package/dist/types/{components → legacy/components}/atoms/Input/Input.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/InputData/InputData.d.ts +4 -0
- package/dist/types/{components → legacy/components}/atoms/Label/Label.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Select/Select.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Stack/Stack.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Switch/CustomSwitch.d.ts +1 -0
- package/dist/types/{components → legacy/components}/atoms/Tooltip/Tooltip.d.ts +1 -0
- package/dist/types/{components → legacy/components}/charts/Charts.d.ts +29 -6
- package/dist/types/{components → legacy/components}/layout/AppLauncher/AppLauncher.d.ts +3 -0
- package/dist/types/{components → legacy/components}/layout/Error/Error.d.ts +1 -0
- package/dist/types/{components → legacy/components}/layout/Footer/Footer.d.ts +1 -0
- package/dist/types/{components → legacy/components}/layout/Header/Header.d.ts +1 -0
- package/dist/types/{components → legacy/components}/layout/Layout/Layout.d.ts +2 -0
- package/dist/types/{components → legacy/components}/layout/Sidebar/Sidebar.d.ts +5 -0
- package/dist/types/{components → legacy/components}/layout/Spinner/Spinner.d.ts +1 -0
- package/dist/types/{components → legacy/components}/layout/TopBar/TopBar.d.ts +2 -0
- package/dist/types/{components → legacy/components}/layout/TopNavLayout/TopNavLayout.d.ts +3 -0
- package/dist/types/{components → legacy/components}/molecules/BarraValor/BarraValor.d.ts +3 -0
- package/dist/types/{components → legacy/components}/molecules/ColumnPicker/ColumnPicker.d.ts +8 -1
- package/dist/types/{components → legacy/components}/molecules/ConfirmModal/ConfirmModal.d.ts +2 -0
- package/dist/types/{components → legacy/components}/molecules/DataTable/DataTable.d.ts +6 -0
- package/dist/types/{components → legacy/components}/molecules/FileDropzone/FileDropzone.d.ts +3 -0
- package/dist/types/{components → legacy/components}/molecules/LanguageSwitcher/LanguageSwitcher.d.ts +3 -0
- package/dist/types/{components → legacy/components}/molecules/Modal/Modal.d.ts +2 -0
- package/dist/types/{components → legacy/components}/molecules/MultiTagPicker/MultiTagPicker.d.ts +2 -0
- package/dist/types/{components → legacy/components}/molecules/PhotoAvatar/PhotoAvatar.d.ts +1 -0
- package/dist/types/{components → legacy/components}/molecules/SeletorPesquisa/SeletorPesquisa.d.ts +3 -0
- package/dist/types/{components → legacy/components}/molecules/Sidebar/Sidebar.d.ts +1 -0
- package/dist/types/{components → legacy/components}/molecules/UserAvatar/UserAvatar.d.ts +1 -0
- package/dist/types/{components → legacy/components}/organisms/GanttChart/GanttChart.d.ts +8 -1
- package/dist/types/{components → legacy/components}/organisms/Kanban/Kanban.d.ts +3 -0
- package/dist/types/{components → legacy/components}/organisms/LazyLoader/LazyLoader.d.ts +1 -0
- package/dist/types/{components → legacy/components}/organisms/MapaPontos/MapaPontos.d.ts +12 -2
- package/dist/types/{components → legacy/components}/organisms/PainelFiltros/PainelFiltros.d.ts +7 -0
- package/dist/types/{components → legacy/components}/organisms/PesquisaRapida/PesquisaRapida.d.ts +5 -0
- package/dist/types/{components → legacy/components}/organisms/Profile/Profile.d.ts +1 -0
- package/dist/types/{components → legacy/components}/organisms/RoleGuard/RoleGuard.d.ts +6 -1
- package/dist/types/{components → legacy/components}/organisms/Selector/Selector.d.ts +1 -0
- package/dist/types/{components → legacy/components}/organisms/StatusMatrix/StatusMatrix.d.ts +6 -0
- package/dist/types/{components → legacy/components}/ui/Avisos.d.ts +9 -1
- package/dist/types/{components → legacy/components}/ui/BarraAcoes.d.ts +2 -0
- package/dist/types/{components → legacy/components}/ui/CabecalhoPagina.d.ts +6 -1
- package/dist/types/{components → legacy/components}/ui/Confirmacao.d.ts +2 -0
- package/dist/types/{components → legacy/components}/ui/Escolha.d.ts +14 -2
- package/dist/types/{components → legacy/components}/ui/FaixaAviso.d.ts +3 -0
- package/dist/types/{components → legacy/components}/ui/Passos.d.ts +3 -0
- package/dist/types/{components → legacy/components}/ui/Separadores.d.ts +3 -0
- package/dist/types/{components → legacy/components}/ui/TextoAuto.d.ts +2 -0
- package/dist/types/{components → legacy/components}/ui/Ui.d.ts +41 -7
- package/dist/types/{constants → legacy/constants}/FontWeight.d.ts +1 -0
- package/dist/types/{contexts → legacy/contexts}/apiContext.d.ts +1 -0
- package/dist/types/{contexts → legacy/contexts}/authContext.d.ts +2 -0
- package/dist/types/{contexts → legacy/contexts}/socketContext.d.ts +2 -0
- package/dist/types/{exports → legacy/exports}/hooks.d.ts +1 -1
- package/dist/types/{exports → legacy/exports}/molecules.d.ts +2 -1
- package/dist/types/legacy/exports/types.d.ts +7 -0
- package/dist/types/{hooks → legacy/hooks}/useApi.d.ts +2 -0
- package/dist/types/{hooks → legacy/hooks}/useTheme.d.ts +2 -0
- package/dist/types/{pages → legacy/pages}/Error/ErrorPage.d.ts +1 -0
- package/dist/types/{pages → legacy/pages}/Loading/Loading.d.ts +1 -0
- package/dist/types/{pages → legacy/pages}/Login/LoginScreen.d.ts +2 -0
- package/dist/types/{pages → legacy/pages}/NotFound/NotFound.d.ts +1 -0
- package/dist/types/legacy/styles/utils/utils.d.ts +2 -0
- package/dist/types/{types → legacy/types}/Fetcher.d.ts +1 -0
- package/dist/types/{types → legacy/types}/LoggedUser.d.ts +1 -0
- package/dist/types/{types → legacy/types}/SidebarMenu.d.ts +2 -0
- package/dist/types/legacy/types/themes/AcronymThemes.d.ts +4 -0
- package/dist/types/{types → legacy/types}/themes/ButtonThemes.d.ts +3 -0
- package/dist/types/legacy/types/themes/CustomSwitchThemes.d.ts +4 -0
- package/dist/types/{types → legacy/types}/themes/IconTextThemes.d.ts +1 -0
- package/dist/types/legacy/utils/stringUtils.d.ts +6 -0
- package/dist/types/v1/capabilities/documents/QRScanning/scanQRCodes.d.ts +25 -0
- package/dist/types/v1/components/documents/DocumentDropzone/DocumentDropzone.d.ts +60 -0
- package/dist/types/v1/components/forms/FormField/FormField.d.ts +44 -0
- package/dist/types/v1/components/forms/FormGrid/FormGrid.d.ts +21 -0
- package/dist/types/v1/components/overlays/Dialog/Dialog.d.ts +55 -0
- package/dist/types/v1/foundations/icons/icons.d.ts +24 -0
- package/dist/types/v1/index.d.ts +25 -0
- package/dist/types/v1/primitives/buttons/Button/Button.d.ts +18 -0
- package/dist/types/v1/primitives/documents/PdfPreview/PdfPreview.d.ts +17 -0
- package/dist/types/v1/primitives/documents/PdfPreview/pdfjs.d.ts +11 -0
- package/dist/types/v1/primitives/forms/LookupInput/LookupInput.d.ts +25 -0
- package/dist/types/v1/primitives/forms/SelectInput/SelectInput.d.ts +19 -0
- package/dist/types/v1/primitives/forms/TextArea/TextArea.d.ts +37 -0
- package/dist/types/v1/primitives/forms/TextInput/TextInput.d.ts +16 -0
- package/dist/types/v1/primitives/forms/field.d.ts +20 -0
- package/package.json +38 -33
- package/dist/bundle.js +0 -2
- package/dist/bundle.js.LICENSE.txt +0 -80
- package/dist/types/components/atoms/Icone/Icone.test.d.ts +0 -1
- package/dist/types/components/layout/Sidebar/Sidebar.test.d.ts +0 -1
- package/dist/types/components/molecules/BarraValor/BarraValor.test.d.ts +0 -1
- package/dist/types/components/molecules/DataTable/DataTable.test.d.ts +0 -1
- package/dist/types/components/molecules/SeletorPesquisa/SeletorPesquisa.test.d.ts +0 -1
- package/dist/types/components/organisms/Kanban/Kanban.test.d.ts +0 -1
- package/dist/types/components/organisms/RoleGuard/RoleGuard.test.d.ts +0 -1
- package/dist/types/components/ui/CaixaPesquisa.test.d.ts +0 -1
- package/dist/types/components/ui/Escolha.test.d.ts +0 -1
- package/dist/types/components/ui/Paginas.test.d.ts +0 -1
- package/dist/types/exports/types.d.ts +0 -7
- package/dist/types/styles/utils/utils.d.ts +0 -1
- package/dist/types/test/setup.d.ts +0 -1
- package/dist/types/types/themes/AcronymThemes.d.ts +0 -3
- package/dist/types/types/themes/CustomSwitchThemes.d.ts +0 -3
- package/dist/types/utils/stringUtils.d.ts +0 -3
- /package/dist/types/{components → legacy/components}/atoms/MultiTagPickerTag/MultiTagPickerTag.d.ts +0 -0
- /package/dist/types/{components → legacy/components}/atoms/SearchSelect/SearchSelect.d.ts +0 -0
- /package/dist/types/{components → legacy/components}/molecules/Search/Search.d.ts +0 -0
- /package/dist/types/{components → legacy/components}/ui/CaixaPesquisa.d.ts +0 -0
- /package/dist/types/{components → legacy/components}/ui/MenuAcoes.d.ts +0 -0
- /package/dist/types/{components → legacy/components}/ui/painelFlutuante.d.ts +0 -0
- /package/dist/types/{constants → legacy/constants}/Colors.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/assets.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/atoms.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/charts.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/constants.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/contexts.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/layout.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/organisms.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/pages.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/styles.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/ui.d.ts +0 -0
- /package/dist/types/{exports → legacy/exports}/utils.d.ts +0 -0
- /package/dist/types/{styles → legacy/styles}/themes/ButtonThemes.d.ts +0 -0
- /package/dist/types/{types → legacy/types}/SelectableElement.d.ts +0 -0
- /package/dist/types/{utils → legacy/utils}/keycloak.d.ts +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { WeightValue, FontWeight } from "../../../../constants/FontWeight.js";
|
|
3
|
+
import './ActionButton.css';/* empty css */
|
|
4
|
+
const ActionButton = ({
|
|
5
|
+
icon,
|
|
6
|
+
title,
|
|
7
|
+
theme,
|
|
8
|
+
onClick,
|
|
9
|
+
disabled = false
|
|
10
|
+
}) => {
|
|
11
|
+
const {
|
|
12
|
+
backgroundColor,
|
|
13
|
+
fontColor,
|
|
14
|
+
iconColor,
|
|
15
|
+
fontWeight,
|
|
16
|
+
size,
|
|
17
|
+
hoverBackgroundColor = backgroundColor
|
|
18
|
+
} = theme;
|
|
19
|
+
return /* @__PURE__ */ jsxs(
|
|
20
|
+
"button",
|
|
21
|
+
{
|
|
22
|
+
className: `cui-button cui-action-button cui-action-button-size-${size}`,
|
|
23
|
+
style: {
|
|
24
|
+
color: fontColor,
|
|
25
|
+
backgroundColor,
|
|
26
|
+
fontWeight: WeightValue[fontWeight || FontWeight.MEDIUM],
|
|
27
|
+
["--hover-bg-color"]: hoverBackgroundColor
|
|
28
|
+
},
|
|
29
|
+
onClick,
|
|
30
|
+
disabled,
|
|
31
|
+
children: [
|
|
32
|
+
icon && /* @__PURE__ */ jsx(
|
|
33
|
+
"span",
|
|
34
|
+
{
|
|
35
|
+
className: `cui-icon ${!title ? "cui-icon-only" : ""}`,
|
|
36
|
+
style: {
|
|
37
|
+
color: iconColor
|
|
38
|
+
},
|
|
39
|
+
children: icon
|
|
40
|
+
}
|
|
41
|
+
),
|
|
42
|
+
title
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
ActionButton as default
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=ActionButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionButton.js","sources":["../../../../../../../src/legacy/components/atoms/Button/variants/ActionButton.tsx"],"sourcesContent":["import React from 'react'\r\nimport { PropsWithChildren } from 'react'\r\n\r\nimport { FontWeight, WeightValue } from '../../../../constants/FontWeight'\r\nimport { ActionButtonTheme } from '../../../../types/themes/ButtonThemes'\r\n\r\nimport './ActionButton.scss'\r\n\r\ntype Props = PropsWithChildren<{\r\n icon?: React.ReactNode\r\n title: string\r\n theme: ActionButtonTheme\r\n onClick: () => void\r\n disabled?: boolean\r\n}>\r\n\r\n/** @deprecated Legacy — não usar em código novo. Ver Storybook › Legacy. */\r\nconst ActionButton = ({\r\n icon,\r\n title,\r\n theme,\r\n onClick,\r\n disabled = false,\r\n}: Props) => {\r\n const {\r\n backgroundColor,\r\n fontColor,\r\n iconColor,\r\n fontWeight,\r\n size,\r\n hoverBackgroundColor = backgroundColor,\r\n } = theme\r\n\r\n return (\r\n <button\r\n className={`cui-button cui-action-button cui-action-button-size-${size}`}\r\n style={{\r\n color: fontColor,\r\n backgroundColor,\r\n fontWeight: WeightValue[fontWeight || FontWeight.MEDIUM],\r\n ['--hover-bg-color' as any]: hoverBackgroundColor,\r\n }}\r\n onClick={onClick}\r\n disabled={disabled}\r\n >\r\n {icon && (\r\n <span\r\n className={`cui-icon ${!title ? 'cui-icon-only':''}`}\r\n style={{\r\n color: iconColor,\r\n }}\r\n >\r\n {icon}\r\n </span>\r\n )}\r\n {title}\r\n </button>\r\n )\r\n}\r\n\r\nexport default ActionButton\r\n"],"names":[],"mappings":";;;AAiBA,MAAM,eAAe,CAAC;AAAA,EACpB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW;AACb,MAAa;AACX,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,uBAAuB;AAAA,EAAA,IACrB;AAEJ,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW,uDAAuD,IAAI;AAAA,MACtE,OAAO;AAAA,QACL,OAAO;AAAA,QACP;AAAA,QACA,YAAY,YAAY,cAAc,WAAW,MAAM;AAAA,QACvD,CAAC,kBAAyB,GAAG;AAAA,MAAA;AAAA,MAE/B;AAAA,MACA;AAAA,MAEC,UAAA;AAAA,QAAA,QACC;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,WAAW,YAAY,CAAC,QAAQ,kBAAgB,EAAE;AAAA,YAClD,OAAO;AAAA,cACL,OAAO;AAAA,YAAA;AAAA,YAGR,UAAA;AAAA,UAAA;AAAA,QAAA;AAAA,QAGJ;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/* Intencionalmente VAZIO.
|
|
3
|
+
*
|
|
4
|
+
* As atoms antigas faziam `@import url('.../styles/index.scss')`, e este ficheiro
|
|
5
|
+
* injetava no CONSUMIDOR (via style-loader do bundle) um reset global agressivo
|
|
6
|
+
* (`* { margin:0; padding:0 }`), `@font-face` Urbanist (.ttf → 404 sob subpaths),
|
|
7
|
+
* `canvas { height:auto }` (partia o sizing dos charts) e `body { font-family;
|
|
8
|
+
* background }`. Uma LIB não pode impor nada disto — nukeava o spacing/fonte/fundo
|
|
9
|
+
* de qualquer app que importasse o common-ui (visível sobretudo em apps com
|
|
10
|
+
* utilities layered, que perdem ao `*` injetado).
|
|
11
|
+
*
|
|
12
|
+
* Cada app define o seu próprio reset/fonte/fundo. Mantido como no-op p/ os
|
|
13
|
+
* imports existentes não partirem. */
|
|
14
|
+
.cui-button {
|
|
15
|
+
border: none;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
|
|
18
|
+
transition: all 0.3s ease-out;
|
|
19
|
+
}
|
|
20
|
+
.cui-button:hover {
|
|
21
|
+
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
|
|
22
|
+
transform: translateY(-2px);
|
|
23
|
+
}
|
|
24
|
+
.cui-button:active {
|
|
25
|
+
transform: scale(0.95);
|
|
26
|
+
}
|
|
27
|
+
.cui-button:disabled {
|
|
28
|
+
opacity: 0.6;
|
|
29
|
+
cursor: not-allowed;
|
|
30
|
+
box-shadow: none;
|
|
31
|
+
transform: none !important;
|
|
32
|
+
}
|
|
33
|
+
.cui-filter-button {
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
color: var(--dark-blue);
|
|
38
|
+
border: 0.1rem solid var(--dark-blue);
|
|
39
|
+
border-radius: 25px;
|
|
40
|
+
height: 2rem;
|
|
41
|
+
padding: 0.4rem;
|
|
42
|
+
font-size: 0.9rem;
|
|
43
|
+
font-weight: 700;
|
|
44
|
+
line-height: 0.9rem;
|
|
45
|
+
}
|
|
46
|
+
.cui-filter-button .cui-icon {
|
|
47
|
+
width: 1.3rem;
|
|
48
|
+
height: 1.3rem;
|
|
49
|
+
margin-left: 0.5rem;
|
|
50
|
+
}
|
|
51
|
+
.cui-filter-button:hover {
|
|
52
|
+
background-color: var(--medium-gray-01);
|
|
53
|
+
}
|
|
54
|
+
.cui-filter-button.cui-selected {
|
|
55
|
+
background-color: var(--medium-blue);
|
|
56
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
3
|
+
import { faCircleCheck } from "@fortawesome/free-solid-svg-icons";
|
|
4
|
+
import { faCircle } from "@fortawesome/free-regular-svg-icons";
|
|
5
|
+
import './FilterButton.css';/* empty css */
|
|
6
|
+
const FilterButton = ({
|
|
7
|
+
title,
|
|
8
|
+
selected,
|
|
9
|
+
onClick,
|
|
10
|
+
disabled = false
|
|
11
|
+
}) => {
|
|
12
|
+
return /* @__PURE__ */ jsxs(
|
|
13
|
+
"button",
|
|
14
|
+
{
|
|
15
|
+
className: `cui-button cui-filter-button ${selected ? "cui-selected" : ""}`,
|
|
16
|
+
onClick,
|
|
17
|
+
disabled,
|
|
18
|
+
children: [
|
|
19
|
+
title,
|
|
20
|
+
/* @__PURE__ */ jsx(
|
|
21
|
+
FontAwesomeIcon,
|
|
22
|
+
{
|
|
23
|
+
icon: selected ? faCircleCheck : faCircle,
|
|
24
|
+
className: "cui-icon"
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
FilterButton as default
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=FilterButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterButton.js","sources":["../../../../../../../src/legacy/components/atoms/Button/variants/FilterButton.tsx"],"sourcesContent":["import React from 'react'\r\nimport { PropsWithChildren } from 'react'\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\nimport { faCircleCheck } from '@fortawesome/free-solid-svg-icons'\r\nimport { faCircle } from '@fortawesome/free-regular-svg-icons'\r\n\r\nimport './FilterButton.scss'\r\n\r\ntype Props = PropsWithChildren<{\r\n title: string\r\n selected: boolean\r\n onClick: () => void\r\n disabled?: boolean\r\n}>\r\n\r\n/** @deprecated Legacy — não usar em código novo. Ver Storybook › Legacy. */\r\nconst FilterButton = ({\r\n title,\r\n selected,\r\n onClick,\r\n disabled = false,\r\n}: Props) => {\r\n return (\r\n <button\r\n className={`cui-button cui-filter-button ${\r\n selected ? 'cui-selected' : ''\r\n }`}\r\n onClick={onClick}\r\n disabled={disabled}\r\n >\r\n {title}\r\n\r\n <FontAwesomeIcon\r\n icon={selected ? faCircleCheck : faCircle}\r\n className=\"cui-icon\"\r\n />\r\n </button>\r\n )\r\n}\r\n\r\nexport default FilterButton\r\n"],"names":[],"mappings":";;;;;AAgBA,MAAM,eAAe,CAAC;AAAA,EACpB;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW;AACb,MAAa;AACX,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW,gCACT,WAAW,iBAAiB,EAC9B;AAAA,MACA;AAAA,MACA;AAAA,MAEC,UAAA;AAAA,QAAA;AAAA,QAED;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAM,WAAW,gBAAgB;AAAA,YACjC,WAAU;AAAA,UAAA;AAAA,QAAA;AAAA,MACZ;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/* Intencionalmente VAZIO.
|
|
3
|
+
*
|
|
4
|
+
* As atoms antigas faziam `@import url('.../styles/index.scss')`, e este ficheiro
|
|
5
|
+
* injetava no CONSUMIDOR (via style-loader do bundle) um reset global agressivo
|
|
6
|
+
* (`* { margin:0; padding:0 }`), `@font-face` Urbanist (.ttf → 404 sob subpaths),
|
|
7
|
+
* `canvas { height:auto }` (partia o sizing dos charts) e `body { font-family;
|
|
8
|
+
* background }`. Uma LIB não pode impor nada disto — nukeava o spacing/fonte/fundo
|
|
9
|
+
* de qualquer app que importasse o common-ui (visível sobretudo em apps com
|
|
10
|
+
* utilities layered, que perdem ao `*` injetado).
|
|
11
|
+
*
|
|
12
|
+
* Cada app define o seu próprio reset/fonte/fundo. Mantido como no-op p/ os
|
|
13
|
+
* imports existentes não partirem. */
|
|
14
|
+
.cui-button {
|
|
15
|
+
border: none;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
|
|
18
|
+
transition: all 0.3s ease-out;
|
|
19
|
+
}
|
|
20
|
+
.cui-button:hover {
|
|
21
|
+
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
|
|
22
|
+
transform: translateY(-2px);
|
|
23
|
+
}
|
|
24
|
+
.cui-button:active {
|
|
25
|
+
transform: scale(0.95);
|
|
26
|
+
}
|
|
27
|
+
.cui-button:disabled {
|
|
28
|
+
opacity: 0.6;
|
|
29
|
+
cursor: not-allowed;
|
|
30
|
+
box-shadow: none;
|
|
31
|
+
transform: none !important;
|
|
32
|
+
}
|
|
33
|
+
.cui-icon-button {
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
color: var(--dark-blue);
|
|
38
|
+
border-radius: clamp(0.9rem, 2vw, 5rem);
|
|
39
|
+
}
|
|
40
|
+
.cui-icon-button:hover {
|
|
41
|
+
opacity: 0.9;
|
|
42
|
+
}
|
|
43
|
+
.cui-icon-button .cui-icon {
|
|
44
|
+
width: 100%;
|
|
45
|
+
height: 100%;
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
align-items: center;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.cui-icon-button-size-ultra-compact {
|
|
52
|
+
width: clamp(0.9rem, 1vw, 2.4rem);
|
|
53
|
+
height: clamp(0.9rem, 1vw, 2.4rem);
|
|
54
|
+
padding: clamp(0.05rem, 0.15vw, 0.2rem);
|
|
55
|
+
border: clamp(0.06rem, 0.1vw, 0.1rem) solid var(--dark-blue);
|
|
56
|
+
}
|
|
57
|
+
.cui-icon-button-size-compact {
|
|
58
|
+
width: clamp(1.1rem, 1.25vw, 2.8rem);
|
|
59
|
+
height: clamp(1.1rem, 1.25vw, 2.8rem);
|
|
60
|
+
padding: clamp(0.2rem, 0.3vw, 0.4rem);
|
|
61
|
+
border: clamp(0.08rem, 0.1vw, 0.12rem) solid var(--dark-blue);
|
|
62
|
+
}
|
|
63
|
+
.cui-icon-button-size-default {
|
|
64
|
+
width: clamp(1.4rem, 1.66vw, 3.2rem);
|
|
65
|
+
height: clamp(1.4rem, 1.66vw, 3.2rem);
|
|
66
|
+
padding: clamp(0.3rem, 0.4vw, 0.6rem);
|
|
67
|
+
border: clamp(0.08rem, 0.1vw, 0.14rem) solid var(--dark-blue);
|
|
68
|
+
}
|
|
69
|
+
.cui-icon-button-size-large {
|
|
70
|
+
width: clamp(2rem, 3.08vw, 5.5rem);
|
|
71
|
+
height: clamp(2rem, 3.08vw, 5.5rem);
|
|
72
|
+
padding: clamp(0.4rem, 0.8vw, 1.55rem);
|
|
73
|
+
border: clamp(0.09rem, 0.12vw, 0.15rem) solid var(--dark-blue);
|
|
74
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import Icone from "../../Icone/Icone.js";
|
|
3
|
+
import './IconButton.css';/* empty css */
|
|
4
|
+
const IconButton = ({
|
|
5
|
+
icon,
|
|
6
|
+
onClick,
|
|
7
|
+
theme,
|
|
8
|
+
disabled = false,
|
|
9
|
+
ariaLabel,
|
|
10
|
+
title
|
|
11
|
+
}) => {
|
|
12
|
+
const { backgroundColor, iconColor, size } = theme;
|
|
13
|
+
return /* @__PURE__ */ jsx(
|
|
14
|
+
"button",
|
|
15
|
+
{
|
|
16
|
+
className: `cui-button cui-icon-button cui-icon-button-size-${size}`,
|
|
17
|
+
style: { backgroundColor },
|
|
18
|
+
onClick,
|
|
19
|
+
disabled,
|
|
20
|
+
"aria-label": ariaLabel,
|
|
21
|
+
title: title ?? ariaLabel,
|
|
22
|
+
children: /* @__PURE__ */ jsx(Icone, { icone: icon, cor: iconColor, className: "cui-icon" })
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
IconButton as default
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=IconButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButton.js","sources":["../../../../../../../src/legacy/components/atoms/Button/variants/IconButton.tsx"],"sourcesContent":["import React, { CSSProperties } from 'react'\r\nimport { PropsWithChildren } from 'react'\r\nimport Icone, { type IconeQualquer } from '../../Icone/Icone'\r\n\r\nimport { IconButtonTheme } from '../../../../types/themes/ButtonThemes'\r\n\r\nimport './IconButton.scss'\r\n\r\ntype Props = PropsWithChildren<{\r\n /** FontAwesome, componente lucide ou elemento ja construido. */\r\n icon: IconeQualquer\r\n onClick: () => void\r\n theme: IconButtonTheme\r\n disabled?: boolean\r\n /**\r\n * Nome acessivel. Um botao so com icone nao tem texto, por isso sem isto fica\r\n * anunciado como \"botao\" por um leitor de ecra — e invisivel para testes.\r\n */\r\n ariaLabel?: string\r\n /** Tooltip nativa; sem valor proprio assume o `ariaLabel`. */\r\n title?: string\r\n}>\r\n\r\n/** @deprecated Legacy — não usar em código novo. Ver Storybook › Legacy. */\r\nconst IconButton = ({\r\n icon,\r\n onClick,\r\n theme,\r\n disabled = false,\r\n ariaLabel,\r\n title,\r\n}: Props) => {\r\n const { backgroundColor, iconColor, size } = theme\r\n\r\n return (\r\n <button\r\n className={`cui-button cui-icon-button cui-icon-button-size-${size}`}\r\n style={{ backgroundColor }}\r\n onClick={onClick}\r\n disabled={disabled}\r\n aria-label={ariaLabel}\r\n title={title ?? ariaLabel}\r\n >\r\n <Icone icone={icon} cor={iconColor} className=\"cui-icon\" />\r\n </button>\r\n )\r\n}\r\n\r\nexport default IconButton\r\n"],"names":[],"mappings":";;;AAwBA,MAAM,aAAa,CAAC;AAAA,EAClB;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW;AAAA,EACX;AAAA,EACA;AACF,MAAa;AACX,QAAM,EAAE,iBAAiB,WAAW,KAAA,IAAS;AAE7C,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW,mDAAmD,IAAI;AAAA,MAClE,OAAO,EAAE,gBAAA;AAAA,MACT;AAAA,MACA;AAAA,MACA,cAAY;AAAA,MACZ,OAAO,SAAS;AAAA,MAEhB,8BAAC,OAAA,EAAM,OAAO,MAAM,KAAK,WAAW,WAAU,WAAA,CAAW;AAAA,IAAA;AAAA,EAAA;AAG/D;"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/* Intencionalmente VAZIO.
|
|
3
|
+
*
|
|
4
|
+
* As atoms antigas faziam `@import url('.../styles/index.scss')`, e este ficheiro
|
|
5
|
+
* injetava no CONSUMIDOR (via style-loader do bundle) um reset global agressivo
|
|
6
|
+
* (`* { margin:0; padding:0 }`), `@font-face` Urbanist (.ttf → 404 sob subpaths),
|
|
7
|
+
* `canvas { height:auto }` (partia o sizing dos charts) e `body { font-family;
|
|
8
|
+
* background }`. Uma LIB não pode impor nada disto — nukeava o spacing/fonte/fundo
|
|
9
|
+
* de qualquer app que importasse o common-ui (visível sobretudo em apps com
|
|
10
|
+
* utilities layered, que perdem ao `*` injetado).
|
|
11
|
+
*
|
|
12
|
+
* Cada app define o seu próprio reset/fonte/fundo. Mantido como no-op p/ os
|
|
13
|
+
* imports existentes não partirem. */
|
|
14
|
+
.cui-button {
|
|
15
|
+
border: none;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
|
|
18
|
+
transition: all 0.3s ease-out;
|
|
19
|
+
}
|
|
20
|
+
.cui-button:hover {
|
|
21
|
+
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
|
|
22
|
+
transform: translateY(-2px);
|
|
23
|
+
}
|
|
24
|
+
.cui-button:active {
|
|
25
|
+
transform: scale(0.95);
|
|
26
|
+
}
|
|
27
|
+
.cui-button:disabled {
|
|
28
|
+
opacity: 0.6;
|
|
29
|
+
cursor: not-allowed;
|
|
30
|
+
box-shadow: none;
|
|
31
|
+
transform: none !important;
|
|
32
|
+
}
|
|
33
|
+
.cui-main-button {
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
border-radius: 1.5rem;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
position: relative;
|
|
40
|
+
transition: all 0.3s ease;
|
|
41
|
+
}
|
|
42
|
+
.cui-main-button:hover {
|
|
43
|
+
opacity: 0.9;
|
|
44
|
+
}
|
|
45
|
+
.cui-main-button:hover .cui-main-button-content {
|
|
46
|
+
transform: translateY(-1.5rem);
|
|
47
|
+
}
|
|
48
|
+
.cui-main-button:hover .cui-description-container {
|
|
49
|
+
opacity: 1;
|
|
50
|
+
transform: translateY(1.5rem);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.cui-main-button-size-default {
|
|
54
|
+
width: 15rem;
|
|
55
|
+
height: 11rem;
|
|
56
|
+
padding: 1.7rem;
|
|
57
|
+
font-size: 1.5rem;
|
|
58
|
+
font-weight: 500;
|
|
59
|
+
}
|
|
60
|
+
.cui-main-button-size-default .cui-main-button-content {
|
|
61
|
+
display: flex;
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
height: 100%;
|
|
64
|
+
width: 100%;
|
|
65
|
+
transition: transform 0.3s ease;
|
|
66
|
+
position: relative;
|
|
67
|
+
justify-content: center;
|
|
68
|
+
}
|
|
69
|
+
.cui-main-button-size-default .cui-main-button-top {
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
width: 100%;
|
|
73
|
+
}
|
|
74
|
+
.cui-main-button-size-default .cui-icon-container {
|
|
75
|
+
width: 20%;
|
|
76
|
+
}
|
|
77
|
+
.cui-main-button-size-default .cui-icon {
|
|
78
|
+
width: 1.9rem;
|
|
79
|
+
height: 1.9rem;
|
|
80
|
+
}
|
|
81
|
+
.cui-main-button-size-default .cui-title-container {
|
|
82
|
+
width: 75%;
|
|
83
|
+
overflow: hidden;
|
|
84
|
+
text-overflow: ellipsis;
|
|
85
|
+
}
|
|
86
|
+
.cui-main-button-size-default .cui-description-container {
|
|
87
|
+
opacity: 0;
|
|
88
|
+
transform: translateY(1rem);
|
|
89
|
+
transition: all 0.3s ease;
|
|
90
|
+
font-size: 0.8rem;
|
|
91
|
+
width: 100%;
|
|
92
|
+
text-align: center;
|
|
93
|
+
position: absolute;
|
|
94
|
+
bottom: 0;
|
|
95
|
+
left: 0;
|
|
96
|
+
color: var(--dark-blue);
|
|
97
|
+
overflow: hidden;
|
|
98
|
+
text-overflow: ellipsis;
|
|
99
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import Icone from "../../Icone/Icone.js";
|
|
3
|
+
import './MainButton.css';/* empty css */
|
|
4
|
+
const MainButton = ({
|
|
5
|
+
icon,
|
|
6
|
+
title,
|
|
7
|
+
description,
|
|
8
|
+
theme,
|
|
9
|
+
onClick,
|
|
10
|
+
disabled = false
|
|
11
|
+
}) => {
|
|
12
|
+
const { backgroundColor, color } = theme;
|
|
13
|
+
return /* @__PURE__ */ jsx(
|
|
14
|
+
"button",
|
|
15
|
+
{
|
|
16
|
+
className: `cui-button cui-main-button cui-main-button-size-default`,
|
|
17
|
+
style: {
|
|
18
|
+
color,
|
|
19
|
+
backgroundColor
|
|
20
|
+
},
|
|
21
|
+
onClick,
|
|
22
|
+
disabled,
|
|
23
|
+
children: /* @__PURE__ */ jsxs("div", { className: "cui-main-button-content", children: [
|
|
24
|
+
/* @__PURE__ */ jsxs("div", { className: "cui-main-button-top", children: [
|
|
25
|
+
/* @__PURE__ */ jsx("div", { className: "cui-icon-container", children: /* @__PURE__ */ jsx(Icone, { icone: icon, cor: color, className: "cui-icon" }) }),
|
|
26
|
+
/* @__PURE__ */ jsx("div", { className: "cui-title-container", children: title })
|
|
27
|
+
] }),
|
|
28
|
+
description && /* @__PURE__ */ jsx("div", { className: "cui-description-container", title: description, children: description })
|
|
29
|
+
] })
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
MainButton as default
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=MainButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MainButton.js","sources":["../../../../../../../src/legacy/components/atoms/Button/variants/MainButton.tsx"],"sourcesContent":["import React from 'react'\r\nimport { PropsWithChildren } from 'react'\r\nimport Icone, { type IconeQualquer } from '../../Icone/Icone'\r\nimport { MainButtonTheme } from '../../../../types/themes/ButtonThemes'\r\n\r\nimport './MainButton.scss'\r\n\r\ntype Props = PropsWithChildren<{\r\n /** FontAwesome, componente lucide ou elemento ja construido. */\r\n icon: IconeQualquer\r\n title: string\r\n description?: string\r\n theme: MainButtonTheme\r\n onClick: () => void\r\n disabled?: boolean\r\n}>\r\n\r\n/** @deprecated Legacy — não usar em código novo. Ver Storybook › Legacy. */\r\nconst MainButton = ({\r\n icon,\r\n title,\r\n description,\r\n theme,\r\n onClick,\r\n disabled = false,\r\n}: Props) => {\r\n const { backgroundColor, color } = theme\r\n\r\n return (\r\n <button\r\n className={`cui-button cui-main-button cui-main-button-size-default`}\r\n style={{\r\n color: color,\r\n backgroundColor,\r\n }}\r\n onClick={onClick}\r\n disabled={disabled}\r\n >\r\n <div className=\"cui-main-button-content\">\r\n <div className=\"cui-main-button-top\">\r\n <div className=\"cui-icon-container\">\r\n <Icone icone={icon} cor={color} className=\"cui-icon\" />\r\n </div>\r\n <div className=\"cui-title-container\">{title}</div>\r\n </div>\r\n {description && (\r\n <div className=\"cui-description-container\" title={description}>\r\n {description}\r\n </div>\r\n )}\r\n </div>\r\n </button>\r\n )\r\n}\r\n\r\nexport default MainButton\r\n"],"names":[],"mappings":";;;AAkBA,MAAM,aAAa,CAAC;AAAA,EAClB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW;AACb,MAAa;AACX,QAAM,EAAE,iBAAiB,MAAA,IAAU;AAEnC,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,MACX,OAAO;AAAA,QACL;AAAA,QACA;AAAA,MAAA;AAAA,MAEF;AAAA,MACA;AAAA,MAEA,UAAA,qBAAC,OAAA,EAAI,WAAU,2BACb,UAAA;AAAA,QAAA,qBAAC,OAAA,EAAI,WAAU,uBACb,UAAA;AAAA,UAAA,oBAAC,OAAA,EAAI,WAAU,sBACb,UAAA,oBAAC,OAAA,EAAM,OAAO,MAAM,KAAK,OAAO,WAAU,WAAA,CAAW,GACvD;AAAA,UACA,oBAAC,OAAA,EAAI,WAAU,uBAAuB,UAAA,MAAA,CAAM;AAAA,QAAA,GAC9C;AAAA,QACC,eACC,oBAAC,OAAA,EAAI,WAAU,6BAA4B,OAAO,aAC/C,UAAA,YAAA,CACH;AAAA,MAAA,EAAA,CAEJ;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/* Intencionalmente VAZIO.
|
|
3
|
+
*
|
|
4
|
+
* As atoms antigas faziam `@import url('.../styles/index.scss')`, e este ficheiro
|
|
5
|
+
* injetava no CONSUMIDOR (via style-loader do bundle) um reset global agressivo
|
|
6
|
+
* (`* { margin:0; padding:0 }`), `@font-face` Urbanist (.ttf → 404 sob subpaths),
|
|
7
|
+
* `canvas { height:auto }` (partia o sizing dos charts) e `body { font-family;
|
|
8
|
+
* background }`. Uma LIB não pode impor nada disto — nukeava o spacing/fonte/fundo
|
|
9
|
+
* de qualquer app que importasse o common-ui (visível sobretudo em apps com
|
|
10
|
+
* utilities layered, que perdem ao `*` injetado).
|
|
11
|
+
*
|
|
12
|
+
* Cada app define o seu próprio reset/fonte/fundo. Mantido como no-op p/ os
|
|
13
|
+
* imports existentes não partirem. */
|
|
14
|
+
.cui-button {
|
|
15
|
+
border: none;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
|
|
18
|
+
transition: all 0.3s ease-out;
|
|
19
|
+
}
|
|
20
|
+
.cui-button:hover {
|
|
21
|
+
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
|
|
22
|
+
transform: translateY(-2px);
|
|
23
|
+
}
|
|
24
|
+
.cui-button:active {
|
|
25
|
+
transform: scale(0.95);
|
|
26
|
+
}
|
|
27
|
+
.cui-button:disabled {
|
|
28
|
+
opacity: 0.6;
|
|
29
|
+
cursor: not-allowed;
|
|
30
|
+
box-shadow: none;
|
|
31
|
+
transform: none !important;
|
|
32
|
+
}
|
|
33
|
+
.cui-tab-button {
|
|
34
|
+
display: flex;
|
|
35
|
+
border-radius: 14px;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
background-color: var(--light-gray-01);
|
|
39
|
+
color: var(--dark-blue);
|
|
40
|
+
width: 10rem;
|
|
41
|
+
height: 3.5rem;
|
|
42
|
+
padding: 0.6rem;
|
|
43
|
+
font-size: 0.9rem;
|
|
44
|
+
font-weight: 600;
|
|
45
|
+
line-height: 0.9rem;
|
|
46
|
+
}
|
|
47
|
+
.cui-tab-button .cui-icon {
|
|
48
|
+
border-radius: 50%;
|
|
49
|
+
width: 1.5rem;
|
|
50
|
+
height: 1.5rem;
|
|
51
|
+
margin-right: 0.5rem;
|
|
52
|
+
color: var(--dark-blue);
|
|
53
|
+
}
|
|
54
|
+
.cui-tab-button:hover {
|
|
55
|
+
background-color: var(--medium-gray-01);
|
|
56
|
+
}
|
|
57
|
+
.cui-tab-button.cui-selected {
|
|
58
|
+
background-color: var(--dark-blue);
|
|
59
|
+
color: var(--almost-white);
|
|
60
|
+
}
|
|
61
|
+
.cui-tab-button.cui-selected .cui-icon {
|
|
62
|
+
color: var(--almost-white);
|
|
63
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
3
|
+
import './TabButton.css';/* empty css */
|
|
4
|
+
const TabButton = ({ icon, title, selected, onClick, disabled }) => {
|
|
5
|
+
return /* @__PURE__ */ jsxs(
|
|
6
|
+
"button",
|
|
7
|
+
{
|
|
8
|
+
className: `cui-button cui-tab-button ${selected ? "cui-selected" : ""}`,
|
|
9
|
+
onClick,
|
|
10
|
+
disabled,
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ jsx(FontAwesomeIcon, { icon, className: "cui-icon" }),
|
|
13
|
+
title
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
TabButton as default
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=TabButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabButton.js","sources":["../../../../../../../src/legacy/components/atoms/Button/variants/TabButton.tsx"],"sourcesContent":["import React, { CSSProperties } from 'react'\r\nimport { PropsWithChildren } from 'react'\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\nimport { IconProp } from '@fortawesome/fontawesome-svg-core'\r\n\r\nimport './TabButton.scss'\r\n\r\ntype Props = PropsWithChildren<{\r\n icon: IconProp\r\n title: string\r\n selected: boolean\r\n onClick: () => void\r\n disabled?: boolean\r\n}>\r\n\r\n/** @deprecated Legacy — não usar em código novo. Ver Storybook › Legacy. */\r\nconst TabButton = ({ icon, title, selected, onClick, disabled }: Props) => {\r\n return (\r\n <button\r\n className={`cui-button cui-tab-button ${selected ? 'cui-selected' : ''}`}\r\n onClick={onClick}\r\n disabled={disabled}\r\n >\r\n <FontAwesomeIcon icon={icon} className=\"cui-icon\" />\r\n {title}\r\n </button>\r\n )\r\n}\r\n\r\nexport default TabButton\r\n"],"names":[],"mappings":";;;AAgBA,MAAM,YAAY,CAAC,EAAE,MAAM,OAAO,UAAU,SAAS,eAAsB;AACzE,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW,6BAA6B,WAAW,iBAAiB,EAAE;AAAA,MACtE;AAAA,MACA;AAAA,MAEA,UAAA;AAAA,QAAA,oBAAC,iBAAA,EAAgB,MAAY,WAAU,WAAA,CAAW;AAAA,QACjD;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/* Intencionalmente VAZIO.
|
|
3
|
+
*
|
|
4
|
+
* As atoms antigas faziam `@import url('.../styles/index.scss')`, e este ficheiro
|
|
5
|
+
* injetava no CONSUMIDOR (via style-loader do bundle) um reset global agressivo
|
|
6
|
+
* (`* { margin:0; padding:0 }`), `@font-face` Urbanist (.ttf → 404 sob subpaths),
|
|
7
|
+
* `canvas { height:auto }` (partia o sizing dos charts) e `body { font-family;
|
|
8
|
+
* background }`. Uma LIB não pode impor nada disto — nukeava o spacing/fonte/fundo
|
|
9
|
+
* de qualquer app que importasse o common-ui (visível sobretudo em apps com
|
|
10
|
+
* utilities layered, que perdem ao `*` injetado).
|
|
11
|
+
*
|
|
12
|
+
* Cada app define o seu próprio reset/fonte/fundo. Mantido como no-op p/ os
|
|
13
|
+
* imports existentes não partirem. */
|
|
14
|
+
.cui-field {
|
|
15
|
+
font-weight: bold;
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
position: relative;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.cui-adding,
|
|
22
|
+
.cui-added,
|
|
23
|
+
.cui-number {
|
|
24
|
+
font-size: 0.8rem;
|
|
25
|
+
font-weight: 400;
|
|
26
|
+
line-height: 0.9rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.cui-input {
|
|
30
|
+
width: 15rem;
|
|
31
|
+
height: 2rem;
|
|
32
|
+
padding: 0.5rem;
|
|
33
|
+
border: 0.1rem solid var(--medium-gray-01);
|
|
34
|
+
border-radius: 0.8rem;
|
|
35
|
+
font-size: 1rem;
|
|
36
|
+
transition: border-color 0.2s ease, color 0.2s ease;
|
|
37
|
+
box-shadow: 0.1rem 0.1rem 0.3rem rgba(0, 0, 0, 0.1);
|
|
38
|
+
background-color: var(--almost-white);
|
|
39
|
+
white-space: nowrap;
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
text-overflow: ellipsis;
|
|
42
|
+
text-align: center;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.cui-input::placeholder {
|
|
46
|
+
color: var(--medium-gray-01);
|
|
47
|
+
text-overflow: ellipsis;
|
|
48
|
+
white-space: nowrap;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.cui-input:focus {
|
|
53
|
+
border-color: var(--dark-blue);
|
|
54
|
+
outline: none;
|
|
55
|
+
color: var(--dark-blue);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.cui-input.cui-adding_operator_name:focus {
|
|
59
|
+
border-color: var(--dark-blue);
|
|
60
|
+
outline: none;
|
|
61
|
+
color: var(--bright-green);
|
|
62
|
+
font-size: 0.75rem;
|
|
63
|
+
font-weight: 700;
|
|
64
|
+
line-height: 0.8rem;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.cui-input:not(:focus) {
|
|
68
|
+
color: var(--dark-gray);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.cui-input.cui-adding_operator_name:not(:focus) {
|
|
72
|
+
font-size: 0.75rem;
|
|
73
|
+
font-weight: 700;
|
|
74
|
+
line-height: 0.8rem;
|
|
75
|
+
color: var(--medium-gray-01);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.cui-input:focus-visible {
|
|
79
|
+
caret-color: var(--dark-blue);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.cui-input.cui-adding_operator_name:focus-visible {
|
|
83
|
+
caret-color: var(--bright-green);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.cui-adding .cui-input::placeholder {
|
|
87
|
+
color: var(--medium-gray-01);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.cui-added .cui-input::placeholder {
|
|
91
|
+
color: var(--dark-blue);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.cui-adding_operator_name .cui-icon {
|
|
95
|
+
position: absolute;
|
|
96
|
+
color: var(--bright-green);
|
|
97
|
+
font-size: 1rem;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.cui-placeholder {
|
|
101
|
+
position: absolute;
|
|
102
|
+
left: 1.5rem;
|
|
103
|
+
top: 50%;
|
|
104
|
+
transform: translateY(-50%);
|
|
105
|
+
color: var(--medium-gray-01);
|
|
106
|
+
padding: 0.5rem;
|
|
107
|
+
font-size: 0.75rem;
|
|
108
|
+
font-weight: 700;
|
|
109
|
+
line-height: 0.8rem;
|
|
110
|
+
pointer-events: none;
|
|
111
|
+
text-align: left;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.cui-input.cui-with-icon {
|
|
115
|
+
padding-left: 2rem;
|
|
116
|
+
text-align: left;
|
|
117
|
+
border: 0;
|
|
118
|
+
border: none;
|
|
119
|
+
box-shadow: none;
|
|
120
|
+
background-color: transparent;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.cui-input.cui-with-icon :empty {
|
|
124
|
+
text-align: left;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.cui-number_controls {
|
|
128
|
+
position: absolute;
|
|
129
|
+
right: 0.5rem;
|
|
130
|
+
top: 50%;
|
|
131
|
+
transform: translateY(-50%);
|
|
132
|
+
display: flex;
|
|
133
|
+
flex-direction: column;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.cui-increment,
|
|
137
|
+
.cui-decrement {
|
|
138
|
+
background: transparent;
|
|
139
|
+
border: none;
|
|
140
|
+
cursor: pointer;
|
|
141
|
+
padding: 0.01rem;
|
|
142
|
+
font-size: 0.8rem;
|
|
143
|
+
color: var(--dark-blue);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.cui-increment:hover,
|
|
147
|
+
.cui-decrement:hover {
|
|
148
|
+
color: var(--bright-blue);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.cui-inputWrapper {
|
|
152
|
+
position: relative;
|
|
153
|
+
display: flex;
|
|
154
|
+
align-items: center;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/* Remove default arrows in Chrome, Safari, Edge, and Opera */
|
|
158
|
+
.cui-input[type=number]::-webkit-outer-spin-button,
|
|
159
|
+
.cui-input[type=number]::-webkit-inner-spin-button {
|
|
160
|
+
-webkit-appearance: none;
|
|
161
|
+
margin: 0;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/* Remove default arrows in Firefox */
|
|
165
|
+
.cui-input[type=number] {
|
|
166
|
+
-moz-appearance: textfield;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.cui-input:not(:placeholder-shown) + .cui-placeholder {
|
|
170
|
+
display: none;
|
|
171
|
+
}
|