@wallarm-org/design-system 0.35.0 → 0.36.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 (94) hide show
  1. package/dist/components/Attribute/AttributeActionsTarget.js +1 -1
  2. package/dist/components/Ip/IpList/IpListHorizontal.js +1 -1
  3. package/dist/components/OverflowList/OverflowList.js +1 -1
  4. package/dist/components/Popover/PopoverContent.js +1 -1
  5. package/dist/components/SimpleCharts/LineChart/LineChart.d.ts +70 -0
  6. package/dist/components/SimpleCharts/LineChart/LineChart.figma.d.ts +1 -0
  7. package/dist/components/SimpleCharts/LineChart/LineChart.figma.js +163 -0
  8. package/dist/components/SimpleCharts/LineChart/LineChart.js +136 -0
  9. package/dist/components/SimpleCharts/LineChart/LineChartBody.d.ts +12 -0
  10. package/dist/components/SimpleCharts/LineChart/LineChartBody.js +66 -0
  11. package/dist/components/SimpleCharts/LineChart/LineChartContext.d.ts +151 -0
  12. package/dist/components/SimpleCharts/LineChart/LineChartContext.js +16 -0
  13. package/dist/components/SimpleCharts/LineChart/LineChartEmpty.d.ts +15 -0
  14. package/dist/components/SimpleCharts/LineChart/LineChartEmpty.js +71 -0
  15. package/dist/components/SimpleCharts/LineChart/LineChartGrid.d.ts +19 -0
  16. package/dist/components/SimpleCharts/LineChart/LineChartGrid.js +17 -0
  17. package/dist/components/SimpleCharts/LineChart/LineChartHoverPopover.d.ts +5 -0
  18. package/dist/components/SimpleCharts/LineChart/LineChartHoverPopover.js +14 -0
  19. package/dist/components/SimpleCharts/LineChart/LineChartHoverPopoverDot.d.ts +14 -0
  20. package/dist/components/SimpleCharts/LineChart/LineChartHoverPopoverDot.js +20 -0
  21. package/dist/components/SimpleCharts/LineChart/LineChartHoverPopoverRow.d.ts +12 -0
  22. package/dist/components/SimpleCharts/LineChart/LineChartHoverPopoverRow.js +33 -0
  23. package/dist/components/SimpleCharts/LineChart/LineChartHoverPopoverTimestamp.d.ts +5 -0
  24. package/dist/components/SimpleCharts/LineChart/LineChartHoverPopoverTimestamp.js +12 -0
  25. package/dist/components/SimpleCharts/LineChart/LineChartLegend.d.ts +15 -0
  26. package/dist/components/SimpleCharts/LineChart/LineChartLegend.js +19 -0
  27. package/dist/components/SimpleCharts/LineChart/LineChartLegendItem.d.ts +14 -0
  28. package/dist/components/SimpleCharts/LineChart/LineChartLegendItem.js +112 -0
  29. package/dist/components/SimpleCharts/LineChart/LineChartLine.d.ts +17 -0
  30. package/dist/components/SimpleCharts/LineChart/LineChartLine.js +57 -0
  31. package/dist/components/SimpleCharts/LineChart/LineChartTooltip.d.ts +31 -0
  32. package/dist/components/SimpleCharts/LineChart/LineChartTooltip.js +75 -0
  33. package/dist/components/SimpleCharts/LineChart/LineChartXAxis.d.ts +51 -0
  34. package/dist/components/SimpleCharts/LineChart/LineChartXAxis.js +34 -0
  35. package/dist/components/SimpleCharts/LineChart/LineChartYAxis.d.ts +24 -0
  36. package/dist/components/SimpleCharts/LineChart/LineChartYAxis.js +30 -0
  37. package/dist/components/SimpleCharts/LineChart/LineChartZoomBrush.d.ts +32 -0
  38. package/dist/components/SimpleCharts/LineChart/LineChartZoomBrush.js +104 -0
  39. package/dist/components/SimpleCharts/LineChart/LineChartZoomPopover.d.ts +5 -0
  40. package/dist/components/SimpleCharts/LineChart/LineChartZoomPopover.js +14 -0
  41. package/dist/components/SimpleCharts/LineChart/LineChartZoomPopoverConfirm.d.ts +5 -0
  42. package/dist/components/SimpleCharts/LineChart/LineChartZoomPopoverConfirm.js +14 -0
  43. package/dist/components/SimpleCharts/LineChart/LineChartZoomPopoverRange.d.ts +5 -0
  44. package/dist/components/SimpleCharts/LineChart/LineChartZoomPopoverRange.js +12 -0
  45. package/dist/components/SimpleCharts/LineChart/classes.d.ts +28 -0
  46. package/dist/components/SimpleCharts/LineChart/classes.js +95 -0
  47. package/dist/components/SimpleCharts/LineChart/constants.d.ts +25 -0
  48. package/dist/components/SimpleCharts/LineChart/constants.js +26 -0
  49. package/dist/components/SimpleCharts/LineChart/hooks/index.d.ts +5 -0
  50. package/dist/components/SimpleCharts/LineChart/hooks/index.js +6 -0
  51. package/dist/components/SimpleCharts/LineChart/hooks/useLineChartActiveKey.d.ts +33 -0
  52. package/dist/components/SimpleCharts/LineChart/hooks/useLineChartActiveKey.js +33 -0
  53. package/dist/components/SimpleCharts/LineChart/hooks/useLineChartDataWarnings.d.ts +18 -0
  54. package/dist/components/SimpleCharts/LineChart/hooks/useLineChartDataWarnings.js +47 -0
  55. package/dist/components/SimpleCharts/LineChart/hooks/useLineChartZoomState.d.ts +37 -0
  56. package/dist/components/SimpleCharts/LineChart/hooks/useLineChartZoomState.js +111 -0
  57. package/dist/components/SimpleCharts/LineChart/hooks/useZoomDragListeners.d.ts +16 -0
  58. package/dist/components/SimpleCharts/LineChart/hooks/useZoomDragListeners.js +27 -0
  59. package/dist/components/SimpleCharts/LineChart/hooks/useZoomPendingListeners.d.ts +21 -0
  60. package/dist/components/SimpleCharts/LineChart/hooks/useZoomPendingListeners.js +35 -0
  61. package/dist/components/SimpleCharts/LineChart/index.d.ts +19 -0
  62. package/dist/components/SimpleCharts/LineChart/index.js +19 -0
  63. package/dist/components/SimpleCharts/LineChart/lib/dropEdgeGridLines.d.ts +30 -0
  64. package/dist/components/SimpleCharts/LineChart/lib/dropEdgeGridLines.js +48 -0
  65. package/dist/components/SimpleCharts/LineChart/lib/formatRange.d.ts +9 -0
  66. package/dist/components/SimpleCharts/LineChart/lib/formatRange.js +7 -0
  67. package/dist/components/SimpleCharts/LineChart/lib/sampleData.d.ts +15 -0
  68. package/dist/components/SimpleCharts/LineChart/lib/sampleData.js +109 -0
  69. package/dist/components/SimpleCharts/LineChart/lib/tickHorizontalCoordinates.d.ts +15 -0
  70. package/dist/components/SimpleCharts/LineChart/lib/tickHorizontalCoordinates.js +13 -0
  71. package/dist/components/SimpleCharts/LineChart/lib/warn.d.ts +4 -0
  72. package/dist/components/SimpleCharts/LineChart/lib/warn.js +6 -0
  73. package/dist/components/SimpleCharts/PieChart/PieChartContext.js +5 -2
  74. package/dist/components/SimpleCharts/PieChart/constants.d.ts +1 -2
  75. package/dist/components/SimpleCharts/PieChart/constants.js +2 -15
  76. package/dist/components/SimpleCharts/hooks/index.d.ts +1 -0
  77. package/dist/components/SimpleCharts/hooks/index.js +2 -0
  78. package/dist/components/SimpleCharts/hooks/useChartTimeFormatters.d.ts +21 -0
  79. package/dist/components/SimpleCharts/hooks/useChartTimeFormatters.js +33 -0
  80. package/dist/components/SimpleCharts/index.d.ts +3 -0
  81. package/dist/components/SimpleCharts/index.js +4 -1
  82. package/dist/components/SimpleCharts/lib/chartPalette.d.ts +10 -0
  83. package/dist/components/SimpleCharts/lib/chartPalette.js +20 -0
  84. package/dist/components/SimpleCharts/lib/hoverSync.d.ts +9 -0
  85. package/dist/components/SimpleCharts/lib/hoverSync.js +5 -0
  86. package/dist/components/SimpleCharts/lib/index.d.ts +2 -0
  87. package/dist/components/SimpleCharts/lib/index.js +3 -0
  88. package/dist/components/SimpleCharts/lib/timeFormatters.d.ts +25 -0
  89. package/dist/components/SimpleCharts/lib/timeFormatters.js +57 -0
  90. package/dist/hooks/useOverflowItems.js +1 -1
  91. package/dist/metadata/components.json +3665 -2
  92. package/dist/utils/formatDateTime.d.ts +4 -0
  93. package/dist/utils/formatDateTime.js +1 -1
  94. package/package.json +1 -1
@@ -36,3 +36,7 @@ export declare const formatAbsoluteDate: (date: Date, now?: Date) => string;
36
36
  * Output: "14:32 GMT+2"
37
37
  */
38
38
  export declare const formatTimeOnly: (date: Date) => string;
39
+ /**
40
+ * Format timezone as "GMT+N" or "UTC".
41
+ */
42
+ export declare const formatTimezone: (date: Date) => string;
@@ -44,4 +44,4 @@ const formatTimezone = (date)=>{
44
44
  const minutes = Math.abs(offset) % 60;
45
45
  return 0 === minutes ? `GMT${sign}${hours}` : `GMT${sign}${hours}:${String(minutes).padStart(2, '0')}`;
46
46
  };
47
- export { formatAbsoluteDate, formatAbsoluteTime, formatRelativeTime, formatTimeOnly };
47
+ export { formatAbsoluteDate, formatAbsoluteTime, formatRelativeTime, formatTimeOnly, formatTimezone };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wallarm-org/design-system",
3
- "version": "0.35.0",
3
+ "version": "0.36.0",
4
4
  "description": "Core design system library with React components and Storybook documentation",
5
5
  "publishConfig": {
6
6
  "access": "public",