@spaziodati/atoka-design-system 2.2.1-beta.0 → 2.2.2

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 (62) hide show
  1. package/AddableItems/index.js +1 -1
  2. package/Alert/index.js +1 -1
  3. package/Badge/index.js +1 -1
  4. package/Bs4V3Wrapper/index.js +1 -1
  5. package/BubbleChart/index.js +1 -1
  6. package/Button/index.js +1 -1
  7. package/ButtonDropdown/index.js +1 -1
  8. package/CardsPage/index.js +1 -1
  9. package/CursorPagination/index.js +1 -1
  10. package/DatePicker/index.js +1 -1
  11. package/DetailPage/index.js +1 -1
  12. package/Dropdown/index.js +1 -1
  13. package/EditableString/index.js +1 -1
  14. package/EllipsableContent/index.js +1 -1
  15. package/EmptyState/index.js +1 -1
  16. package/Facet/index.js +1 -1
  17. package/FacetSection/index.js +1 -1
  18. package/FadeAnimation/index.js +1 -1
  19. package/FeedbackButton/index.js +1 -1
  20. package/Form/index.js +1 -1
  21. package/Funnel/Funnel.d.ts +23 -7
  22. package/Funnel/SVGDataLabel.d.ts +2 -3
  23. package/Funnel/index.js +1 -1
  24. package/Gauge/index.js +1 -1
  25. package/GridCard/GridCard.d.ts +2 -1
  26. package/GridCard/GridCardMenu.d.ts +4 -1
  27. package/GridCard/index.js +1 -1
  28. package/HighlightableText/index.js +1 -1
  29. package/Histogram/index.js +1 -1
  30. package/InlineStringEditor/index.js +1 -1
  31. package/InputGroup/index.js +1 -1
  32. package/Jumbotron/index.js +1 -1
  33. package/Map/index.js +1 -1
  34. package/Modal/index.js +1 -1
  35. package/Navbar/index.js +1 -1
  36. package/Pagination/index.js +1 -1
  37. package/PieChart/index.js +1 -1
  38. package/PublicFooter/index.js +1 -1
  39. package/PublicNavbar/index.js +1 -1
  40. package/RecordBit/index.js +1 -1
  41. package/ResultItemCard/index.js +1 -1
  42. package/SelectDropdown/index.js +1 -1
  43. package/Spinner/index.js +1 -1
  44. package/StatisticsItemCard/index.js +1 -1
  45. package/StatisticsItemNumeric/index.js +1 -1
  46. package/StatisticsLegend/index.js +1 -1
  47. package/StatisticsTooltip/index.js +1 -1
  48. package/Suggester/index.js +1 -1
  49. package/SunBurst/index.js +1 -1
  50. package/TabSwitcher/index.js +1 -1
  51. package/Title/index.js +1 -1
  52. package/Toasts/index.js +1 -1
  53. package/ToggleButtonGroup/index.js +1 -1
  54. package/Tooltip/index.js +1 -1
  55. package/Utils/CommonTypes.d.ts +0 -1
  56. package/Utils/index.js +1 -1
  57. package/{atoka-design-system-2.2.1-beta.0.min.css → atoka-design-system-2.2.2.min.css} +1 -1
  58. package/index.js +1 -1
  59. package/package.json +15 -15
  60. package/styles/variant-mixins.less +2 -1
  61. package/Funnel/FunnelUI.d.ts +0 -32
  62. package/Funnel/fixture.d.ts +0 -23
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaziodati/atoka-design-system",
3
- "version": "2.2.1-beta.0",
3
+ "version": "2.2.2",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "storybook": "start-storybook -p 6006 --quiet",
@@ -39,13 +39,13 @@
39
39
  "@fortawesome/pro-light-svg-icons": "5.15.4",
40
40
  "@fortawesome/pro-regular-svg-icons": "5.15.4",
41
41
  "@fortawesome/react-fontawesome": "0.2.0",
42
- "@nivo/axes": "0.79.0",
43
- "@nivo/bar": "0.79.0",
44
- "@nivo/circle-packing": "0.79.1",
45
- "@nivo/core": "0.79.0",
46
- "@nivo/funnel": "0.79.1",
47
- "@nivo/pie": "0.79.1",
48
- "@nivo/sunburst": "0.79.1",
42
+ "@nivo/axes": "0.72.0",
43
+ "@nivo/bar": "0.72.0",
44
+ "@nivo/circle-packing": "0.72.0",
45
+ "@nivo/core": "0.72.0",
46
+ "@nivo/funnel": "0.72.0",
47
+ "@nivo/pie": "0.72.0",
48
+ "@nivo/sunburst": "0.72.0",
49
49
  "leaflet": "1.7.1",
50
50
  "leaflet-image": "0.4.0",
51
51
  "react": "17.0.2",
@@ -68,13 +68,13 @@
68
68
  "@fortawesome/pro-solid-svg-icons": "5.14.0",
69
69
  "@fortawesome/react-fontawesome": "0.2.0",
70
70
  "@mdx-js/loader": "1.6.6",
71
- "@nivo/axes": "0.79.0",
72
- "@nivo/bar": "0.79.0",
73
- "@nivo/circle-packing": "0.79.1",
74
- "@nivo/core": "0.79.0",
75
- "@nivo/funnel": "0.79.1",
76
- "@nivo/pie": "0.79.1",
77
- "@nivo/sunburst": "0.79.1",
71
+ "@nivo/axes": "0.72.0",
72
+ "@nivo/bar": "0.72.0",
73
+ "@nivo/circle-packing": "0.72.0",
74
+ "@nivo/core": "0.72.0",
75
+ "@nivo/funnel": "0.72.0",
76
+ "@nivo/pie": "0.72.0",
77
+ "@nivo/sunburst": "0.72.0",
78
78
  "@storybook/addon-actions": "6.5.8",
79
79
  "@storybook/addon-controls": "6.5.8",
80
80
  "@storybook/addon-docs": "6.5.8",
@@ -19,7 +19,8 @@
19
19
  .button-variant-secondary(@color) {
20
20
  // This is necessary to override some style present in atoka revenge.
21
21
  &,
22
- &:not(.disabled):active {
22
+ &:not(.disabled):active,
23
+ &:not(:disabled):active {
23
24
  background: transparent;
24
25
  border-color: @color;
25
26
  color: @color;
@@ -1,32 +0,0 @@
1
- import React from 'react';
2
- import { NumberToStringFormatterType, PropsWithClassName } from '../Utils/CommonTypes';
3
- import { GetRenderStatisticsTooltipType } from '../StatisticsTooltip';
4
- import { AtokaFunnelDatum, FunnelData, FunnelProps } from './Funnel';
5
- export interface FunnelCommonProps {
6
- /** The id should be unique */
7
- id: string;
8
- /** The `chartRef` is necessary when we want to download a png from the chart */
9
- chartRef?: React.RefObject<HTMLDivElement>;
10
- numberToStringFormatter?: NumberToStringFormatterType;
11
- renderTooltip?: GetRenderStatisticsTooltipType<AtokaFunnelDatum>;
12
- /** You can give a special formatter for the tooltip additionally to the numberToStringFormatter */
13
- tooltipValueFormat?: NumberToStringFormatterType;
14
- }
15
- export interface FunnelUIDataProps {
16
- data: AtokaFunnelDatum[];
17
- sinkData: FunnelData[];
18
- isZeroData?: boolean;
19
- colors: string[] | undefined;
20
- }
21
- export declare type FunnelUIProps = FunnelUIDataProps & FunnelCommonProps & Pick<FunnelProps, 'colors'> & PropsWithClassName;
22
- export declare class FunnelUI extends React.Component<FunnelUIProps> {
23
- static displayName: string;
24
- private marginBottom;
25
- private renderDataLabels;
26
- private renderEmptyPart;
27
- private renderEmptyParts;
28
- private renderSinkDataLabels;
29
- private renderSVGDataLabel;
30
- private getRenderTooltip;
31
- render(): React.ReactNode;
32
- }
@@ -1,23 +0,0 @@
1
- export declare const svgDataLabelData: {
2
- id: string;
3
- value: number;
4
- label: string;
5
- percentage: number;
6
- };
7
- export declare let svgDataLabeldefaultItem: {
8
- data: {
9
- id: string;
10
- value: number;
11
- label: string;
12
- percentage: number;
13
- };
14
- width: number;
15
- height: number;
16
- color: string;
17
- x: number;
18
- x0: number;
19
- x1: number;
20
- y: number;
21
- y0: number;
22
- y1: number;
23
- };