@tsiky/components-r19 1.1.0 → 1.3.0

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.
Files changed (50) hide show
  1. package/package.json +1 -1
  2. package/src/components/AnnouncementPanel/FlexRowContainer.css +17 -17
  3. package/src/components/AnnouncementPanel/FlexRowContainer.stories.tsx +329 -329
  4. package/src/components/AnnouncementPanel/FlexRowContainer.tsx +24 -24
  5. package/src/components/AnnouncementPanel/ListBox/CounterListBox.css +56 -56
  6. package/src/components/AnnouncementPanel/ListBox/CounterListBox.stories.tsx +292 -292
  7. package/src/components/AnnouncementPanel/ListBox/CounterListBox.tsx +106 -106
  8. package/src/components/AnnouncementPanel/ListBox/SimpleListBox.css +57 -57
  9. package/src/components/AnnouncementPanel/ListBox/SimpleListBox.stories.tsx +189 -189
  10. package/src/components/AnnouncementPanel/ListBox/SimpleListBox.tsx +138 -138
  11. package/src/components/AnnouncementPanel/ListBox/TrendListBox.css +61 -61
  12. package/src/components/AnnouncementPanel/ListBox/TrendListBox.stories.tsx +257 -257
  13. package/src/components/AnnouncementPanel/ListBox/TrendListBox.tsx +90 -90
  14. package/src/components/AnnouncementPanel/ListBox/index.ts +3 -3
  15. package/src/components/AnnouncementPanel/ListContentContainer.css +23 -23
  16. package/src/components/AnnouncementPanel/ListContentContainer.stories.tsx +212 -212
  17. package/src/components/AnnouncementPanel/ListContentContainer.tsx +33 -33
  18. package/src/components/AnnouncementPanel/index.ts +3 -3
  19. package/src/components/Charts/area-chart-admission/AreaChartAdmission.tsx +7 -1
  20. package/src/components/Charts/bar-chart/BarChart.tsx +6 -2
  21. package/src/components/Charts/boxplot-chart/BoxPlotChart.tsx +114 -114
  22. package/src/components/Charts/mixed-chart/MixedChart.tsx +1 -1
  23. package/src/components/Charts/sankey-adaptation/sankey.tsx +70 -70
  24. package/src/components/DraggableSwitcher/DraggableSwitcherButton.tsx +58 -58
  25. package/src/components/DraggableSwitcher/context/useDraggableSwitcher.tsx +45 -45
  26. package/src/components/DraggableSwitcher/index.ts +2 -2
  27. package/src/components/DynamicInput/DynamicInput.module.css +125 -126
  28. package/src/components/DynamicInput/input/SelectInput.tsx +75 -75
  29. package/src/components/DynamicInput/input/assets/SelectInput.module.css +95 -95
  30. package/src/components/DynamicTable/AdvancedFilters.tsx +196 -196
  31. package/src/components/DynamicTable/ColumnSorter.tsx +185 -185
  32. package/src/components/DynamicTable/Pagination.tsx +115 -115
  33. package/src/components/DynamicTable/TableCell.tsx +38 -30
  34. package/src/components/DynamicTable/TableHeader.tsx +39 -34
  35. package/src/components/DynamicTable/TableauDynamique.module.css +77 -70
  36. package/src/components/DynamicTable/TableauDynamique.tsx +154 -154
  37. package/src/components/DynamicTable/filters/SelectFilter.tsx +69 -69
  38. package/src/components/DynamicTable/tools/tableTypes.ts +63 -63
  39. package/src/components/EntryControl/EntryControl.tsx +117 -117
  40. package/src/components/Grid/grid.css +285 -285
  41. package/src/components/MetricsPanel/MetricsPanel.tsx +37 -37
  42. package/src/components/MetricsPanel/renderers/CompactRenderer.tsx +1 -1
  43. package/src/components/NavItem/NavItem.tsx +58 -58
  44. package/src/components/PeriodRange/PeriodRange.module.css +158 -158
  45. package/src/components/PeriodRange/PeriodRange.tsx +130 -130
  46. package/src/components/PeriodSelect/PeriodSelect.module.css +64 -65
  47. package/src/components/PeriodSelect/PeriodSelect.tsx +48 -42
  48. package/src/components/SearchBar/SearchBar.css +40 -40
  49. package/src/components/TranslationKey/TranslationKey.css +272 -272
  50. package/src/components/TranslationKey/TranslationKey.tsx +8 -7
@@ -1,24 +1,24 @@
1
- import React from 'react';
2
- import './FlexRowContainer.css';
3
-
4
- export type FlexRowContainerProps = {
5
- className?: string;
6
- style?: React.CSSProperties;
7
- children?: React.ReactNode; // normally ListContentContainer nodes
8
- gap?: string;
9
- };
10
-
11
- export const FlexRowContainer: React.FC<FlexRowContainerProps> = ({
12
- className = '',
13
- style = {},
14
- children,
15
- gap = '1rem',
16
- }) => {
17
- return (
18
- <div className={`frc-root ${className}`} style={{ ...style, ['--frc-gap' as any]: gap }}>
19
- {React.Children.map(children, (child) => (
20
- <div className='frc-item'>{child}</div>
21
- ))}
22
- </div>
23
- );
24
- };
1
+ import React from 'react';
2
+ import './FlexRowContainer.css';
3
+
4
+ export type FlexRowContainerProps = {
5
+ className?: string;
6
+ style?: React.CSSProperties;
7
+ children?: React.ReactNode; // normally ListContentContainer nodes
8
+ gap?: string;
9
+ };
10
+
11
+ export const FlexRowContainer: React.FC<FlexRowContainerProps> = ({
12
+ className = '',
13
+ style = {},
14
+ children,
15
+ gap = '1rem',
16
+ }) => {
17
+ return (
18
+ <div className={`frc-root ${className}`} style={{ ...style, ['--frc-gap' as any]: gap }}>
19
+ {React.Children.map(children, (child) => (
20
+ <div className='frc-item'>{child}</div>
21
+ ))}
22
+ </div>
23
+ );
24
+ };
@@ -1,56 +1,56 @@
1
- .clb-root {
2
- padding: 0.125rem;
3
- }
4
- .clb-title {
5
- font-weight: var(--font-bold);
6
- padding: 0.0625rem 0.125rem;
7
- margin-bottom: 0.0625rem;
8
- }
9
-
10
- .clb-grid {
11
- display: flex;
12
- flex-direction: column;
13
- gap: 0.125rem;
14
- }
15
-
16
- .clb-row {
17
- display: grid;
18
- grid-template-columns: 1fr 1fr;
19
- gap: var(--col-gap, 0.5rem);
20
- align-items: center;
21
- padding: 0;
22
- }
23
-
24
- .clb-badge-col {
25
- display: flex;
26
- justify-content: flex-end;
27
- align-items: center;
28
- }
29
- .counter-badge {
30
- display: flex;
31
- align-items: center;
32
- justify-content: center;
33
- border-radius: 9999px;
34
- color: #fff;
35
- min-width: 0;
36
- white-space: nowrap;
37
- line-height: 1;
38
- padding: 0.25rem 0.5rem;
39
- box-sizing: border-box;
40
- }
41
- .clb-text {
42
- padding: 0.25rem 0;
43
- min-width: 0;
44
- overflow: hidden;
45
- word-wrap: break-word;
46
- overflow-wrap: break-word;
47
- }
48
-
49
- .clb-fullrow {
50
- grid-column: 1 / -1;
51
- padding: 0.25rem 0.125rem;
52
- text-align: center;
53
- }
54
- .clb-empty-badge {
55
- min-height: 1px;
56
- }
1
+ .clb-root {
2
+ padding: 0.125rem;
3
+ }
4
+ .clb-title {
5
+ font-weight: var(--font-bold);
6
+ padding: 0.0625rem 0.125rem;
7
+ margin-bottom: 0.0625rem;
8
+ }
9
+
10
+ .clb-grid {
11
+ display: flex;
12
+ flex-direction: column;
13
+ gap: 0.125rem;
14
+ }
15
+
16
+ .clb-row {
17
+ display: grid;
18
+ grid-template-columns: 1fr 1fr;
19
+ gap: var(--col-gap, 0.5rem);
20
+ align-items: center;
21
+ padding: 0;
22
+ }
23
+
24
+ .clb-badge-col {
25
+ display: flex;
26
+ justify-content: flex-end;
27
+ align-items: center;
28
+ }
29
+ .counter-badge {
30
+ display: flex;
31
+ align-items: center;
32
+ justify-content: center;
33
+ border-radius: 9999px;
34
+ color: #fff;
35
+ min-width: 0;
36
+ white-space: nowrap;
37
+ line-height: 1;
38
+ padding: 0.25rem 0.5rem;
39
+ box-sizing: border-box;
40
+ }
41
+ .clb-text {
42
+ padding: 0.25rem 0;
43
+ min-width: 0;
44
+ overflow: hidden;
45
+ word-wrap: break-word;
46
+ overflow-wrap: break-word;
47
+ }
48
+
49
+ .clb-fullrow {
50
+ grid-column: 1 / -1;
51
+ padding: 0.25rem 0.125rem;
52
+ text-align: center;
53
+ }
54
+ .clb-empty-badge {
55
+ min-height: 1px;
56
+ }