@spaziodati/atoka-design-system 10.2.0 → 10.4.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 (54) hide show
  1. package/AddableItems/index.js +1 -1
  2. package/BubbleChart/index.js +4 -4
  3. package/CardsPage/index.js +4 -4
  4. package/ClickableExcludableItem/index.js +1 -1
  5. package/CursorPagination/index.js +1 -1
  6. package/DatePickerInput/index.js +3 -3
  7. package/DetailPage/index.js +1 -1
  8. package/EditableString/index.js +2 -2
  9. package/EllipsableContent/index.js +1 -1
  10. package/Expandable/index.js +1 -1
  11. package/Form/index.js +1 -1
  12. package/Funnel/index.js +4 -4
  13. package/Gauge/index.js +1 -1
  14. package/GeoMap/index.js +1 -1
  15. package/GridCard/index.js +3 -3
  16. package/Histogram/index.js +4 -4
  17. package/InlineStringEditor/index.js +1 -1
  18. package/InputGroup/index.js +1 -1
  19. package/Map/index.js +1 -1
  20. package/Modal/index.js +1 -1
  21. package/MultiModeDatePicker/index.js +1 -1
  22. package/Navbar/index.js +5 -5
  23. package/Pagination/index.js +1 -1
  24. package/PieChart/index.js +5 -5
  25. package/ResponsiveLineChart/index.js +3 -3
  26. package/ResultItemCard/index.js +2 -2
  27. package/RowCard/index.js +1 -1
  28. package/StatisticsItemCard/index.js +2 -2
  29. package/StatisticsLegend/index.js +2 -2
  30. package/StatisticsTooltip/index.js +2 -2
  31. package/Suggester/index.js +1 -1
  32. package/SunBurst/index.js +4 -4
  33. package/TabSwitcher/index.js +1 -1
  34. package/UserAvatar/index.js +1 -1
  35. package/Utils/index.js +2 -2
  36. package/_shared/{CardMenu-CvhJBEHI.js → CardMenu-BEJgJfms.js} +1 -1
  37. package/_shared/{ClickableItemList-Cid_9WPj.js → ClickableItemList-DVomaPq2.js} +1 -1
  38. package/_shared/{EllipsableContent-D5WSnr7s.js → EllipsableContent-DA9bhZw-.js} +1 -1
  39. package/_shared/{Form-l9l_S-Uk.js → Form-D-8ftG21.js} +1 -0
  40. package/_shared/{InlineStringEditor-Qd51lEZm.js → InlineStringEditor-Cu8aObXQ.js} +1 -1
  41. package/_shared/{InputGroupShortcut-B6ccNgw4.js → InputGroupShortcut-DVgXnEC3.js} +2 -2
  42. package/_shared/{ItemImage-Bii41hXJ.js → ItemImage-Bhitkbw1.js} +1 -1
  43. package/_shared/{Modal-DyYcAysY.js → Modal-DKv77LLf.js} +1 -1
  44. package/_shared/{MultiModeDatePicker-BVFPSsWL.js → MultiModeDatePicker-nKd6dcHG.js} +9 -3
  45. package/_shared/{RowCard-CqPQ-gmI.js → RowCard-DoBnimBD.js} +3 -3
  46. package/_shared/{Statistics-Coxe2jk5.js → Statistics-Bm18tBPk.js} +1 -1
  47. package/_shared/{StatisticsSVGLegend-BaeY7Liv.js → StatisticsSVGLegend-hnWvsMts.js} +2 -2
  48. package/_shared/{StatisticsTooltip-7DgI4Yoj.js → StatisticsTooltip-pL9xXE3S.js} +1 -1
  49. package/_shared/{TabSwitcher-jXRZG1zt.js → TabSwitcher-BwM8Io9E.js} +2 -2
  50. package/_shared/{UserAvatar-DaGKa8WA.js → UserAvatar-CDZ6F3es.js} +1 -1
  51. package/_shared/{Utils-CXFvxozf.js → Utils-Bpj1pJRF.js} +1 -1
  52. package/_shared/{helpers-DbJ4Yobs.js → helpers-Bg6unjPS.js} +1 -1
  53. package/package.json +1 -1
  54. /package/{atoka-design-system-10.2.0.min.css → atoka-design-system-10.4.0.min.css} +0 -0
@@ -3,7 +3,7 @@ import classnames from "classnames";
3
3
  import React__default from "react";
4
4
  import { B as Button } from "../_shared/Button-Bn8PyQFK.js";
5
5
  import { T as Text } from "../_shared/Text-B4AyT0Tx.js";
6
- import { a as ClickableItemKind, b as ClickableItemList } from "../_shared/ClickableItemList-Cid_9WPj.js";
6
+ import { a as ClickableItemKind, b as ClickableItemList } from "../_shared/ClickableItemList-DVomaPq2.js";
7
7
  function extractFacetKeyFromItemValue(key) {
8
8
  return typeof key === "object" ? key.value : key;
9
9
  }
@@ -1,10 +1,10 @@
1
1
  import { j as jsxRuntimeExports } from "../_shared/jsx-runtime-CkWJgiG5.js";
2
2
  import React__default from "react";
3
3
  import { e as blue300, d as blue30, n as generateRangeColor } from "../_shared/Style-CSNnkrg3.js";
4
- import "../_shared/StatisticsTooltip-7DgI4Yoj.js";
5
- import { g as getRenderStatisticsTooltip } from "../_shared/helpers-DbJ4Yobs.js";
6
- import { c as createDataWithOtherSlice } from "../_shared/Statistics-Coxe2jk5.js";
7
- import { d as deepEqual, s as sortObjDesc } from "../_shared/Utils-CXFvxozf.js";
4
+ import "../_shared/StatisticsTooltip-pL9xXE3S.js";
5
+ import { g as getRenderStatisticsTooltip } from "../_shared/helpers-Bg6unjPS.js";
6
+ import { c as createDataWithOtherSlice } from "../_shared/Statistics-Bm18tBPk.js";
7
+ import { d as deepEqual, s as sortObjDesc } from "../_shared/Utils-Bpj1pJRF.js";
8
8
  import { ResponsiveCirclePackingCanvas, ResponsiveCirclePacking } from "@nivo/circle-packing";
9
9
  import classnames from "classnames";
10
10
  import { e as ellipse } from "../_shared/Text-DT1G7-vq.js";
@@ -4,8 +4,8 @@ import Container from "react-bootstrap/Container";
4
4
  import { B as Bs4V3Wrapper } from "../_shared/Bs4V3Wrapper-BKRW0pvE.js";
5
5
  import Row from "react-bootstrap/Row";
6
6
  import Col from "react-bootstrap/Col";
7
- import { f as findChildByComponent } from "../_shared/Utils-CXFvxozf.js";
8
- import { F as Form } from "../_shared/Form-l9l_S-Uk.js";
7
+ import { f as findChildByComponent } from "../_shared/Utils-Bpj1pJRF.js";
8
+ import { F as Form } from "../_shared/Form-D-8ftG21.js";
9
9
  import classnames from "classnames";
10
10
  import { S as SelectDropdown } from "../_shared/SelectDropdown-GHblwuD9.js";
11
11
  import { faList } from "@fortawesome/pro-light-svg-icons/faList";
@@ -13,10 +13,10 @@ import { faTh } from "@fortawesome/pro-light-svg-icons/faTh";
13
13
  import { T as ToggleButtonGroup } from "../_shared/ToggleButtonGroup-Duq22aii.js";
14
14
  import { T as Title } from "../_shared/Title-Bjj6BAK7.js";
15
15
  import { B as Button } from "../_shared/Button-Bn8PyQFK.js";
16
- import { a as RowCardLayout, R as RowCard } from "../_shared/RowCard-CqPQ-gmI.js";
16
+ import { a as RowCardLayout, R as RowCard } from "../_shared/RowCard-DoBnimBD.js";
17
17
  import { E as EmptyState } from "../_shared/EmptyState-BQyVos2X.js";
18
18
  import { T as Text } from "../_shared/Text-B4AyT0Tx.js";
19
- import { T as TabSwitcher } from "../_shared/TabSwitcher-jXRZG1zt.js";
19
+ import { T as TabSwitcher } from "../_shared/TabSwitcher-BwM8Io9E.js";
20
20
  const CardsPageFullText = React__default.memo(
21
21
  (props) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "cards-page-fulltext mt-3", children: props.children })
22
22
  );
@@ -1,4 +1,4 @@
1
- import { C } from "../_shared/ClickableItemList-Cid_9WPj.js";
1
+ import { C } from "../_shared/ClickableItemList-DVomaPq2.js";
2
2
  export {
3
3
  C as ClickableExcludableItem
4
4
  };
@@ -2,7 +2,7 @@ import { j as jsxRuntimeExports } from "../_shared/jsx-runtime-CkWJgiG5.js";
2
2
  import classnames from "classnames";
3
3
  import React__default from "react";
4
4
  import BsPagination from "react-bootstrap/Pagination";
5
- import { a as scrollToTop } from "../_shared/Utils-CXFvxozf.js";
5
+ import { a as scrollToTop } from "../_shared/Utils-Bpj1pJRF.js";
6
6
  import { P as PaginationPrev, a as PaginationNext } from "../_shared/PaginationNext-BOdbeCda.js";
7
7
  class CursorPagination extends React__default.PureComponent {
8
8
  static displayName = "CursorPagination";
@@ -3,9 +3,9 @@ import React__default, { useState, useRef, useEffect, useCallback, useMemo } fro
3
3
  import { createPortal } from "react-dom";
4
4
  import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
5
5
  import { faTimes } from "@fortawesome/pro-light-svg-icons/faTimes";
6
- import { a as FormControl } from "../_shared/Form-l9l_S-Uk.js";
7
- import { I as InputGroupComponent } from "../_shared/InputGroupShortcut-B6ccNgw4.js";
8
- import { M as MultiModeDatePicker } from "../_shared/MultiModeDatePicker-BVFPSsWL.js";
6
+ import { a as FormControl } from "../_shared/Form-D-8ftG21.js";
7
+ import { I as InputGroupComponent } from "../_shared/InputGroupShortcut-DVgXnEC3.js";
8
+ import { M as MultiModeDatePicker } from "../_shared/MultiModeDatePicker-nKd6dcHG.js";
9
9
  function useClickOutside(callback) {
10
10
  const ref = React__default.useRef(null);
11
11
  useEffect(() => {
@@ -4,7 +4,7 @@ import Container from "react-bootstrap/Container";
4
4
  import { B as Bs4V3Wrapper } from "../_shared/Bs4V3Wrapper-BKRW0pvE.js";
5
5
  import { T as Text } from "../_shared/Text-B4AyT0Tx.js";
6
6
  import classnames from "classnames";
7
- import { I as ItemImage } from "../_shared/ItemImage-Bii41hXJ.js";
7
+ import { I as ItemImage } from "../_shared/ItemImage-Bhitkbw1.js";
8
8
  import { S as Spinner, a as SpinnerSize } from "../_shared/Spinner-DHoqZ2pO.js";
9
9
  import { T as Title } from "../_shared/Title-Bjj6BAK7.js";
10
10
  import Nav from "react-bootstrap/Nav";
@@ -3,11 +3,11 @@ import { faPencil } from "@fortawesome/pro-light-svg-icons/faPencil";
3
3
  import classnames from "classnames";
4
4
  import React__default, { isValidElement, cloneElement, Children } from "react";
5
5
  import "@fortawesome/react-fontawesome";
6
- import "../_shared/Form-l9l_S-Uk.js";
6
+ import "../_shared/Form-D-8ftG21.js";
7
7
  import { c as isStringEmpty } from "../_shared/Text-DT1G7-vq.js";
8
8
  import "../_shared/Style-CSNnkrg3.js";
9
9
  import { B as Button } from "../_shared/Button-Bn8PyQFK.js";
10
- import { I as InlineStringEditor } from "../_shared/InlineStringEditor-Qd51lEZm.js";
10
+ import { I as InlineStringEditor } from "../_shared/InlineStringEditor-Cu8aObXQ.js";
11
11
  import { _ as _inheritsLoose, a as _extends, b as _objectWithoutPropertiesLoose, T as TransitionGroupContext, P as PropTypes, C as CSSTransition } from "../_shared/CSSTransition-BGcESi-j.js";
12
12
  function _assertThisInitialized(e) {
13
13
  if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
@@ -1,4 +1,4 @@
1
- import { E } from "../_shared/EllipsableContent-D5WSnr7s.js";
1
+ import { E } from "../_shared/EllipsableContent-DA9bhZw-.js";
2
2
  export {
3
3
  E as EllipsableContent
4
4
  };
@@ -4,7 +4,7 @@ import { useRef, useState, useEffect } from "react";
4
4
  import { faChevronDown } from "@fortawesome/pro-light-svg-icons/faChevronDown";
5
5
  import { faChevronUp } from "@fortawesome/pro-light-svg-icons/faChevronUp";
6
6
  import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
7
- import { M as Modal } from "../_shared/Modal-DyYcAysY.js";
7
+ import { M as Modal } from "../_shared/Modal-DKv77LLf.js";
8
8
  import { T as Text } from "../_shared/Text-B4AyT0Tx.js";
9
9
  const TOLERANCE_THRESHOLD = 40;
10
10
  const DEFAULT_MAX_HEIGHT = 200;
package/Form/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { F } from "../_shared/Form-l9l_S-Uk.js";
1
+ import { F } from "../_shared/Form-D-8ftG21.js";
2
2
  export {
3
3
  F as Form
4
4
  };
package/Funnel/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { j as jsxRuntimeExports } from "../_shared/jsx-runtime-CkWJgiG5.js";
2
2
  import React__default from "react";
3
- import { g as generateStyledTheme, d as deepEqual } from "../_shared/Utils-CXFvxozf.js";
3
+ import { g as generateStyledTheme, d as deepEqual } from "../_shared/Utils-Bpj1pJRF.js";
4
4
  import { g as blue50, i as blue90, j as blue95, e as blue300, n as generateRangeColor } from "../_shared/Style-CSNnkrg3.js";
5
5
  import { ResponsiveFunnel } from "@nivo/funnel";
6
6
  import classnames from "classnames";
7
- import { S as StatisticsSVGLegend } from "../_shared/StatisticsSVGLegend-BaeY7Liv.js";
8
- import "../_shared/StatisticsTooltip-7DgI4Yoj.js";
9
- import { g as getRenderStatisticsTooltip } from "../_shared/helpers-DbJ4Yobs.js";
7
+ import { S as StatisticsSVGLegend } from "../_shared/StatisticsSVGLegend-hnWvsMts.js";
8
+ import "../_shared/StatisticsTooltip-pL9xXE3S.js";
9
+ import { g as getRenderStatisticsTooltip } from "../_shared/helpers-Bg6unjPS.js";
10
10
  import { e as ellipse, s as slugify } from "../_shared/Text-DT1G7-vq.js";
11
11
  const SVGDataLabelSizes = {
12
12
  ESTIMATED_LETTER_PIXELS: 6
package/Gauge/index.js CHANGED
@@ -2,7 +2,7 @@ import { j as jsxRuntimeExports } from "../_shared/jsx-runtime-CkWJgiG5.js";
2
2
  import React__default, { createElement } from "react";
3
3
  import classnames from "classnames";
4
4
  import "@fortawesome/react-fontawesome";
5
- import "../_shared/Form-l9l_S-Uk.js";
5
+ import "../_shared/Form-D-8ftG21.js";
6
6
  import { n as generateRangeColor, z as usableRangeColors } from "../_shared/Style-CSNnkrg3.js";
7
7
  import { T as Title } from "../_shared/Title-Bjj6BAK7.js";
8
8
  import { T as Tooltip } from "../_shared/Tooltip-Ds1ht2gU.js";
package/GeoMap/index.js CHANGED
@@ -5,7 +5,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
5
5
  import { faMinus } from "@fortawesome/pro-light-svg-icons/faMinus";
6
6
  import { faArrowRotateLeft } from "@fortawesome/pro-light-svg-icons/faArrowRotateLeft";
7
7
  import { faPlus } from "@fortawesome/pro-light-svg-icons/faPlus";
8
- import { g as generateStyledTheme } from "../_shared/Utils-CXFvxozf.js";
8
+ import { g as generateStyledTheme } from "../_shared/Utils-Bpj1pJRF.js";
9
9
  const DEFAULT_PROJECTION_SCALE = 1e3;
10
10
  const MIN_PROJECTION_SCALE = 500;
11
11
  const MAX_PROJECTION_SCALE = 5e3;
package/GridCard/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { j as jsxRuntimeExports } from "../_shared/jsx-runtime-CkWJgiG5.js";
2
2
  import React__default from "react";
3
3
  import classnames from "classnames";
4
- import { f as findChildByComponent } from "../_shared/Utils-CXFvxozf.js";
4
+ import { f as findChildByComponent } from "../_shared/Utils-Bpj1pJRF.js";
5
5
  import { O as OniruCard } from "../_shared/OniruCard-g_9qIXxK.js";
6
- import { C as CardTitle, a as CardMenu } from "../_shared/CardMenu-CvhJBEHI.js";
7
- import { F as Form } from "../_shared/Form-l9l_S-Uk.js";
6
+ import { C as CardTitle, a as CardMenu } from "../_shared/CardMenu-BEJgJfms.js";
7
+ import { F as Form } from "../_shared/Form-D-8ftG21.js";
8
8
  const GridCardFooter = React__default.memo(
9
9
  (props) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mt-3", children: props.children })
10
10
  );
@@ -5,10 +5,10 @@ import classnames from "classnames";
5
5
  import React__default, { useMemo, useCallback } from "react";
6
6
  import { E as EmptyState } from "../_shared/EmptyState-BQyVos2X.js";
7
7
  import { S as Spinner } from "../_shared/Spinner-DHoqZ2pO.js";
8
- import { d as deepEqual, f as findChildByComponent, g as generateStyledTheme } from "../_shared/Utils-CXFvxozf.js";
9
- import "../_shared/StatisticsTooltip-7DgI4Yoj.js";
10
- import { g as getRenderStatisticsTooltip } from "../_shared/helpers-DbJ4Yobs.js";
11
- import { c as createDataWithOtherSlice } from "../_shared/Statistics-Coxe2jk5.js";
8
+ import { d as deepEqual, f as findChildByComponent, g as generateStyledTheme } from "../_shared/Utils-Bpj1pJRF.js";
9
+ import "../_shared/StatisticsTooltip-pL9xXE3S.js";
10
+ import { g as getRenderStatisticsTooltip } from "../_shared/helpers-Bg6unjPS.js";
11
+ import { c as createDataWithOtherSlice } from "../_shared/Statistics-Bm18tBPk.js";
12
12
  import { m as extractColorFromVar, d as blue30 } from "../_shared/Style-CSNnkrg3.js";
13
13
  import { a as ellipseAndFormat, m as matchAndFormatRangeLabel } from "../_shared/Text-DT1G7-vq.js";
14
14
  const MAGIC_MULTIPLIER_LEFT = 7.7;
@@ -1,4 +1,4 @@
1
- import { I } from "../_shared/InlineStringEditor-Qd51lEZm.js";
1
+ import { I } from "../_shared/InlineStringEditor-Cu8aObXQ.js";
2
2
  export {
3
3
  I as InlineStringEditor
4
4
  };
@@ -1,4 +1,4 @@
1
- import { I, a } from "../_shared/InputGroupShortcut-B6ccNgw4.js";
1
+ import { I, a } from "../_shared/InputGroupShortcut-DVgXnEC3.js";
2
2
  export {
3
3
  I as InputGroup,
4
4
  a as InputGroupShortcut
package/Map/index.js CHANGED
@@ -3,7 +3,7 @@ import React__default, { useRef, useEffect, useContext, createContext, forwardRe
3
3
  import L, { GeoJSON as GeoJSON$1, Map as Map$2, TileLayer as TileLayer$1 } from "leaflet";
4
4
  import classnames from "classnames";
5
5
  import leafletImage from "leaflet-image";
6
- import { f as findChildByComponent } from "../_shared/Utils-CXFvxozf.js";
6
+ import { f as findChildByComponent } from "../_shared/Utils-Bpj1pJRF.js";
7
7
  import { S as Spinner } from "../_shared/Spinner-DHoqZ2pO.js";
8
8
  import { E as EmptyState } from "../_shared/EmptyState-BQyVos2X.js";
9
9
  import Tooltip from "react-bootstrap/Tooltip";
package/Modal/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { M } from "../_shared/Modal-DyYcAysY.js";
1
+ import { M } from "../_shared/Modal-DKv77LLf.js";
2
2
  export {
3
3
  M as Modal
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M } from "../_shared/MultiModeDatePicker-BVFPSsWL.js";
1
+ import { M } from "../_shared/MultiModeDatePicker-nKd6dcHG.js";
2
2
  export {
3
3
  M as MultiModeDatePicker
4
4
  };
package/Navbar/index.js CHANGED
@@ -10,19 +10,19 @@ import { faBars } from "@fortawesome/pro-light-svg-icons/faBars";
10
10
  import Row from "react-bootstrap/Row";
11
11
  import { T as Title } from "../_shared/Title-Bjj6BAK7.js";
12
12
  import { D as Dropdown, a as AtokaCustomDropdownToggleWithChevron, A as AtokaCustomDropdownToggle } from "../_shared/AtokaDropdownToggles-B6q-ieDU.js";
13
- import { z as zip, f as findChildByComponent } from "../_shared/Utils-CXFvxozf.js";
13
+ import { z as zip, f as findChildByComponent } from "../_shared/Utils-Bpj1pJRF.js";
14
14
  import { faBell } from "@fortawesome/pro-light-svg-icons/faBell";
15
15
  import { E as EmptyState } from "../_shared/EmptyState-BQyVos2X.js";
16
16
  import BsDropdown from "react-bootstrap/Dropdown";
17
17
  import Col from "react-bootstrap/Col";
18
18
  import { T as Text } from "../_shared/Text-B4AyT0Tx.js";
19
- import { E as EllipsableContent } from "../_shared/EllipsableContent-D5WSnr7s.js";
19
+ import { E as EllipsableContent } from "../_shared/EllipsableContent-DA9bhZw-.js";
20
20
  import { c as isStringEmpty } from "../_shared/Text-DT1G7-vq.js";
21
- import { U as UserAvatar } from "../_shared/UserAvatar-DaGKa8WA.js";
21
+ import { U as UserAvatar } from "../_shared/UserAvatar-CDZ6F3es.js";
22
22
  import { faSearch } from "@fortawesome/pro-light-svg-icons/faSearch";
23
23
  import { faTimes } from "@fortawesome/pro-light-svg-icons/faTimes";
24
- import { a as FormControl } from "../_shared/Form-l9l_S-Uk.js";
25
- import { I as InputGroupComponent, a as InputGroupShortcutComponent } from "../_shared/InputGroupShortcut-B6ccNgw4.js";
24
+ import { a as FormControl } from "../_shared/Form-D-8ftG21.js";
25
+ import { I as InputGroupComponent, a as InputGroupShortcutComponent } from "../_shared/InputGroupShortcut-DVgXnEC3.js";
26
26
  import { faUserNinja } from "@fortawesome/pro-light-svg-icons/faUserNinja";
27
27
  import { faTrash } from "@fortawesome/pro-light-svg-icons/faTrash";
28
28
  import ListGroup from "react-bootstrap/ListGroup";
@@ -2,7 +2,7 @@ import { j as jsxRuntimeExports } from "../_shared/jsx-runtime-CkWJgiG5.js";
2
2
  import classnames from "classnames";
3
3
  import React__default from "react";
4
4
  import BsPagination from "react-bootstrap/Pagination";
5
- import { a as scrollToTop } from "../_shared/Utils-CXFvxozf.js";
5
+ import { a as scrollToTop } from "../_shared/Utils-Bpj1pJRF.js";
6
6
  import { P as PaginationPrev, a as PaginationNext } from "../_shared/PaginationNext-BOdbeCda.js";
7
7
  class Pagination extends React__default.PureComponent {
8
8
  static defaultProps = {
package/PieChart/index.js CHANGED
@@ -2,13 +2,13 @@ import { j as jsxRuntimeExports } from "../_shared/jsx-runtime-CkWJgiG5.js";
2
2
  import { ResponsivePie } from "@nivo/pie";
3
3
  import classnames from "classnames";
4
4
  import React__default from "react";
5
- import { S as StatisticsSVGLegend } from "../_shared/StatisticsSVGLegend-BaeY7Liv.js";
6
- import "../_shared/StatisticsTooltip-7DgI4Yoj.js";
7
- import { g as getRenderStatisticsTooltip } from "../_shared/helpers-DbJ4Yobs.js";
8
- import { c as createDataWithOtherSlice } from "../_shared/Statistics-Coxe2jk5.js";
5
+ import { S as StatisticsSVGLegend } from "../_shared/StatisticsSVGLegend-hnWvsMts.js";
6
+ import "../_shared/StatisticsTooltip-pL9xXE3S.js";
7
+ import { g as getRenderStatisticsTooltip } from "../_shared/helpers-Bg6unjPS.js";
8
+ import { c as createDataWithOtherSlice } from "../_shared/Statistics-Bm18tBPk.js";
9
9
  import { d as blue30, h as blue80, a as blue100, e as blue300 } from "../_shared/Style-CSNnkrg3.js";
10
10
  import { e as ellipse } from "../_shared/Text-DT1G7-vq.js";
11
- import { d as deepEqual, s as sortObjDesc, g as generateStyledTheme } from "../_shared/Utils-CXFvxozf.js";
11
+ import { d as deepEqual, s as sortObjDesc, g as generateStyledTheme } from "../_shared/Utils-Bpj1pJRF.js";
12
12
  class PieChart extends React__default.Component {
13
13
  renderTooltip = null;
14
14
  static displayName = "PieChart";
@@ -1,9 +1,9 @@
1
1
  import { j as jsxRuntimeExports } from "../_shared/jsx-runtime-CkWJgiG5.js";
2
2
  import { ResponsiveLine } from "@nivo/line";
3
- import { S as StatisticsTooltip } from "../_shared/StatisticsTooltip-7DgI4Yoj.js";
4
- import { g as generateStyledTheme } from "../_shared/Utils-CXFvxozf.js";
3
+ import { S as StatisticsTooltip } from "../_shared/StatisticsTooltip-pL9xXE3S.js";
4
+ import { g as generateStyledTheme } from "../_shared/Utils-Bpj1pJRF.js";
5
5
  import { A as violet, x as salmon, k as bluelight, w as red, r as green, s as orange, e as blue300 } from "../_shared/Style-CSNnkrg3.js";
6
- import { a as StatisticsLegend } from "../_shared/StatisticsSVGLegend-BaeY7Liv.js";
6
+ import { a as StatisticsLegend } from "../_shared/StatisticsSVGLegend-hnWvsMts.js";
7
7
  const lineChartColorNameToHex = {
8
8
  blue300,
9
9
  orange,
@@ -3,10 +3,10 @@ import classnames from "classnames";
3
3
  import React__default from "react";
4
4
  import Col from "react-bootstrap/Col";
5
5
  import Row from "react-bootstrap/Row";
6
- import { f as findChildByComponent, b as findChildrenByComponent } from "../_shared/Utils-CXFvxozf.js";
6
+ import { f as findChildByComponent, b as findChildrenByComponent } from "../_shared/Utils-Bpj1pJRF.js";
7
7
  import { T as Text } from "../_shared/Text-B4AyT0Tx.js";
8
8
  import { O as OniruCard } from "../_shared/OniruCard-g_9qIXxK.js";
9
- import { I as ItemImage } from "../_shared/ItemImage-Bii41hXJ.js";
9
+ import { I as ItemImage } from "../_shared/ItemImage-Bhitkbw1.js";
10
10
  import { T as Title } from "../_shared/Title-Bjj6BAK7.js";
11
11
  const ResultItemCardActions = (props) => {
12
12
  return (
package/RowCard/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { R } from "../_shared/RowCard-CqPQ-gmI.js";
1
+ import { R } from "../_shared/RowCard-DoBnimBD.js";
2
2
  export {
3
3
  R as RowCard
4
4
  };
@@ -5,8 +5,8 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
5
5
  import { faInfoCircle } from "@fortawesome/pro-light-svg-icons/faInfoCircle";
6
6
  import { O as OniruCard } from "../_shared/OniruCard-g_9qIXxK.js";
7
7
  import { T as Title } from "../_shared/Title-Bjj6BAK7.js";
8
- import { f as findChildByComponent, b as findChildrenByComponent } from "../_shared/Utils-CXFvxozf.js";
9
- import { E as EllipsableContent } from "../_shared/EllipsableContent-D5WSnr7s.js";
8
+ import { f as findChildByComponent, b as findChildrenByComponent } from "../_shared/Utils-Bpj1pJRF.js";
9
+ import { E as EllipsableContent } from "../_shared/EllipsableContent-DA9bhZw-.js";
10
10
  import { S as Spinner, a as SpinnerSize } from "../_shared/Spinner-DHoqZ2pO.js";
11
11
  import { E as EmptyState } from "../_shared/EmptyState-BQyVos2X.js";
12
12
  import { T as Tooltip } from "../_shared/Tooltip-Ds1ht2gU.js";
@@ -1,5 +1,5 @@
1
- import { a as StatisticsLegend } from "../_shared/StatisticsSVGLegend-BaeY7Liv.js";
2
- import { S } from "../_shared/StatisticsSVGLegend-BaeY7Liv.js";
1
+ import { a as StatisticsLegend } from "../_shared/StatisticsSVGLegend-hnWvsMts.js";
2
+ import { S } from "../_shared/StatisticsSVGLegend-hnWvsMts.js";
3
3
  import { j as jsxRuntimeExports } from "../_shared/jsx-runtime-CkWJgiG5.js";
4
4
  const getRenderStatisticsLegend = ({ legendDataLabelKey, legendDataValueKey, legendDataPercentageKey, layout, columnsNumber }) => (
5
5
  // eslint-disable-next-line react/display-name
@@ -1,5 +1,5 @@
1
- import { S } from "../_shared/StatisticsTooltip-7DgI4Yoj.js";
2
- import { g } from "../_shared/helpers-DbJ4Yobs.js";
1
+ import { S } from "../_shared/StatisticsTooltip-pL9xXE3S.js";
2
+ import { g } from "../_shared/helpers-Bg6unjPS.js";
3
3
  export {
4
4
  S as StatisticsTooltip,
5
5
  g as getRenderStatisticsTooltip
@@ -1,7 +1,7 @@
1
1
  import { j as jsxRuntimeExports } from "../_shared/jsx-runtime-CkWJgiG5.js";
2
2
  import React__default from "react";
3
3
  import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
4
- import { F as Form } from "../_shared/Form-l9l_S-Uk.js";
4
+ import { F as Form } from "../_shared/Form-D-8ftG21.js";
5
5
  import { c as isStringEmpty } from "../_shared/Text-DT1G7-vq.js";
6
6
  import "../_shared/Style-CSNnkrg3.js";
7
7
  import classnames from "classnames";
package/SunBurst/index.js CHANGED
@@ -2,11 +2,11 @@ import { j as jsxRuntimeExports } from "../_shared/jsx-runtime-CkWJgiG5.js";
2
2
  import React__default from "react";
3
3
  import { ResponsiveSunburst } from "@nivo/sunburst";
4
4
  import classnames from "classnames";
5
- import { d as deepEqual, g as generateStyledTheme } from "../_shared/Utils-CXFvxozf.js";
5
+ import { d as deepEqual, g as generateStyledTheme } from "../_shared/Utils-Bpj1pJRF.js";
6
6
  import { a as blue100, v as purple, A as violet, u as pink200, t as pink100, x as salmon, y as themeColors } from "../_shared/Style-CSNnkrg3.js";
7
- import { c as createDataWithOtherSlice } from "../_shared/Statistics-Coxe2jk5.js";
8
- import "../_shared/StatisticsTooltip-7DgI4Yoj.js";
9
- import { g as getRenderStatisticsTooltip } from "../_shared/helpers-DbJ4Yobs.js";
7
+ import { c as createDataWithOtherSlice } from "../_shared/Statistics-Bm18tBPk.js";
8
+ import "../_shared/StatisticsTooltip-pL9xXE3S.js";
9
+ import { g as getRenderStatisticsTooltip } from "../_shared/helpers-Bg6unjPS.js";
10
10
  class SunBurst extends React__default.Component {
11
11
  static displayName = "SunBurst";
12
12
  renderTooltip;
@@ -1,4 +1,4 @@
1
- import { T } from "../_shared/TabSwitcher-jXRZG1zt.js";
1
+ import { T } from "../_shared/TabSwitcher-BwM8Io9E.js";
2
2
  export {
3
3
  T as TabSwitcher
4
4
  };
@@ -1,4 +1,4 @@
1
- import { U } from "../_shared/UserAvatar-DaGKa8WA.js";
1
+ import { U } from "../_shared/UserAvatar-CDZ6F3es.js";
2
2
  export {
3
3
  U as UserAvatar
4
4
  };
package/Utils/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { c, n } from "../_shared/Statistics-Coxe2jk5.js";
2
- import { d, s } from "../_shared/Utils-CXFvxozf.js";
1
+ import { c, n } from "../_shared/Statistics-Bm18tBPk.js";
2
+ import { d, s } from "../_shared/Utils-Bpj1pJRF.js";
3
3
  import { e, a, b, f, i, c as c2, m, s as s2, d as d2 } from "../_shared/Text-DT1G7-vq.js";
4
4
  import { b as b2, a as a2, c as c3, d as d3, e as e2, f as f2, g, h, i as i2, j, k, l, m as m2, n as n2, o, p, q, r, s as s3, t, u, v, w, x, y, z, A, B, C } from "../_shared/Style-CSNnkrg3.js";
5
5
  export {
@@ -1,6 +1,6 @@
1
1
  import { j as jsxRuntimeExports } from "./jsx-runtime-CkWJgiG5.js";
2
2
  import React__default from "react";
3
- import { E as EllipsableContent } from "./EllipsableContent-D5WSnr7s.js";
3
+ import { E as EllipsableContent } from "./EllipsableContent-DA9bhZw-.js";
4
4
  import { T as Title } from "./Title-Bjj6BAK7.js";
5
5
  import classnames from "classnames";
6
6
  import { D as Dropdown, b as AtokaSimpleDropdownToggle } from "./AtokaDropdownToggles-B6q-ieDU.js";
@@ -7,7 +7,7 @@ import { faMinusCircle } from "@fortawesome/pro-light-svg-icons/faMinusCircle";
7
7
  import { faTimes } from "@fortawesome/pro-light-svg-icons/faTimes";
8
8
  import { T as Tooltip } from "./Tooltip-Ds1ht2gU.js";
9
9
  import { B as Button } from "./Button-Bn8PyQFK.js";
10
- import { c as clone } from "./Utils-CXFvxozf.js";
10
+ import { c as clone } from "./Utils-Bpj1pJRF.js";
11
11
  class ClickableExcludableItem extends React__default.PureComponent {
12
12
  static displayName = "ClickableExcludableItem";
13
13
  renderItemButtons() {
@@ -2,7 +2,7 @@ import { j as jsxRuntimeExports } from "./jsx-runtime-CkWJgiG5.js";
2
2
  import classnames from "classnames";
3
3
  import React__default from "react";
4
4
  import { T as Tooltip } from "./Tooltip-Ds1ht2gU.js";
5
- import { f as findChildByComponent } from "./Utils-CXFvxozf.js";
5
+ import { f as findChildByComponent } from "./Utils-Bpj1pJRF.js";
6
6
  const Prepend = (props) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ellipsable-content-prepend", children: props.children });
7
7
  Prepend.displayName = "EllipsableContent.Prepend";
8
8
  const Append = (props) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ellipsable-content-append", children: props.children });
@@ -46,6 +46,7 @@ const FormControlComponent = React__default.forwardRef(
46
46
  isInvalid: props.isInvalid,
47
47
  ref,
48
48
  autoComplete: "off",
49
+ autoFocus: props.autoFocus,
49
50
  children: props.children
50
51
  }
51
52
  );
@@ -5,7 +5,7 @@ import { faCheck } from "@fortawesome/pro-light-svg-icons/faCheck";
5
5
  import { faTimes } from "@fortawesome/pro-light-svg-icons/faTimes";
6
6
  import classnames from "classnames";
7
7
  import { B as Button } from "./Button-Bn8PyQFK.js";
8
- import { F as Form, a as FormControl } from "./Form-l9l_S-Uk.js";
8
+ import { F as Form, a as FormControl } from "./Form-D-8ftG21.js";
9
9
  import { S as SelectDropdown } from "./SelectDropdown-GHblwuD9.js";
10
10
  class InlineStringEditor extends React__default.Component {
11
11
  static displayName = "InlineStringEditor";
@@ -1,8 +1,8 @@
1
1
  import { j as jsxRuntimeExports } from "./jsx-runtime-CkWJgiG5.js";
2
2
  import React__default, { useCallback, useState, useMemo, useEffect } from "react";
3
3
  import classnames from "classnames";
4
- import { a as FormControl } from "./Form-l9l_S-Uk.js";
5
- import { f as findChildByComponent, e as getCurrentOS } from "./Utils-CXFvxozf.js";
4
+ import { a as FormControl } from "./Form-D-8ftG21.js";
5
+ import { f as findChildByComponent, e as getCurrentOS } from "./Utils-Bpj1pJRF.js";
6
6
  import { T as Text } from "./Text-B4AyT0Tx.js";
7
7
  import BsInputGroup from "react-bootstrap/InputGroup";
8
8
  const InputGroupText = React__default.memo((props) => {
@@ -1,6 +1,6 @@
1
1
  import { j as jsxRuntimeExports } from "./jsx-runtime-CkWJgiG5.js";
2
2
  import classnames from "classnames";
3
- import { h as hasChildIconOrCheckboxComponent } from "./Utils-CXFvxozf.js";
3
+ import { h as hasChildIconOrCheckboxComponent } from "./Utils-Bpj1pJRF.js";
4
4
  const ItemImage = ({
5
5
  size = "sm",
6
6
  ...props
@@ -2,7 +2,7 @@ import { j as jsxRuntimeExports } from "./jsx-runtime-CkWJgiG5.js";
2
2
  import React__default from "react";
3
3
  import BsModal from "react-bootstrap/Modal";
4
4
  import classnames from "classnames";
5
- import { f as findChildByComponent } from "./Utils-CXFvxozf.js";
5
+ import { f as findChildByComponent } from "./Utils-Bpj1pJRF.js";
6
6
  function ModalHeader(props) {
7
7
  return /* @__PURE__ */ jsxRuntimeExports.jsx(BsModal.Header, { ...props });
8
8
  }
@@ -1,11 +1,11 @@
1
1
  import { j as jsxRuntimeExports } from "./jsx-runtime-CkWJgiG5.js";
2
- import { useState } from "react";
2
+ import { useState, useCallback } from "react";
3
3
  import Col from "react-bootstrap/Col";
4
4
  import Row from "react-bootstrap/Row";
5
5
  import { B as Button } from "./Button-Bn8PyQFK.js";
6
6
  import { D as DatePicker, p as parse } from "./DatePicker-DLES5hkO.js";
7
- import { T as TabSwitcher } from "./TabSwitcher-jXRZG1zt.js";
8
- import { b as FormControlFeedBack, a as FormControl } from "./Form-l9l_S-Uk.js";
7
+ import { T as TabSwitcher } from "./TabSwitcher-BwM8Io9E.js";
8
+ import { b as FormControlFeedBack, a as FormControl } from "./Form-D-8ftG21.js";
9
9
  const formatOptions = {
10
10
  year: "numeric",
11
11
  month: "numeric",
@@ -59,6 +59,9 @@ function MultiModeDatePicker(props) {
59
59
  });
60
60
  const isDateTwoValid = isDate(dateFromString(inputTwo, props.locale));
61
61
  const isConfirmDisabled = ["one", "two"].includes(showError) || (["before", "after"].includes(activeMode || "") ? !isDateOneValid : !isDateOneValid || !isDateTwoValid);
62
+ const focusRef = useCallback((node) => {
63
+ node?.focus({ preventScroll: true });
64
+ }, []);
62
65
  function handleTabClick(mode) {
63
66
  setActiveMode(mode);
64
67
  setShowError("none");
@@ -72,6 +75,7 @@ function MultiModeDatePicker(props) {
72
75
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Col, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
73
76
  FormControl,
74
77
  {
78
+ ref: focusRef,
75
79
  isInvalid: showError === "one",
76
80
  placeholder: props.beforePlaceholder,
77
81
  value: inputOne,
@@ -84,6 +88,7 @@ function MultiModeDatePicker(props) {
84
88
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Col, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
85
89
  FormControl,
86
90
  {
91
+ ref: focusRef,
87
92
  isInvalid: showError === "one",
88
93
  placeholder: props.afterPlaceholder,
89
94
  value: inputOne,
@@ -97,6 +102,7 @@ function MultiModeDatePicker(props) {
97
102
  /* @__PURE__ */ jsxRuntimeExports.jsx(Col, { className: "pe-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
98
103
  FormControl,
99
104
  {
105
+ ref: focusRef,
100
106
  disabled: showError === "two",
101
107
  isInvalid: showError === "one",
102
108
  placeholder: props.rangePlaceholders[0],
@@ -1,10 +1,10 @@
1
1
  import { j as jsxRuntimeExports } from "./jsx-runtime-CkWJgiG5.js";
2
2
  import React__default from "react";
3
3
  import classnames from "classnames";
4
- import { f as findChildByComponent } from "./Utils-CXFvxozf.js";
5
- import { C as CardTitle, a as CardMenu } from "./CardMenu-CvhJBEHI.js";
4
+ import { f as findChildByComponent } from "./Utils-Bpj1pJRF.js";
5
+ import { C as CardTitle, a as CardMenu } from "./CardMenu-BEJgJfms.js";
6
6
  import { O as OniruCard } from "./OniruCard-g_9qIXxK.js";
7
- import { F as Form } from "./Form-l9l_S-Uk.js";
7
+ import { F as Form } from "./Form-D-8ftG21.js";
8
8
  import Col from "react-bootstrap/Col";
9
9
  import Row from "react-bootstrap/Row";
10
10
  class RowCardLayoutHeader extends React__default.PureComponent {
@@ -1,4 +1,4 @@
1
- import { s as sortObjDesc, c as clone } from "./Utils-CXFvxozf.js";
1
+ import { s as sortObjDesc, c as clone } from "./Utils-Bpj1pJRF.js";
2
2
  function createDataWithOtherSlice(data, otherId, otherLabel, maxSlicesNumber = 0, total, dataValueKey = "value") {
3
3
  let otherValue = 0;
4
4
  const newOtherId = otherId ?? "other";
@@ -6,9 +6,9 @@ import classnames from "classnames";
6
6
  import Col from "react-bootstrap/Col";
7
7
  import { faCircle } from "@fortawesome/pro-solid-svg-icons/faCircle";
8
8
  import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
9
- import { E as EllipsableContent } from "./EllipsableContent-D5WSnr7s.js";
9
+ import { E as EllipsableContent } from "./EllipsableContent-DA9bhZw-.js";
10
10
  import { c as isStringEmpty } from "./Text-DT1G7-vq.js";
11
- import { n as normalizePercentage } from "./Statistics-Coxe2jk5.js";
11
+ import { n as normalizePercentage } from "./Statistics-Bm18tBPk.js";
12
12
  class StatisticsLegendItem extends React__default.PureComponent {
13
13
  static displayName = "StatisticsLegendItem";
14
14
  renderRightBlock() {
@@ -1,6 +1,6 @@
1
1
  import { j as jsxRuntimeExports } from "./jsx-runtime-CkWJgiG5.js";
2
2
  import classnames from "classnames";
3
- import { n as normalizePercentage } from "./Statistics-Coxe2jk5.js";
3
+ import { n as normalizePercentage } from "./Statistics-Bm18tBPk.js";
4
4
  function StatisticsTooltip(props) {
5
5
  function renderSubtitle() {
6
6
  const values = [
@@ -2,9 +2,9 @@ import { j as jsxRuntimeExports } from "./jsx-runtime-CkWJgiG5.js";
2
2
  import classnames from "classnames";
3
3
  import React__default from "react";
4
4
  import ButtonGroup from "react-bootstrap/ButtonGroup";
5
- import { d as deepEqual } from "./Utils-CXFvxozf.js";
5
+ import { d as deepEqual } from "./Utils-Bpj1pJRF.js";
6
6
  import "@fortawesome/react-fontawesome";
7
- import "./Form-l9l_S-Uk.js";
7
+ import "./Form-D-8ftG21.js";
8
8
  import { c as isStringEmpty } from "./Text-DT1G7-vq.js";
9
9
  import "./Style-CSNnkrg3.js";
10
10
  import { B as Badge } from "./Badge-BZz9-F86.js";
@@ -1,7 +1,7 @@
1
1
  import { j as jsxRuntimeExports } from "./jsx-runtime-CkWJgiG5.js";
2
2
  import "@fortawesome/react-fontawesome";
3
3
  import "react";
4
- import "./Form-l9l_S-Uk.js";
4
+ import "./Form-D-8ftG21.js";
5
5
  import { c as isStringEmpty } from "./Text-DT1G7-vq.js";
6
6
  import "./Style-CSNnkrg3.js";
7
7
  function getInitials(fullName) {
@@ -1,6 +1,6 @@
1
1
  import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
2
2
  import React__default from "react";
3
- import { F as Form } from "./Form-l9l_S-Uk.js";
3
+ import { F as Form } from "./Form-D-8ftG21.js";
4
4
  function findChildrenByComponent(children, component) {
5
5
  const ret = [];
6
6
  React__default.Children.forEach(children, (element) => {
@@ -1,5 +1,5 @@
1
1
  import { j as jsxRuntimeExports } from "./jsx-runtime-CkWJgiG5.js";
2
- import { S as StatisticsTooltip } from "./StatisticsTooltip-7DgI4Yoj.js";
2
+ import { S as StatisticsTooltip } from "./StatisticsTooltip-pL9xXE3S.js";
3
3
  function getRenderStatisticsTooltip({
4
4
  tooltipDataLabelKey,
5
5
  tooltipDataValueKey,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaziodati/atoka-design-system",
3
- "version": "10.2.0",
3
+ "version": "10.4.0",
4
4
  "description": "Atoka Design System - React component library (ESM)",
5
5
  "type": "module",
6
6
  "main": "./index.js",