kitunga-web 0.1.78
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/features/buttons/components/Btns/Button.d.ts +32 -0
- package/dist/features/buttons/components/Btns/Button.d.ts.map +1 -0
- package/dist/features/buttons/components/Btns/Button.js +50 -0
- package/dist/features/buttons/components/Btns/Button.js.map +1 -0
- package/dist/features/buttons/components/Btns/Button.module.css +205 -0
- package/dist/features/data-display/components/Cards/ChartCard.d.ts +9 -0
- package/dist/features/data-display/components/Cards/ChartCard.d.ts.map +1 -0
- package/dist/features/data-display/components/Cards/ChartCard.js +7 -0
- package/dist/features/data-display/components/Cards/ChartCard.js.map +1 -0
- package/dist/features/data-display/components/Cards/ChartCard.module.css +27 -0
- package/dist/features/data-display/components/Cards/MetricCard.d.ts +11 -0
- package/dist/features/data-display/components/Cards/MetricCard.d.ts.map +1 -0
- package/dist/features/data-display/components/Cards/MetricCard.js +10 -0
- package/dist/features/data-display/components/Cards/MetricCard.js.map +1 -0
- package/dist/features/data-display/components/Cards/MetricCard.module.css +86 -0
- package/dist/features/data-display/components/Cards/StatCard.d.ts +15 -0
- package/dist/features/data-display/components/Cards/StatCard.d.ts.map +1 -0
- package/dist/features/data-display/components/Cards/StatCard.js +23 -0
- package/dist/features/data-display/components/Cards/StatCard.js.map +1 -0
- package/dist/features/data-display/components/Cards/StatCard.module.css +98 -0
- package/dist/features/data-display/components/Table/LineItemsTable.d.ts +4 -0
- package/dist/features/data-display/components/Table/LineItemsTable.d.ts.map +1 -0
- package/dist/features/data-display/components/Table/LineItemsTable.js +216 -0
- package/dist/features/data-display/components/Table/LineItemsTable.js.map +1 -0
- package/dist/features/data-display/components/Table/LineItemsTable.module.css +223 -0
- package/dist/features/data-display/components/Table/Table.d.ts +4 -0
- package/dist/features/data-display/components/Table/Table.d.ts.map +1 -0
- package/dist/features/data-display/components/Table/Table.js +181 -0
- package/dist/features/data-display/components/Table/Table.js.map +1 -0
- package/dist/features/data-display/components/Table/Table.module.css +305 -0
- package/dist/features/data-display/components/Table/types/LineItemsTable.d.ts +83 -0
- package/dist/features/data-display/components/Table/types/LineItemsTable.d.ts.map +1 -0
- package/dist/features/data-display/components/Table/types/LineItemsTable.js +2 -0
- package/dist/features/data-display/components/Table/types/LineItemsTable.js.map +1 -0
- package/dist/features/data-display/components/Table/types/Table.d.ts +78 -0
- package/dist/features/data-display/components/Table/types/Table.d.ts.map +1 -0
- package/dist/features/data-display/components/Table/types/Table.js +2 -0
- package/dist/features/data-display/components/Table/types/Table.js.map +1 -0
- package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.d.ts +12 -0
- package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.d.ts.map +1 -0
- package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.js +7 -0
- package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.js.map +1 -0
- package/dist/features/data-display/components/Tabs/PillTabs/PillTabs.module.css +36 -0
- package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.d.ts +18 -0
- package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.d.ts.map +1 -0
- package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.js +52 -0
- package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.js.map +1 -0
- package/dist/features/feedback/components/ChangedDataSummary/ChangedDataSummary.module.css +90 -0
- package/dist/features/feedback/components/ChangedDataSummary/getFormDataChanges.d.ts +21 -0
- package/dist/features/feedback/components/ChangedDataSummary/getFormDataChanges.d.ts.map +1 -0
- package/dist/features/feedback/components/ChangedDataSummary/getFormDataChanges.js +37 -0
- package/dist/features/feedback/components/ChangedDataSummary/getFormDataChanges.js.map +1 -0
- package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.d.ts +15 -0
- package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.d.ts.map +1 -0
- package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.js +56 -0
- package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.js.map +1 -0
- package/dist/features/feedback/components/CreatedDataSummary/CreatedDataSummary.module.css +90 -0
- package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.d.ts +9 -0
- package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.d.ts.map +1 -0
- package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.js +9 -0
- package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.js.map +1 -0
- package/dist/features/feedback/components/EmptyStates/SearchEmptyState/SearchEmptyState.module.css +36 -0
- package/dist/features/feedback/components/FlowNotice/FlowNotice.d.ts +8 -0
- package/dist/features/feedback/components/FlowNotice/FlowNotice.d.ts.map +1 -0
- package/dist/features/feedback/components/FlowNotice/FlowNotice.js +52 -0
- package/dist/features/feedback/components/FlowNotice/FlowNotice.js.map +1 -0
- package/dist/features/feedback/components/FlowNotice/FlowNotice.module.css +122 -0
- package/dist/features/feedback/components/Loading/AppLoading.d.ts +14 -0
- package/dist/features/feedback/components/Loading/AppLoading.d.ts.map +1 -0
- package/dist/features/feedback/components/Loading/AppLoading.js +17 -0
- package/dist/features/feedback/components/Loading/AppLoading.js.map +1 -0
- package/dist/features/feedback/components/Loading/AppLoading.module.css +95 -0
- package/dist/features/feedback/components/SuccesModal/ModalSuccess.d.ts +24 -0
- package/dist/features/feedback/components/SuccesModal/ModalSuccess.d.ts.map +1 -0
- package/dist/features/feedback/components/SuccesModal/ModalSuccess.js +11 -0
- package/dist/features/feedback/components/SuccesModal/ModalSuccess.js.map +1 -0
- package/dist/features/feedback/components/SuccesModal/ModalSuccess.module.css +141 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltip.d.ts +10 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltip.d.ts.map +1 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltip.js +48 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltip.js.map +1 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltip.module.css +123 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltipContent.d.ts +11 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltipContent.d.ts.map +1 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltipContent.js +8 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltipContent.js.map +1 -0
- package/dist/features/feedback/components/Tooltips/InfoTooltipContent.module.css +58 -0
- package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.d.ts +27 -0
- package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.d.ts.map +1 -0
- package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.js +56 -0
- package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.js.map +1 -0
- package/dist/features/feedback/components/Tooltips/ProgressChecklistTooltip.module.css +200 -0
- package/dist/features/inputs/components/DatePicker/DatePicker.d.ts +13 -0
- package/dist/features/inputs/components/DatePicker/DatePicker.d.ts.map +1 -0
- package/dist/features/inputs/components/DatePicker/DatePicker.js +97 -0
- package/dist/features/inputs/components/DatePicker/DatePicker.js.map +1 -0
- package/dist/features/inputs/components/DatePicker/DatePicker.module.css +186 -0
- package/dist/features/inputs/components/Inputs/DateInput.d.ts +27 -0
- package/dist/features/inputs/components/Inputs/DateInput.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/DateInput.js +236 -0
- package/dist/features/inputs/components/Inputs/DateInput.js.map +1 -0
- package/dist/features/inputs/components/Inputs/DateInput.module.css +301 -0
- package/dist/features/inputs/components/Inputs/DateRangeInput.d.ts +24 -0
- package/dist/features/inputs/components/Inputs/DateRangeInput.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/DateRangeInput.js +10 -0
- package/dist/features/inputs/components/Inputs/DateRangeInput.js.map +1 -0
- package/dist/features/inputs/components/Inputs/DateRangeInput.module.css +24 -0
- package/dist/features/inputs/components/Inputs/NumberInput.d.ts +21 -0
- package/dist/features/inputs/components/Inputs/NumberInput.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/NumberInput.js +82 -0
- package/dist/features/inputs/components/Inputs/NumberInput.js.map +1 -0
- package/dist/features/inputs/components/Inputs/NumberInput.module.css +148 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.d.ts +9 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.js +187 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.js.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/PhoneInput.module.css +259 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/ao.d.ts +3 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/ao.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/ao.js +20 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/ao.js.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/br.d.ts +3 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/br.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/br.js +9 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/br.js.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/index.d.ts +5 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/index.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/index.js +48 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/index.js.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/pt.d.ts +3 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/pt.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/pt.js +9 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/pt.js.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/us.d.ts +3 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/us.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/us.js +17 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/countries/us.js.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/types/phone.types.d.ts +10 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/types/phone.types.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/types/phone.types.js +2 -0
- package/dist/features/inputs/components/Inputs/PhoneInput/types/phone.types.js.map +1 -0
- package/dist/features/inputs/components/Inputs/SearchInput.d.ts +13 -0
- package/dist/features/inputs/components/Inputs/SearchInput.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/SearchInput.js +12 -0
- package/dist/features/inputs/components/Inputs/SearchInput.js.map +1 -0
- package/dist/features/inputs/components/Inputs/SearchInput.module.css +107 -0
- package/dist/features/inputs/components/Inputs/StepperInput.d.ts +14 -0
- package/dist/features/inputs/components/Inputs/StepperInput.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/StepperInput.js +44 -0
- package/dist/features/inputs/components/Inputs/StepperInput.js.map +1 -0
- package/dist/features/inputs/components/Inputs/StepperInput.module.css +96 -0
- package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.d.ts +15 -0
- package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.js +102 -0
- package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.js.map +1 -0
- package/dist/features/inputs/components/Inputs/TaxIdInput/TaxIdInput.module.css +259 -0
- package/dist/features/inputs/components/Inputs/TaxIdInput/index.d.ts +5 -0
- package/dist/features/inputs/components/Inputs/TaxIdInput/index.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/TaxIdInput/index.js +3 -0
- package/dist/features/inputs/components/Inputs/TaxIdInput/index.js.map +1 -0
- package/dist/features/inputs/components/Inputs/TextInput.d.ts +4 -0
- package/dist/features/inputs/components/Inputs/TextInput.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/TextInput.js +61 -0
- package/dist/features/inputs/components/Inputs/TextInput.js.map +1 -0
- package/dist/features/inputs/components/Inputs/TextInput.module.css +174 -0
- package/dist/features/inputs/components/Inputs/TextareaInput.d.ts +4 -0
- package/dist/features/inputs/components/Inputs/TextareaInput.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/TextareaInput.js +45 -0
- package/dist/features/inputs/components/Inputs/TextareaInput.js.map +1 -0
- package/dist/features/inputs/components/Inputs/TextareaInput.module.css +144 -0
- package/dist/features/inputs/components/Inputs/types/input.types.d.ts +28 -0
- package/dist/features/inputs/components/Inputs/types/input.types.d.ts.map +1 -0
- package/dist/features/inputs/components/Inputs/types/input.types.js +2 -0
- package/dist/features/inputs/components/Inputs/types/input.types.js.map +1 -0
- package/dist/features/navigation/components/Menu/SharedMenuItem.d.ts +25 -0
- package/dist/features/navigation/components/Menu/SharedMenuItem.d.ts.map +1 -0
- package/dist/features/navigation/components/Menu/SharedMenuItem.js +40 -0
- package/dist/features/navigation/components/Menu/SharedMenuItem.js.map +1 -0
- package/dist/features/navigation/components/Menu/SharedMenuItem.module.css +219 -0
- package/dist/features/navigation/components/PageFooter/PageFooter.d.ts +13 -0
- package/dist/features/navigation/components/PageFooter/PageFooter.d.ts.map +1 -0
- package/dist/features/navigation/components/PageFooter/PageFooter.js +52 -0
- package/dist/features/navigation/components/PageFooter/PageFooter.js.map +1 -0
- package/dist/features/navigation/components/PageFooter/PageFooter.module.css +24 -0
- package/dist/features/navigation/components/PageHeader/PageHeader.d.ts +14 -0
- package/dist/features/navigation/components/PageHeader/PageHeader.d.ts.map +1 -0
- package/dist/features/navigation/components/PageHeader/PageHeader.js +22 -0
- package/dist/features/navigation/components/PageHeader/PageHeader.js.map +1 -0
- package/dist/features/navigation/components/PageHeader/PageHeader.module.css +41 -0
- package/dist/features/navigation/components/Sidebar/Sidebar.d.ts +24 -0
- package/dist/features/navigation/components/Sidebar/Sidebar.d.ts.map +1 -0
- package/dist/features/navigation/components/Sidebar/Sidebar.js +131 -0
- package/dist/features/navigation/components/Sidebar/Sidebar.js.map +1 -0
- package/dist/features/navigation/components/Sidebar/Sidebar.module.css +139 -0
- package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.d.ts +66 -0
- package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.d.ts.map +1 -0
- package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.js +89 -0
- package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.js.map +1 -0
- package/dist/features/overlays/components/DeleteModal/ComprehensiveDeleteModal.module.css +269 -0
- package/dist/features/overlays/components/Popup/Popup.d.ts +8 -0
- package/dist/features/overlays/components/Popup/Popup.d.ts.map +1 -0
- package/dist/features/overlays/components/Popup/Popup.js +23 -0
- package/dist/features/overlays/components/Popup/Popup.js.map +1 -0
- package/dist/features/overlays/components/Popup/Popup.module.css +64 -0
- package/dist/features/overlays/components/Popup/index.d.ts +3 -0
- package/dist/features/overlays/components/Popup/index.d.ts.map +1 -0
- package/dist/features/overlays/components/Popup/index.js +2 -0
- package/dist/features/overlays/components/Popup/index.js.map +1 -0
- package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.d.ts +36 -0
- package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.d.ts.map +1 -0
- package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.js +38 -0
- package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.js.map +1 -0
- package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.module.css +339 -0
- package/dist/features/overlays/components/dropdowns/DropdownMenu.d.ts +18 -0
- package/dist/features/overlays/components/dropdowns/DropdownMenu.d.ts.map +1 -0
- package/dist/features/overlays/components/dropdowns/DropdownMenu.js +34 -0
- package/dist/features/overlays/components/dropdowns/DropdownMenu.js.map +1 -0
- package/dist/features/overlays/components/dropdowns/DropdownMenu.module.css +23 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.d.ts +36 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.js +19 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.js.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/FormActions.module.css +88 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.d.ts +14 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.js +119 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.js.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/GenericStepRenderer.module.css +76 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.d.ts +3 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.js +486 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.js.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepForm.module.css +55 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.d.ts +16 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.js +8 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.js.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/MultiStepHeader.module.css +77 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.d.ts +10 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.js +9 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.js.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepIndicator.module.css +86 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.d.ts +13 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.js +9 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.js.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/StepsContainer.module.css +8 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.d.ts +20 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.js +7 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.js.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/components/SuccessScreen.module.css +13 -0
- package/dist/features/patterns/components/Form/MultiStepForm/types/types.d.ts +216 -0
- package/dist/features/patterns/components/Form/MultiStepForm/types/types.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/types/types.js +2 -0
- package/dist/features/patterns/components/Form/MultiStepForm/types/types.js.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/utils/constants.d.ts +6 -0
- package/dist/features/patterns/components/Form/MultiStepForm/utils/constants.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/utils/constants.js +22 -0
- package/dist/features/patterns/components/Form/MultiStepForm/utils/constants.js.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/utils/utils.d.ts +10 -0
- package/dist/features/patterns/components/Form/MultiStepForm/utils/utils.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/MultiStepForm/utils/utils.js +31 -0
- package/dist/features/patterns/components/Form/MultiStepForm/utils/utils.js.map +1 -0
- package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.d.ts +19 -0
- package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.d.ts.map +1 -0
- package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.js +104 -0
- package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.js.map +1 -0
- package/dist/features/patterns/components/Form/VerificationCodeStep/VerificationCodeStep.module.css +55 -0
- package/dist/features/selects/components/Selects/CustomSelect.d.ts +27 -0
- package/dist/features/selects/components/Selects/CustomSelect.d.ts.map +1 -0
- package/dist/features/selects/components/Selects/CustomSelect.js +53 -0
- package/dist/features/selects/components/Selects/CustomSelect.js.map +1 -0
- package/dist/features/selects/components/Selects/CustomSelect.module.css +307 -0
- package/dist/features/uploads/components/ImageUpload/ImageUpload.d.ts +12 -0
- package/dist/features/uploads/components/ImageUpload/ImageUpload.d.ts.map +1 -0
- package/dist/features/uploads/components/ImageUpload/ImageUpload.js +178 -0
- package/dist/features/uploads/components/ImageUpload/ImageUpload.js.map +1 -0
- package/dist/features/uploads/components/ImageUpload/ImageUpload.module.css +254 -0
- package/dist/features/uploads/components/VideoUpload/VideoUpload.d.ts +12 -0
- package/dist/features/uploads/components/VideoUpload/VideoUpload.d.ts.map +1 -0
- package/dist/features/uploads/components/VideoUpload/VideoUpload.js +183 -0
- package/dist/features/uploads/components/VideoUpload/VideoUpload.js.map +1 -0
- package/dist/features/uploads/components/VideoUpload/VideoUpload.module.css +277 -0
- package/dist/features/uploads/components/VideoUpload/index.d.ts +2 -0
- package/dist/features/uploads/components/VideoUpload/index.d.ts.map +1 -0
- package/dist/features/uploads/components/VideoUpload/index.js +2 -0
- package/dist/features/uploads/components/VideoUpload/index.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/shared/styles/globals.css +80 -0
- package/dist/shared/styles/tokens.css +138 -0
- package/dist/shared/utils/devDelay.d.ts +8 -0
- package/dist/shared/utils/devDelay.d.ts.map +1 -0
- package/dist/shared/utils/devDelay.js +11 -0
- package/dist/shared/utils/devDelay.js.map +1 -0
- package/dist/shared/utils/files.d.ts +9 -0
- package/dist/shared/utils/files.d.ts.map +1 -0
- package/dist/shared/utils/files.js +26 -0
- package/dist/shared/utils/files.js.map +1 -0
- package/dist/shared/utils/formatCurrency.d.ts +24 -0
- package/dist/shared/utils/formatCurrency.d.ts.map +1 -0
- package/dist/shared/utils/formatCurrency.js +96 -0
- package/dist/shared/utils/formatCurrency.js.map +1 -0
- package/dist/shared/utils/location/countries/ao.d.ts +3 -0
- package/dist/shared/utils/location/countries/ao.d.ts.map +1 -0
- package/dist/shared/utils/location/countries/ao.js +52 -0
- package/dist/shared/utils/location/countries/ao.js.map +1 -0
- package/dist/shared/utils/location/countries/ao.json +254 -0
- package/dist/shared/utils/location/countries/ao.official-2026.json +254 -0
- package/dist/shared/utils/location/countries/br.d.ts +3 -0
- package/dist/shared/utils/location/countries/br.d.ts.map +1 -0
- package/dist/shared/utils/location/countries/br.js +33 -0
- package/dist/shared/utils/location/countries/br.js.map +1 -0
- package/dist/shared/utils/location/countries/mz.d.ts +3 -0
- package/dist/shared/utils/location/countries/mz.d.ts.map +1 -0
- package/dist/shared/utils/location/countries/mz.js +17 -0
- package/dist/shared/utils/location/countries/mz.js.map +1 -0
- package/dist/shared/utils/location/countries/ng.d.ts +3 -0
- package/dist/shared/utils/location/countries/ng.d.ts.map +1 -0
- package/dist/shared/utils/location/countries/ng.js +43 -0
- package/dist/shared/utils/location/countries/ng.js.map +1 -0
- package/dist/shared/utils/location/countries/pt.d.ts +3 -0
- package/dist/shared/utils/location/countries/pt.d.ts.map +1 -0
- package/dist/shared/utils/location/countries/pt.js +26 -0
- package/dist/shared/utils/location/countries/pt.js.map +1 -0
- package/dist/shared/utils/location/countries/us.d.ts +3 -0
- package/dist/shared/utils/location/countries/us.d.ts.map +1 -0
- package/dist/shared/utils/location/countries/us.js +57 -0
- package/dist/shared/utils/location/countries/us.js.map +1 -0
- package/dist/shared/utils/location/countries/za.d.ts +3 -0
- package/dist/shared/utils/location/countries/za.d.ts.map +1 -0
- package/dist/shared/utils/location/countries/za.js +15 -0
- package/dist/shared/utils/location/countries/za.js.map +1 -0
- package/dist/shared/utils/location/index.d.ts +14 -0
- package/dist/shared/utils/location/index.d.ts.map +1 -0
- package/dist/shared/utils/location/index.js +131 -0
- package/dist/shared/utils/location/index.js.map +1 -0
- package/dist/shared/utils/location/types.d.ts +24 -0
- package/dist/shared/utils/location/types.d.ts.map +1 -0
- package/dist/shared/utils/location/types.js +2 -0
- package/dist/shared/utils/location/types.js.map +1 -0
- package/dist/shared/utils/logger.d.ts +43 -0
- package/dist/shared/utils/logger.d.ts.map +1 -0
- package/dist/shared/utils/logger.js +139 -0
- package/dist/shared/utils/logger.js.map +1 -0
- package/dist/shared/utils/maskedDecimal.d.ts +8 -0
- package/dist/shared/utils/maskedDecimal.d.ts.map +1 -0
- package/dist/shared/utils/maskedDecimal.js +42 -0
- package/dist/shared/utils/maskedDecimal.js.map +1 -0
- package/dist/shared/utils/slug.d.ts +12 -0
- package/dist/shared/utils/slug.d.ts.map +1 -0
- package/dist/shared/utils/slug.js +31 -0
- package/dist/shared/utils/slug.js.map +1 -0
- package/dist/shared/utils/tax-id/countries/ao.d.ts +11 -0
- package/dist/shared/utils/tax-id/countries/ao.d.ts.map +1 -0
- package/dist/shared/utils/tax-id/countries/ao.js +115 -0
- package/dist/shared/utils/tax-id/countries/ao.js.map +1 -0
- package/dist/shared/utils/tax-id/countries/br.d.ts +3 -0
- package/dist/shared/utils/tax-id/countries/br.d.ts.map +1 -0
- package/dist/shared/utils/tax-id/countries/br.js +24 -0
- package/dist/shared/utils/tax-id/countries/br.js.map +1 -0
- package/dist/shared/utils/tax-id/countries/index.d.ts +8 -0
- package/dist/shared/utils/tax-id/countries/index.d.ts.map +1 -0
- package/dist/shared/utils/tax-id/countries/index.js +12 -0
- package/dist/shared/utils/tax-id/countries/index.js.map +1 -0
- package/dist/shared/utils/tax-id/countries/pt.d.ts +3 -0
- package/dist/shared/utils/tax-id/countries/pt.d.ts.map +1 -0
- package/dist/shared/utils/tax-id/countries/pt.js +24 -0
- package/dist/shared/utils/tax-id/countries/pt.js.map +1 -0
- package/dist/shared/utils/tax-id/countries/us.d.ts +3 -0
- package/dist/shared/utils/tax-id/countries/us.d.ts.map +1 -0
- package/dist/shared/utils/tax-id/countries/us.js +24 -0
- package/dist/shared/utils/tax-id/countries/us.js.map +1 -0
- package/dist/shared/utils/tax-id/index.d.ts +14 -0
- package/dist/shared/utils/tax-id/index.d.ts.map +1 -0
- package/dist/shared/utils/tax-id/index.js +140 -0
- package/dist/shared/utils/tax-id/index.js.map +1 -0
- package/dist/shared/utils/tax-id/types.d.ts +21 -0
- package/dist/shared/utils/tax-id/types.d.ts.map +1 -0
- package/dist/shared/utils/tax-id/types.js +2 -0
- package/dist/shared/utils/tax-id/types.js.map +1 -0
- package/dist/styles.d.ts +2 -0
- package/dist/styles.d.ts.map +1 -0
- package/dist/styles.js +2 -0
- package/dist/styles.js.map +1 -0
- package/dist/tokens.d.ts +2 -0
- package/dist/tokens.d.ts.map +1 -0
- package/dist/tokens.js +2 -0
- package/dist/tokens.js.map +1 -0
- package/dist/ui.d.ts +67 -0
- package/dist/ui.d.ts.map +1 -0
- package/dist/ui.js +39 -0
- package/dist/ui.js.map +1 -0
- package/dist/utils.d.ts +7 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +4 -0
- package/dist/utils.js.map +1 -0
- package/package.json +80 -0
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
.modal {
|
|
2
|
+
background-color: white;
|
|
3
|
+
border-radius: var(--radius-sm);
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
min-height: 0;
|
|
8
|
+
flex-shrink: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.header {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
padding: var(--spacing-md);
|
|
15
|
+
border-bottom: 1px solid var(--border-divider);
|
|
16
|
+
flex-shrink: 0;
|
|
17
|
+
gap: var(--spacing-md);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.headerTop {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
justify-content: space-between;
|
|
24
|
+
width: 100%;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.title {
|
|
28
|
+
margin: 0;
|
|
29
|
+
font-size: 1.2rem;
|
|
30
|
+
font-weight: 600;
|
|
31
|
+
color: #1f2937;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.body {
|
|
35
|
+
flex: 1;
|
|
36
|
+
min-height: 0;
|
|
37
|
+
overflow: auto;
|
|
38
|
+
padding: var(--spacing-md);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.closeButton {
|
|
42
|
+
display: inline-flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
justify-content: center;
|
|
45
|
+
width: 32px;
|
|
46
|
+
height: 32px;
|
|
47
|
+
border: none;
|
|
48
|
+
border-radius: var(--radius-sm);
|
|
49
|
+
background: transparent;
|
|
50
|
+
color: var(--text-secondary);
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
transition: var(--transition-fast);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.closeButton:hover {
|
|
56
|
+
background: var(--bg-hover-normal);
|
|
57
|
+
color: var(--text-primary);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
.entityInfo {
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: flex-start;
|
|
64
|
+
gap: var(--spacing-md);
|
|
65
|
+
background: var(--bg-surface-secondary);
|
|
66
|
+
border: 1px solid var(--border-divider);
|
|
67
|
+
border-radius: var(--radius-sm);
|
|
68
|
+
padding: var(--spacing-md);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.photoContainer {
|
|
72
|
+
width: 64px;
|
|
73
|
+
height: 64px;
|
|
74
|
+
border-radius: var(--radius-sm);
|
|
75
|
+
overflow: hidden;
|
|
76
|
+
flex-shrink: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.photo {
|
|
80
|
+
width: 100%;
|
|
81
|
+
height: 100%;
|
|
82
|
+
object-fit: cover;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.info {
|
|
86
|
+
flex: 1;
|
|
87
|
+
min-width: 0;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.name {
|
|
91
|
+
margin: 0 0 var(--spacing-xs) 0;
|
|
92
|
+
color: var(--text-primary);
|
|
93
|
+
font-size: 1.125rem;
|
|
94
|
+
font-weight: 600;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.address {
|
|
98
|
+
margin: 0;
|
|
99
|
+
color: var(--text-secondary);
|
|
100
|
+
font-size: 0.875rem;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.badges {
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-wrap: wrap;
|
|
106
|
+
gap: var(--spacing-xs);
|
|
107
|
+
margin-top: var(--spacing-sm);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.badge {
|
|
111
|
+
display: inline-flex;
|
|
112
|
+
align-items: center;
|
|
113
|
+
padding: 2px 8px;
|
|
114
|
+
border-radius: 999px;
|
|
115
|
+
font-size: 0.75rem;
|
|
116
|
+
font-weight: 600;
|
|
117
|
+
border: 1px solid transparent;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.badgeNeutral {
|
|
121
|
+
background: var(--bg-surface-secondary);
|
|
122
|
+
color: var(--text-secondary);
|
|
123
|
+
border-color: var(--border-divider);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.badgeInfo {
|
|
127
|
+
background: rgba(59, 130, 246, 0.12);
|
|
128
|
+
color: #1d4ed8;
|
|
129
|
+
border-color: rgba(59, 130, 246, 0.4);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.badgeSuccess {
|
|
133
|
+
background: rgba(16, 185, 129, 0.12);
|
|
134
|
+
color: #047857;
|
|
135
|
+
border-color: rgba(16, 185, 129, 0.3);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.badgeWarning {
|
|
139
|
+
background: rgba(251, 191, 36, 0.18);
|
|
140
|
+
color: #b45309;
|
|
141
|
+
border-color: rgba(251, 191, 36, 0.4);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.badgeDanger {
|
|
145
|
+
background: rgba(239, 68, 68, 0.12);
|
|
146
|
+
color: #b91c1c;
|
|
147
|
+
border-color: rgba(239, 68, 68, 0.4);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.message {
|
|
151
|
+
margin-bottom: var(--spacing-lg);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.message p {
|
|
155
|
+
margin: 0;
|
|
156
|
+
color: var(--text-primary);
|
|
157
|
+
font-size: 0.875rem;
|
|
158
|
+
line-height: 1.5;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.dependencies {
|
|
162
|
+
display: flex;
|
|
163
|
+
flex-direction: column;
|
|
164
|
+
gap: var(--spacing-sm);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.dependenciesTitle {
|
|
168
|
+
margin: 0 0 var(--spacing-md) 0;
|
|
169
|
+
color: var(--color-warning);
|
|
170
|
+
font-size: 0.9rem;
|
|
171
|
+
font-weight: 600;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.dependencySection {
|
|
175
|
+
margin-bottom: var(--spacing-md);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.dependencySection:last-child {
|
|
179
|
+
margin-bottom: 0;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.sectionTitle {
|
|
183
|
+
margin: 0 0 var(--spacing-sm) 0;
|
|
184
|
+
color: var(--text-secondary);
|
|
185
|
+
font-size: 0.85rem;
|
|
186
|
+
font-weight: 600;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.dependencyList {
|
|
190
|
+
display: flex;
|
|
191
|
+
flex-direction: column;
|
|
192
|
+
gap: var(--spacing-sm);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.dependencyItem {
|
|
196
|
+
display: flex;
|
|
197
|
+
align-items: center;
|
|
198
|
+
gap: var(--spacing-sm);
|
|
199
|
+
padding: var(--spacing-sm);
|
|
200
|
+
border-radius: var(--radius-sm);
|
|
201
|
+
border: 1px solid var(--border-divider);
|
|
202
|
+
background: var(--bg-primary);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.dependencyBody {
|
|
206
|
+
display: flex;
|
|
207
|
+
flex-direction: column;
|
|
208
|
+
gap: 2px;
|
|
209
|
+
flex: 1;
|
|
210
|
+
min-width: 0;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.dependencyName {
|
|
214
|
+
color: var(--text-primary);
|
|
215
|
+
font-size: 0.875rem;
|
|
216
|
+
font-weight: 600;
|
|
217
|
+
white-space: nowrap;
|
|
218
|
+
overflow: hidden;
|
|
219
|
+
text-overflow: ellipsis;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.dependencyMeta {
|
|
223
|
+
color: var(--text-secondary);
|
|
224
|
+
font-size: 0.775rem;
|
|
225
|
+
line-height: 1.3;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.actionButton {
|
|
229
|
+
display: flex;
|
|
230
|
+
align-items: center;
|
|
231
|
+
gap: var(--spacing-xs);
|
|
232
|
+
padding: var(--spacing-xs) var(--spacing-sm);
|
|
233
|
+
border-radius: var(--radius-xs);
|
|
234
|
+
border: none;
|
|
235
|
+
cursor: pointer;
|
|
236
|
+
font-size: 0.75rem;
|
|
237
|
+
font-weight: 600;
|
|
238
|
+
background: linear-gradient(135deg, #3b82f6, #1d4ed8);
|
|
239
|
+
color: #fff;
|
|
240
|
+
transition: var(--transition-fast);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.actionButton:hover {
|
|
244
|
+
background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.footer {
|
|
248
|
+
display: flex;
|
|
249
|
+
justify-content: flex-end;
|
|
250
|
+
gap: var(--spacing-md);
|
|
251
|
+
padding: var(--spacing-md);
|
|
252
|
+
border-top: 1px solid var(--border-divider);
|
|
253
|
+
background-color: #fff;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.primaryActionWrapper {
|
|
257
|
+
position: relative;
|
|
258
|
+
display: inline-flex;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.dependenciesTooltip {
|
|
262
|
+
position: relative;
|
|
263
|
+
pointer-events: none;
|
|
264
|
+
margin-top: -6px;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.dependenciesTooltipVisible {
|
|
268
|
+
pointer-events: auto;
|
|
269
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface PopupProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function Popup({ isOpen, onClose, children }: PopupProps): import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
//# sourceMappingURL=Popup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["../../../../../src/features/overlays/components/Popup/Popup.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAG7C,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,KAAK,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,UAAU,kDAyB9D"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect } from 'react';
|
|
4
|
+
import styles from './Popup.module.css';
|
|
5
|
+
export function Popup({ isOpen, onClose, children }) {
|
|
6
|
+
useEffect(() => {
|
|
7
|
+
if (!isOpen)
|
|
8
|
+
return;
|
|
9
|
+
const handleKeyDown = (e) => {
|
|
10
|
+
if (e.key === 'Escape') {
|
|
11
|
+
onClose();
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
window.addEventListener('keydown', handleKeyDown);
|
|
15
|
+
return () => {
|
|
16
|
+
window.removeEventListener('keydown', handleKeyDown);
|
|
17
|
+
};
|
|
18
|
+
}, [isOpen, onClose]);
|
|
19
|
+
if (!isOpen)
|
|
20
|
+
return null;
|
|
21
|
+
return (_jsx("div", { className: styles.overlay, onClick: onClose, children: _jsx("div", { className: styles.content, onClick: (e) => e.stopPropagation(), children: children }) }));
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=Popup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popup.js","sourceRoot":"","sources":["../../../../../src/features/overlays/components/Popup/Popup.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAa,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAQxC,MAAM,UAAU,KAAK,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAc;IAC7D,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,CAAC,MAAM;YAAE,OAAO;QAEpB,MAAM,aAAa,GAAG,CAAC,CAAgB,EAAE,EAAE;YACzC,IAAI,CAAC,CAAC,GAAG,KAAK,QAAQ,EAAE,CAAC;gBACvB,OAAO,EAAE,CAAC;YACZ,CAAC;QACH,CAAC,CAAC;QAEF,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;QAClD,OAAO,GAAG,EAAE;YACV,MAAM,CAAC,mBAAmB,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;QACvD,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAEtB,IAAI,CAAC,MAAM;QAAE,OAAO,IAAI,CAAC;IAEzB,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,YAC9C,cAAK,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,eAAe,EAAE,YAChE,QAAQ,GACL,GACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
.overlay {
|
|
2
|
+
position: fixed;
|
|
3
|
+
inset: 0;
|
|
4
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
5
|
+
z-index: 1200;
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
align-items: center;
|
|
9
|
+
height: 100dvh;
|
|
10
|
+
padding: var(--spacing-lg);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.content {
|
|
14
|
+
position: relative;
|
|
15
|
+
height: 100vh;
|
|
16
|
+
animation: slideIn 0.3s ease-out;
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@keyframes slideIn {
|
|
22
|
+
from {
|
|
23
|
+
transform: translateY(-20px);
|
|
24
|
+
opacity: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
to {
|
|
28
|
+
transform: translateY(0);
|
|
29
|
+
opacity: 1;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@media (max-width: 1120px) {
|
|
34
|
+
.overlay {
|
|
35
|
+
padding: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.content {
|
|
39
|
+
height: 100dvh;
|
|
40
|
+
width: 100%;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media (max-width: 570px) and (max-height: 1000px) {
|
|
46
|
+
.content > * {
|
|
47
|
+
width: 100% !important;
|
|
48
|
+
height: 100% !important;
|
|
49
|
+
max-width: 100% !important;
|
|
50
|
+
max-height: 100% !important;
|
|
51
|
+
border-radius: 0 !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.content > * > *:not([class*="modalClose"]):not([class*="closeButton"]):not([class*="close"]) {
|
|
55
|
+
width: 100% !important;
|
|
56
|
+
max-width: 100% !important;
|
|
57
|
+
border-radius: 0 !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.content > * > *:only-child {
|
|
61
|
+
height: 100% !important;
|
|
62
|
+
max-height: 100% !important;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/overlays/components/Popup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/features/overlays/components/Popup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type ButtonProps } from '@/features/buttons/components/Btns/Button';
|
|
3
|
+
export type PrerequisiteGuardItemSeverity = 'info' | 'warning' | 'danger';
|
|
4
|
+
export interface PrerequisiteGuardItem {
|
|
5
|
+
id: string;
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
statusLabel?: string;
|
|
9
|
+
severity?: PrerequisiteGuardItemSeverity;
|
|
10
|
+
optional?: boolean;
|
|
11
|
+
icon?: ReactNode;
|
|
12
|
+
actionLabel?: string;
|
|
13
|
+
actionIcon?: ReactNode;
|
|
14
|
+
onAction?: () => void;
|
|
15
|
+
}
|
|
16
|
+
interface PrerequisiteGuardModalProps {
|
|
17
|
+
eyebrow?: ReactNode;
|
|
18
|
+
title: ReactNode;
|
|
19
|
+
description: ReactNode;
|
|
20
|
+
items: PrerequisiteGuardItem[];
|
|
21
|
+
onClose: () => void;
|
|
22
|
+
closeAriaLabel?: string;
|
|
23
|
+
requirementsTitle?: ReactNode;
|
|
24
|
+
requirementsDescription?: ReactNode;
|
|
25
|
+
primaryActionLabel: string;
|
|
26
|
+
onPrimaryAction: () => void;
|
|
27
|
+
primaryActionVariant?: ButtonProps['variant'];
|
|
28
|
+
secondaryActionLabel?: string;
|
|
29
|
+
onSecondaryAction?: () => void;
|
|
30
|
+
primaryActionLoading?: boolean;
|
|
31
|
+
primaryActionDisabled?: boolean;
|
|
32
|
+
icon?: ReactNode;
|
|
33
|
+
}
|
|
34
|
+
export default function PrerequisiteGuardModal({ eyebrow, title, description, items, onClose, closeAriaLabel, requirementsTitle, requirementsDescription, primaryActionLabel, onPrimaryAction, primaryActionVariant, secondaryActionLabel, onSecondaryAction, primaryActionLoading, primaryActionDisabled, icon, }: PrerequisiteGuardModalProps): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=PrerequisiteGuardModal.d.ts.map
|
package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrerequisiteGuardModal.d.ts","sourceRoot":"","sources":["../../../../../src/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAe,EAAE,KAAK,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAIrF,MAAM,MAAM,6BAA6B,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE1E,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,6BAA6B,CAAC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,UAAU,2BAA2B;IACnC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,EAAE,SAAS,CAAC;IACvB,KAAK,EAAE,qBAAqB,EAAE,CAAC;IAC/B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC9B,uBAAuB,CAAC,EAAE,SAAS,CAAC;IACpC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,oBAAoB,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAC9C,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAgCD,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAC7C,OAAO,EACP,KAAK,EACL,WAAW,EACX,KAAK,EACL,OAAO,EACP,cAAyB,EACzB,iBAAoC,EACpC,uBAAuB,EACvB,kBAAkB,EAClB,eAAe,EACf,oBAAgC,EAChC,oBAAiC,EACjC,iBAAiB,EACjB,oBAA4B,EAC5B,qBAA6B,EAC7B,IAAI,GACL,EAAE,2BAA2B,2CAkF7B"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { AlertTriangle, X } from 'lucide-react';
|
|
4
|
+
import Button from '@/features/buttons/components/Btns/Button';
|
|
5
|
+
import styles from './PrerequisiteGuardModal.module.css';
|
|
6
|
+
function getSeverityClassName(severity = 'warning', optional = false) {
|
|
7
|
+
if (optional) {
|
|
8
|
+
return styles.badgeNeutral;
|
|
9
|
+
}
|
|
10
|
+
switch (severity) {
|
|
11
|
+
case 'info':
|
|
12
|
+
return styles.badgeInfo;
|
|
13
|
+
case 'danger':
|
|
14
|
+
return styles.badgeDanger;
|
|
15
|
+
default:
|
|
16
|
+
return styles.badgeWarning;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
function getIconSeverityClassName(severity = 'warning', optional = false) {
|
|
20
|
+
if (optional) {
|
|
21
|
+
return styles.iconNeutral;
|
|
22
|
+
}
|
|
23
|
+
switch (severity) {
|
|
24
|
+
case 'info':
|
|
25
|
+
return styles.iconInfo;
|
|
26
|
+
case 'danger':
|
|
27
|
+
return styles.iconDanger;
|
|
28
|
+
default:
|
|
29
|
+
return styles.iconWarning;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
export default function PrerequisiteGuardModal({ eyebrow, title, description, items, onClose, closeAriaLabel = 'Fechar', requirementsTitle = 'Pré-requisitos', requirementsDescription, primaryActionLabel, onPrimaryAction, primaryActionVariant = 'primary', secondaryActionLabel = 'Cancelar', onSecondaryAction, primaryActionLoading = false, primaryActionDisabled = false, icon, }) {
|
|
33
|
+
return (_jsxs("div", { className: styles.modal, children: [_jsx("div", { className: styles.header, children: _jsx("button", { type: "button", className: styles.closeButton, onClick: onClose, "aria-label": closeAriaLabel, children: _jsx(X, { size: 20 }) }) }), _jsxs("div", { className: styles.content, children: [_jsxs("div", { className: styles.heroSection, children: [_jsx("div", { className: styles.iconContainer, children: icon !== null && icon !== void 0 ? icon : _jsx(AlertTriangle, { size: 24 }) }), _jsxs("div", { className: styles.heroText, children: [eyebrow ? _jsx("span", { className: styles.eyebrow, children: eyebrow }) : null, _jsx("h2", { className: styles.title, children: title })] })] }), _jsx("div", { className: styles.description, children: description }), _jsxs("div", { className: styles.requirementsSection, children: [_jsxs("div", { className: styles.requirementsHeader, children: [_jsx("h3", { className: styles.requirementsTitle, children: requirementsTitle }), requirementsDescription ? (_jsx("div", { className: styles.requirementsDescription, children: requirementsDescription })) : null] }), _jsx("div", { className: styles.requirementsList, children: items.map((item) => {
|
|
34
|
+
var _a, _b;
|
|
35
|
+
return (_jsx("div", { className: `${styles.requirementItem} ${item.optional ? styles.requirementItemOptional : ''}`, children: _jsxs("div", { className: styles.requirementMain, children: [_jsx("div", { className: `${styles.requirementIcon} ${getIconSeverityClassName(item.severity, item.optional)}`, children: (_a = item.icon) !== null && _a !== void 0 ? _a : _jsx(AlertTriangle, { size: 16 }) }), _jsxs("div", { className: styles.requirementText, children: [_jsxs("div", { className: styles.requirementTopRow, children: [_jsx("span", { className: `${styles.requirementTitle} ${item.optional ? styles.requirementTitleOptional : ''}`, children: item.title }), _jsx("span", { className: `${styles.statusBadge} ${getSeverityClassName(item.severity, item.optional)}`, children: (_b = item.statusLabel) !== null && _b !== void 0 ? _b : (item.optional ? 'Opcional' : 'Pendente') })] }), _jsx("p", { className: `${styles.requirementItemDescription} ${item.optional ? styles.requirementItemDescriptionOptional : ''}`, children: item.description })] })] }) }, item.id));
|
|
36
|
+
}) })] })] }), _jsxs("div", { className: styles.footer, children: [_jsx(Button, { type: "button", variant: "secondary", onClick: onSecondaryAction !== null && onSecondaryAction !== void 0 ? onSecondaryAction : onClose, children: secondaryActionLabel }), _jsx(Button, { type: "button", variant: primaryActionVariant, onClick: onPrimaryAction, loading: primaryActionLoading, disabled: primaryActionDisabled, children: primaryActionLabel })] })] }));
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=PrerequisiteGuardModal.js.map
|
package/dist/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrerequisiteGuardModal.js","sourceRoot":"","sources":["../../../../../src/features/overlays/components/PrerequisiteGuardModal/PrerequisiteGuardModal.tsx"],"names":[],"mappings":"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"}
|