@selfdecode/sd-component-library 4.0.118 → 4.0.119-test2
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.
- package/lib/sd-component-library100.js +2 -2
- package/lib/sd-component-library101.js +3 -3
- package/lib/sd-component-library102.js +2 -2
- package/lib/sd-component-library103.js +3 -3
- package/lib/sd-component-library114.js +1 -1
- package/lib/sd-component-library119.js +1 -1
- package/lib/sd-component-library120.js +2 -2
- package/lib/sd-component-library122.js +1 -1
- package/lib/sd-component-library128.js +1 -1
- package/lib/sd-component-library129.js +1 -1
- package/lib/sd-component-library131.js +1 -1
- package/lib/sd-component-library16.js +1 -1
- package/lib/sd-component-library174.js +26 -22
- package/lib/sd-component-library174.js.map +1 -1
- package/lib/sd-component-library175.js +1 -1
- package/lib/sd-component-library198.js +3 -3
- package/lib/sd-component-library202.js +2 -57
- package/lib/sd-component-library202.js.map +1 -1
- package/lib/sd-component-library203.js +30 -3
- package/lib/sd-component-library203.js.map +1 -1
- package/lib/sd-component-library204.js +598 -24
- package/lib/sd-component-library204.js.map +1 -1
- package/lib/sd-component-library205.js +3 -19
- package/lib/sd-component-library205.js.map +1 -1
- package/lib/sd-component-library206.js +57 -5
- package/lib/sd-component-library206.js.map +1 -1
- package/lib/sd-component-library207.js +25 -5
- package/lib/sd-component-library207.js.map +1 -1
- package/lib/sd-component-library208.js +19 -2
- package/lib/sd-component-library208.js.map +1 -1
- package/lib/sd-component-library209.js +5 -30
- package/lib/sd-component-library209.js.map +1 -1
- package/lib/sd-component-library210.js +5 -599
- package/lib/sd-component-library210.js.map +1 -1
- package/lib/sd-component-library211.js +21 -18
- package/lib/sd-component-library211.js.map +1 -1
- package/lib/sd-component-library212.js +3 -64
- package/lib/sd-component-library212.js.map +1 -1
- package/lib/sd-component-library213.js +3 -23
- package/lib/sd-component-library213.js.map +1 -1
- package/lib/sd-component-library214.js +62 -19
- package/lib/sd-component-library214.js.map +1 -1
- package/lib/sd-component-library215.js +23 -3
- package/lib/sd-component-library215.js.map +1 -1
- package/lib/sd-component-library216.js +40 -3
- package/lib/sd-component-library216.js.map +1 -1
- package/lib/sd-component-library217.js +129 -3
- package/lib/sd-component-library217.js.map +1 -1
- package/lib/sd-component-library218.js +13 -31
- package/lib/sd-component-library218.js.map +1 -1
- package/lib/sd-component-library219.js +3 -19
- package/lib/sd-component-library219.js.map +1 -1
- package/lib/sd-component-library220.js +51 -19
- package/lib/sd-component-library220.js.map +1 -1
- package/lib/sd-component-library221.js +12 -26
- package/lib/sd-component-library221.js.map +1 -1
- package/lib/sd-component-library222.js +3 -33
- package/lib/sd-component-library222.js.map +1 -1
- package/lib/sd-component-library223.js +3 -3
- package/lib/sd-component-library223.js.map +1 -1
- package/lib/sd-component-library224.js +65 -64
- package/lib/sd-component-library224.js.map +1 -1
- package/lib/sd-component-library225.js +3 -43
- package/lib/sd-component-library225.js.map +1 -1
- package/lib/sd-component-library226.js +45 -42
- package/lib/sd-component-library226.js.map +1 -1
- package/lib/sd-component-library227.js +17 -13
- package/lib/sd-component-library227.js.map +1 -1
- package/lib/sd-component-library228.js +17 -20
- package/lib/sd-component-library228.js.map +1 -1
- package/lib/sd-component-library229.js +3 -109
- package/lib/sd-component-library229.js.map +1 -1
- package/lib/sd-component-library230.js +31 -47
- package/lib/sd-component-library230.js.map +1 -1
- package/lib/sd-component-library231.js +19 -24
- package/lib/sd-component-library231.js.map +1 -1
- package/lib/sd-component-library232.js +19 -52
- package/lib/sd-component-library232.js.map +1 -1
- package/lib/sd-component-library233.js +27 -47
- package/lib/sd-component-library233.js.map +1 -1
- package/lib/sd-component-library234.js +30 -72
- package/lib/sd-component-library234.js.map +1 -1
- package/lib/sd-component-library235.js +3 -129
- package/lib/sd-component-library235.js.map +1 -1
- package/lib/sd-component-library236.js +62 -45
- package/lib/sd-component-library236.js.map +1 -1
- package/lib/sd-component-library237.js +42 -7
- package/lib/sd-component-library237.js.map +1 -1
- package/lib/sd-component-library238.js +43 -41
- package/lib/sd-component-library238.js.map +1 -1
- package/lib/sd-component-library239.js +13 -27
- package/lib/sd-component-library239.js.map +1 -1
- package/lib/sd-component-library24.js +2 -2
- package/lib/sd-component-library240.js +128 -20
- package/lib/sd-component-library240.js.map +1 -1
- package/lib/sd-component-library241.js +47 -20
- package/lib/sd-component-library241.js.map +1 -1
- package/lib/sd-component-library242.js +8 -2
- package/lib/sd-component-library242.js.map +1 -1
- package/lib/sd-component-library244.js +21 -40
- package/lib/sd-component-library244.js.map +1 -1
- package/lib/sd-component-library245.js +108 -128
- package/lib/sd-component-library245.js.map +1 -1
- package/lib/sd-component-library246.js +47 -13
- package/lib/sd-component-library246.js.map +1 -1
- package/lib/sd-component-library247.js +24 -14
- package/lib/sd-component-library247.js.map +1 -1
- package/lib/sd-component-library248.js +53 -3
- package/lib/sd-component-library248.js.map +1 -1
- package/lib/sd-component-library249.js +21 -3
- package/lib/sd-component-library249.js.map +1 -1
- package/lib/sd-component-library25.js +2 -2
- package/lib/sd-component-library250.js +20 -3
- package/lib/sd-component-library250.js.map +1 -1
- package/lib/sd-component-library251.js +45 -49
- package/lib/sd-component-library251.js.map +1 -1
- package/lib/sd-component-library252.js +72 -62
- package/lib/sd-component-library252.js.map +1 -1
- package/lib/sd-component-library253.js +41 -3
- package/lib/sd-component-library253.js.map +1 -1
- package/lib/sd-component-library254.js +27 -46
- package/lib/sd-component-library254.js.map +1 -1
- package/lib/sd-component-library255.js +2 -17
- package/lib/sd-component-library255.js.map +1 -1
- package/lib/sd-component-library256.js +6 -6
- package/lib/sd-component-library26.js +1 -1
- package/lib/sd-component-library264.js +30 -51
- package/lib/sd-component-library264.js.map +1 -1
- package/lib/sd-component-library265.js +51 -30
- package/lib/sd-component-library265.js.map +1 -1
- package/lib/sd-component-library266.js +1 -1
- package/lib/sd-component-library276.js +49 -51
- package/lib/sd-component-library276.js.map +1 -1
- package/lib/sd-component-library277.js +48 -87
- package/lib/sd-component-library277.js.map +1 -1
- package/lib/sd-component-library278.js +52 -54
- package/lib/sd-component-library278.js.map +1 -1
- package/lib/sd-component-library279.js +91 -48
- package/lib/sd-component-library279.js.map +1 -1
- package/lib/sd-component-library282.js +2 -3
- package/lib/sd-component-library282.js.map +1 -1
- package/lib/sd-component-library283.js +2 -3
- package/lib/sd-component-library283.js.map +1 -1
- package/lib/sd-component-library284.js +70 -3
- package/lib/sd-component-library284.js.map +1 -1
- package/lib/sd-component-library285.js +102 -6
- package/lib/sd-component-library285.js.map +1 -1
- package/lib/sd-component-library286.js +106 -2
- package/lib/sd-component-library286.js.map +1 -1
- package/lib/sd-component-library287.js +10 -2
- package/lib/sd-component-library287.js.map +1 -1
- package/lib/sd-component-library288.js +6 -10
- package/lib/sd-component-library288.js.map +1 -1
- package/lib/sd-component-library289.js +2 -70
- package/lib/sd-component-library289.js.map +1 -1
- package/lib/sd-component-library290.js +35 -101
- package/lib/sd-component-library290.js.map +1 -1
- package/lib/sd-component-library291.js +14 -106
- package/lib/sd-component-library291.js.map +1 -1
- package/lib/sd-component-library292.js +2 -2
- package/lib/sd-component-library293.js +8 -36
- package/lib/sd-component-library293.js.map +1 -1
- package/lib/sd-component-library294.js +328 -14
- package/lib/sd-component-library294.js.map +1 -1
- package/lib/sd-component-library295.js +51 -2
- package/lib/sd-component-library295.js.map +1 -1
- package/lib/sd-component-library296.js +3 -8
- package/lib/sd-component-library296.js.map +1 -1
- package/lib/sd-component-library297.js +3 -328
- package/lib/sd-component-library297.js.map +1 -1
- package/lib/sd-component-library298.js +3 -51
- package/lib/sd-component-library298.js.map +1 -1
- package/lib/sd-component-library300.js +1 -1
- package/lib/sd-component-library301.js +1 -1
- package/lib/sd-component-library306.js +2 -9
- package/lib/sd-component-library306.js.map +1 -1
- package/lib/sd-component-library307.js +2 -5
- package/lib/sd-component-library307.js.map +1 -1
- package/lib/sd-component-library308.js +8 -3
- package/lib/sd-component-library308.js.map +1 -1
- package/lib/sd-component-library309.js +5 -19
- package/lib/sd-component-library309.js.map +1 -1
- package/lib/sd-component-library310.js +4 -3
- package/lib/sd-component-library310.js.map +1 -1
- package/lib/sd-component-library311.js +19 -2
- package/lib/sd-component-library311.js.map +1 -1
- package/lib/sd-component-library312.js +3 -2
- package/lib/sd-component-library312.js.map +1 -1
- package/lib/sd-component-library314.js +51 -86
- package/lib/sd-component-library314.js.map +1 -1
- package/lib/sd-component-library315.js +25 -50
- package/lib/sd-component-library315.js.map +1 -1
- package/lib/sd-component-library316.js +88 -20
- package/lib/sd-component-library316.js.map +1 -1
- package/lib/sd-component-library317.js +51 -5
- package/lib/sd-component-library317.js.map +1 -1
- package/lib/sd-component-library318.js +5 -4
- package/lib/sd-component-library318.js.map +1 -1
- package/lib/sd-component-library319.js +23 -33
- package/lib/sd-component-library319.js.map +1 -1
- package/lib/sd-component-library320.js +3 -57
- package/lib/sd-component-library320.js.map +1 -1
- package/lib/sd-component-library321.js +34 -25
- package/lib/sd-component-library321.js.map +1 -1
- package/lib/sd-component-library323.js +28 -89
- package/lib/sd-component-library323.js.map +1 -1
- package/lib/sd-component-library324.js +17 -25
- package/lib/sd-component-library324.js.map +1 -1
- package/lib/sd-component-library325.js +89 -20
- package/lib/sd-component-library325.js.map +1 -1
- package/lib/sd-component-library50.js +1 -1
- package/lib/sd-component-library51.js +1 -1
- package/lib/sd-component-library53.js +3 -3
- package/lib/sd-component-library54.js +2 -2
- package/lib/sd-component-library55.js +2 -2
- package/lib/sd-component-library59.js +49 -45
- package/lib/sd-component-library59.js.map +1 -1
- package/lib/sd-component-library6.js +1 -1
- package/lib/sd-component-library62.js +1 -1
- package/lib/sd-component-library63.js +2 -2
- package/lib/sd-component-library64.js +5 -5
- package/lib/sd-component-library65.js +1 -1
- package/lib/sd-component-library66.js +2 -2
- package/lib/sd-component-library67.js +1 -1
- package/lib/sd-component-library7.js +1 -1
- package/lib/sd-component-library72.js +2 -2
- package/lib/sd-component-library74.js +3 -3
- package/lib/sd-component-library76.js +2 -2
- package/lib/sd-component-library77.js +3 -3
- package/lib/sd-component-library78.js +1 -1
- package/lib/sd-component-library79.js +1 -1
- package/lib/sd-component-library81.js +1 -1
- package/lib/sd-component-library82.js +1 -1
- package/lib/sd-component-library88.js +6 -6
- package/lib/sd-component-library89.js +2 -2
- package/lib/sd-component-library90.js +1 -1
- package/lib/sd-component-library91.js +5 -5
- package/lib/sd-component-library92.js +1 -1
- package/lib/sd-component-library94.js +6 -6
- package/lib/sd-component-library95.js +1 -1
- package/lib/sd-component-library96.js +7 -7
- package/lib/sd-component-library97.js +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as o } from "./sd-component-library198.js";
|
|
2
2
|
import { Box as j } from "rebass";
|
|
3
3
|
import { isPDFFlow as g } from "./sd-component-library4.js";
|
|
4
|
-
import { areSegmentsValid as v } from "./sd-component-
|
|
5
|
-
import { Segment as w } from "./sd-component-
|
|
4
|
+
import { areSegmentsValid as v } from "./sd-component-library251.js";
|
|
5
|
+
import { Segment as w } from "./sd-component-library252.js";
|
|
6
6
|
const E = ({
|
|
7
7
|
segments: x,
|
|
8
8
|
outlineWidth: e = 2,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as n } from "./sd-component-library198.js";
|
|
2
|
-
import { areSegmentsValid as h } from "./sd-component-
|
|
3
|
-
import { CompactDonutGaugeSegment as x } from "./sd-component-
|
|
4
|
-
import { CompactDonutGaugeValueIndicator as f } from "./sd-component-
|
|
2
|
+
import { areSegmentsValid as h } from "./sd-component-library251.js";
|
|
3
|
+
import { CompactDonutGaugeSegment as x } from "./sd-component-library253.js";
|
|
4
|
+
import { CompactDonutGaugeValueIndicator as f } from "./sd-component-library254.js";
|
|
5
5
|
const C = ({
|
|
6
6
|
segments: e,
|
|
7
7
|
size: r = 70,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as r } from "./sd-component-library198.js";
|
|
2
|
-
import { LinearGaugeSegment as c } from "./sd-component-
|
|
3
|
-
import { LinearGaugeLabel as d } from "./sd-component-
|
|
2
|
+
import { LinearGaugeSegment as c } from "./sd-component-library249.js";
|
|
3
|
+
import { LinearGaugeLabel as d } from "./sd-component-library250.js";
|
|
4
4
|
import { GridCenter as f } from "./sd-component-library43.js";
|
|
5
5
|
import { GridContainerV2 as h } from "./sd-component-library40.js";
|
|
6
6
|
function $(l) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as e } from "./sd-component-library198.js";
|
|
2
|
-
import { isMatchingRange as u } from "./sd-component-
|
|
2
|
+
import { isMatchingRange as u } from "./sd-component-library255.js";
|
|
3
3
|
import { GridCenter as c } from "./sd-component-library43.js";
|
|
4
4
|
import { GridContainerV2 as f } from "./sd-component-library40.js";
|
|
5
|
-
import { LinearGaugeSegment as d } from "./sd-component-
|
|
6
|
-
import { LinearGaugeLabel as j } from "./sd-component-
|
|
5
|
+
import { LinearGaugeSegment as d } from "./sd-component-library249.js";
|
|
6
|
+
import { LinearGaugeLabel as j } from "./sd-component-library250.js";
|
|
7
7
|
const M = ({
|
|
8
8
|
gap: i = 3,
|
|
9
9
|
segmentHeight: l = 8,
|
|
@@ -3,7 +3,7 @@ import { useMemo as P } from "react";
|
|
|
3
3
|
import { Select as Z } from "@rebass/forms";
|
|
4
4
|
import { Box as q } from "rebass";
|
|
5
5
|
import { useDependantState as G } from "./sd-component-library3.js";
|
|
6
|
-
import { BaseLabel as J } from "./sd-component-
|
|
6
|
+
import { BaseLabel as J } from "./sd-component-library227.js";
|
|
7
7
|
import { MaxMaxContainer as K } from "./sd-component-library42.js";
|
|
8
8
|
import { ResponsiveTextV2 as Q } from "./sd-component-library152.js";
|
|
9
9
|
const U = (s, r, t, d, a, n) => {
|
|
@@ -3,7 +3,7 @@ import u, { useState as h, useMemo as f } from "react";
|
|
|
3
3
|
import { Box as g } from "rebass";
|
|
4
4
|
import { OutsideClickBox as b } from "./sd-component-library12.js";
|
|
5
5
|
import { ReactComponent as j } from "./sd-component-library189.js";
|
|
6
|
-
import { CustomOptionBox as C } from "./sd-component-
|
|
6
|
+
import { CustomOptionBox as C } from "./sd-component-library264.js";
|
|
7
7
|
import { GridCenter as S } from "./sd-component-library43.js";
|
|
8
8
|
import { EighteenRegular as d } from "./sd-component-library144.js";
|
|
9
9
|
import { HorizontalDivider as _ } from "./sd-component-library50.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as o } from "./sd-component-library198.js";
|
|
2
2
|
import { useState as x } from "react";
|
|
3
|
-
import { BaseLabel as f } from "./sd-component-
|
|
3
|
+
import { BaseLabel as f } from "./sd-component-library227.js";
|
|
4
4
|
import { OutsideClickBox as u } from "./sd-component-library12.js";
|
|
5
5
|
import { ReactComponent as h } from "./sd-component-library189.js";
|
|
6
|
-
import { SecondaryCustomSelectorOptionsBox as S } from "./sd-component-
|
|
6
|
+
import { SecondaryCustomSelectorOptionsBox as S } from "./sd-component-library265.js";
|
|
7
7
|
import { GridContainerV2 as g } from "./sd-component-library40.js";
|
|
8
8
|
import { ResponsiveTextV2 as C } from "./sd-component-library152.js";
|
|
9
9
|
import { FlexCenter as j } from "./sd-component-library36.js";
|
|
@@ -5,7 +5,7 @@ import { ReactComponent as x } from "./sd-component-library189.js";
|
|
|
5
5
|
import { ResponsiveTextV2 as f } from "./sd-component-library152.js";
|
|
6
6
|
import { BaseTextV2 as u } from "./sd-component-library140.js";
|
|
7
7
|
import { FlexCenter as h } from "./sd-component-library36.js";
|
|
8
|
-
import { SecondaryCustomSelectorOptionsBox as g } from "./sd-component-
|
|
8
|
+
import { SecondaryCustomSelectorOptionsBox as g } from "./sd-component-library265.js";
|
|
9
9
|
const k = ({
|
|
10
10
|
width: l,
|
|
11
11
|
options: r,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as o } from "./sd-component-library198.js";
|
|
2
2
|
import { useState as x } from "react";
|
|
3
|
-
import { BaseLabel as f } from "./sd-component-
|
|
3
|
+
import { BaseLabel as f } from "./sd-component-library227.js";
|
|
4
4
|
import { ReactComponent as u } from "./sd-component-library189.js";
|
|
5
5
|
import { CustomScrollableOptionsBox as h } from "./sd-component-library267.js";
|
|
6
6
|
import { GridContainerV2 as S } from "./sd-component-library40.js";
|
|
@@ -2,7 +2,7 @@ import { j as o } from "./sd-component-library198.js";
|
|
|
2
2
|
import { useState as x } from "react";
|
|
3
3
|
import { Flex as i } from "rebass";
|
|
4
4
|
import { OutsideClickBox as d } from "./sd-component-library12.js";
|
|
5
|
-
import { BaseLabel as u } from "./sd-component-
|
|
5
|
+
import { BaseLabel as u } from "./sd-component-library227.js";
|
|
6
6
|
import { ReactComponent as f } from "./sd-component-library189.js";
|
|
7
7
|
import { CustomScrollableOptionsBox as h } from "./sd-component-library268.js";
|
|
8
8
|
import { ResponsiveTextV2 as b } from "./sd-component-library152.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as t } from "./sd-component-library198.js";
|
|
2
2
|
import { IconButton as s } from "./sd-component-library23.js";
|
|
3
|
-
import { ReactComponent as c } from "./sd-component-
|
|
3
|
+
import { ReactComponent as c } from "./sd-component-library205.js";
|
|
4
4
|
import { EighteenBold as p } from "./sd-component-library143.js";
|
|
5
5
|
import { GridCenter as g } from "./sd-component-library43.js";
|
|
6
6
|
const C = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as i } from "./sd-component-library198.js";
|
|
2
|
-
import { renderUpToFiveCrumbs as o, renderMoreThanFiveCrumbs as m } from "./sd-component-
|
|
2
|
+
import { renderUpToFiveCrumbs as o, renderMoreThanFiveCrumbs as m } from "./sd-component-library206.js";
|
|
3
3
|
import { GridCenter as d } from "./sd-component-library43.js";
|
|
4
4
|
const h = ({
|
|
5
5
|
textTransform: t,
|
|
@@ -2,11 +2,12 @@ import { j as o } from "./sd-component-library198.js";
|
|
|
2
2
|
import { useState as y, useRef as a } from "react";
|
|
3
3
|
import { Box as z } from "rebass";
|
|
4
4
|
import { useBreakPoints as B, useBodyScrollLock as C } from "./sd-component-library3.js";
|
|
5
|
-
import E from "./sd-component-
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
5
|
+
import { isIOS as E } from "./sd-component-library4.js";
|
|
6
|
+
import M from "./sd-component-library256.js";
|
|
7
|
+
import { TooltipWithPointerMobile as V } from "./sd-component-library277.js";
|
|
8
|
+
import { TooltipWithPointerHorizontal as D } from "./sd-component-library278.js";
|
|
9
|
+
import { TooltipWithPointerVertical as I } from "./sd-component-library279.js";
|
|
10
|
+
const f = 200, N = (u) => {
|
|
10
11
|
const {
|
|
11
12
|
children: x,
|
|
12
13
|
placement: s = "right",
|
|
@@ -14,20 +15,23 @@ const f = 200, J = (u) => {
|
|
|
14
15
|
pointerSize: d = 5,
|
|
15
16
|
tooltipPx: P = "10px",
|
|
16
17
|
tooltipPy: T = "5px",
|
|
17
|
-
tooltipWidth:
|
|
18
|
-
tooltipVisible:
|
|
18
|
+
tooltipWidth: S = "max-content",
|
|
19
|
+
tooltipVisible: j,
|
|
19
20
|
containerSx: b,
|
|
20
21
|
pointerSx: k,
|
|
21
22
|
showMobileVersion: l,
|
|
22
23
|
mobileTitle: w,
|
|
23
|
-
stopPropagation:
|
|
24
|
-
zIndex:
|
|
24
|
+
stopPropagation: O,
|
|
25
|
+
zIndex: R = 10,
|
|
25
26
|
pointerColor: p = "cl_purple",
|
|
26
27
|
...r
|
|
27
|
-
} = u, { isDesktop:
|
|
28
|
-
|
|
29
|
-
}, i = a(null),
|
|
30
|
-
return C(
|
|
28
|
+
} = u, { isDesktop: W } = B(), t = l !== void 0 ? l : !W, [m, g] = y(!1), v = (n) => {
|
|
29
|
+
O && n.stopPropagation(), g((e) => !e);
|
|
30
|
+
}, i = a(null), c = a(null);
|
|
31
|
+
return C(
|
|
32
|
+
c.current,
|
|
33
|
+
t && m && !E()
|
|
34
|
+
), /* @__PURE__ */ o.jsxs(
|
|
31
35
|
z,
|
|
32
36
|
{
|
|
33
37
|
sx: {
|
|
@@ -35,15 +39,15 @@ const f = 200, J = (u) => {
|
|
|
35
39
|
position: "relative",
|
|
36
40
|
...b
|
|
37
41
|
},
|
|
38
|
-
ref:
|
|
42
|
+
ref: c,
|
|
39
43
|
onClick: t ? v : void 0,
|
|
40
44
|
"data-test": "tooltip-with-pointer",
|
|
41
45
|
children: [
|
|
42
46
|
x,
|
|
43
47
|
/* @__PURE__ */ o.jsx(
|
|
44
|
-
|
|
48
|
+
M,
|
|
45
49
|
{
|
|
46
|
-
in: t ?
|
|
50
|
+
in: t ? m : j,
|
|
47
51
|
timeout: { enter: 0, exit: f },
|
|
48
52
|
mountOnEnter: !0,
|
|
49
53
|
unmountOnExit: !0,
|
|
@@ -56,29 +60,29 @@ const f = 200, J = (u) => {
|
|
|
56
60
|
pointerSize: d,
|
|
57
61
|
tooltipPx: P,
|
|
58
62
|
tooltipPy: T,
|
|
59
|
-
tooltipWidth:
|
|
63
|
+
tooltipWidth: S,
|
|
60
64
|
tooltipOffset: h,
|
|
61
65
|
pointerSx: k,
|
|
62
66
|
pointerColor: p
|
|
63
67
|
};
|
|
64
68
|
return t ? /* @__PURE__ */ o.jsx(
|
|
65
|
-
|
|
69
|
+
V,
|
|
66
70
|
{
|
|
67
71
|
...r,
|
|
68
|
-
zIndex:
|
|
72
|
+
zIndex: R,
|
|
69
73
|
mobileTitle: w,
|
|
70
74
|
pointerColor: p,
|
|
71
75
|
ref: i
|
|
72
76
|
}
|
|
73
77
|
) : ["left", "right"].includes(s) ? /* @__PURE__ */ o.jsx(
|
|
74
|
-
|
|
78
|
+
D,
|
|
75
79
|
{
|
|
76
80
|
...r,
|
|
77
81
|
...e,
|
|
78
82
|
ref: i
|
|
79
83
|
}
|
|
80
84
|
) : /* @__PURE__ */ o.jsx(
|
|
81
|
-
|
|
85
|
+
I,
|
|
82
86
|
{
|
|
83
87
|
...r,
|
|
84
88
|
...e,
|
|
@@ -93,6 +97,6 @@ const f = 200, J = (u) => {
|
|
|
93
97
|
);
|
|
94
98
|
};
|
|
95
99
|
export {
|
|
96
|
-
|
|
100
|
+
N as TooltipWithPointer
|
|
97
101
|
};
|
|
98
102
|
//# sourceMappingURL=sd-component-library174.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library174.js","sources":["../src/components/tooltips/tooltip-with-pointer/tooltip-with-pointer.tsx"],"sourcesContent":["import React, { useRef, useState } from \"react\";\nimport { Transition } from \"react-transition-group\";\n\nimport { Box } from \"rebass\";\n\nimport { useBodyScrollLock, useBreakPoints } from \"../../../core/custom-hooks\";\nimport { TooltipWithPointerProps as Props } from \"./interfaces\";\nimport {\n TooltipWithPointerHorizontal,\n TooltipWithPointerMobile,\n TooltipWithPointerVertical,\n} from \"./partials\";\n\nconst animationDuration = 200;\n\nexport const TooltipWithPointer: React.FC<Props> = (props) => {\n const {\n children,\n placement = \"right\",\n tooltipOffset = 5,\n pointerSize = 5,\n tooltipPx = \"10px\",\n tooltipPy = \"5px\",\n tooltipWidth = \"max-content\",\n tooltipVisible,\n containerSx,\n pointerSx,\n showMobileVersion,\n mobileTitle,\n stopPropagation,\n zIndex = 10,\n pointerColor = \"cl_purple\",\n ...restOfProps\n } = props;\n\n const { isDesktop } = useBreakPoints();\n const useMobileStyle =\n showMobileVersion !== undefined ? showMobileVersion : !isDesktop;\n\n const [showTooltip, setShowTooltip] = useState(false);\n const onTooltipClick: React.MouseEventHandler = (event) => {\n stopPropagation && event.stopPropagation();\n setShowTooltip((prev) => !prev);\n };\n\n const tooltipRef = useRef<HTMLDivElement>(null);\n const containerRef = useRef<HTMLDivElement>(null);\n useBodyScrollLock(containerRef.current
|
|
1
|
+
{"version":3,"file":"sd-component-library174.js","sources":["../src/components/tooltips/tooltip-with-pointer/tooltip-with-pointer.tsx"],"sourcesContent":["import React, { useRef, useState } from \"react\";\nimport { Transition } from \"react-transition-group\";\n\nimport { Box } from \"rebass\";\n\nimport { useBodyScrollLock, useBreakPoints } from \"../../../core/custom-hooks\";\nimport { isIOS } from \"../../../core/functions\";\nimport { TooltipWithPointerProps as Props } from \"./interfaces\";\nimport {\n TooltipWithPointerHorizontal,\n TooltipWithPointerMobile,\n TooltipWithPointerVertical,\n} from \"./partials\";\n\nconst animationDuration = 200;\n\nexport const TooltipWithPointer: React.FC<Props> = (props) => {\n const {\n children,\n placement = \"right\",\n tooltipOffset = 5,\n pointerSize = 5,\n tooltipPx = \"10px\",\n tooltipPy = \"5px\",\n tooltipWidth = \"max-content\",\n tooltipVisible,\n containerSx,\n pointerSx,\n showMobileVersion,\n mobileTitle,\n stopPropagation,\n zIndex = 10,\n pointerColor = \"cl_purple\",\n ...restOfProps\n } = props;\n\n const { isDesktop } = useBreakPoints();\n const useMobileStyle =\n showMobileVersion !== undefined ? showMobileVersion : !isDesktop;\n\n const [showTooltip, setShowTooltip] = useState(false);\n const onTooltipClick: React.MouseEventHandler = (event) => {\n stopPropagation && event.stopPropagation();\n setShowTooltip((prev) => !prev);\n };\n\n const tooltipRef = useRef<HTMLDivElement>(null);\n const containerRef = useRef<HTMLDivElement>(null);\n useBodyScrollLock(\n containerRef.current,\n useMobileStyle && showTooltip && !isIOS()\n );\n\n return (\n <Box\n sx={{\n width: \"max-content\",\n position: \"relative\",\n ...containerSx,\n }}\n ref={containerRef}\n onClick={useMobileStyle ? onTooltipClick : undefined}\n data-test=\"tooltip-with-pointer\"\n >\n {children}\n\n <Transition\n in={useMobileStyle ? showTooltip : tooltipVisible}\n timeout={{ enter: 0, exit: animationDuration }}\n mountOnEnter\n unmountOnExit\n nodeRef={tooltipRef}\n >\n {(state) => {\n const commonProps = {\n placement,\n animationDuration,\n state,\n pointerSize,\n tooltipPx,\n tooltipPy,\n tooltipWidth,\n tooltipOffset,\n pointerSx,\n pointerColor,\n };\n\n return useMobileStyle ? (\n <TooltipWithPointerMobile\n {...restOfProps}\n zIndex={zIndex}\n mobileTitle={mobileTitle}\n pointerColor={pointerColor}\n ref={tooltipRef}\n />\n ) : [\"left\", \"right\"].includes(placement) ? (\n <TooltipWithPointerHorizontal\n {...restOfProps}\n {...commonProps}\n ref={tooltipRef}\n />\n ) : (\n <TooltipWithPointerVertical\n {...restOfProps}\n {...commonProps}\n ref={tooltipRef}\n />\n );\n }}\n </Transition>\n </Box>\n );\n};\n"],"names":["animationDuration","TooltipWithPointer","props","children","placement","tooltipOffset","pointerSize","tooltipPx","tooltipPy","tooltipWidth","tooltipVisible","containerSx","pointerSx","showMobileVersion","mobileTitle","stopPropagation","zIndex","pointerColor","restOfProps","isDesktop","useBreakPoints","useMobileStyle","showTooltip","setShowTooltip","useState","onTooltipClick","event","prev","tooltipRef","useRef","containerRef","useBodyScrollLock","isIOS","jsxs","Box","jsx","Transition","state","commonProps","TooltipWithPointerMobile","TooltipWithPointerHorizontal","TooltipWithPointerVertical"],"mappings":";;;;;;;;;AAcA,MAAMA,IAAoB,KAEbC,IAAsC,CAACC,MAAU;AACtD,QAAA;AAAA,IACJ,UAAAC;AAAA,IACA,WAAAC,IAAY;AAAA,IACZ,eAAAC,IAAgB;AAAA,IAChB,aAAAC,IAAc;AAAA,IACd,WAAAC,IAAY;AAAA,IACZ,WAAAC,IAAY;AAAA,IACZ,cAAAC,IAAe;AAAA,IACf,gBAAAC;AAAA,IACA,aAAAC;AAAA,IACA,WAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,aAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,QAAAC,IAAS;AAAA,IACT,cAAAC,IAAe;AAAA,IACf,GAAGC;AAAA,EACD,IAAAhB,GAEE,EAAE,WAAAiB,MAAcC,KAChBC,IACJR,MAAsB,SAAYA,IAAoB,CAACM,GAEnD,CAACG,GAAaC,CAAc,IAAIC,EAAS,EAAK,GAC9CC,IAA0C,CAACC,MAAU;AACzD,IAAAX,KAAmBW,EAAM,mBACVH,EAAA,CAACI,MAAS,CAACA,CAAI;AAAA,EAAA,GAG1BC,IAAaC,EAAuB,IAAI,GACxCC,IAAeD,EAAuB,IAAI;AAChD,SAAAE;AAAA,IACED,EAAa;AAAA,IACbT,KAAkBC,KAAe,CAACU,EAAM;AAAA,EAAA,GAIxCC,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,IAAI;AAAA,QACF,OAAO;AAAA,QACP,UAAU;AAAA,QACV,GAAGvB;AAAA,MACL;AAAA,MACA,KAAKmB;AAAA,MACL,SAAST,IAAiBI,IAAiB;AAAA,MAC3C,aAAU;AAAA,MAET,UAAA;AAAA,QAAAtB;AAAA,QAEDgC,gBAAAA,EAAA;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,IAAIf,IAAiBC,IAAcZ;AAAA,YACnC,SAAS,EAAE,OAAO,GAAG,MAAMV,EAAkB;AAAA,YAC7C,cAAY;AAAA,YACZ,eAAa;AAAA,YACb,SAAS4B;AAAA,YAER,WAACS,MAAU;AACV,oBAAMC,IAAc;AAAA,gBAClB,WAAAlC;AAAA,gBACA,mBAAAJ;AAAA,gBACA,OAAAqC;AAAA,gBACA,aAAA/B;AAAA,gBACA,WAAAC;AAAA,gBACA,WAAAC;AAAA,gBACA,cAAAC;AAAA,gBACA,eAAAJ;AAAA,gBACA,WAAAO;AAAA,gBACA,cAAAK;AAAA,cAAA;AAGF,qBAAOI,IACLc,gBAAAA,EAAA;AAAA,gBAACI;AAAA,gBAAA;AAAA,kBACE,GAAGrB;AAAA,kBACJ,QAAAF;AAAA,kBACA,aAAAF;AAAA,kBACA,cAAAG;AAAA,kBACA,KAAKW;AAAA,gBAAA;AAAA,cAAA,IAEL,CAAC,QAAQ,OAAO,EAAE,SAASxB,CAAS,IACtC+B,gBAAAA,EAAA;AAAA,gBAACK;AAAA,gBAAA;AAAA,kBACE,GAAGtB;AAAA,kBACH,GAAGoB;AAAA,kBACJ,KAAKV;AAAA,gBAAA;AAAA,cAAA,IAGPO,gBAAAA,EAAA;AAAA,gBAACM;AAAA,gBAAA;AAAA,kBACE,GAAGvB;AAAA,kBACH,GAAGoB;AAAA,kBACJ,KAAKV;AAAA,gBAAA;AAAA,cAAA;AAAA,YAGX;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as E } from "./sd-component-library198.js";
|
|
2
2
|
import { useRef as b, useCallback as j, useEffect as l } from "react";
|
|
3
3
|
import { Box as H } from "rebass";
|
|
4
|
-
import { refsManager as h } from "./sd-component-
|
|
4
|
+
import { refsManager as h } from "./sd-component-library276.js";
|
|
5
5
|
const Y = (m) => {
|
|
6
6
|
const e = b(), {
|
|
7
7
|
id: n,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { __module as e } from "./sd-component-
|
|
2
|
-
import { __require as r } from "./sd-component-
|
|
3
|
-
import { __require as o } from "./sd-component-
|
|
1
|
+
import { __module as e } from "./sd-component-library202.js";
|
|
2
|
+
import { __require as r } from "./sd-component-library203.js";
|
|
3
|
+
import { __require as o } from "./sd-component-library204.js";
|
|
4
4
|
process.env.NODE_ENV === "production" ? e.exports = r() : e.exports = o();
|
|
5
5
|
var m = e.exports;
|
|
6
6
|
export {
|
|
@@ -1,60 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { Crumb as c } from "./sd-component-library17.js";
|
|
3
|
-
const l = (s, h, p) => s.map(({ title: e, dontTranslate: r, onClick: u }, o) => /* @__PURE__ */ t.jsx(
|
|
4
|
-
c,
|
|
5
|
-
{
|
|
6
|
-
variant: h,
|
|
7
|
-
crumb: { title: e, dontTranslate: r },
|
|
8
|
-
isLast: o === s.length - 1,
|
|
9
|
-
textTransform: p,
|
|
10
|
-
onClick: u
|
|
11
|
-
},
|
|
12
|
-
e + o
|
|
13
|
-
)), a = (s, h, p) => {
|
|
14
|
-
const e = [];
|
|
15
|
-
return s.slice(0, 2).forEach(({ title: r, dontTranslate: u, onClick: o }, m) => {
|
|
16
|
-
e.push(
|
|
17
|
-
/* @__PURE__ */ t.jsx(
|
|
18
|
-
c,
|
|
19
|
-
{
|
|
20
|
-
variant: h,
|
|
21
|
-
crumb: { title: r, dontTranslate: u },
|
|
22
|
-
isLast: !1,
|
|
23
|
-
textTransform: p,
|
|
24
|
-
onClick: o
|
|
25
|
-
},
|
|
26
|
-
r + m
|
|
27
|
-
)
|
|
28
|
-
);
|
|
29
|
-
}), e.push(
|
|
30
|
-
/* @__PURE__ */ t.jsx(
|
|
31
|
-
c,
|
|
32
|
-
{
|
|
33
|
-
variant: h,
|
|
34
|
-
crumb: { title: "..." },
|
|
35
|
-
isLast: !1,
|
|
36
|
-
textTransform: p
|
|
37
|
-
},
|
|
38
|
-
"..."
|
|
39
|
-
)
|
|
40
|
-
), s.slice(s.length - 2, s.length).forEach(({ title: r, onClick: u, dontTranslate: o }, m) => {
|
|
41
|
-
e.push(
|
|
42
|
-
/* @__PURE__ */ t.jsx(
|
|
43
|
-
c,
|
|
44
|
-
{
|
|
45
|
-
variant: h,
|
|
46
|
-
crumb: { title: r, dontTranslate: o },
|
|
47
|
-
isLast: m === 1,
|
|
48
|
-
textTransform: p,
|
|
49
|
-
onClick: u
|
|
50
|
-
},
|
|
51
|
-
r + m
|
|
52
|
-
)
|
|
53
|
-
);
|
|
54
|
-
}), e;
|
|
55
|
-
};
|
|
1
|
+
var e = { exports: {} };
|
|
56
2
|
export {
|
|
57
|
-
|
|
58
|
-
l as renderUpToFiveCrumbs
|
|
3
|
+
e as __module
|
|
59
4
|
};
|
|
60
5
|
//# sourceMappingURL=sd-component-library202.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library202.js","sources":[
|
|
1
|
+
{"version":3,"file":"sd-component-library202.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,6 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { __exports as t } from "./sd-component-library280.js";
|
|
2
|
+
import R from "react";
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* react-jsx-runtime.production.min.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var p;
|
|
13
|
+
function v() {
|
|
14
|
+
if (p)
|
|
15
|
+
return t;
|
|
16
|
+
p = 1;
|
|
17
|
+
var s = R, m = Symbol.for("react.element"), l = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, a = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function i(o, r, u) {
|
|
19
|
+
var e, n = {}, _ = null, f = null;
|
|
20
|
+
u !== void 0 && (_ = "" + u), r.key !== void 0 && (_ = "" + r.key), r.ref !== void 0 && (f = r.ref);
|
|
21
|
+
for (e in r)
|
|
22
|
+
c.call(r, e) && !d.hasOwnProperty(e) && (n[e] = r[e]);
|
|
23
|
+
if (o && o.defaultProps)
|
|
24
|
+
for (e in r = o.defaultProps, r)
|
|
25
|
+
n[e] === void 0 && (n[e] = r[e]);
|
|
26
|
+
return { $$typeof: m, type: o, key: _, ref: f, props: n, _owner: a.current };
|
|
27
|
+
}
|
|
28
|
+
return t.Fragment = l, t.jsx = i, t.jsxs = i, t;
|
|
29
|
+
}
|
|
3
30
|
export {
|
|
4
|
-
|
|
31
|
+
v as __require
|
|
5
32
|
};
|
|
6
33
|
//# sourceMappingURL=sd-component-library203.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library203.js","sources":["../
|
|
1
|
+
{"version":3,"file":"sd-component-library203.js","sources":["../node_modules/react/cjs/react-jsx-runtime.production.min.js"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n"],"names":["f","require$$0","k","m","n","p","q","c","a","g","b","d","e","h","reactJsxRuntime_production_min"],"mappings":";;;;;;;;;;;;;;;;AASa,MAAIA,IAAEC,GAAiBC,IAAE,OAAO,IAAI,eAAe,GAAE,IAAE,OAAO,IAAI,gBAAgB,GAAEC,IAAE,OAAO,UAAU,gBAAeC,IAAEJ,EAAE,mDAAmD,mBAAkBK,IAAE,EAAC,KAAI,IAAG,KAAI,IAAG,QAAO,IAAG,UAAS,GAAE;AAClP,WAASC,EAAEC,GAAEC,GAAEC,GAAE;AAAC,QAAIC,GAAEC,IAAE,IAAGC,IAAE,MAAKC,IAAE;AAAK,IAASJ,MAAT,WAAaG,IAAE,KAAGH,IAAYD,EAAE,QAAX,WAAiBI,IAAE,KAAGJ,EAAE,MAAcA,EAAE,QAAX,WAAiBK,IAAEL,EAAE;AAAK,SAAIE,KAAKF;AAAE,MAAAL,EAAE,KAAKK,GAAEE,CAAC,KAAG,CAACL,EAAE,eAAeK,CAAC,MAAIC,EAAED,CAAC,IAAEF,EAAEE,CAAC;AAAG,QAAGH,KAAGA,EAAE;AAAa,WAAIG,KAAKF,IAAED,EAAE,cAAaC;AAAE,QAASG,EAAED,CAAC,MAAZ,WAAgBC,EAAED,CAAC,IAAEF,EAAEE,CAAC;AAAG,WAAM,EAAC,UAASR,GAAE,MAAKK,GAAE,KAAIK,GAAE,KAAIC,GAAE,OAAMF,GAAE,QAAOP,EAAE,QAAO;AAAA,EAAC;AAAC,SAAAU,aAAiB,GAAEA,EAAW,MAACR,GAAEQ,EAAA,OAAaR;;","x_google_ignoreList":[0]}
|