@tsiky/components-r19 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_commonjsHelpers-BH3jXuIh.cjs +1 -0
- package/dist/_commonjsHelpers-ByX85dGu.js +33 -0
- package/dist/chart.cjs.js +957 -0
- package/{chart.ts → dist/chart.d.ts} +1 -0
- package/dist/chart.d.ts.map +1 -0
- package/dist/chart.js +11754 -0
- package/dist/components-r19.css +1 -0
- package/dist/index.cjs.js +8186 -0
- package/{index.ts → dist/index.d.ts} +36 -35
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +36839 -0
- package/dist/src/App.d.ts +4 -0
- package/dist/src/App.d.ts.map +1 -0
- package/dist/src/components/AddItemModal/AddItemModal.d.ts +18 -0
- package/dist/src/components/AddItemModal/AddItemModal.d.ts.map +1 -0
- package/dist/src/components/AddItemModal/index.d.ts +2 -0
- package/dist/src/components/AddItemModal/index.d.ts.map +1 -0
- package/dist/src/components/Alert/Alert.d.ts +25 -0
- package/dist/src/components/Alert/Alert.d.ts.map +1 -0
- package/dist/src/components/Alert/AlertContext.d.ts +32 -0
- package/dist/src/components/Alert/AlertContext.d.ts.map +1 -0
- package/dist/src/components/Alert/AlertModels.d.ts +3 -0
- package/dist/src/components/Alert/AlertModels.d.ts.map +1 -0
- package/{src/components/Alert/index.ts → dist/src/components/Alert/index.d.ts} +1 -0
- package/dist/src/components/Alert/index.d.ts.map +1 -0
- package/dist/src/components/AnnouncementPanel/FlexRowContainer.d.ts +10 -0
- package/dist/src/components/AnnouncementPanel/FlexRowContainer.d.ts.map +1 -0
- package/dist/src/components/AnnouncementPanel/ListBox/CounterListBox.d.ts +22 -0
- package/dist/src/components/AnnouncementPanel/ListBox/CounterListBox.d.ts.map +1 -0
- package/dist/src/components/AnnouncementPanel/ListBox/SimpleListBox.d.ts +22 -0
- package/dist/src/components/AnnouncementPanel/ListBox/SimpleListBox.d.ts.map +1 -0
- package/dist/src/components/AnnouncementPanel/ListBox/TrendListBox.d.ts +26 -0
- package/dist/src/components/AnnouncementPanel/ListBox/TrendListBox.d.ts.map +1 -0
- package/{src/components/AnnouncementPanel/ListBox/index.ts → dist/src/components/AnnouncementPanel/ListBox/index.d.ts} +4 -3
- package/dist/src/components/AnnouncementPanel/ListBox/index.d.ts.map +1 -0
- package/dist/src/components/AnnouncementPanel/ListContentContainer.d.ts +11 -0
- package/dist/src/components/AnnouncementPanel/ListContentContainer.d.ts.map +1 -0
- package/{src/components/AnnouncementPanel/index.ts → dist/src/components/AnnouncementPanel/index.d.ts} +4 -3
- package/dist/src/components/AnnouncementPanel/index.d.ts.map +1 -0
- package/dist/src/components/BandChart/index.d.ts +50 -0
- package/dist/src/components/BandChart/index.d.ts.map +1 -0
- package/dist/src/components/Button/Button.d.ts +9 -0
- package/dist/src/components/Button/Button.d.ts.map +1 -0
- package/{src/components/Button/index.ts → dist/src/components/Button/index.d.ts} +1 -0
- package/dist/src/components/Button/index.d.ts.map +1 -0
- package/dist/src/components/ChartContainer/ChartContainer.d.ts +34 -0
- package/dist/src/components/ChartContainer/ChartContainer.d.ts.map +1 -0
- package/dist/src/components/ChartContainer/index.d.ts +2 -0
- package/dist/src/components/ChartContainer/index.d.ts.map +1 -0
- package/dist/src/components/Charts/area-chart-admission/AreaChartAdmission.d.ts +15 -0
- package/dist/src/components/Charts/area-chart-admission/AreaChartAdmission.d.ts.map +1 -0
- package/dist/src/components/Charts/area-chart-hospitalisation/AreaChartHospitalisation.d.ts +14 -0
- package/dist/src/components/Charts/area-chart-hospitalisation/AreaChartHospitalisation.d.ts.map +1 -0
- package/dist/src/components/Charts/bar-chart/BarChart.d.ts +20 -0
- package/dist/src/components/Charts/bar-chart/BarChart.d.ts.map +1 -0
- package/dist/src/components/Charts/boxplot-chart/BoxPlotChart.d.ts +24 -0
- package/dist/src/components/Charts/boxplot-chart/BoxPlotChart.d.ts.map +1 -0
- package/dist/src/components/Charts/boxplot-chart/boxUtils.d.ts +4 -0
- package/dist/src/components/Charts/boxplot-chart/boxUtils.d.ts.map +1 -0
- package/dist/src/components/Charts/mixed-chart/MixedChart.d.ts +70 -0
- package/dist/src/components/Charts/mixed-chart/MixedChart.d.ts.map +1 -0
- package/dist/src/components/Charts/sankey-adaptation/sankey.d.ts +4 -0
- package/dist/src/components/Charts/sankey-adaptation/sankey.d.ts.map +1 -0
- package/dist/src/components/Charts/sankey-chart/SankeyChart.d.ts +20 -0
- package/dist/src/components/Charts/sankey-chart/SankeyChart.d.ts.map +1 -0
- package/dist/src/components/Charts/stacked-column/StackedColumn.d.ts +55 -0
- package/dist/src/components/Charts/stacked-column/StackedColumn.d.ts.map +1 -0
- package/dist/src/components/Charts/stacked-column-one-hundred-percent/StackedColumnOneHundredPercent.d.ts +13 -0
- package/dist/src/components/Charts/stacked-column-one-hundred-percent/StackedColumnOneHundredPercent.d.ts.map +1 -0
- package/dist/src/components/CircularProgress/CircularProgress.d.ts +17 -0
- package/dist/src/components/CircularProgress/CircularProgress.d.ts.map +1 -0
- package/{src/components/CircularProgress/index.ts → dist/src/components/CircularProgress/index.d.ts} +1 -0
- package/dist/src/components/CircularProgress/index.d.ts.map +1 -0
- package/dist/src/components/Confirmationpopup/ConfirmationPopup.d.ts +13 -0
- package/dist/src/components/Confirmationpopup/ConfirmationPopup.d.ts.map +1 -0
- package/dist/src/components/Confirmationpopup/index.d.ts +16 -0
- package/dist/src/components/Confirmationpopup/index.d.ts.map +1 -0
- package/dist/src/components/Confirmationpopup/useConfirmationPopup.d.ts +9 -0
- package/dist/src/components/Confirmationpopup/useConfirmationPopup.d.ts.map +1 -0
- package/dist/src/components/DayStatCard/DayStatCard.d.ts +20 -0
- package/dist/src/components/DayStatCard/DayStatCard.d.ts.map +1 -0
- package/{src/components/DayStatCard/index.ts → dist/src/components/DayStatCard/index.d.ts} +1 -0
- package/dist/src/components/DayStatCard/index.d.ts.map +1 -0
- package/dist/src/components/DraggableSwitcher/DraggableSwitcherButton.d.ts +16 -0
- package/dist/src/components/DraggableSwitcher/DraggableSwitcherButton.d.ts.map +1 -0
- package/dist/src/components/DraggableSwitcher/context/useDraggableSwitcher.d.ts +11 -0
- package/dist/src/components/DraggableSwitcher/context/useDraggableSwitcher.d.ts.map +1 -0
- package/{src/components/DraggableSwitcher/index.ts → dist/src/components/DraggableSwitcher/index.d.ts} +3 -2
- package/dist/src/components/DraggableSwitcher/index.d.ts.map +1 -0
- package/dist/src/components/DropdownMenu/DropdownMenu.d.ts +23 -0
- package/dist/src/components/DropdownMenu/DropdownMenu.d.ts.map +1 -0
- package/dist/src/components/DropdownMenu/index.d.ts +2 -0
- package/dist/src/components/DropdownMenu/index.d.ts.map +1 -0
- package/dist/src/components/DynamicForm/DynamicForm.d.ts +16 -0
- package/dist/src/components/DynamicForm/DynamicForm.d.ts.map +1 -0
- package/{src/components/DynamicForm/index.ts → dist/src/components/DynamicForm/index.d.ts} +1 -0
- package/dist/src/components/DynamicForm/index.d.ts.map +1 -0
- package/dist/src/components/DynamicForm/tools/form-metadata.d.ts +50 -0
- package/dist/src/components/DynamicForm/tools/form-metadata.d.ts.map +1 -0
- package/dist/src/components/DynamicForm/tools/validation.d.ts +11 -0
- package/dist/src/components/DynamicForm/tools/validation.d.ts.map +1 -0
- package/dist/src/components/DynamicInput/DynamicInput.d.ts +13 -0
- package/dist/src/components/DynamicInput/DynamicInput.d.ts.map +1 -0
- package/{src/components/DynamicInput/index.ts → dist/src/components/DynamicInput/index.d.ts} +1 -0
- package/dist/src/components/DynamicInput/index.d.ts.map +1 -0
- package/dist/src/components/DynamicInput/input/CheckboxInput.d.ts +12 -0
- package/dist/src/components/DynamicInput/input/CheckboxInput.d.ts.map +1 -0
- package/dist/src/components/DynamicInput/input/ColorInput.d.ts +13 -0
- package/dist/src/components/DynamicInput/input/ColorInput.d.ts.map +1 -0
- package/dist/src/components/DynamicInput/input/DateInput.d.ts +13 -0
- package/dist/src/components/DynamicInput/input/DateInput.d.ts.map +1 -0
- package/dist/src/components/DynamicInput/input/FileInput.d.ts +13 -0
- package/dist/src/components/DynamicInput/input/FileInput.d.ts.map +1 -0
- package/dist/src/components/DynamicInput/input/InputWrapper.d.ts +11 -0
- package/dist/src/components/DynamicInput/input/InputWrapper.d.ts.map +1 -0
- package/dist/src/components/DynamicInput/input/RadioInput.d.ts +12 -0
- package/dist/src/components/DynamicInput/input/RadioInput.d.ts.map +1 -0
- package/dist/src/components/DynamicInput/input/RangeInput.d.ts +13 -0
- package/dist/src/components/DynamicInput/input/RangeInput.d.ts.map +1 -0
- package/dist/src/components/DynamicInput/input/SelectInput.d.ts +12 -0
- package/dist/src/components/DynamicInput/input/SelectInput.d.ts.map +1 -0
- package/dist/src/components/DynamicInput/input/TextInput.d.ts +13 -0
- package/dist/src/components/DynamicInput/input/TextInput.d.ts.map +1 -0
- package/dist/src/components/DynamicInput/input/TextareaInput.d.ts +12 -0
- package/dist/src/components/DynamicInput/input/TextareaInput.d.ts.map +1 -0
- package/{src/components/DynamicInput/input/index.ts → dist/src/components/DynamicInput/input/index.d.ts} +1 -0
- package/dist/src/components/DynamicInput/input/index.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/AdvancedFilters.d.ts +18 -0
- package/dist/src/components/DynamicTable/AdvancedFilters.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/ColumnSorter.d.ts +12 -0
- package/dist/src/components/DynamicTable/ColumnSorter.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/Pagination.d.ts +13 -0
- package/dist/src/components/DynamicTable/Pagination.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/TableBody.d.ts +4 -0
- package/dist/src/components/DynamicTable/TableBody.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/TableCell.d.ts +9 -0
- package/dist/src/components/DynamicTable/TableCell.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/TableHeader.d.ts +7 -0
- package/dist/src/components/DynamicTable/TableHeader.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/TableRow.d.ts +16 -0
- package/dist/src/components/DynamicTable/TableRow.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/TableauDynamique.d.ts +17 -0
- package/dist/src/components/DynamicTable/TableauDynamique.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/filters/BooleanFilter.d.ts +13 -0
- package/dist/src/components/DynamicTable/filters/BooleanFilter.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/filters/DateFilter.d.ts +13 -0
- package/dist/src/components/DynamicTable/filters/DateFilter.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/filters/DateRangeFilter.d.ts +17 -0
- package/dist/src/components/DynamicTable/filters/DateRangeFilter.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/filters/FilterRenderer.d.ts +10 -0
- package/dist/src/components/DynamicTable/filters/FilterRenderer.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/filters/MultiSelectFilter.d.ts +11 -0
- package/dist/src/components/DynamicTable/filters/MultiSelectFilter.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/filters/NumberFilter.d.ts +14 -0
- package/dist/src/components/DynamicTable/filters/NumberFilter.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/filters/OperatorFilter.d.ts +16 -0
- package/dist/src/components/DynamicTable/filters/OperatorFilter.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/filters/SelectFilter.d.ts +10 -0
- package/dist/src/components/DynamicTable/filters/SelectFilter.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/filters/TextFilter.d.ts +9 -0
- package/dist/src/components/DynamicTable/filters/TextFilter.d.ts.map +1 -0
- package/{src/components/DynamicTable/filters/index.ts → dist/src/components/DynamicTable/filters/index.d.ts} +1 -0
- package/dist/src/components/DynamicTable/filters/index.d.ts.map +1 -0
- package/{src/components/DynamicTable/hooks/index.ts → dist/src/components/DynamicTable/hooks/index.d.ts} +1 -0
- package/dist/src/components/DynamicTable/hooks/index.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/hooks/useAsyncActions.d.ts +6 -0
- package/dist/src/components/DynamicTable/hooks/useAsyncActions.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/hooks/useFilters.d.ts +19 -0
- package/dist/src/components/DynamicTable/hooks/useFilters.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/hooks/useTableData.d.ts +11 -0
- package/dist/src/components/DynamicTable/hooks/useTableData.d.ts.map +1 -0
- package/{src/components/DynamicTable/index.ts → dist/src/components/DynamicTable/index.d.ts} +1 -0
- package/dist/src/components/DynamicTable/index.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/tools/filterTypes.d.ts +88 -0
- package/dist/src/components/DynamicTable/tools/filterTypes.d.ts.map +1 -0
- package/{src/components/DynamicTable/tools/index.ts → dist/src/components/DynamicTable/tools/index.d.ts} +1 -0
- package/dist/src/components/DynamicTable/tools/index.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/tools/tableConfig.d.ts +13 -0
- package/dist/src/components/DynamicTable/tools/tableConfig.d.ts.map +1 -0
- package/dist/src/components/DynamicTable/tools/tableTypes.d.ts +66 -0
- package/dist/src/components/DynamicTable/tools/tableTypes.d.ts.map +1 -0
- package/dist/src/components/EntryControl/EntryControl.d.ts +7 -0
- package/dist/src/components/EntryControl/EntryControl.d.ts.map +1 -0
- package/{src/components/EntryControl/index.ts → dist/src/components/EntryControl/index.d.ts} +1 -0
- package/dist/src/components/EntryControl/index.d.ts.map +1 -0
- package/dist/src/components/Grid/Grid.d.ts +24 -0
- package/dist/src/components/Grid/Grid.d.ts.map +1 -0
- package/{src/components/Grid/index.ts → dist/src/components/Grid/index.d.ts} +1 -0
- package/dist/src/components/Grid/index.d.ts.map +1 -0
- package/dist/src/components/Header/Header.d.ts +16 -0
- package/dist/src/components/Header/Header.d.ts.map +1 -0
- package/dist/src/components/Header/index.d.ts +2 -0
- package/dist/src/components/Header/index.d.ts.map +1 -0
- package/dist/src/components/IconText/IconText.d.ts +14 -0
- package/dist/src/components/IconText/IconText.d.ts.map +1 -0
- package/dist/src/components/IconText/index.d.ts +2 -0
- package/dist/src/components/IconText/index.d.ts.map +1 -0
- package/dist/src/components/LanguageSelector/LanguageSelector.d.ts +14 -0
- package/dist/src/components/LanguageSelector/LanguageSelector.d.ts.map +1 -0
- package/{src/components/LanguageSelector/index.ts → dist/src/components/LanguageSelector/index.d.ts} +1 -0
- package/dist/src/components/LanguageSelector/index.d.ts.map +1 -0
- package/dist/src/components/Logo/Logo.d.ts +10 -0
- package/dist/src/components/Logo/Logo.d.ts.map +1 -0
- package/{src/components/Logo/index.ts → dist/src/components/Logo/index.d.ts} +1 -0
- package/dist/src/components/Logo/index.d.ts.map +1 -0
- package/dist/src/components/MetricsPanel/MetricsItem.d.ts +12 -0
- package/dist/src/components/MetricsPanel/MetricsItem.d.ts.map +1 -0
- package/dist/src/components/MetricsPanel/MetricsPanel.d.ts +17 -0
- package/dist/src/components/MetricsPanel/MetricsPanel.d.ts.map +1 -0
- package/dist/src/components/MetricsPanel/PanelHeader.d.ts +8 -0
- package/dist/src/components/MetricsPanel/PanelHeader.d.ts.map +1 -0
- package/dist/src/components/MetricsPanel/SummaryCard.d.ts +16 -0
- package/dist/src/components/MetricsPanel/SummaryCard.d.ts.map +1 -0
- package/{src/components/MetricsPanel/index.ts → dist/src/components/MetricsPanel/index.d.ts} +1 -0
- package/dist/src/components/MetricsPanel/index.d.ts.map +1 -0
- package/dist/src/components/MetricsPanel/renderers/CompactRenderer.d.ts +4 -0
- package/dist/src/components/MetricsPanel/renderers/CompactRenderer.d.ts.map +1 -0
- package/dist/src/components/MetricsPanel/renderers/ImageCard.d.ts +7 -0
- package/dist/src/components/MetricsPanel/renderers/ImageCard.d.ts.map +1 -0
- package/dist/src/components/MetricsPanel/renderers/PertinenceCard.d.ts +15 -0
- package/dist/src/components/MetricsPanel/renderers/PertinenceCard.d.ts.map +1 -0
- package/dist/src/components/MetricsPanel/tools/MetricsPanelTypes.d.ts +47 -0
- package/dist/src/components/MetricsPanel/tools/MetricsPanelTypes.d.ts.map +1 -0
- package/dist/src/components/MetricsPanel/tools/chooseDefaultRender.d.ts +7 -0
- package/dist/src/components/MetricsPanel/tools/chooseDefaultRender.d.ts.map +1 -0
- package/dist/src/components/MetricsPanel/tools/colorUtils.d.ts +2 -0
- package/dist/src/components/MetricsPanel/tools/colorUtils.d.ts.map +1 -0
- package/{src/components/MetricsPanel/tools/index.ts → dist/src/components/MetricsPanel/tools/index.d.ts} +1 -0
- package/dist/src/components/MetricsPanel/tools/index.d.ts.map +1 -0
- package/dist/src/components/ModuleHeader/ModuleHeader.d.ts +10 -0
- package/dist/src/components/ModuleHeader/ModuleHeader.d.ts.map +1 -0
- package/dist/src/components/ModuleHeader/index.d.ts +2 -0
- package/dist/src/components/ModuleHeader/index.d.ts.map +1 -0
- package/dist/src/components/ModuleSideBar/ModuleSideBar.d.ts +22 -0
- package/dist/src/components/ModuleSideBar/ModuleSideBar.d.ts.map +1 -0
- package/dist/src/components/ModuleSideBar/index.d.ts +2 -0
- package/dist/src/components/ModuleSideBar/index.d.ts.map +1 -0
- package/dist/src/components/NavBar/NavBar.d.ts +11 -0
- package/dist/src/components/NavBar/NavBar.d.ts.map +1 -0
- package/dist/src/components/NavBar/NavContext.d.ts +14 -0
- package/dist/src/components/NavBar/NavContext.d.ts.map +1 -0
- package/{src/components/NavBar/index.ts → dist/src/components/NavBar/index.d.ts} +1 -0
- package/dist/src/components/NavBar/index.d.ts.map +1 -0
- package/dist/src/components/NavItem/NavItem.d.ts +13 -0
- package/dist/src/components/NavItem/NavItem.d.ts.map +1 -0
- package/dist/src/components/NavItem/index.d.ts +2 -0
- package/dist/src/components/NavItem/index.d.ts.map +1 -0
- package/dist/src/components/Page/Dashboard.d.ts +4 -0
- package/dist/src/components/Page/Dashboard.d.ts.map +1 -0
- package/dist/src/components/Page/Page.d.ts +4 -0
- package/dist/src/components/Page/Page.d.ts.map +1 -0
- package/dist/src/components/PerformanceCard/PerformanceCard.d.ts +22 -0
- package/dist/src/components/PerformanceCard/PerformanceCard.d.ts.map +1 -0
- package/dist/src/components/PerformanceCard/defaultHistogramRenderer.d.ts +10 -0
- package/dist/src/components/PerformanceCard/defaultHistogramRenderer.d.ts.map +1 -0
- package/dist/src/components/PerformanceCard/tools/types.d.ts +44 -0
- package/dist/src/components/PerformanceCard/tools/types.d.ts.map +1 -0
- package/dist/src/components/PerformanceCard/tools/usePerformanceCard.d.ts +28 -0
- package/dist/src/components/PerformanceCard/tools/usePerformanceCard.d.ts.map +1 -0
- package/dist/src/components/PeriodRange/PeriodRange.d.ts +14 -0
- package/dist/src/components/PeriodRange/PeriodRange.d.ts.map +1 -0
- package/dist/src/components/PeriodSelect/PeriodSelect.d.ts +14 -0
- package/dist/src/components/PeriodSelect/PeriodSelect.d.ts.map +1 -0
- package/dist/src/components/PeriodSelect/index.d.ts +2 -0
- package/dist/src/components/PeriodSelect/index.d.ts.map +1 -0
- package/dist/src/components/ScrollableHorizontale/ScrollableHorizontale.d.ts +12 -0
- package/dist/src/components/ScrollableHorizontale/ScrollableHorizontale.d.ts.map +1 -0
- package/{src/components/ScrollableHorizontale/index.ts → dist/src/components/ScrollableHorizontale/index.d.ts} +1 -0
- package/dist/src/components/ScrollableHorizontale/index.d.ts.map +1 -0
- package/dist/src/components/SearchBar/SearchBar.d.ts +10 -0
- package/dist/src/components/SearchBar/SearchBar.d.ts.map +1 -0
- package/dist/src/components/SearchBar/index.d.ts +2 -0
- package/dist/src/components/SearchBar/index.d.ts.map +1 -0
- package/dist/src/components/SectionTitle/SectionTitle.d.ts +9 -0
- package/dist/src/components/SectionTitle/SectionTitle.d.ts.map +1 -0
- package/dist/src/components/SelectFilter/SelectFilter.d.ts +5 -0
- package/dist/src/components/SelectFilter/SelectFilter.d.ts.map +1 -0
- package/{src/components/SelectFilter/index.ts → dist/src/components/SelectFilter/index.d.ts} +3 -2
- package/dist/src/components/SelectFilter/index.d.ts.map +1 -0
- package/dist/src/components/SelectFilter/types.d.ts +19 -0
- package/dist/src/components/SelectFilter/types.d.ts.map +1 -0
- package/dist/src/components/SideComponent/PatientEditor.d.ts +5 -0
- package/dist/src/components/SideComponent/PatientEditor.d.ts.map +1 -0
- package/dist/src/components/SideComponent/SideComponent.d.ts +25 -0
- package/dist/src/components/SideComponent/SideComponent.d.ts.map +1 -0
- package/dist/src/components/SideComponent/hooks/useBodyScrollLock.d.ts +2 -0
- package/dist/src/components/SideComponent/hooks/useBodyScrollLock.d.ts.map +1 -0
- package/{src/components/SideComponent/index.ts → dist/src/components/SideComponent/index.d.ts} +1 -0
- package/dist/src/components/SideComponent/index.d.ts.map +1 -0
- package/dist/src/components/SideComponent/portal.d.ts +3 -0
- package/dist/src/components/SideComponent/portal.d.ts.map +1 -0
- package/dist/src/components/SubNavBar/SubNavBar.d.ts +16 -0
- package/dist/src/components/SubNavBar/SubNavBar.d.ts.map +1 -0
- package/dist/src/components/SubNavBar/index.d.ts +2 -0
- package/dist/src/components/SubNavBar/index.d.ts.map +1 -0
- package/dist/src/components/Switcher/Switcher.d.ts +21 -0
- package/dist/src/components/Switcher/Switcher.d.ts.map +1 -0
- package/dist/src/components/Switcher/index.d.ts +2 -0
- package/dist/src/components/Switcher/index.d.ts.map +1 -0
- package/dist/src/components/Title/Title.d.ts +9 -0
- package/dist/src/components/Title/Title.d.ts.map +1 -0
- package/dist/src/components/Title/index.d.ts +2 -0
- package/dist/src/components/Title/index.d.ts.map +1 -0
- package/dist/src/components/TranslationKey/TranslationKey.d.ts +23 -0
- package/dist/src/components/TranslationKey/TranslationKey.d.ts.map +1 -0
- package/dist/src/components/TranslationKey/index.d.ts +2 -0
- package/dist/src/components/TranslationKey/index.d.ts.map +1 -0
- package/dist/src/components/TrendItem/TrendItem.d.ts +14 -0
- package/dist/src/components/TrendItem/TrendItem.d.ts.map +1 -0
- package/dist/src/components/TrendItem/index.d.ts +2 -0
- package/dist/src/components/TrendItem/index.d.ts.map +1 -0
- package/dist/src/components/TrendList/TrendList.d.ts +17 -0
- package/dist/src/components/TrendList/TrendList.d.ts.map +1 -0
- package/dist/src/components/TrendList/index.d.ts +2 -0
- package/dist/src/components/TrendList/index.d.ts.map +1 -0
- package/dist/src/components/theme/ThemeSwitcherButton.d.ts +18 -0
- package/dist/src/components/theme/ThemeSwitcherButton.d.ts.map +1 -0
- package/dist/src/components/theme/context/ThemeContext.d.ts +13 -0
- package/dist/src/components/theme/context/ThemeContext.d.ts.map +1 -0
- package/{src/components/theme/context/index.ts → dist/src/components/theme/context/index.d.ts} +1 -0
- package/dist/src/components/theme/context/index.d.ts.map +1 -0
- package/dist/src/components/theme/context/useThemeSwitcher.d.ts +5 -0
- package/dist/src/components/theme/context/useThemeSwitcher.d.ts.map +1 -0
- package/dist/src/components/theme/index.d.ts +2 -0
- package/dist/src/components/theme/index.d.ts.map +1 -0
- package/dist/src/main.d.ts +2 -0
- package/dist/src/main.d.ts.map +1 -0
- package/package.json +28 -4
- package/.prettierignore +0 -4
- package/.prettierrc +0 -9
- package/.storybook/main.ts +0 -17
- package/.storybook/preview.ts +0 -21
- package/.storybook/vitest.setup.ts +0 -7
- package/eslint.config.js +0 -40
- package/index.html +0 -13
- package/src/App.css +0 -42
- package/src/App.tsx +0 -12
- package/src/assets/accessibility.png +0 -0
- package/src/assets/accessibility.svg +0 -1
- package/src/assets/addon-library.png +0 -0
- package/src/assets/assets.png +0 -0
- package/src/assets/avif-test-image.avif +0 -0
- package/src/assets/context.png +0 -0
- package/src/assets/discord.svg +0 -1
- package/src/assets/docs.png +0 -0
- package/src/assets/figma-plugin.png +0 -0
- package/src/assets/github.svg +0 -1
- package/src/assets/react.svg +0 -1
- package/src/assets/share.png +0 -0
- package/src/assets/styling.png +0 -0
- package/src/assets/testing.png +0 -0
- package/src/assets/theming.png +0 -0
- package/src/assets/tutorials.svg +0 -1
- package/src/assets/youtube.svg +0 -1
- package/src/components/AddItemModal/AddItemModal.module.css +0 -72
- package/src/components/AddItemModal/AddItemModal.tsx +0 -82
- package/src/components/AddItemModal/index.ts +0 -1
- package/src/components/Alert/Alert.css +0 -54
- package/src/components/Alert/Alert.stories.tsx +0 -82
- package/src/components/Alert/Alert.tsx +0 -85
- package/src/components/Alert/AlertContext.tsx +0 -200
- package/src/components/Alert/AlertModels.ts +0 -34
- package/src/components/AnnouncementPanel/FlexRowContainer.css +0 -17
- package/src/components/AnnouncementPanel/FlexRowContainer.stories.tsx +0 -329
- package/src/components/AnnouncementPanel/FlexRowContainer.tsx +0 -24
- package/src/components/AnnouncementPanel/ListBox/CounterListBox.css +0 -56
- package/src/components/AnnouncementPanel/ListBox/CounterListBox.stories.tsx +0 -292
- package/src/components/AnnouncementPanel/ListBox/CounterListBox.tsx +0 -106
- package/src/components/AnnouncementPanel/ListBox/SimpleListBox.css +0 -57
- package/src/components/AnnouncementPanel/ListBox/SimpleListBox.stories.tsx +0 -189
- package/src/components/AnnouncementPanel/ListBox/SimpleListBox.tsx +0 -138
- package/src/components/AnnouncementPanel/ListBox/TrendListBox.css +0 -61
- package/src/components/AnnouncementPanel/ListBox/TrendListBox.stories.tsx +0 -257
- package/src/components/AnnouncementPanel/ListBox/TrendListBox.tsx +0 -90
- package/src/components/AnnouncementPanel/ListContentContainer.css +0 -23
- package/src/components/AnnouncementPanel/ListContentContainer.stories.tsx +0 -212
- package/src/components/AnnouncementPanel/ListContentContainer.tsx +0 -33
- package/src/components/BandChart/index.tsx +0 -282
- package/src/components/Button/Button.module.css +0 -165
- package/src/components/Button/Button.stories.ts +0 -132
- package/src/components/Button/Button.tsx +0 -55
- package/src/components/Button/button.css +0 -29
- package/src/components/ChartContainer/ChartContainer.css +0 -116
- package/src/components/ChartContainer/ChartContainer.stories.tsx +0 -159
- package/src/components/ChartContainer/ChartContainer.tsx +0 -155
- package/src/components/ChartContainer/index.ts +0 -1
- package/src/components/Charts/area-chart-admission/AreaChartAdmission.stories.tsx +0 -65
- package/src/components/Charts/area-chart-admission/AreaChartAdmission.tsx +0 -129
- package/src/components/Charts/area-chart-admission/content.json +0 -48
- package/src/components/Charts/area-chart-hospitalisation/AreaChartHospitalisation.stories.tsx +0 -141
- package/src/components/Charts/area-chart-hospitalisation/AreaChartHospitalisation.tsx +0 -262
- package/src/components/Charts/area-chart-hospitalisation/content.json +0 -55
- package/src/components/Charts/bar-chart/BarChart.stories.tsx +0 -50
- package/src/components/Charts/bar-chart/BarChart.tsx +0 -171
- package/src/components/Charts/bar-chart/content.json +0 -15
- package/src/components/Charts/boxplot-chart/BoxPlotChart.stories.tsx +0 -63
- package/src/components/Charts/boxplot-chart/BoxPlotChart.tsx +0 -114
- package/src/components/Charts/boxplot-chart/boxUtils.ts +0 -22
- package/src/components/Charts/boxplot-chart/content.json +0 -11
- package/src/components/Charts/mixed-chart/MixedChart.stories.tsx +0 -83
- package/src/components/Charts/mixed-chart/MixedChart.tsx +0 -681
- package/src/components/Charts/mixed-chart/content.json +0 -34
- package/src/components/Charts/sankey-adaptation/sankey.tsx +0 -70
- package/src/components/Charts/sankey-chart/SankeyChart.stories.tsx +0 -69
- package/src/components/Charts/sankey-chart/SankeyChart.tsx +0 -183
- package/src/components/Charts/sankey-chart/content.json +0 -15
- package/src/components/Charts/stacked-column/StackedColumn.stories.tsx +0 -72
- package/src/components/Charts/stacked-column/StackedColumn.tsx +0 -406
- package/src/components/Charts/stacked-column/content.json +0 -37
- package/src/components/Charts/stacked-column-one-hundred-percent/StackedColumnOneHundredPercent.stories.tsx +0 -43
- package/src/components/Charts/stacked-column-one-hundred-percent/StackedColumnOneHundredPercent.tsx +0 -75
- package/src/components/Charts/stacked-column-one-hundred-percent/content.json +0 -6
- package/src/components/CircularProgress/CircularProgress.css +0 -79
- package/src/components/CircularProgress/CircularProgress.stories.tsx +0 -251
- package/src/components/CircularProgress/CircularProgress.tsx +0 -101
- package/src/components/Configure.mdx +0 -369
- package/src/components/Confirmationpopup/ConfirmationPopup.module.css +0 -88
- package/src/components/Confirmationpopup/ConfirmationPopup.stories.tsx +0 -94
- package/src/components/Confirmationpopup/ConfirmationPopup.tsx +0 -47
- package/src/components/Confirmationpopup/index.ts +0 -6
- package/src/components/Confirmationpopup/useConfirmationPopup.ts +0 -48
- package/src/components/DayStatCard/DayStatCard.css +0 -50
- package/src/components/DayStatCard/DayStatCard.stories.tsx +0 -273
- package/src/components/DayStatCard/DayStatCard.tsx +0 -96
- package/src/components/DraggableSwitcher/DraggableSwitcherButton.tsx +0 -58
- package/src/components/DraggableSwitcher/context/useDraggableSwitcher.tsx +0 -45
- package/src/components/DropdownMenu/DropdownMenu.css +0 -100
- package/src/components/DropdownMenu/DropdownMenu.stories.tsx +0 -174
- package/src/components/DropdownMenu/DropdownMenu.tsx +0 -106
- package/src/components/DropdownMenu/index.ts +0 -1
- package/src/components/DynamicForm/DynamicFom.stories.ts +0 -773
- package/src/components/DynamicForm/DynamicForm.module.css +0 -468
- package/src/components/DynamicForm/DynamicForm.tsx +0 -224
- package/src/components/DynamicForm/tools/form-metadata.ts +0 -82
- package/src/components/DynamicForm/tools/validation.ts +0 -168
- package/src/components/DynamicInput/DynamicInput.module.css +0 -125
- package/src/components/DynamicInput/DynamicInput.stories.ts +0 -350
- package/src/components/DynamicInput/DynamicInput.tsx +0 -144
- package/src/components/DynamicInput/input/CheckboxInput.tsx +0 -41
- package/src/components/DynamicInput/input/ColorInput.tsx +0 -46
- package/src/components/DynamicInput/input/DateInput.tsx +0 -57
- package/src/components/DynamicInput/input/FileInput.tsx +0 -174
- package/src/components/DynamicInput/input/InputWrapper.tsx +0 -26
- package/src/components/DynamicInput/input/RadioInput.tsx +0 -46
- package/src/components/DynamicInput/input/RangeInput.tsx +0 -46
- package/src/components/DynamicInput/input/SelectInput.tsx +0 -75
- package/src/components/DynamicInput/input/TextInput.tsx +0 -101
- package/src/components/DynamicInput/input/TextareaInput.tsx +0 -47
- package/src/components/DynamicInput/input/assets/ColorInput.module.css +0 -48
- package/src/components/DynamicInput/input/assets/DateInput.module.css +0 -83
- package/src/components/DynamicInput/input/assets/FileInput.module.css +0 -133
- package/src/components/DynamicInput/input/assets/RangeInput.module.css +0 -169
- package/src/components/DynamicInput/input/assets/SelectInput.module.css +0 -95
- package/src/components/DynamicTable/AdvancedFilters.tsx +0 -196
- package/src/components/DynamicTable/ColumnSorter.tsx +0 -185
- package/src/components/DynamicTable/Pagination.tsx +0 -115
- package/src/components/DynamicTable/TableBody.tsx +0 -42
- package/src/components/DynamicTable/TableCell.tsx +0 -38
- package/src/components/DynamicTable/TableHeader.tsx +0 -39
- package/src/components/DynamicTable/TableRow.tsx +0 -56
- package/src/components/DynamicTable/TableauDynamic.stories.ts +0 -1014
- package/src/components/DynamicTable/TableauDynamique.module.css +0 -1294
- package/src/components/DynamicTable/TableauDynamique.tsx +0 -154
- package/src/components/DynamicTable/filters/BooleanFilter.tsx +0 -30
- package/src/components/DynamicTable/filters/DateFilter.tsx +0 -28
- package/src/components/DynamicTable/filters/DateRangeFilter.tsx +0 -51
- package/src/components/DynamicTable/filters/FilterRenderer.tsx +0 -117
- package/src/components/DynamicTable/filters/MultiSelectFilter.tsx +0 -59
- package/src/components/DynamicTable/filters/NumberFilter.tsx +0 -37
- package/src/components/DynamicTable/filters/OperatorFilter.tsx +0 -64
- package/src/components/DynamicTable/filters/SelectFilter.tsx +0 -69
- package/src/components/DynamicTable/filters/TextFilter.tsx +0 -39
- package/src/components/DynamicTable/hooks/useAsyncActions.ts +0 -36
- package/src/components/DynamicTable/hooks/useFilters.ts +0 -142
- package/src/components/DynamicTable/hooks/useTableData.ts +0 -216
- package/src/components/DynamicTable/tools/filterTypes.ts +0 -118
- package/src/components/DynamicTable/tools/tableConfig.ts +0 -96
- package/src/components/DynamicTable/tools/tableTypes.ts +0 -63
- package/src/components/EntryControl/EntryControl.module.css +0 -218
- package/src/components/EntryControl/EntryControl.stories.tsx +0 -71
- package/src/components/EntryControl/EntryControl.tsx +0 -117
- package/src/components/Grid/Grid.stories.tsx +0 -94
- package/src/components/Grid/Grid.tsx +0 -219
- package/src/components/Grid/grid.css +0 -285
- package/src/components/Header/Header.stories.tsx +0 -164
- package/src/components/Header/Header.tsx +0 -61
- package/src/components/Header/header.css +0 -61
- package/src/components/Header/index.ts +0 -1
- package/src/components/IconText/IconText..stories.tsx +0 -135
- package/src/components/IconText/IconText.css +0 -43
- package/src/components/IconText/IconText.tsx +0 -43
- package/src/components/IconText/index.ts +0 -1
- package/src/components/LanguageSelector/LanguageSelector.css +0 -31
- package/src/components/LanguageSelector/LanguageSelector.stories.tsx +0 -38
- package/src/components/LanguageSelector/LanguageSelector.tsx +0 -37
- package/src/components/Logo/Logo.css +0 -89
- package/src/components/Logo/Logo.stories.tsx +0 -79
- package/src/components/Logo/Logo.tsx +0 -22
- package/src/components/MetricsPanel/MetricsItem.tsx +0 -128
- package/src/components/MetricsPanel/MetricsPanel.module.css +0 -688
- package/src/components/MetricsPanel/MetricsPanel.stories.tsx +0 -692
- package/src/components/MetricsPanel/MetricsPanel.tsx +0 -220
- package/src/components/MetricsPanel/PanelHeader.tsx +0 -19
- package/src/components/MetricsPanel/SummaryCard.tsx +0 -61
- package/src/components/MetricsPanel/renderers/CompactRenderer.tsx +0 -148
- package/src/components/MetricsPanel/renderers/ImageCard.tsx +0 -62
- package/src/components/MetricsPanel/renderers/PertinenceCard.tsx +0 -55
- package/src/components/MetricsPanel/tools/MetricsPanelTypes.ts +0 -62
- package/src/components/MetricsPanel/tools/chooseDefaultRender.ts +0 -50
- package/src/components/MetricsPanel/tools/colorUtils.ts +0 -39
- package/src/components/ModuleHeader/ModuleHeader.css +0 -37
- package/src/components/ModuleHeader/ModuleHeader.stories.tsx +0 -37
- package/src/components/ModuleHeader/ModuleHeader.tsx +0 -42
- package/src/components/ModuleHeader/index.ts +0 -1
- package/src/components/ModuleSideBar/ModuleSideBar.css +0 -227
- package/src/components/ModuleSideBar/ModuleSideBar.stories.tsx +0 -40
- package/src/components/ModuleSideBar/ModuleSideBar.tsx +0 -155
- package/src/components/ModuleSideBar/index.ts +0 -1
- package/src/components/NavBar/NavBar.css +0 -58
- package/src/components/NavBar/NavBar.stories.tsx +0 -169
- package/src/components/NavBar/NavBar.tsx +0 -100
- package/src/components/NavBar/NavContext.tsx +0 -30
- package/src/components/NavItem/NavItem.css +0 -29
- package/src/components/NavItem/NavItem.tsx +0 -58
- package/src/components/NavItem/index.ts +0 -1
- package/src/components/Page/Dashboard.tsx +0 -93
- package/src/components/Page/Page.stories.ts +0 -33
- package/src/components/Page/Page.tsx +0 -73
- package/src/components/Page/page.css +0 -81
- package/src/components/PerformanceCard/PerformanceCard.module.css +0 -232
- package/src/components/PerformanceCard/PerformanceCard.stories.tsx +0 -441
- package/src/components/PerformanceCard/PerformanceCard.tsx +0 -198
- package/src/components/PerformanceCard/defaultHistogramRenderer.tsx +0 -32
- package/src/components/PerformanceCard/tools/types.ts +0 -50
- package/src/components/PerformanceCard/tools/usePerformanceCard.ts +0 -93
- package/src/components/PeriodRange/PeriodRange.module.css +0 -158
- package/src/components/PeriodRange/PeriodRange.stories.tsx +0 -66
- package/src/components/PeriodRange/PeriodRange.tsx +0 -130
- package/src/components/PeriodSelect/PeriodSelect.module.css +0 -64
- package/src/components/PeriodSelect/PeriodSelect.stories.tsx +0 -40
- package/src/components/PeriodSelect/PeriodSelect.tsx +0 -48
- package/src/components/PeriodSelect/index.ts +0 -1
- package/src/components/ScrollableHorizontale/ScrollableHorizontale.css +0 -40
- package/src/components/ScrollableHorizontale/ScrollableHorizontale.stories.tsx +0 -133
- package/src/components/ScrollableHorizontale/ScrollableHorizontale.tsx +0 -29
- package/src/components/SearchBar/SearchBar.css +0 -40
- package/src/components/SearchBar/SearchBar.stories.tsx +0 -36
- package/src/components/SearchBar/SearchBar.tsx +0 -30
- package/src/components/SearchBar/index.ts +0 -1
- package/src/components/SectionTitle/SectionTitle.css +0 -21
- package/src/components/SectionTitle/SectionTitle.stories.tsx +0 -39
- package/src/components/SectionTitle/SectionTitle.tsx +0 -18
- package/src/components/SelectFilter/SelectFilter.module.css +0 -249
- package/src/components/SelectFilter/SelectFilter.stories.tsx +0 -321
- package/src/components/SelectFilter/SelectFilter.tsx +0 -219
- package/src/components/SelectFilter/types.ts +0 -19
- package/src/components/SideComponent/PatientEditor.tsx +0 -64
- package/src/components/SideComponent/SideComponent.css +0 -179
- package/src/components/SideComponent/SideComponent.stories.tsx +0 -547
- package/src/components/SideComponent/SideComponent.tsx +0 -243
- package/src/components/SideComponent/hooks/useBodyScrollLock.ts +0 -15
- package/src/components/SideComponent/portal.ts +0 -11
- package/src/components/SubNavBar/SubNavBar.tsx +0 -41
- package/src/components/SubNavBar/index.ts +0 -1
- package/src/components/Switcher/Switcher.css +0 -65
- package/src/components/Switcher/Switcher.stories.tsx +0 -153
- package/src/components/Switcher/Switcher.tsx +0 -83
- package/src/components/Switcher/index.ts +0 -1
- package/src/components/Title/Title.stories.tsx +0 -18
- package/src/components/Title/Title.tsx +0 -26
- package/src/components/Title/index.ts +0 -1
- package/src/components/TranslationKey/TranslationKey.css +0 -272
- package/src/components/TranslationKey/TranslationKey.stories.tsx +0 -50
- package/src/components/TranslationKey/TranslationKey.tsx +0 -266
- package/src/components/TranslationKey/index.ts +0 -1
- package/src/components/TrendItem/TrendItem.css +0 -36
- package/src/components/TrendItem/TrendItem.stories.tsx +0 -276
- package/src/components/TrendItem/TrendItem.tsx +0 -46
- package/src/components/TrendItem/index.ts +0 -1
- package/src/components/TrendList/TrendList.css +0 -16
- package/src/components/TrendList/TrendList.stories.tsx +0 -337
- package/src/components/TrendList/TrendList.tsx +0 -72
- package/src/components/TrendList/index.ts +0 -1
- package/src/components/theme/ThemeSwitcherButton.tsx +0 -64
- package/src/components/theme/context/ThemeContext.tsx +0 -61
- package/src/components/theme/context/useThemeSwitcher.ts +0 -18
- package/src/components/theme/index.ts +0 -1
- package/src/index.css +0 -68
- package/src/main.tsx +0 -10
- package/src/vite-env.d.ts +0 -1
- package/tsconfig.app.json +0 -27
- package/tsconfig.json +0 -4
- package/tsconfig.node.json +0 -25
- package/vite.config.ts +0 -43
- package/vitest.shims.d.ts +0 -1
- /package/{public → dist}/vite.svg +0 -0
|
@@ -1,272 +0,0 @@
|
|
|
1
|
-
.translation-card {
|
|
2
|
-
background: var(--color-card-background);
|
|
3
|
-
border-radius: 0.5rem;
|
|
4
|
-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
5
|
-
box-sizing: border-box;
|
|
6
|
-
border: 1px solid var(--color-border);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.card-header {
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
justify-content: space-between;
|
|
13
|
-
padding: 1.5rem;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.card-title {
|
|
17
|
-
font-family: var(--font-primary);
|
|
18
|
-
font-weight: var(--font-medium);
|
|
19
|
-
font-size: var(--text-paragraph);
|
|
20
|
-
margin: 0;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.header-actions {
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
gap: 0.5rem;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.action-button {
|
|
30
|
-
font-family: var(--font-primary);
|
|
31
|
-
font-weight: var(--font-normal);
|
|
32
|
-
font-size: var(--text-small);
|
|
33
|
-
padding: 0.375rem;
|
|
34
|
-
color: #9ca3af;
|
|
35
|
-
background: none;
|
|
36
|
-
border: none;
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
transition: color 0.2s;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.action-button:hover {
|
|
42
|
-
color: #6b7280;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.action-button.delete:hover {
|
|
46
|
-
color: #ef4444;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.action-icon {
|
|
50
|
-
width: 1rem;
|
|
51
|
-
height: 1rem;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.translations-container {
|
|
55
|
-
padding: 1.5rem;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.translation-row {
|
|
59
|
-
display: flex;
|
|
60
|
-
align-items: center;
|
|
61
|
-
gap: 1rem;
|
|
62
|
-
padding: 0.75rem 1rem;
|
|
63
|
-
background: var(--color-content-background);
|
|
64
|
-
border-radius: 0.5rem;
|
|
65
|
-
margin-bottom: 0.5rem;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.language-code {
|
|
69
|
-
font-family: var(--font-primary);
|
|
70
|
-
font-weight: var(--font-medium);
|
|
71
|
-
font-size: var(--text-small);
|
|
72
|
-
width: 2rem;
|
|
73
|
-
text-transform: uppercase;
|
|
74
|
-
flex-shrink: 0;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.translation-content {
|
|
78
|
-
flex: 1;
|
|
79
|
-
display: flex;
|
|
80
|
-
align-items: center;
|
|
81
|
-
gap: 0.5rem;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.translation-text {
|
|
85
|
-
font-family: var(--font-primary);
|
|
86
|
-
font-weight: var(--font-normal);
|
|
87
|
-
font-size: var(--text-small);
|
|
88
|
-
flex: 1;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.edit-input,
|
|
92
|
-
.translation-input,
|
|
93
|
-
.language-select {
|
|
94
|
-
font-family: var(--font-primary);
|
|
95
|
-
font-weight: var(--font-normal);
|
|
96
|
-
font-size: var(--text-small);
|
|
97
|
-
flex: 1;
|
|
98
|
-
padding: 0.5rem 0.75rem;
|
|
99
|
-
border-radius: 0.375rem;
|
|
100
|
-
outline: none;
|
|
101
|
-
background-color: var(--color-content-background);
|
|
102
|
-
color: var(--color-text);
|
|
103
|
-
}
|
|
104
|
-
.save-button,
|
|
105
|
-
.add-button,
|
|
106
|
-
.show-add-button {
|
|
107
|
-
font-family: var(--font-primary);
|
|
108
|
-
font-weight: var(--font-medium);
|
|
109
|
-
font-size: var(--text-xs);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.save-button {
|
|
113
|
-
padding: 0.375rem 0.75rem;
|
|
114
|
-
background-color: var(--color-primary);
|
|
115
|
-
color: var(--color-text-on-primary);
|
|
116
|
-
border: none;
|
|
117
|
-
border-radius: 0.25rem;
|
|
118
|
-
cursor: pointer;
|
|
119
|
-
transition: background-color 0.2s;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.save-button:hover {
|
|
123
|
-
background-color: var(--color-primary);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.cancel-button,
|
|
127
|
-
.edit-button,
|
|
128
|
-
.delete-translation-button {
|
|
129
|
-
font-family: var(--font-primary);
|
|
130
|
-
font-weight: var(--font-normal);
|
|
131
|
-
font-size: var(--text-small);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.cancel-button {
|
|
135
|
-
padding: 0.375rem;
|
|
136
|
-
color: #9ca3af;
|
|
137
|
-
background: none;
|
|
138
|
-
border: none;
|
|
139
|
-
cursor: pointer;
|
|
140
|
-
transition: color 0.2s;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.cancel-button:hover,
|
|
144
|
-
.edit-button:hover {
|
|
145
|
-
color: #6b7280;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.edit-button {
|
|
149
|
-
padding: 0.25rem;
|
|
150
|
-
background: none;
|
|
151
|
-
border: none;
|
|
152
|
-
cursor: pointer;
|
|
153
|
-
transition: color 0.2s;
|
|
154
|
-
opacity: 0;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.translation-row:hover .edit-button {
|
|
158
|
-
opacity: 1;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.delete-translation-button {
|
|
162
|
-
padding: 0.25rem;
|
|
163
|
-
color: #9ca3af;
|
|
164
|
-
background: none;
|
|
165
|
-
border: none;
|
|
166
|
-
cursor: pointer;
|
|
167
|
-
transition: color 0.2s;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.delete-translation-button:hover {
|
|
171
|
-
color: #ef4444;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.add-language-row {
|
|
175
|
-
display: flex;
|
|
176
|
-
align-items: center;
|
|
177
|
-
gap: 1rem;
|
|
178
|
-
padding: 0.75rem 1rem;
|
|
179
|
-
border-radius: 0.5rem;
|
|
180
|
-
margin-bottom: 0.5rem;
|
|
181
|
-
flex-wrap: wrap;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.add-language-content {
|
|
185
|
-
flex: 1;
|
|
186
|
-
display: flex;
|
|
187
|
-
align-items: center;
|
|
188
|
-
gap: 0.5rem;
|
|
189
|
-
flex-wrap: wrap;
|
|
190
|
-
min-width: 0;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.language-select-container {
|
|
194
|
-
position: relative;
|
|
195
|
-
flex: 1;
|
|
196
|
-
min-width: 150px;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.select-chevron {
|
|
200
|
-
position: absolute;
|
|
201
|
-
right: 0.75rem;
|
|
202
|
-
top: 50%;
|
|
203
|
-
transform: translateY(-50%);
|
|
204
|
-
width: 1rem;
|
|
205
|
-
height: 1rem;
|
|
206
|
-
color: #9ca3af;
|
|
207
|
-
pointer-events: none;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.plus-icon {
|
|
211
|
-
font-family: var(--font-primary);
|
|
212
|
-
font-size: var(--text-lg);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
@media (max-width: 640px) {
|
|
216
|
-
.add-language-content {
|
|
217
|
-
flex-direction: column;
|
|
218
|
-
align-items: stretch;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.language-select-container,
|
|
222
|
-
.translation-input {
|
|
223
|
-
min-width: 100%;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
.show-add-button {
|
|
227
|
-
display: inline-flex;
|
|
228
|
-
align-items: center;
|
|
229
|
-
gap: 6px;
|
|
230
|
-
background: none;
|
|
231
|
-
border: none;
|
|
232
|
-
color: var(--color-primary);
|
|
233
|
-
font-size: 16px;
|
|
234
|
-
font-weight: 500;
|
|
235
|
-
cursor: pointer;
|
|
236
|
-
padding: 0;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.show-add-button:hover {
|
|
240
|
-
border-bottom: 1px solid var(--color-primary);
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
input {
|
|
244
|
-
color: var(--color-text);
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.collapse-button {
|
|
248
|
-
background: none;
|
|
249
|
-
border: none;
|
|
250
|
-
cursor: pointer;
|
|
251
|
-
padding: 0.25rem;
|
|
252
|
-
margin-right: 0.5rem;
|
|
253
|
-
display: flex;
|
|
254
|
-
align-items: center;
|
|
255
|
-
color: #9ca3af;
|
|
256
|
-
transition: color 0.2s;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.collapse-button:hover {
|
|
260
|
-
color: #6b7280;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
.collapse-icon {
|
|
264
|
-
width: 1rem;
|
|
265
|
-
height: 1rem;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.header-left {
|
|
269
|
-
display: flex;
|
|
270
|
-
align-items: center;
|
|
271
|
-
gap: 0.5rem;
|
|
272
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { TranslationKey } from './TranslationKey';
|
|
3
|
-
|
|
4
|
-
const meta: Meta<typeof TranslationKey> = {
|
|
5
|
-
title: 'Components/TranslationKey',
|
|
6
|
-
component: TranslationKey,
|
|
7
|
-
tags: ['autodocs'],
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export default meta;
|
|
11
|
-
type Story = StoryObj<typeof TranslationKey>;
|
|
12
|
-
|
|
13
|
-
const sampleTranslations = [
|
|
14
|
-
{ language: 'en', value: 'Hello' },
|
|
15
|
-
{ language: 'fr', value: 'Bonjour' },
|
|
16
|
-
];
|
|
17
|
-
|
|
18
|
-
const sampleLanguages = [
|
|
19
|
-
{ code: 'en', name: 'English' },
|
|
20
|
-
{ code: 'fr', name: 'Français' },
|
|
21
|
-
{ code: 'es', name: 'Español' },
|
|
22
|
-
];
|
|
23
|
-
|
|
24
|
-
export const Default: Story = {
|
|
25
|
-
args: {
|
|
26
|
-
keyName: 'greeting',
|
|
27
|
-
translations: sampleTranslations,
|
|
28
|
-
availableLanguages: sampleLanguages,
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export const WithActions: Story = {
|
|
33
|
-
args: {
|
|
34
|
-
keyName: 'welcome_message',
|
|
35
|
-
translations: sampleTranslations,
|
|
36
|
-
availableLanguages: sampleLanguages,
|
|
37
|
-
onDeleteKey: (key) => alert(`Deleted key: ${key}`),
|
|
38
|
-
onEditTranslation: (key, lang, value) => alert(`Edited ${lang} in ${key}: ${value}`),
|
|
39
|
-
onDeleteTranslation: (key, lang) => alert(`Deleted translation ${lang} in ${key}`),
|
|
40
|
-
onAddTranslation: (key, lang, value) => alert(`Added ${lang} in ${key}: ${value}`),
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
export const EmptyTranslations: Story = {
|
|
45
|
-
args: {
|
|
46
|
-
keyName: 'new_key',
|
|
47
|
-
translations: [],
|
|
48
|
-
availableLanguages: sampleLanguages,
|
|
49
|
-
},
|
|
50
|
-
};
|
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
import React, { useState } from 'react';
|
|
2
|
-
import { Edit3, Trash2, X, ChevronDown, ChevronRight, Move } from 'lucide-react';
|
|
3
|
-
import './TranslationKey.css';
|
|
4
|
-
import { AddItemModal } from '../AddItemModal/AddItemModal';
|
|
5
|
-
|
|
6
|
-
export interface Translation {
|
|
7
|
-
language: string;
|
|
8
|
-
value: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
interface TranslationKeyProps {
|
|
12
|
-
keyName: string;
|
|
13
|
-
translations: Translation[];
|
|
14
|
-
availableLanguages: { code: string; name: string }[];
|
|
15
|
-
onDeleteKey?: (keyName: string) => void;
|
|
16
|
-
onEditKey?: (oldKey: string, newKey: string) => void; // <- nouvelle prop
|
|
17
|
-
onEditTranslation?: (keyName: string, language: string, newValue: string) => void;
|
|
18
|
-
onDeleteTranslation?: (keyName: string, language: string) => void;
|
|
19
|
-
onAddTranslation?: (keyName: string, language: string, value: string) => void;
|
|
20
|
-
draggable?: boolean;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export const TranslationKey: React.FC<TranslationKeyProps> = ({
|
|
24
|
-
keyName,
|
|
25
|
-
translations,
|
|
26
|
-
availableLanguages,
|
|
27
|
-
onDeleteKey,
|
|
28
|
-
onEditKey,
|
|
29
|
-
onEditTranslation,
|
|
30
|
-
onDeleteTranslation,
|
|
31
|
-
onAddTranslation,
|
|
32
|
-
draggable = false,
|
|
33
|
-
}) => {
|
|
34
|
-
const [showAddLanguage, setShowAddLanguage] = useState(false);
|
|
35
|
-
const [selectedLanguage, setSelectedLanguage] = useState('');
|
|
36
|
-
const [editingTranslation, setEditingTranslation] = useState<string | null>(null);
|
|
37
|
-
const [editValue, setEditValue] = useState('');
|
|
38
|
-
const [newTranslationValue, setNewTranslationValue] = useState('');
|
|
39
|
-
|
|
40
|
-
// état pour le modal de renommage de la clé
|
|
41
|
-
const [isRenameModalOpen, setIsRenameModalOpen] = useState(false);
|
|
42
|
-
|
|
43
|
-
// état pour replier/déplier
|
|
44
|
-
const [isCollapsed, setIsCollapsed] = useState(false);
|
|
45
|
-
|
|
46
|
-
const usedLanguages = translations.map((t) => t.language);
|
|
47
|
-
const availableToAdd = availableLanguages.filter((lang) => !usedLanguages.includes(lang.code));
|
|
48
|
-
|
|
49
|
-
const handleAddTranslation = () => {
|
|
50
|
-
if (selectedLanguage && newTranslationValue.trim()) {
|
|
51
|
-
onAddTranslation?.(keyName, selectedLanguage, newTranslationValue.trim());
|
|
52
|
-
setSelectedLanguage('');
|
|
53
|
-
setNewTranslationValue('');
|
|
54
|
-
setShowAddLanguage(false);
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
const handleEditStart = (language: string, currentValue: string) => {
|
|
59
|
-
setEditingTranslation(language);
|
|
60
|
-
setEditValue(currentValue);
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
const handleEditSave = (language: string) => {
|
|
64
|
-
onEditTranslation?.(keyName, language, editValue);
|
|
65
|
-
setEditingTranslation(null);
|
|
66
|
-
setEditValue('');
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
const handleEditCancel = () => {
|
|
70
|
-
setEditingTranslation(null);
|
|
71
|
-
setEditValue('');
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
const handleRenameSave = (values: Record<string, string | number>) => {
|
|
75
|
-
const newName = (values.name as string)?.trim();
|
|
76
|
-
if (!newName) return;
|
|
77
|
-
if (newName === keyName) {
|
|
78
|
-
setIsRenameModalOpen(false);
|
|
79
|
-
return;
|
|
80
|
-
}
|
|
81
|
-
onEditKey?.(keyName, newName);
|
|
82
|
-
setIsRenameModalOpen(false);
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
return (
|
|
86
|
-
<div className='translation-card' style={{ position: 'relative' }}>
|
|
87
|
-
{/* Header toujours visible */}
|
|
88
|
-
<div className='card-header'>
|
|
89
|
-
<div className='header-left'>
|
|
90
|
-
<button
|
|
91
|
-
className='collapse-button'
|
|
92
|
-
onClick={() => setIsCollapsed(!isCollapsed)}
|
|
93
|
-
title={isCollapsed ? 'Déplier' : 'Replier'}
|
|
94
|
-
>
|
|
95
|
-
{isCollapsed ? (
|
|
96
|
-
<ChevronRight className='collapse-icon' />
|
|
97
|
-
) : (
|
|
98
|
-
<ChevronDown className='collapse-icon' />
|
|
99
|
-
)}
|
|
100
|
-
</button>
|
|
101
|
-
<h3 className='card-title'>{keyName}</h3>
|
|
102
|
-
</div>
|
|
103
|
-
|
|
104
|
-
<div className='header-actions'>
|
|
105
|
-
<button
|
|
106
|
-
className='action-button'
|
|
107
|
-
onClick={(e) => {
|
|
108
|
-
e.stopPropagation();
|
|
109
|
-
setIsRenameModalOpen(true);
|
|
110
|
-
}}
|
|
111
|
-
title='Renommer la clé'
|
|
112
|
-
>
|
|
113
|
-
<Edit3 className='action-icon' />
|
|
114
|
-
</button>
|
|
115
|
-
<button
|
|
116
|
-
onClick={(e) => {
|
|
117
|
-
e.stopPropagation();
|
|
118
|
-
onDeleteKey?.(keyName);
|
|
119
|
-
}}
|
|
120
|
-
className='action-button delete'
|
|
121
|
-
title='Supprimer la clé'
|
|
122
|
-
>
|
|
123
|
-
<Trash2 className='action-icon' />
|
|
124
|
-
</button>
|
|
125
|
-
</div>
|
|
126
|
-
</div>
|
|
127
|
-
|
|
128
|
-
{/* Contenu (overlay draggable si nécessaire) */}
|
|
129
|
-
<div className='translations-container' style={{ opacity: draggable ? 0 : 1 }}>
|
|
130
|
-
{!isCollapsed && !draggable && (
|
|
131
|
-
<>
|
|
132
|
-
{translations.map((translation) => (
|
|
133
|
-
<div key={translation.language} className='translation-row'>
|
|
134
|
-
<div className='language-code'>{translation.language}</div>
|
|
135
|
-
<div className='translation-content'>
|
|
136
|
-
{editingTranslation === translation.language ? (
|
|
137
|
-
<>
|
|
138
|
-
<input
|
|
139
|
-
type='text'
|
|
140
|
-
value={editValue}
|
|
141
|
-
onChange={(e) => setEditValue(e.target.value)}
|
|
142
|
-
className='edit-input'
|
|
143
|
-
autoFocus
|
|
144
|
-
/>
|
|
145
|
-
<button
|
|
146
|
-
onClick={() => handleEditSave(translation.language)}
|
|
147
|
-
className='save-button'
|
|
148
|
-
>
|
|
149
|
-
Enregistrer
|
|
150
|
-
</button>
|
|
151
|
-
<button onClick={handleEditCancel} className='cancel-button'>
|
|
152
|
-
<X className='action-icon' />
|
|
153
|
-
</button>
|
|
154
|
-
</>
|
|
155
|
-
) : (
|
|
156
|
-
<>
|
|
157
|
-
<span className='translation-text'>{translation.value}</span>
|
|
158
|
-
<button
|
|
159
|
-
onClick={() => handleEditStart(translation.language, translation.value)}
|
|
160
|
-
className='edit-button'
|
|
161
|
-
title='Éditer la traduction'
|
|
162
|
-
>
|
|
163
|
-
<Edit3 className='action-icon' />
|
|
164
|
-
</button>
|
|
165
|
-
<button
|
|
166
|
-
onClick={() => onDeleteTranslation?.(keyName, translation.language)}
|
|
167
|
-
className='delete-translation-button'
|
|
168
|
-
title='Supprimer la traduction'
|
|
169
|
-
>
|
|
170
|
-
<X className='action-icon' />
|
|
171
|
-
</button>
|
|
172
|
-
</>
|
|
173
|
-
)}
|
|
174
|
-
</div>
|
|
175
|
-
</div>
|
|
176
|
-
))}
|
|
177
|
-
|
|
178
|
-
{/* Add language */}
|
|
179
|
-
{showAddLanguage ? (
|
|
180
|
-
<div className='add-language-row'>
|
|
181
|
-
<div className='language-code'></div>
|
|
182
|
-
<div className='add-language-content'>
|
|
183
|
-
<div className='language-select-container'>
|
|
184
|
-
<select
|
|
185
|
-
value={selectedLanguage}
|
|
186
|
-
onChange={(e) => setSelectedLanguage(e.target.value)}
|
|
187
|
-
className='language-select'
|
|
188
|
-
>
|
|
189
|
-
<option value=''>Sélectionnez la langue</option>
|
|
190
|
-
{availableToAdd.map((lang) => (
|
|
191
|
-
<option key={lang.code} value={lang.code}>
|
|
192
|
-
{lang.name}
|
|
193
|
-
</option>
|
|
194
|
-
))}
|
|
195
|
-
</select>
|
|
196
|
-
</div>
|
|
197
|
-
{selectedLanguage && (
|
|
198
|
-
<input
|
|
199
|
-
type='text'
|
|
200
|
-
value={newTranslationValue}
|
|
201
|
-
onChange={(e) => setNewTranslationValue(e.target.value)}
|
|
202
|
-
placeholder='Entrez la traduction...'
|
|
203
|
-
className='translation-input'
|
|
204
|
-
/>
|
|
205
|
-
)}
|
|
206
|
-
<button
|
|
207
|
-
onClick={handleAddTranslation}
|
|
208
|
-
disabled={!selectedLanguage || !newTranslationValue.trim()}
|
|
209
|
-
className='show-add-button'
|
|
210
|
-
>
|
|
211
|
-
<span className='plus-icon'>+</span>
|
|
212
|
-
Ajouter
|
|
213
|
-
</button>
|
|
214
|
-
<button
|
|
215
|
-
onClick={() => {
|
|
216
|
-
setShowAddLanguage(false);
|
|
217
|
-
setSelectedLanguage('');
|
|
218
|
-
setNewTranslationValue('');
|
|
219
|
-
}}
|
|
220
|
-
className='cancel-button'
|
|
221
|
-
>
|
|
222
|
-
<X className='action-icon' />
|
|
223
|
-
</button>
|
|
224
|
-
</div>
|
|
225
|
-
</div>
|
|
226
|
-
) : (
|
|
227
|
-
<button onClick={() => setShowAddLanguage(true)} className='show-add-button'>
|
|
228
|
-
<span className='plus-icon'>+</span>
|
|
229
|
-
Ajouter
|
|
230
|
-
</button>
|
|
231
|
-
)}
|
|
232
|
-
</>
|
|
233
|
-
)}
|
|
234
|
-
</div>
|
|
235
|
-
|
|
236
|
-
{/* Overlay Move */}
|
|
237
|
-
{draggable && (
|
|
238
|
-
<div
|
|
239
|
-
style={{
|
|
240
|
-
position: 'absolute',
|
|
241
|
-
top: 40, // pour laisser le header visible
|
|
242
|
-
left: 0,
|
|
243
|
-
width: '100%',
|
|
244
|
-
height: 'calc(100% - 40px)',
|
|
245
|
-
display: 'flex',
|
|
246
|
-
alignItems: 'center',
|
|
247
|
-
justifyContent: 'center',
|
|
248
|
-
pointerEvents: 'none',
|
|
249
|
-
}}
|
|
250
|
-
>
|
|
251
|
-
<Move size={32} strokeWidth={1.5} style={{ opacity: 0.8 }} />
|
|
252
|
-
</div>
|
|
253
|
-
)}
|
|
254
|
-
|
|
255
|
-
{/* Modal pour renommer la clé */}
|
|
256
|
-
<AddItemModal
|
|
257
|
-
isOpen={isRenameModalOpen}
|
|
258
|
-
onClose={() => setIsRenameModalOpen(false)}
|
|
259
|
-
onSave={handleRenameSave}
|
|
260
|
-
title='Renommer la clé'
|
|
261
|
-
initialValues={{ name: keyName }}
|
|
262
|
-
fields={[{ name: 'name', label: 'Nom de la clé', placeholder: 'Nom de la clé' }]}
|
|
263
|
-
/>
|
|
264
|
-
</div>
|
|
265
|
-
);
|
|
266
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TranslationKey';
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
.trend-item {
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: space-between;
|
|
4
|
-
align-items: center;
|
|
5
|
-
padding: 6px 12px;
|
|
6
|
-
border-radius: 8px;
|
|
7
|
-
min-height: 40px;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.trend-item:last-child {
|
|
11
|
-
border-bottom: none;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.trend-texts {
|
|
15
|
-
display: flex;
|
|
16
|
-
flex-direction: column;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.trend-title {
|
|
20
|
-
font-weight: var(--font-medium);
|
|
21
|
-
font-size: var(--text-paragraph);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.trend-subtitle {
|
|
25
|
-
font-weight: var(--font-normal);
|
|
26
|
-
font-size: var(--text-small);
|
|
27
|
-
color: gray;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.trend-right {
|
|
31
|
-
font-weight: var(--font-semibold);
|
|
32
|
-
font-size: var(--text-small);
|
|
33
|
-
}
|
|
34
|
-
.trend-right-right {
|
|
35
|
-
font-weight: var(--font-bold);
|
|
36
|
-
}
|