@scality/core-ui 0.193.0 → 0.195.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 (155) hide show
  1. package/dist/components/UnsuccessfulResult.component.d.ts.map +1 -1
  2. package/dist/components/accordion/Accordion.component.d.ts.map +1 -1
  3. package/dist/components/banner/Banner.component.d.ts +6 -1
  4. package/dist/components/banner/Banner.component.d.ts.map +1 -1
  5. package/dist/components/banner/Banner.component.js +30 -9
  6. package/dist/components/breadcrumb/Breadcrumb.component.d.ts.map +1 -1
  7. package/dist/components/buttonv2/CopyButton.component.d.ts.map +1 -1
  8. package/dist/components/charts/MetricsTimeSpanProvider.d.ts.map +1 -1
  9. package/dist/components/charts/barchart/Barchart.d.ts.map +1 -1
  10. package/dist/components/charts/barchart/Barchart.js +29 -19
  11. package/dist/components/charts/barchart/Barchart.utils.d.ts.map +1 -1
  12. package/dist/components/charts/barchart/BarchartTooltip.d.ts.map +1 -1
  13. package/dist/components/charts/common/ChartTooltip.d.ts.map +1 -1
  14. package/dist/components/charts/common/SharedComponents.d.ts +6 -6
  15. package/dist/components/charts/common/SharedComponents.d.ts.map +1 -1
  16. package/dist/components/charts/common/SharedComponents.js +7 -3
  17. package/dist/components/charts/common/chartUtils.d.ts +7 -2
  18. package/dist/components/charts/common/chartUtils.d.ts.map +1 -1
  19. package/dist/components/charts/common/chartUtils.js +55 -20
  20. package/dist/components/charts/globalhealthbar/GlobalHealthBar.hooks.d.ts.map +1 -1
  21. package/dist/components/charts/globalhealthbar/GlobalHealthBar.utils.d.ts +3 -1
  22. package/dist/components/charts/globalhealthbar/GlobalHealthBar.utils.d.ts.map +1 -1
  23. package/dist/components/charts/globalhealthbar/GlobalHealthBarTooltip.d.ts.map +1 -1
  24. package/dist/components/charts/globalhealthbar/HealthBarXAxis.d.ts.map +1 -1
  25. package/dist/components/charts/index.d.ts +1 -1
  26. package/dist/components/charts/index.d.ts.map +1 -1
  27. package/dist/components/charts/legend/ChartLegend.d.ts.map +1 -1
  28. package/dist/components/charts/legend/ChartLegendWrapper.d.ts.map +1 -1
  29. package/dist/components/charts/linetimeseries/LineTimeSerieChart.d.ts +12 -47
  30. package/dist/components/charts/linetimeseries/LineTimeSerieChart.d.ts.map +1 -1
  31. package/dist/components/charts/linetimeseries/LineTimeSerieChart.js +46 -220
  32. package/dist/components/charts/linetimeseries/LineTimeSerieChart.types.d.ts +77 -0
  33. package/dist/components/charts/linetimeseries/LineTimeSerieChart.types.d.ts.map +1 -0
  34. package/dist/components/charts/linetimeseries/LineTimeSerieChart.types.js +6 -0
  35. package/dist/components/charts/linetimeseries/LineTimeSerieChart.utils.d.ts.map +1 -1
  36. package/dist/components/charts/linetimeseries/LineTimeSerieChartTooltip.d.ts +18 -0
  37. package/dist/components/charts/linetimeseries/LineTimeSerieChartTooltip.d.ts.map +1 -0
  38. package/dist/components/charts/linetimeseries/LineTimeSerieChartTooltip.js +65 -0
  39. package/dist/components/charts/linetimeseries/useChartData.d.ts +44 -0
  40. package/dist/components/charts/linetimeseries/useChartData.d.ts.map +1 -0
  41. package/dist/components/charts/linetimeseries/useChartData.js +207 -0
  42. package/dist/components/charts/linetimeseries/useChartHover.d.ts +15 -0
  43. package/dist/components/charts/linetimeseries/useChartHover.d.ts.map +1 -0
  44. package/dist/components/charts/linetimeseries/useChartHover.js +29 -0
  45. package/dist/components/checkbox/Checkbox.component.d.ts.map +1 -1
  46. package/dist/components/checkbox/Checkbox.component.js +15 -7
  47. package/dist/components/constrainedtext/Constrainedtext.component.d.ts.map +1 -1
  48. package/dist/components/constrainedtext/Constrainedtext.component.js +3 -2
  49. package/dist/components/coreuithemeprovider/CoreUiThemeProvider.d.ts.map +1 -1
  50. package/dist/components/date/FormattedDateTime.d.ts.map +1 -1
  51. package/dist/components/dropdown/Dropdown.component.d.ts.map +1 -1
  52. package/dist/components/dropdown/Dropdown.component.js +3 -0
  53. package/dist/components/error-pages/ErrorPage401.component.js +1 -1
  54. package/dist/components/error-pages/ErrorPage404.component.js +1 -1
  55. package/dist/components/error-pages/ErrorPage500.component.js +1 -1
  56. package/dist/components/form/Form.component.d.ts.map +1 -1
  57. package/dist/components/form/Form.component.js +3 -3
  58. package/dist/components/icon/CustomsIcons.d.ts +10 -0
  59. package/dist/components/icon/CustomsIcons.d.ts.map +1 -1
  60. package/dist/components/icon/CustomsIcons.js +8 -0
  61. package/dist/components/icon/Icon.component.d.ts +2 -131
  62. package/dist/components/icon/Icon.component.d.ts.map +1 -1
  63. package/dist/components/icon/Icon.component.js +10 -133
  64. package/dist/components/icon/iconTable.d.ts +138 -0
  65. package/dist/components/icon/iconTable.d.ts.map +1 -0
  66. package/dist/components/icon/iconTable.js +137 -0
  67. package/dist/components/iconhelper/IconHelper.d.ts.map +1 -1
  68. package/dist/components/infomessage/InfoMessage.component.d.ts.map +1 -1
  69. package/dist/components/infomessage/InfoMessage.component.js +1 -1
  70. package/dist/components/infomessage/InfoMessageUtils.d.ts.map +1 -1
  71. package/dist/components/inlineinput/InlineInput.d.ts.map +1 -1
  72. package/dist/components/inputlist/InputButtons.d.ts.map +1 -1
  73. package/dist/components/inputlist/InputList.component.d.ts +2 -0
  74. package/dist/components/inputlist/InputList.component.d.ts.map +1 -1
  75. package/dist/components/inputlist/InputList.component.js +2 -2
  76. package/dist/components/inputv2/inputv2.d.ts +2 -0
  77. package/dist/components/inputv2/inputv2.d.ts.map +1 -1
  78. package/dist/components/inputv2/inputv2.js +6 -2
  79. package/dist/components/layout/v2/panels.d.ts.map +1 -1
  80. package/dist/components/modal/Modal.component.d.ts.map +1 -1
  81. package/dist/components/searchinput/SearchInput.component.d.ts.map +1 -1
  82. package/dist/components/searchinput/SearchInput.component.js +1 -1
  83. package/dist/components/statusicon/StatusIcon.component.d.ts.map +1 -1
  84. package/dist/components/tablev2/MultiSelectableContent.d.ts.map +1 -1
  85. package/dist/components/tablev2/Search.d.ts.map +1 -1
  86. package/dist/components/tablev2/TableCommon.d.ts.map +1 -1
  87. package/dist/components/tablev2/TableUtils.d.ts.map +1 -1
  88. package/dist/components/tablev2/Tablestyle.d.ts.map +1 -1
  89. package/dist/components/tablev2/Tablestyle.js +2 -3
  90. package/dist/components/tablev2/Tablev2.component.d.ts.map +1 -1
  91. package/dist/components/tabsv2/useScrollingTabs.d.ts.map +1 -1
  92. package/dist/components/text/Text.component.d.ts +9 -6
  93. package/dist/components/text/Text.component.d.ts.map +1 -1
  94. package/dist/components/text/Text.component.js +5 -0
  95. package/dist/components/toast/Toast.component.d.ts.map +1 -1
  96. package/dist/components/toast/useMutationsHandler.d.ts.map +1 -1
  97. package/dist/components/tooltip/Tooltip.component.js +1 -1
  98. package/dist/index.d.ts +4 -2
  99. package/dist/index.d.ts.map +1 -1
  100. package/dist/index.js +1 -0
  101. package/dist/next.d.ts +3 -3
  102. package/dist/next.d.ts.map +1 -1
  103. package/dist/organisms/attachments/AttachmentTable.d.ts.map +1 -1
  104. package/dist/spacing.d.ts.map +1 -1
  105. package/dist/utils.d.ts +16 -0
  106. package/dist/utils.d.ts.map +1 -1
  107. package/dist/utils.js +27 -0
  108. package/jest.config.js +6 -1
  109. package/package.json +7 -7
  110. package/src/lib/components/banner/Banner.component.test.tsx +58 -0
  111. package/src/lib/components/banner/Banner.component.tsx +57 -10
  112. package/src/lib/components/charts/barchart/Barchart.test.tsx +3 -1
  113. package/src/lib/components/charts/barchart/Barchart.tsx +123 -106
  114. package/src/lib/components/charts/common/SharedComponents.tsx +15 -11
  115. package/src/lib/components/charts/common/chartUtils.test.ts +27 -12
  116. package/src/lib/components/charts/common/chartUtils.ts +67 -23
  117. package/src/lib/components/charts/index.ts +1 -1
  118. package/src/lib/components/charts/linetimeseries/LineTimeSerieChart.tsx +136 -516
  119. package/src/lib/components/charts/linetimeseries/LineTimeSerieChart.types.ts +93 -0
  120. package/src/lib/components/charts/linetimeseries/LineTimeSerieChartTooltip.tsx +137 -0
  121. package/src/lib/components/charts/linetimeseries/useChartData.ts +322 -0
  122. package/src/lib/components/charts/linetimeseries/useChartHover.ts +35 -0
  123. package/src/lib/components/checkbox/Checkbox.component.tsx +19 -20
  124. package/src/lib/components/constrainedtext/Constrainedtext.component.tsx +3 -2
  125. package/src/lib/components/dropdown/Dropdown.component.tsx +3 -0
  126. package/src/lib/components/error-pages/ErrorPage401.component.tsx +1 -1
  127. package/src/lib/components/error-pages/ErrorPage404.component.tsx +1 -1
  128. package/src/lib/components/error-pages/ErrorPage500.component.tsx +1 -1
  129. package/src/lib/components/form/Form.component.tsx +5 -19
  130. package/src/lib/components/icon/CustomsIcons.tsx +36 -0
  131. package/src/lib/components/icon/Icon.component.tsx +17 -137
  132. package/src/lib/components/icon/iconTable.ts +137 -0
  133. package/src/lib/components/iconhelper/IconHelper.test.tsx +2 -2
  134. package/src/lib/components/infomessage/InfoMessage.component.tsx +1 -1
  135. package/src/lib/components/inputlist/InputList.component.tsx +4 -2
  136. package/src/lib/components/inputv2/inputv2.tsx +11 -5
  137. package/src/lib/components/searchinput/SearchInput.component.tsx +1 -0
  138. package/src/lib/components/searchinput/SearchInput.test.tsx +6 -6
  139. package/src/lib/components/tablev2/Tablestyle.tsx +2 -4
  140. package/src/lib/components/text/Text.component.tsx +18 -10
  141. package/src/lib/components/tooltip/Tooltip.component.tsx +1 -1
  142. package/src/lib/index.ts +3 -2
  143. package/src/lib/next.ts +3 -3
  144. package/src/lib/utils.ts +42 -0
  145. package/stories/GlobalHealthBar/globalhealthbar.stories.tsx +1 -1
  146. package/stories/banner.stories.tsx +37 -5
  147. package/stories/inputlist.stories.tsx +18 -6
  148. package/stories/linetimeseriechart.stories.tsx +325 -6
  149. package/tsconfig.json +1 -1
  150. package/dist/components/date/FormattedDateTime.spec.d.ts +0 -2
  151. package/dist/components/date/FormattedDateTime.spec.d.ts.map +0 -1
  152. package/dist/components/date/FormattedDateTime.spec.js +0 -161
  153. package/dist/components/date/dateDiffer.spec.d.ts +0 -2
  154. package/dist/components/date/dateDiffer.spec.d.ts.map +0 -1
  155. package/dist/components/date/dateDiffer.spec.js +0 -6
@@ -0,0 +1,207 @@
1
+ import { useMemo } from 'react';
2
+ import { useChartLegend } from '../legend/ChartLegendWrapper';
3
+ import { addMissingDataPoint, normalizeChartDataWithUnits, } from '../common/chartUtils';
4
+ import { isSymmetricalSeries } from './LineTimeSerieChart.types';
5
+ /**
6
+ * Hook that processes chart data for LineTimeSerieChart.
7
+ * Handles data normalization, unit scaling, empty data handling, and series grouping.
8
+ */
9
+ export function useChartData({ series, startingTimeStamp, duration, interval, yAxisType, unitRange, }) {
10
+ const { getColor, selectedResources } = useChartLegend();
11
+ /**
12
+ * Determines if the series data is empty.
13
+ * Used for conditional rendering and empty state handling.
14
+ */
15
+ const isSeriesEmpty = useMemo(() => {
16
+ return (!series ||
17
+ (Array.isArray(series) && series.length === 0) ||
18
+ (isSymmetricalSeries(series) &&
19
+ (!series.above || series.above.length === 0) &&
20
+ (!series.below || series.below.length === 0)));
21
+ }, [series]);
22
+ /**
23
+ * Processes raw series data into Recharts-compatible format.
24
+ * - Fills missing data points based on time interval
25
+ * - Converts timestamps to milliseconds
26
+ * - For symmetrical charts, negates "below" series values
27
+ * - For empty data, generates placeholder data with NaN values
28
+ */
29
+ const chartData = useMemo(() => {
30
+ if (isSeriesEmpty) {
31
+ // Generate timestamps for the time range with NaN values for each series from legend
32
+ const emptyDataPoints = addMissingDataPoint([], startingTimeStamp, duration, interval);
33
+ return emptyDataPoints.map(([timestamp]) => {
34
+ const dataPoint = {
35
+ timestamp: timestamp * 1000,
36
+ };
37
+ selectedResources.forEach((resource) => {
38
+ dataPoint[resource] = NaN;
39
+ });
40
+ return dataPoint;
41
+ });
42
+ }
43
+ // Add missing data points to each series
44
+ const normalizedSeries = yAxisType === 'symmetrical' && isSymmetricalSeries(series)
45
+ ? {
46
+ above: series.above
47
+ ? series.above.map((line) => ({
48
+ ...line,
49
+ data: addMissingDataPoint(line.data, startingTimeStamp, duration, interval),
50
+ }))
51
+ : [],
52
+ below: series.below
53
+ ? series.below.map((line) => ({
54
+ ...line,
55
+ data: addMissingDataPoint(line.data, startingTimeStamp, duration, interval).map(([timestamp, value]) => [
56
+ timestamp,
57
+ value === null ? null : `-${Number(value)}`,
58
+ ]),
59
+ }))
60
+ : [],
61
+ }
62
+ : series.map((line) => ({
63
+ ...line,
64
+ data: addMissingDataPoint(line.data, startingTimeStamp, duration, interval),
65
+ }));
66
+ // Convert to Recharts format (array of objects with timestamp and values)
67
+ const dataPointsByTime = {};
68
+ const seriesToProcess = yAxisType === 'symmetrical' && isSymmetricalSeries(normalizedSeries)
69
+ ? [...normalizedSeries.above, ...normalizedSeries.below]
70
+ : normalizedSeries;
71
+ seriesToProcess.forEach((serie) => {
72
+ const label = serie.getTooltipLabel(serie.metricPrefix, serie.resource);
73
+ serie.data.forEach((point) => {
74
+ const timestamp = typeof point[0] === 'number' ? point[0] * 1000 : Number(point[0]);
75
+ const value = point[1];
76
+ if (!dataPointsByTime[timestamp]) {
77
+ dataPointsByTime[timestamp] = { timestamp };
78
+ }
79
+ dataPointsByTime[timestamp][label] =
80
+ typeof value === 'string' ? Number(value) : value;
81
+ });
82
+ });
83
+ return Object.values(dataPointsByTime).sort((a, b) => a.timestamp - b.timestamp);
84
+ }, [series, startingTimeStamp, duration, interval, yAxisType, selectedResources, isSeriesEmpty]);
85
+ /**
86
+ * Calculates evenly spaced X-axis tick positions.
87
+ * Adds padding to avoid labels at the very edges (10% on each side).
88
+ */
89
+ const xAxisTicks = useMemo(() => {
90
+ if (!chartData || chartData.length === 0)
91
+ return [];
92
+ const timestamps = chartData
93
+ .map((d) => d.timestamp)
94
+ .filter((t) => t !== null && t !== undefined);
95
+ if (timestamps.length === 0)
96
+ return [];
97
+ const minTimestamp = Math.min(...timestamps);
98
+ const maxTimestamp = Math.max(...timestamps);
99
+ const timeRange = maxTimestamp - minTimestamp;
100
+ const padding = timeRange * 0.1;
101
+ const paddedStart = minTimestamp + padding;
102
+ const paddedEnd = maxTimestamp - padding;
103
+ const paddedRange = paddedEnd - paddedStart;
104
+ const numTicks = 5;
105
+ const tickInterval = paddedRange / (numTicks - 1);
106
+ return Array.from({ length: numTicks }, (_, index) => paddedStart + index * tickInterval);
107
+ }, [chartData]);
108
+ /**
109
+ * Normalizes data values and determines unit scaling.
110
+ * - Extracts valid numeric values from chart data
111
+ * - Applies unit range thresholds (e.g., B/s → KiB/s → MiB/s)
112
+ * - Calculates Y-axis domain
113
+ */
114
+ const { topValue, unitLabel, rechartsData, topDomain } = useMemo(() => {
115
+ var _a;
116
+ const values = chartData.flatMap((dataPoint) => Object.entries(dataPoint)
117
+ .filter(([key]) => key !== 'timestamp')
118
+ .map(([_, value]) => {
119
+ if (value === null || value === undefined)
120
+ return null;
121
+ const num = typeof value === 'string'
122
+ ? Number(value)
123
+ : typeof value === 'number'
124
+ ? value
125
+ : null;
126
+ return num !== null && !isNaN(num) ? num : null;
127
+ })
128
+ .filter((value) => value !== null));
129
+ // Default values for empty charts
130
+ if (values.length === 0 || values.every((value) => value === 0)) {
131
+ return {
132
+ topValue: 1,
133
+ unitLabel: yAxisType === 'percentage' ? '%' : undefined,
134
+ rechartsData: chartData,
135
+ topDomain: 1,
136
+ };
137
+ }
138
+ const top = Math.abs(Math.max(...values));
139
+ const bottom = Math.abs(Math.min(...values));
140
+ const maxValue = Math.max(top, bottom);
141
+ const result = normalizeChartDataWithUnits(chartData, maxValue, unitRange, 'timestamp');
142
+ const finalTopDomain = yAxisType === 'percentage'
143
+ ? Math.max(result.topDomain, 100)
144
+ : result.topDomain;
145
+ return {
146
+ topValue: yAxisType === 'percentage'
147
+ ? Math.max(result.topValue, 100)
148
+ : result.topValue,
149
+ unitLabel: (_a = result.unitLabel) !== null && _a !== void 0 ? _a : (yAxisType === 'percentage' ? '%' : undefined),
150
+ rechartsData: result.rechartsData,
151
+ topDomain: finalTopDomain,
152
+ };
153
+ }, [chartData, yAxisType, unitRange]);
154
+ /**
155
+ * Computes the line configurations for rendering.
156
+ * Handles both empty series (using legend resources) and populated series.
157
+ */
158
+ const linesToRender = useMemo(() => {
159
+ if (isSeriesEmpty) {
160
+ // For empty series, create lines for each resource from legend
161
+ return selectedResources.map((resource) => ({
162
+ key: `empty-${resource}`,
163
+ dataKey: resource,
164
+ stroke: getColor(resource) || '',
165
+ }));
166
+ }
167
+ // For populated series, create lines from actual series data
168
+ const allSeries = isSymmetricalSeries(series)
169
+ ? [...(series.above || []), ...(series.below || [])]
170
+ : series;
171
+ return allSeries
172
+ .filter((serie) => selectedResources.includes(serie.resource))
173
+ .map((serie, index) => {
174
+ const label = serie.getTooltipLabel(serie.metricPrefix, serie.resource);
175
+ return {
176
+ key: `${serie.resource}-${index}`,
177
+ dataKey: label,
178
+ stroke: getColor(serie.resource) || '',
179
+ strokeDasharray: serie.isLineDashed ? '4 4' : undefined,
180
+ };
181
+ });
182
+ }, [series, getColor, selectedResources, isSeriesEmpty]);
183
+ /**
184
+ * Computes the set of "below" series labels for symmetrical charts.
185
+ * Used to reliably determine separator placement in the tooltip.
186
+ */
187
+ const belowSeriesLabels = useMemo(() => {
188
+ if (yAxisType !== 'symmetrical' || !series || !isSymmetricalSeries(series)) {
189
+ return undefined;
190
+ }
191
+ const labels = new Set();
192
+ (series.below || []).forEach((serie) => {
193
+ const label = serie.getTooltipLabel(serie.metricPrefix, serie.resource);
194
+ labels.add(label);
195
+ });
196
+ return labels;
197
+ }, [series, yAxisType]);
198
+ return {
199
+ rechartsData,
200
+ topDomain,
201
+ topValue,
202
+ unitLabel,
203
+ xAxisTicks,
204
+ linesToRender,
205
+ belowSeriesLabels,
206
+ };
207
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Gets the currently hovered chart ID.
3
+ * Called at tooltip render time to get the latest value.
4
+ */
5
+ export declare function getCurrentlyHoveredChartId(): string | null;
6
+ /**
7
+ * Hook to manage chart hover state for tooltip display.
8
+ * Ensures only one chart shows its tooltip at a time when using syncId.
9
+ */
10
+ export declare function useChartHover(): {
11
+ handleMouseEnter: () => void;
12
+ handleMouseLeave: () => void;
13
+ chartId: string;
14
+ };
15
+ //# sourceMappingURL=useChartHover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useChartHover.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/charts/linetimeseries/useChartHover.ts"],"names":[],"mappings":"AAQA;;;GAGG;AACH,wBAAgB,0BAA0B,IAAI,MAAM,GAAG,IAAI,CAE1D;AAED;;;GAGG;AACH,wBAAgB,aAAa;;;;EAc5B"}
@@ -0,0 +1,29 @@
1
+ import { useCallback, useId } from 'react';
2
+ /**
3
+ * Module-level tracker to ensure only one chart tooltip is shown at a time
4
+ * when multiple charts are synced via syncId.
5
+ */
6
+ let currentlyHoveredChartId = null;
7
+ /**
8
+ * Gets the currently hovered chart ID.
9
+ * Called at tooltip render time to get the latest value.
10
+ */
11
+ export function getCurrentlyHoveredChartId() {
12
+ return currentlyHoveredChartId;
13
+ }
14
+ /**
15
+ * Hook to manage chart hover state for tooltip display.
16
+ * Ensures only one chart shows its tooltip at a time when using syncId.
17
+ */
18
+ export function useChartHover() {
19
+ const chartId = useId();
20
+ const handleMouseEnter = useCallback(() => {
21
+ currentlyHoveredChartId = chartId;
22
+ }, [chartId]);
23
+ const handleMouseLeave = useCallback(() => {
24
+ if (currentlyHoveredChartId === chartId) {
25
+ currentlyHoveredChartId = null;
26
+ }
27
+ }, [chartId]);
28
+ return { handleMouseEnter, handleMouseLeave, chartId };
29
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/checkbox/Checkbox.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAc,MAAM,OAAO,CAAC;AAOrE,MAAM,MAAM,KAAK,GAAG;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CACvD,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAE1C,QAAA,MAAM,QAAQ;YAPJ,MAAM;YACN,MAAM;cACJ,OAAO;eACN,OAAO;eACP,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI;4FA0BtD,CAAC;AAEF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"Checkbox.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/checkbox/Checkbox.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAc,MAAM,OAAO,CAAC;AAoBrE,MAAM,MAAM,KAAK,GAAG;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CACvD,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAE1C,QAAA,MAAM,QAAQ;YAPJ,MAAM;YACN,MAAM;cACJ,OAAO;eACN,OAAO;eACP,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI;4FA0BtD,CAAC;AAEF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -4,8 +4,18 @@ import styled from 'styled-components';
4
4
  import { spacing, Stack } from '../../spacing';
5
5
  import { Text } from '../text/Text.component';
6
6
  import { FocusVisibleStyle } from '../buttonv2/Buttonv2.component';
7
+ const getCheckmarkSvgUrl = (color) => {
8
+ const encodedColor = color.replace('#', '%23');
9
+ return `url('data:image/svg+xml,%3Csvg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath d="M3 6.68646L5.0671 9L9 3" stroke="${encodedColor}" stroke-width="1.5"/%3E %3C/svg%3E')`;
10
+ };
11
+ const getIndeterminateSvgUrl = (color) => {
12
+ const encodedColor = color.replace('#', '%23');
13
+ return `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E %3Cline x1='6' y1='12' x2='20' y2='12' style='stroke:${encodedColor};stroke-width:4'/%3E %3C/svg%3E")`;
14
+ };
15
+ const CheckboxInput = styled.input `
16
+ transform: scale(1.5);`;
7
17
  const Checkbox = forwardRef(({ disabled, checked, label, value, onChange, ...rest }, ref) => {
8
- return (_jsx(StyledCheckbox, { checked: checked, disabled: disabled, className: "sc-checkbox", children: _jsxs(Stack, { children: [_jsx("input", { type: "checkbox", checked: checked, disabled: disabled, value: value, onChange: onChange, ref: ref, ...rest }), label && _jsx(Text, { children: label })] }) }));
18
+ return (_jsx(StyledCheckbox, { checked: checked, disabled: disabled, className: "sc-checkbox", children: _jsxs(Stack, { children: [_jsx(CheckboxInput, { type: "checkbox", checked: checked, disabled: disabled, value: value, onChange: onChange, ref: ref, ...rest }), label && _jsx(Text, { children: label })] }) }));
9
19
  });
10
20
  export { Checkbox };
11
21
  const StyledCheckbox = styled.label `
@@ -42,8 +52,7 @@ const StyledCheckbox = styled.label `
42
52
  border: 0;
43
53
  background-color: transparent;
44
54
  background-size: contain;
45
- box-shadow: inset 0 0 0 ${spacing.r1}
46
- ${(props) => props.theme.textSecondary};
55
+ box-shadow: inset 0 0 0 ${spacing.r1} ${(props) => props.theme.textSecondary};
47
56
  }
48
57
 
49
58
  /* Checked */
@@ -54,7 +63,7 @@ const StyledCheckbox = styled.label `
54
63
 
55
64
  [type='checkbox']:checked::before {
56
65
  box-shadow: none;
57
- background-image: url('data:image/svg+xml,%3Csvg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath d="M3 6.68646L5.0671 9L9 3" stroke="${(props) => props.theme.textPrimary.replace('#', '%23')}" stroke-width="1.5"/%3E %3C/svg%3E');
66
+ background-image: ${(props) => getCheckmarkSvgUrl(props.theme.textPrimary)};
58
67
  background-repeat: no-repeat;
59
68
  background-position: center;
60
69
  }
@@ -62,10 +71,9 @@ const StyledCheckbox = styled.label `
62
71
  /* Indeterminate */
63
72
 
64
73
  [type='checkbox']:indeterminate::before {
65
- box-shadow: inset 0 0 0 ${spacing.r1}
66
- ${(props) => props.theme.selectedActive};
74
+ box-shadow: inset 0 0 0 ${spacing.r1} ${(props) => props.theme.selectedActive};
67
75
  background-color: ${(props) => props.theme.highlight};
68
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E %3Cline x1='6' y1='12' x2='20' y2='12' style='stroke:${(props) => props.theme.textPrimary.replace('#', '%23')};stroke-width:4'/%3E %3C/svg%3E");
76
+ background-image: ${(props) => getIndeterminateSvgUrl(props.theme.textPrimary)};
69
77
  }
70
78
 
71
79
  /* Hover & focus */
@@ -1 +1 @@
1
- {"version":3,"file":"Constrainedtext.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/constrainedtext/Constrainedtext.component.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAK9C,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC;IACpD,YAAY,CAAC,EAAE,aAAa,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC3D,gBAAgB,CAAC,EAAE,aAAa,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,WAAW,CAAC;CAC3B,CAAC;AAwDF,iBAAS,eAAe,CAAC,EACvB,IAAI,EACJ,YAAY,EACZ,gBAAgB,EAChB,SAAa,EACb,KAAK,EACL,QAAgB,GACjB,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAqCrB;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"Constrainedtext.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/constrainedtext/Constrainedtext.component.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAK9C,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC;IACpD,YAAY,CAAC,EAAE,aAAa,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC3D,gBAAgB,CAAC,EAAE,aAAa,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,WAAW,CAAC;CAC3B,CAAC;AAyDF,iBAAS,eAAe,CAAC,EACvB,IAAI,EACJ,YAAY,EACZ,gBAAgB,EAChB,SAAa,EACb,KAAK,EACL,QAAgB,GACjB,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAqCrB;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -17,11 +17,12 @@ const ConstrainedTextContainer = styled.div `
17
17
  -webkit-line-clamp: ${props.lineClamp};
18
18
  -webkit-box-orient: vertical;
19
19
  overflow-wrap: break-word;
20
- word-break: break-all;
20
+ word-break: normal;
21
+ line-height: 1.2;
21
22
  `
22
23
  : `overflow-wrap: break-word;
23
24
  white-space: nowrap;
24
- word-break: break-all;
25
+ word-break: normal;
25
26
  `};
26
27
  `;
27
28
  const BlockTooltip = styled.div `
@@ -1 +1 @@
1
- {"version":3,"file":"CoreUiThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/lib/components/coreuithemeprovider/CoreUiThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAmB,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEjE,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,mBAAmB,wBAAyB,KAAK,4CAStD,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
1
+ {"version":3,"file":"CoreUiThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/lib/components/coreuithemeprovider/CoreUiThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAmB,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEjE,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,mBAAmB,GAAI,qBAAqB,KAAK,4CAStD,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FormattedDateTime.d.ts","sourceRoot":"","sources":["../../../src/lib/components/date/FormattedDateTime.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,kBAAkB,qBAK7B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,kCAAkC,qBAI7C,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,aAAa,qBAKxB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,kBAAkB,qBAI7B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,oBAAoB,qBAK/B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,aAAa,qBAIxB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,qBAAqB,qBAIhC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,0BAA0B,qBAKrC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,wCAAwC,qBAUpD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iCAAiC,qBAM5C,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,sCAAsC,qBAUlD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB,qBAInC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,mBAAmB,qBAG9B,CAAC;AAEH,KAAK,sBAAsB,GAAG;IAC5B,MAAM,EACF,MAAM,GACN,WAAW,GACX,kBAAkB,GAClB,MAAM,GACN,aAAa,GACb,UAAU,GACV,mCAAmC,GACnC,0CAA0C,GAC1C,wCAAwC,GACxC,WAAW,GACX,2BAA2B,GAC3B,YAAY,GACZ,gBAAgB,GAChB,WAAW,GACX,uBAAuB,GACvB,sBAAsB,CAAC;IAE3B,KAAK,EAAE,IAAI,CAAC;CACb,CAAC;AAaF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,iBAAiB,uBAG3B,sBAAsB,4CA+JxB,CAAC"}
1
+ {"version":3,"file":"FormattedDateTime.d.ts","sourceRoot":"","sources":["../../../src/lib/components/date/FormattedDateTime.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,kBAAkB,qBAK7B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,kCAAkC,qBAI7C,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,aAAa,qBAKxB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,kBAAkB,qBAI7B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,oBAAoB,qBAK/B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,aAAa,qBAIxB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,qBAAqB,qBAIhC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,0BAA0B,qBAKrC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,wCAAwC,qBAUpD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iCAAiC,qBAM5C,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,sCAAsC,qBAUlD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB,qBAInC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,mBAAmB,qBAG9B,CAAC;AAEH,KAAK,sBAAsB,GAAG;IAC5B,MAAM,EACF,MAAM,GACN,WAAW,GACX,kBAAkB,GAClB,MAAM,GACN,aAAa,GACb,UAAU,GACV,mCAAmC,GACnC,0CAA0C,GAC1C,wCAAwC,GACxC,WAAW,GACX,2BAA2B,GAC3B,YAAY,GACZ,gBAAgB,GAChB,WAAW,GACX,uBAAuB,GACvB,sBAAsB,CAAC;IAE3B,KAAK,EAAE,IAAI,CAAC;CACb,CAAC;AAaF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,iBAAiB,GAAI,oBAG/B,sBAAsB,4CA+JxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/dropdown/Dropdown.component.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAgB,SAAS,EAAS,MAAM,kBAAkB,CAAC;AAGlE,MAAM,MAAM,IAAI,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;CAC9B,CAAC;AACF,KAAK,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;AACzB,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AA6DF,iBAAS,QAAQ,CAAC,EAChB,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,IAAa,EACb,OAA2B,EAC3B,KAAK,EACL,KAAY,EACZ,SAAoB,EACpB,GAAG,IAAI,EACR,EAAE,KAAK,2CA2EP;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"Dropdown.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/dropdown/Dropdown.component.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAgB,SAAS,EAAS,MAAM,kBAAkB,CAAC;AAGlE,MAAM,MAAM,IAAI,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;CAC9B,CAAC;AACF,KAAK,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;AACzB,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AAgEF,iBAAS,QAAQ,CAAC,EAChB,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,IAAa,EACb,OAA2B,EAC3B,KAAK,EACL,KAAY,EACZ,SAAoB,EACpB,GAAG,IAAI,EACR,EAAE,KAAK,2CA2EP;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -56,6 +56,9 @@ const DropdownMenuItemStyled = styled.li `
56
56
  &:active {
57
57
  background-color: ${getThemePropSelector('highlight')};
58
58
  }
59
+ &:last-child {
60
+ border-bottom: 0.3px solid ${getThemePropSelector('border')};
61
+ }
59
62
  `;
60
63
  const Caret = styled.span `
61
64
  margin-left: ${spacing.r16};
@@ -23,6 +23,6 @@ function ErrorPage401({ supportLink = undefined, locale = 'en', onReturnHomeClic
23
23
  locale = 'en';
24
24
  // Ensure the locale formatting is consistent
25
25
  locale = locale.toLowerCase();
26
- return (_jsxs(ErrorPageContainer, { className: "sc-error-page401", ...rest, children: [_jsxs(Row, { children: [_jsx(Icon, { name: "Exclamation-triangle", size: "2x", color: "statusWarning" }), _jsx(Title, { children: translations[locale].unexpected_error })] }), _jsx(Row, { children: _jsxs(Description, { children: [_jsx(DescriptionContent, { children: translations[locale].error_desc }), supportLink && (_jsxs(DescriptionContent, { children: [translations[locale].may_also_contact, _jsxs(Link, { href: supportLink, children: ["support ", _jsx(Icon, { name: "External-link" })] }), translations[locale].to_report_issue] }))] }) }), onReturnHomeClick && (_jsx(Button, { label: translations[locale].return_home, variant: "secondary", onClick: onReturnHomeClick }))] }));
26
+ return (_jsxs(ErrorPageContainer, { className: "sc-error-page401", ...rest, children: [_jsxs(Row, { children: [_jsx(Icon, { name: "Exclamation-circle", size: "2x", color: "statusWarning" }), _jsx(Title, { children: translations[locale].unexpected_error })] }), _jsx(Row, { children: _jsxs(Description, { children: [_jsx(DescriptionContent, { children: translations[locale].error_desc }), supportLink && (_jsxs(DescriptionContent, { children: [translations[locale].may_also_contact, _jsxs(Link, { href: supportLink, children: ["support ", _jsx(Icon, { name: "External-link" })] }), translations[locale].to_report_issue] }))] }) }), onReturnHomeClick && (_jsx(Button, { label: translations[locale].return_home, variant: "secondary", onClick: onReturnHomeClick }))] }));
27
27
  }
28
28
  export { ErrorPage401 };
@@ -21,6 +21,6 @@ function ErrorPage404({ locale = 'en', onReturnHomeClick, ...rest }) {
21
21
  locale = 'en';
22
22
  // Ensure the locale formatting is consistent
23
23
  locale = locale.toLowerCase();
24
- return (_jsxs(ErrorPageContainer, { className: "sc-error-page404", ...rest, children: [_jsxs(Row, { children: [_jsx(Icon, { name: "Exclamation-triangle", size: "2x", color: "statusWarning" }), _jsx(Title, { children: translations[locale].not_exist })] }), _jsx(Row, { children: _jsxs(Description, { children: [_jsx(DescriptionContent, { children: translations[locale].error_desc }), _jsx(DescriptionContent, { children: translations[locale].should_do })] }) }), onReturnHomeClick && (_jsx(Button, { label: translations[locale].return_home, variant: "secondary", onClick: onReturnHomeClick }))] }));
24
+ return (_jsxs(ErrorPageContainer, { className: "sc-error-page404", ...rest, children: [_jsxs(Row, { children: [_jsx(Icon, { name: "Exclamation-circle", size: "2x", color: "statusWarning" }), _jsx(Title, { children: translations[locale].not_exist })] }), _jsx(Row, { children: _jsxs(Description, { children: [_jsx(DescriptionContent, { children: translations[locale].error_desc }), _jsx(DescriptionContent, { children: translations[locale].should_do })] }) }), onReturnHomeClick && (_jsx(Button, { label: translations[locale].return_home, variant: "secondary", onClick: onReturnHomeClick }))] }));
25
25
  }
26
26
  export { ErrorPage404 };
@@ -25,7 +25,7 @@ function ErrorPage500({ supportLink = undefined, locale = 'en', onReturnHomeClic
25
25
  locale = 'en';
26
26
  // Ensure the locale formatting is consistent
27
27
  locale = locale.toLowerCase();
28
- return (_jsxs(ErrorPageContainer, { className: "sc-error-page500", ...rest, children: [_jsxs(Row, { children: [_jsx(Icon, { name: "Exclamation-triangle", size: "2x", color: "statusWarning" }), _jsx(Title, { children: translations[locale].unexpected_error })] }), _jsx(Row, { children: _jsxs(Description, { children: [_jsx(DescriptionContent, { children: errorMessage
28
+ return (_jsxs(ErrorPageContainer, { className: "sc-error-page500", ...rest, children: [_jsxs(Row, { children: [_jsx(Icon, { name: "Exclamation-circle", size: "2x", color: "statusWarning" }), _jsx(Title, { children: translations[locale].unexpected_error })] }), _jsx(Row, { children: _jsxs(Description, { children: [_jsx(DescriptionContent, { children: errorMessage
29
29
  ? errorMessage[locale]
30
30
  : translations[locale].error_desc }), _jsx(DescriptionContent, { children: translations[locale].should_do }), supportLink && (_jsxs(DescriptionContent, { children: [translations[locale].may_also_contact, _jsxs(Link, { href: supportLink, children: ["support ", _jsx(Icon, { name: "External-link" })] }), translations[locale].to_report_issue] }))] }) }), onReturnHomeClick && (_jsx(Button, { label: translations[locale].return_home, variant: "secondary", onClick: onReturnHomeClick }))] }));
31
31
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Form.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/form/Form.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,kBAAkB,EAGlB,YAAY,EACZ,SAAS,EAKV,MAAM,OAAO,CAAC;AAKf,OAAO,EAAQ,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAKxD,QAAA,MAAM,kBAAkB,cAAc,CAAC;AACvC,QAAA,MAAM,YAAY,WAAW,CAAC;AAG9B,KAAK,SAAS,GAAG,IAAI,CACnB,kBAAkB,CAAC,eAAe,CAAC,EACnC,YAAY,GAAG,gBAAgB,CAChC,GAAG;IACF,QAAQ,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;IAClC,WAAW,CAAC,EAAE,KAAK,GAAG,SAAS,CAAC;IAChC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,IAAI,CAAC,EAAE,QAAQ,CAAC;KACjB,CAAC;CACH,GAAG,SAAS,CAAC;AACd,KAAK,YAAY,GAAG;IAAE,MAAM,EAAE;QAAE,IAAI,EAAE,KAAK,CAAA;KAAE,CAAA;CAAE,GAAG,SAAS,CAAC;AAyD5D,KAAK,YAAY,GAAG;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;IACpC,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACtC,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,SAAS,6GAWZ,cAAc,4CAyGhB,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,YAAY,CAAC,cAAc,CAAC,GAAG,YAAY,CAAC,cAAc,CAAC,EAAE,CAAC;IACxE,KAAK,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,QAAQ,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAChE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B,CAAC;AAEF,QAAA,MAAM,WAAW,wDAKd,gBAAgB,4CAmClB,CAAC;AAgGF,QAAA,MAAM,IAAI,4HAYT,CAAC;AASF,QAAA,MAAM,eAAe;;YANX,MAAM;eACH,OAAO;eACP,OAAO;CAWnB,CAAC;AAEF,OAAO,EACL,IAAI,EACJ,WAAW,EACX,SAAS,EACT,eAAe,EACf,kBAAkB,EAClB,YAAY,GACb,CAAC"}
1
+ {"version":3,"file":"Form.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/form/Form.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,kBAAkB,EAGlB,YAAY,EACZ,SAAS,EAKV,MAAM,OAAO,CAAC;AAKf,OAAO,EAAQ,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAKxD,QAAA,MAAM,kBAAkB,cAAc,CAAC;AACvC,QAAA,MAAM,YAAY,WAAW,CAAC;AAG9B,KAAK,SAAS,GAAG,IAAI,CACnB,kBAAkB,CAAC,eAAe,CAAC,EACnC,YAAY,GAAG,gBAAgB,CAChC,GAAG;IACF,QAAQ,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;IAClC,WAAW,CAAC,EAAE,KAAK,GAAG,SAAS,CAAC;IAChC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,IAAI,CAAC,EAAE,QAAQ,CAAC;KACjB,CAAC;CACH,GAAG,SAAS,CAAC;AACd,KAAK,YAAY,GAAG;IAAE,MAAM,EAAE;QAAE,IAAI,EAAE,KAAK,CAAA;KAAE,CAAA;CAAE,GAAG,SAAS,CAAC;AAyD5D,KAAK,YAAY,GAAG;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;IACpC,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACtC,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,SAAS,GAAI,0GAWhB,cAAc,4CA2FhB,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,YAAY,CAAC,cAAc,CAAC,GAAG,YAAY,CAAC,cAAc,CAAC,EAAE,CAAC;IACxE,KAAK,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,QAAQ,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAChE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B,CAAC;AAEF,QAAA,MAAM,WAAW,GAAI,qDAKlB,gBAAgB,4CAmClB,CAAC;AAgGF,QAAA,MAAM,IAAI,4HAYT,CAAC;AASF,QAAA,MAAM,eAAe;;YANX,MAAM;eACH,OAAO;eACP,OAAO;CAWnB,CAAC;AAEF,OAAO,EACL,IAAI,EACJ,WAAW,EACX,SAAS,EACT,eAAe,EACf,kBAAkB,EAClB,YAAY,GACb,CAAC"}
@@ -7,7 +7,7 @@ import { Box } from '../box/Box';
7
7
  import { Icon } from '../icon/Icon.component';
8
8
  import { IconHelp } from '../iconhelper/IconHelper';
9
9
  import { ScrollbarWrapper } from '../scrollbarwrapper/ScrollbarWrapper.component';
10
- import { Text } from '../text/Text.component';
10
+ import { HelperText, Text } from '../text/Text.component';
11
11
  const DESCRIPTION_PREFIX = 'describe-';
12
12
  const LABEL_PREFIX = 'label-';
13
13
  const maxWidthTooltip = { maxWidth: '20rem' };
@@ -80,9 +80,9 @@ const FormGroup = ({ direction = 'horizontal', label, id, labelHelpTooltip, cont
80
80
  return (_jsx(FieldContext.Provider, { value: value, children: _jsxs(Box, { display: "flex", flexDirection: direction === 'horizontal' ? 'row' : 'column', alignItems: "baseline", gap: direction === 'horizontal' ? spacing['r32'] : spacing['r4'], children: [_jsx("div", { style: {
81
81
  width: maxLabelWidth === 0 ? 'max-content' : `${maxLabelWidth}px`,
82
82
  flex: 'none',
83
- }, children: _jsxs("label", { htmlFor: id, id: `${LABEL_PREFIX}${id}`, ref: labelRef, style: { opacity: disabled ? 0.5 : 1 }, children: [_jsxs(Text, { children: [label, requireMode !== 'all' && required && ' *', requireMode === 'all' && !required && ' (optional)'] }), labelHelpTooltip && (_jsx(Box, { display: "inline-block", marginLeft: spacing.r8, style: { whiteSpace: 'nowrap' }, children: _jsx(IconHelp, { tooltipMessage: labelHelpTooltip, overlayStyle: maxWidthTooltip }) }))] }) }), _jsxs(Stack, { direction: helpErrorPosition === 'right' ? 'horizontal' : 'vertical', gap: helpErrorPosition === 'right' ? 'r8' : 'r4', children: [content, error ? (_jsx(Text, { variant: "Smaller", color: "statusCritical", isEmphazed: true, id: `${DESCRIPTION_PREFIX}${id}`, children: error })) : help ? (_jsx("div", { style: {
83
+ }, children: _jsxs("label", { htmlFor: id, id: `${LABEL_PREFIX}${id}`, ref: labelRef, style: { opacity: disabled ? 0.5 : 1 }, children: [_jsxs(Text, { children: [label, requireMode !== 'all' && required && ' *', requireMode === 'all' && !required && ' (optional)'] }), labelHelpTooltip && (_jsx(Box, { display: "inline-block", marginLeft: spacing.r8, style: { whiteSpace: 'nowrap' }, children: _jsx(IconHelp, { tooltipMessage: labelHelpTooltip, overlayStyle: maxWidthTooltip }) }))] }) }), _jsxs(Stack, { direction: helpErrorPosition === 'right' ? 'horizontal' : 'vertical', gap: helpErrorPosition === 'right' ? 'r8' : 'r4', children: [content, error ? (_jsx(HelperText, { color: "statusCritical", id: `${DESCRIPTION_PREFIX}${id}`, children: error })) : help ? (_jsx("div", { style: {
84
84
  opacity: disabled ? 0.5 : 1,
85
- }, children: _jsx(Text, { variant: "Smaller", color: "textSecondary", isEmphazed: true, id: `${DESCRIPTION_PREFIX}${id}`, children: help }) })) : (_jsx(Text, { variant: "Smaller", isEmphazed: true, children: "\u00A0" }))] })] }) }));
85
+ }, children: _jsx(HelperText, { color: "textSecondary", id: `${DESCRIPTION_PREFIX}${id}`, children: help }) })) : (_jsx(HelperText, { children: "\u00A0" }))] })] }) }));
86
86
  };
87
87
  const FormSection = ({ children, title, forceLabelWidth, rightActions, }) => {
88
88
  const [maxLabelWidth, setMaxLabelWidth] = useState(forceLabelWidth || 0);
@@ -9,4 +9,14 @@ export declare const RemoteGroup: ({ ariaLabel, color, size }: {
9
9
  color: any;
10
10
  size: any;
11
11
  }) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const Bucket: ({ ariaLabel, color, size }: {
13
+ ariaLabel: any;
14
+ color: any;
15
+ size: any;
16
+ }) => import("react/jsx-runtime").JSX.Element;
17
+ export declare const Buckets: ({ ariaLabel, color, size }: {
18
+ ariaLabel: any;
19
+ color: any;
20
+ size: any;
21
+ }) => import("react/jsx-runtime").JSX.Element;
12
22
  //# sourceMappingURL=CustomsIcons.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CustomsIcons.d.ts","sourceRoot":"","sources":["../../../src/lib/components/icon/CustomsIcons.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,UAAW,MAAM,GAAG,SAAS,KAAG,MAKvD,CAAC;AAEF,eAAO,MAAM,UAAU;;;;6CAoBtB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;6CAoBvB,CAAC"}
1
+ {"version":3,"file":"CustomsIcons.d.ts","sourceRoot":"","sources":["../../../src/lib/components/icon/CustomsIcons.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,GAAG,SAAS,KAAG,MAKvD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI;;;;CAA0B,4CAoBpD,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI;;;;CAA0B,4CAoBrD,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI;;;;CAA0B,4CAgBhD,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI;;;;CAA0B,4CAgBjD,CAAC"}
@@ -14,3 +14,11 @@ export const RemoteGroup = ({ ariaLabel, color, size }) => {
14
14
  const getColor = useGetColor(color);
15
15
  return (_jsxs("svg", { viewBox: "0 0 19 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: 'svg-inline--fa ' + (size ? `fa-${size}` : ''), "aria-label": ariaLabel, children: [_jsx("path", { d: "M16.5902 0.5C17.4071 0.5 18.0984 1.1875 18.0984 2V12C18.0984 12.8438 17.4071 13.5 16.5902 13.5H10.5574L11.0601 15H13.3224C13.7309 15 14.0765 15.3438 14.0765 15.75C14.0765 16.1875 13.7309 16.5 13.3224 16.5H4.77596C4.33607 16.5 4.02186 16.1875 4.02186 15.75C4.02186 15.3438 4.33607 15 4.77596 15H7.03825L7.54098 13.5H1.5082C0.659836 13.5 0 12.8438 0 12V2C0 1.1875 0.659836 0.5 1.5082 0.5H16.5902ZM16.0874 11.5V2.5H2.01093V11.5H16.0874Z", fill: getColor }), _jsx("path", { d: "M4.8 7.85714C4.125 7.85714 3.6 7.29464 3.6 6.57143C3.6 5.8683 4.125 5.28571 4.8 5.28571C5.45625 5.28571 6 5.8683 6 6.57143C6 7.29464 5.45625 7.85714 4.8 7.85714ZM13.2 7.85714C12.525 7.85714 12 7.29464 12 6.57143C12 5.8683 12.525 5.28571 13.2 5.28571C13.8563 5.28571 14.4 5.8683 14.4 6.57143C14.4 7.29464 13.8563 7.85714 13.2 7.85714ZM13.8 8.5C14.4563 8.5 15 9.08259 15 9.78571V10.4286C15 10.7902 14.7188 11.0714 14.4 11.0714H13.1625C13.0313 10.1272 12.5063 9.32366 11.7375 8.8817C11.9625 8.66071 12.2625 8.5 12.6 8.5H13.8ZM9 8.5C7.8375 8.5 6.9 7.49554 6.9 6.25C6.9 5.02455 7.8375 4 9 4C10.1438 4 11.1 5.02455 11.1 6.25C11.1 7.49554 10.1438 8.5 9 8.5ZM10.425 9.14286C11.625 9.14286 12.6 10.1875 12.6 11.4732V12.0357C12.6 12.5781 12.1875 13 11.7 13H6.3C5.79375 13 5.4 12.5781 5.4 12.0357V11.4732C5.4 10.1875 6.35625 9.14286 7.55625 9.14286H7.70625C8.1 9.34375 8.53125 9.46429 9 9.46429C9.45 9.46429 9.88125 9.34375 10.275 9.14286H10.425ZM6.24375 8.8817C5.475 9.32366 4.95 10.1272 4.81875 11.0714H3.6C3.2625 11.0714 3 10.7902 3 10.4286V9.78571C3 9.08259 3.525 8.5 4.2 8.5H5.4C5.71875 8.5 6.01875 8.66071 6.24375 8.8817Z", fill: getColor })] }));
16
16
  };
17
+ export const Bucket = ({ ariaLabel, color, size }) => {
18
+ const getColor = useGetColor(color);
19
+ return (_jsx("svg", { viewBox: "0 0 32 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: 'svg-inline--fa ' + (size ? `fa-${size}` : ''), "aria-label": ariaLabel, children: _jsx("path", { d: "M30.0239 0C31.2114 0 32.1489 1.125 31.9614 2.3125L28.5239 24.5625C28.2114 26.5625 26.5239 28 24.5239 28H7.46143C5.46143 28 3.77393 26.5625 3.52393 24.5625L0.0239303 2.3125C-0.16357 1.125 0.77393 0 2.02393 0H30.0239ZM27.6489 4H4.33643L6.21143 16H25.7739L27.6489 4Z", fill: getColor }) }));
20
+ };
21
+ export const Buckets = ({ ariaLabel, color, size }) => {
22
+ const getColor = useGetColor(color);
23
+ return (_jsx("svg", { viewBox: "0 0 37 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: 'svg-inline--fa ' + (size ? `fa-${size}` : ''), "aria-label": ariaLabel, children: _jsx("path", { d: "M35.1063 9.33301C35.9032 9.33313 36.5329 10.0834 36.4071 10.875L34.0995 25.708C33.8897 27.0412 32.7571 27.9999 31.4149 28H24.1278C26.417 27.5019 28.221 25.649 28.5985 23.2334V23.2305L29.0975 20H32.2538L33.5126 12H30.3329L30.745 9.33301H35.1063ZM28.0223 0C29.1305 0.000168028 30.0049 1.04998 29.8299 2.1582L26.6219 22.9248C26.3303 24.7915 24.7552 26.1338 22.8885 26.1338H6.96373C5.09707 26.1338 3.52226 24.7915 3.28893 22.9248L0.0223272 2.1582C-0.152604 1.04996 0.721996 0.000113715 1.88854 0H28.0223ZM4.04674 3.7334L5.79674 14.9336H24.0555L25.8055 3.7334H4.04674ZM22.4901 12H17.8671L18.0135 12.9336H15.2987L14.9725 10.875C14.8467 10.0834 15.4756 9.33323 16.3143 9.33301H22.9071L22.4901 12Z", fill: getColor }) }));
24
+ };
@@ -1,136 +1,7 @@
1
1
  import { SizeProp } from '@fortawesome/fontawesome-svg-core';
2
2
  import { CSSProperties } from 'react';
3
3
  import { CoreUITheme } from '../../style/theme';
4
- export declare const iconTable: {
5
- Account: string;
6
- Backend: string;
7
- Tape: string;
8
- 'Node-backend': string;
9
- 'Volume-backend': string;
10
- 'Node-pdf': string;
11
- 'Volume-pdf': string;
12
- Network: string;
13
- Bucket: string;
14
- 'Cloud-backend': string;
15
- Datacenter: string;
16
- 'Simple-user': string;
17
- User: string;
18
- Group: string;
19
- Alert: string;
20
- Bell: string;
21
- 'Lat-menu': string;
22
- Dashboard: string;
23
- Workflow: string;
24
- Expiration: string;
25
- Replication: string;
26
- Transition: string;
27
- Discovery: string;
28
- Metrics: string;
29
- Edit: string;
30
- Logs: string;
31
- Lock: string;
32
- 'Lock-open': string;
33
- 'Create-add': string;
34
- Delete: string;
35
- Save: string;
36
- 'External-link': string;
37
- Link: string;
38
- Unlink: string;
39
- Close: string;
40
- 'Dropdown-down': string;
41
- 'Dropdown-up': string;
42
- Search: string;
43
- More: string;
44
- Info: string;
45
- Sync: string;
46
- Export: string;
47
- Copy: string;
48
- 'Simple-upload': string;
49
- Upload: string;
50
- 'Add-plus': string;
51
- Minus: string;
52
- 'Remove-minus': string;
53
- Sort: string;
54
- 'Sort-up': string;
55
- 'Sort-down': string;
56
- Calendar: string;
57
- 'Calendar-minus': string;
58
- 'Arrow-up': string;
59
- 'Arrow-down': string;
60
- 'Arrow-right': string;
61
- 'Arrow-left': string;
62
- 'Arrow-alt-circle-up': string;
63
- Folder: string;
64
- File: string;
65
- 'File-invoice': string;
66
- License: string;
67
- 'Deletion-marker': string;
68
- 'Map-marker': string;
69
- Location: string;
70
- 'Info-circle': string;
71
- 'Exclamation-triangle': string;
72
- 'Exclamation-circle': string;
73
- Exclamation: string;
74
- Check: string;
75
- Protected: string;
76
- 'Chevron-left': string;
77
- 'Chevron-right': string;
78
- 'Chevron-down': string;
79
- 'Chevron-up': string;
80
- 'Angle-right': string;
81
- 'Angle-double-right': string;
82
- Language: string;
83
- Theme: string;
84
- Documentation: string;
85
- Support: string;
86
- EULA: string;
87
- 'Log-out': string;
88
- Hourglass: string;
89
- Pause: string;
90
- 'Pause-circle': string;
91
- 'Play-circle': string;
92
- Upgrade: string;
93
- Expansion: string;
94
- Rebalance: string;
95
- Maintenance: string;
96
- Role: string;
97
- 'Change-erasure': string;
98
- 'Circle-health': string;
99
- 'Circle-empty': string;
100
- 'Dot-circle': string;
101
- 'Check-circle': string;
102
- 'Times-circle': string;
103
- Toolbox: string;
104
- Cubes: string;
105
- Policy: string;
106
- Pen: string;
107
- Pencil: string;
108
- Eye: string;
109
- EyeSlash: string;
110
- Snowflake: string;
111
- Key: string;
112
- Filter: string;
113
- Download: string;
114
- Certificate: string;
115
- Redo: string;
116
- Eraser: string;
117
- 'ID-card': string;
118
- Setting: string;
119
- Desktop: string;
120
- Globe: string;
121
- Satellite: string;
122
- LightMode: string;
123
- DarkMode: string;
124
- News: string;
125
- Ring: string;
126
- Stop: string;
127
- Play: string;
128
- Mail: string;
129
- ThumbsUp: string;
130
- ThumbsDown: string;
131
- Sidebar: string;
132
- Bookopen: string;
133
- };
4
+ import { iconTable } from './iconTable';
134
5
  type IconProps = {
135
6
  'aria-label'?: string;
136
7
  color?: string;
@@ -157,5 +28,5 @@ export declare const IconWrapper: import("styled-components").StyledComponent<"d
157
28
  size: SizeProp;
158
29
  }, never>;
159
30
  declare function Icon({ withWrapper, ...props }: Props): import("react/jsx-runtime").JSX.Element;
160
- export { Icon };
31
+ export { Icon, iconTable };
161
32
  //# sourceMappingURL=Icon.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/icon/Icon.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAE7D,OAAO,EACL,aAAa,EAKd,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAOhD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiIrB,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,MAAM,CAC9B,MAAM,EACN,CAAC,CAAC,KAAK,EAAE,SAAS,KAAK,GAAG,CAAC,OAAO,CAAC,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAQ/D,CAAC;AAgBF,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,SAAS,GAAG,MAAM,OAAO,WAAW,CAAC;AACzE,MAAM,MAAM,SAAS,GAAG,MAAM,WAAW,CAAC;AAC1C,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAiBF,eAAO,MAAM,WAAW;UAAsB,QAAQ;SAiCrD,CAAC;AA2DF,iBAAS,IAAI,CAAC,EAAE,WAAW,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,2CAU7C;AAED,OAAO,EAAE,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"Icon.component.d.ts","sourceRoot":"","sources":["../../../src/lib/components/icon/Icon.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAE7D,OAAO,EACL,aAAa,EAKd,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGhD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAKxC,KAAK,SAAS,GAAG;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,MAAM,CAC9B,MAAM,EACN,CAAC,CAAC,KAAK,EAAE,SAAS,KAAK,GAAG,CAAC,OAAO,CAAC,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAc/D,CAAC;AAkBF,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,SAAS,GAAG,MAAM,OAAO,WAAW,CAAC;AACzE,MAAM,MAAM,SAAS,GAAG,MAAM,WAAW,CAAC;AAC1C,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAiBF,eAAO,MAAM,WAAW;UAAsB,QAAQ;SAiCrD,CAAC;AA6DF,iBAAS,IAAI,CAAC,EAAE,WAAW,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,2CAU7C;AAED,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC"}