@selfdecode/sd-component-library 4.0.96 → 4.0.98
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/components/checkboxes/checkbox-v2/checkbox-v2.d.ts +2 -1
- package/lib/components/checkboxes/checkbox-v2/index.d.ts +1 -1
- package/lib/components/checkboxes/checkbox-v2/interfaces.d.ts +19 -1
- package/lib/components/utils/anchor/interfaces.d.ts +4 -0
- package/lib/sd-component-library.js +343 -342
- package/lib/sd-component-library100.js +3 -3
- package/lib/sd-component-library101.js +2 -2
- package/lib/sd-component-library102.js +3 -3
- package/lib/sd-component-library103.js +2 -2
- package/lib/sd-component-library105.js +4 -4
- package/lib/sd-component-library107.js +4 -4
- package/lib/sd-component-library113.js +1 -1
- package/lib/sd-component-library118.js +1 -1
- package/lib/sd-component-library119.js +2 -2
- package/lib/sd-component-library121.js +1 -1
- package/lib/sd-component-library122.js +1 -1
- package/lib/sd-component-library127.js +2 -2
- package/lib/sd-component-library128.js +2 -2
- package/lib/sd-component-library130.js +1 -1
- package/lib/sd-component-library134.js +3 -3
- package/lib/sd-component-library135.js +1 -1
- package/lib/sd-component-library137.js +2 -2
- package/lib/sd-component-library15.js +1 -1
- package/lib/sd-component-library168.js +1 -1
- package/lib/sd-component-library169.js +1 -1
- package/lib/sd-component-library172.js +1 -1
- package/lib/sd-component-library173.js +4 -4
- package/lib/sd-component-library174.js +12 -11
- package/lib/sd-component-library174.js.map +1 -1
- package/lib/sd-component-library202.js +1 -1
- package/lib/sd-component-library203.js +1 -1
- package/lib/sd-component-library204.js +3 -25
- package/lib/sd-component-library204.js.map +1 -1
- package/lib/sd-component-library205.js +56 -18
- package/lib/sd-component-library205.js.map +1 -1
- package/lib/sd-component-library206.js +25 -5
- package/lib/sd-component-library206.js.map +1 -1
- package/lib/sd-component-library207.js +19 -5
- package/lib/sd-component-library207.js.map +1 -1
- package/lib/sd-component-library208.js +5 -3
- package/lib/sd-component-library208.js.map +1 -1
- package/lib/sd-component-library209.js +5 -57
- package/lib/sd-component-library209.js.map +1 -1
- package/lib/sd-component-library210.js +18 -65
- package/lib/sd-component-library210.js.map +1 -1
- package/lib/sd-component-library211.js +19 -62
- package/lib/sd-component-library211.js.map +1 -1
- package/lib/sd-component-library212.js +3 -23
- package/lib/sd-component-library212.js.map +1 -1
- package/lib/sd-component-library213.js +3 -40
- package/lib/sd-component-library213.js.map +1 -1
- package/lib/sd-component-library214.js +62 -127
- package/lib/sd-component-library214.js.map +1 -1
- package/lib/sd-component-library215.js +23 -13
- package/lib/sd-component-library215.js.map +1 -1
- package/lib/sd-component-library216.js +40 -14
- 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 -3
- package/lib/sd-component-library218.js.map +1 -1
- package/lib/sd-component-library219.js +14 -3
- package/lib/sd-component-library219.js.map +1 -1
- package/lib/sd-component-library220.js +3 -52
- package/lib/sd-component-library220.js.map +1 -1
- package/lib/sd-component-library221.js +3 -65
- package/lib/sd-component-library221.js.map +1 -1
- package/lib/sd-component-library222.js +65 -3
- package/lib/sd-component-library222.js.map +1 -1
- package/lib/sd-component-library223.js +3 -46
- package/lib/sd-component-library223.js.map +1 -1
- package/lib/sd-component-library224.js +3 -17
- package/lib/sd-component-library224.js.map +1 -1
- package/lib/sd-component-library225.js +51 -17
- package/lib/sd-component-library225.js.map +1 -1
- package/lib/sd-component-library226.js +44 -19
- package/lib/sd-component-library226.js.map +1 -1
- package/lib/sd-component-library227.js +17 -3
- package/lib/sd-component-library227.js.map +1 -1
- package/lib/sd-component-library228.js +26 -3
- package/lib/sd-component-library228.js.map +1 -1
- package/lib/sd-component-library229.js +3 -26
- package/lib/sd-component-library229.js.map +1 -1
- package/lib/sd-component-library23.js +2 -2
- package/lib/sd-component-library232.js +3 -3
- package/lib/sd-component-library234.js +1 -1
- package/lib/sd-component-library235.js +1 -1
- package/lib/sd-component-library236.js +129 -3
- package/lib/sd-component-library236.js.map +1 -1
- package/lib/sd-component-library237.js +43 -129
- package/lib/sd-component-library237.js.map +1 -1
- package/lib/sd-component-library238.js +45 -41
- package/lib/sd-component-library238.js.map +1 -1
- package/lib/sd-component-library239.js +7 -46
- package/lib/sd-component-library239.js.map +1 -1
- package/lib/sd-component-library24.js +2 -2
- package/lib/sd-component-library240.js +64 -8
- package/lib/sd-component-library240.js.map +1 -1
- package/lib/sd-component-library241.js +41 -62
- package/lib/sd-component-library241.js.map +1 -1
- package/lib/sd-component-library242.js +13 -43
- package/lib/sd-component-library242.js.map +1 -1
- package/lib/sd-component-library243.js +21 -13
- package/lib/sd-component-library243.js.map +1 -1
- package/lib/sd-component-library244.js +109 -21
- package/lib/sd-component-library244.js.map +1 -1
- package/lib/sd-component-library245.js +44 -106
- package/lib/sd-component-library245.js.map +1 -1
- package/lib/sd-component-library246.js +23 -46
- package/lib/sd-component-library246.js.map +1 -1
- package/lib/sd-component-library247.js +52 -23
- package/lib/sd-component-library247.js.map +1 -1
- package/lib/sd-component-library248.js +47 -52
- package/lib/sd-component-library248.js.map +1 -1
- package/lib/sd-component-library249.js +73 -46
- package/lib/sd-component-library249.js.map +1 -1
- package/lib/sd-component-library25.js +1 -1
- package/lib/sd-component-library250.js +26 -60
- package/lib/sd-component-library250.js.map +1 -1
- package/lib/sd-component-library251.js +27 -41
- package/lib/sd-component-library251.js.map +1 -1
- package/lib/sd-component-library252.js +21 -27
- package/lib/sd-component-library252.js.map +1 -1
- package/lib/sd-component-library253.js +19 -20
- package/lib/sd-component-library253.js.map +1 -1
- package/lib/sd-component-library254.js +2 -20
- package/lib/sd-component-library254.js.map +1 -1
- package/lib/sd-component-library255.js +325 -2
- package/lib/sd-component-library255.js.map +1 -1
- package/lib/sd-component-library256.js +5 -325
- package/lib/sd-component-library256.js.map +1 -1
- package/lib/sd-component-library257.js +29 -5
- package/lib/sd-component-library257.js.map +1 -1
- package/lib/sd-component-library258.js +3 -29
- package/lib/sd-component-library258.js.map +1 -1
- package/lib/sd-component-library259.js +24 -3
- package/lib/sd-component-library259.js.map +1 -1
- package/lib/sd-component-library260.js +3 -24
- package/lib/sd-component-library260.js.map +1 -1
- package/lib/sd-component-library261.js +25 -3
- package/lib/sd-component-library261.js.map +1 -1
- package/lib/sd-component-library262.js +21 -24
- package/lib/sd-component-library262.js.map +1 -1
- package/lib/sd-component-library263.js +26 -18
- package/lib/sd-component-library263.js.map +1 -1
- package/lib/sd-component-library264.js +51 -30
- package/lib/sd-component-library264.js.map +1 -1
- package/lib/sd-component-library265.js +117 -37
- package/lib/sd-component-library265.js.map +1 -1
- package/lib/sd-component-library266.js +59 -116
- package/lib/sd-component-library266.js.map +1 -1
- package/lib/sd-component-library267.js +54 -52
- package/lib/sd-component-library267.js.map +1 -1
- package/lib/sd-component-library268.js +29 -75
- package/lib/sd-component-library268.js.map +1 -1
- package/lib/sd-component-library269.js +20 -29
- package/lib/sd-component-library269.js.map +1 -1
- package/lib/sd-component-library270.js +121 -17
- package/lib/sd-component-library270.js.map +1 -1
- package/lib/sd-component-library271.js +109 -112
- package/lib/sd-component-library271.js.map +1 -1
- package/lib/sd-component-library272.js +9 -121
- package/lib/sd-component-library272.js.map +1 -1
- package/lib/sd-component-library273.js +49 -9
- package/lib/sd-component-library273.js.map +1 -1
- package/lib/sd-component-library274.js +8 -49
- package/lib/sd-component-library274.js.map +1 -1
- package/lib/sd-component-library275.js +2 -9
- package/lib/sd-component-library275.js.map +1 -1
- package/lib/sd-component-library276.js +2 -2
- package/lib/sd-component-library277.js +51 -2
- package/lib/sd-component-library277.js.map +1 -1
- package/lib/sd-component-library278.js +87 -48
- package/lib/sd-component-library278.js.map +1 -1
- package/lib/sd-component-library279.js +54 -52
- package/lib/sd-component-library279.js.map +1 -1
- package/lib/sd-component-library280.js +48 -91
- package/lib/sd-component-library280.js.map +1 -1
- package/lib/sd-component-library281.js +5 -48
- package/lib/sd-component-library281.js.map +1 -1
- package/lib/sd-component-library285.js +2 -2
- package/lib/sd-component-library286.js +2 -2
- package/lib/sd-component-library287.js +2 -10
- package/lib/sd-component-library287.js.map +1 -1
- package/lib/sd-component-library288.js +36 -6
- package/lib/sd-component-library288.js.map +1 -1
- package/lib/sd-component-library289.js +14 -2
- package/lib/sd-component-library289.js.map +1 -1
- package/lib/sd-component-library290.js +10 -36
- package/lib/sd-component-library290.js.map +1 -1
- package/lib/sd-component-library291.js +2 -14
- package/lib/sd-component-library291.js.map +1 -1
- package/lib/sd-component-library292.js +8 -2
- package/lib/sd-component-library292.js.map +1 -1
- package/lib/sd-component-library293.js +327 -7
- package/lib/sd-component-library293.js.map +1 -1
- package/lib/sd-component-library294.js +48 -325
- package/lib/sd-component-library294.js.map +1 -1
- package/lib/sd-component-library295.js +3 -51
- package/lib/sd-component-library295.js.map +1 -1
- package/lib/sd-component-library296.js +3 -3
- package/lib/sd-component-library296.js.map +1 -1
- package/lib/sd-component-library297.js +3 -3
- package/lib/sd-component-library297.js.map +1 -1
- package/lib/sd-component-library298.js +2 -3
- package/lib/sd-component-library298.js.map +1 -1
- package/lib/sd-component-library299.js +77 -2
- package/lib/sd-component-library299.js.map +1 -1
- package/lib/sd-component-library300.js +82 -66
- package/lib/sd-component-library300.js.map +1 -1
- package/lib/sd-component-library301.js +50 -90
- package/lib/sd-component-library301.js.map +1 -1
- package/lib/sd-component-library302.js +8 -52
- package/lib/sd-component-library302.js.map +1 -1
- package/lib/sd-component-library303.js +4 -8
- package/lib/sd-component-library303.js.map +1 -1
- package/lib/sd-component-library304.js +52 -4
- package/lib/sd-component-library304.js.map +1 -1
- package/lib/sd-component-library305.js +2 -53
- package/lib/sd-component-library305.js.map +1 -1
- package/lib/sd-component-library306.js +2 -2
- package/lib/sd-component-library307.js +9 -2
- package/lib/sd-component-library307.js.map +1 -1
- package/lib/sd-component-library308.js +4 -8
- package/lib/sd-component-library308.js.map +1 -1
- package/lib/sd-component-library309.js +4 -5
- package/lib/sd-component-library309.js.map +1 -1
- package/lib/sd-component-library310.js +19 -4
- package/lib/sd-component-library310.js.map +1 -1
- package/lib/sd-component-library311.js +3 -19
- package/lib/sd-component-library311.js.map +1 -1
- package/lib/sd-component-library312.js +6 -3
- package/lib/sd-component-library312.js.map +1 -1
- package/lib/sd-component-library313.js +57 -5
- package/lib/sd-component-library313.js.map +1 -1
- package/lib/sd-component-library314.js +86 -51
- package/lib/sd-component-library314.js.map +1 -1
- package/lib/sd-component-library315.js +4 -25
- package/lib/sd-component-library315.js.map +1 -1
- package/lib/sd-component-library316.js +34 -50
- package/lib/sd-component-library316.js.map +1 -1
- package/lib/sd-component-library317.js +20 -87
- package/lib/sd-component-library317.js.map +1 -1
- package/lib/sd-component-library318.js +51 -25
- 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-library32.js +78 -14
- package/lib/sd-component-library32.js.map +1 -1
- package/lib/sd-component-library320.js +4 -5
- package/lib/sd-component-library320.js.map +1 -1
- package/lib/sd-component-library321.js +34 -4
- package/lib/sd-component-library321.js.map +1 -1
- package/lib/sd-component-library322.js +24 -29
- package/lib/sd-component-library322.js.map +1 -1
- package/lib/sd-component-library323.js +17 -25
- package/lib/sd-component-library323.js.map +1 -1
- package/lib/sd-component-library324.js +89 -20
- package/lib/sd-component-library324.js.map +1 -1
- package/lib/sd-component-library325.js +32 -90
- package/lib/sd-component-library325.js.map +1 -1
- package/lib/sd-component-library326.js +81 -31
- package/lib/sd-component-library326.js.map +1 -1
- package/lib/sd-component-library33.js +1 -1
- package/lib/sd-component-library33.js.map +1 -1
- package/lib/sd-component-library49.js +1 -1
- package/lib/sd-component-library5.js +1 -1
- package/lib/sd-component-library50.js +1 -1
- package/lib/sd-component-library52.js +3 -3
- package/lib/sd-component-library53.js +2 -2
- package/lib/sd-component-library54.js +2 -2
- package/lib/sd-component-library6.js +1 -1
- package/lib/sd-component-library61.js +1 -1
- package/lib/sd-component-library64.js +1 -1
- package/lib/sd-component-library65.js +2 -2
- package/lib/sd-component-library66.js +1 -1
- package/lib/sd-component-library71.js +2 -2
- package/lib/sd-component-library73.js +3 -3
- package/lib/sd-component-library75.js +2 -2
- package/lib/sd-component-library76.js +3 -3
- package/lib/sd-component-library77.js +1 -1
- package/lib/sd-component-library78.js +1 -1
- package/lib/sd-component-library80.js +1 -1
- package/lib/sd-component-library81.js +1 -1
- package/lib/sd-component-library86.js +1 -1
- package/lib/sd-component-library89.js +1 -1
- package/lib/sd-component-library90.js +4 -4
- package/lib/sd-component-library93.js +4 -4
- package/lib/sd-component-library95.js +6 -6
- package/lib/sd-component-library99.js +2 -2
- package/package.json +1 -1
- package/lib/components/checkboxes/checkbox-v2/partials/checkbox-v2-container/checkbox-v2-container.d.ts +0 -3
- package/lib/components/checkboxes/checkbox-v2/partials/checkbox-v2-container/index.d.ts +0 -2
- package/lib/components/checkboxes/checkbox-v2/partials/checkbox-v2-container/interfaces.d.ts +0 -20
- package/lib/components/checkboxes/checkbox-v2/partials/index.d.ts +0 -1
- package/lib/sd-component-library327.js +0 -85
- package/lib/sd-component-library327.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as n } from "./sd-component-library197.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-library248.js";
|
|
3
|
+
import { CompactDonutGaugeSegment as x } from "./sd-component-library250.js";
|
|
4
|
+
import { CompactDonutGaugeValueIndicator as f } from "./sd-component-library251.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-library197.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-library252.js";
|
|
3
|
+
import { LinearGaugeLabel as d } from "./sd-component-library253.js";
|
|
4
4
|
import { GridCenter as f } from "./sd-component-library42.js";
|
|
5
5
|
import { GridContainerV2 as h } from "./sd-component-library39.js";
|
|
6
6
|
function $(l) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as e } from "./sd-component-library197.js";
|
|
2
|
-
import { isMatchingRange as u } from "./sd-component-
|
|
2
|
+
import { isMatchingRange as u } from "./sd-component-library254.js";
|
|
3
3
|
import { GridCenter as c } from "./sd-component-library42.js";
|
|
4
4
|
import { GridContainerV2 as f } from "./sd-component-library39.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-library252.js";
|
|
6
|
+
import { LinearGaugeLabel as j } from "./sd-component-library253.js";
|
|
7
7
|
const M = ({
|
|
8
8
|
gap: i = 3,
|
|
9
9
|
segmentHeight: l = 8,
|
|
@@ -3,9 +3,9 @@ import { useRef as B, useState as I, useEffect as R } from "react";
|
|
|
3
3
|
import { Box as s } from "rebass";
|
|
4
4
|
import { useBodyScrollLock as E } from "./sd-component-library3.js";
|
|
5
5
|
import { isIOS as F, isPDFFlow as T } from "./sd-component-library4.js";
|
|
6
|
-
import X from "./sd-component-
|
|
6
|
+
import X from "./sd-component-library255.js";
|
|
7
7
|
import { OutsideClickBox as P } from "./sd-component-library11.js";
|
|
8
|
-
import { ReactComponent as z } from "./sd-component-
|
|
8
|
+
import { ReactComponent as z } from "./sd-component-library256.js";
|
|
9
9
|
import { FlexCenter as A } from "./sd-component-library35.js";
|
|
10
10
|
import { Button as D } from "./sd-component-library25.js";
|
|
11
11
|
const r = 500, J = (d) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as r } from "./sd-component-library197.js";
|
|
2
2
|
import { useDependantState as j } from "./sd-component-library3.js";
|
|
3
|
-
import { SquareButton as g } from "./sd-component-
|
|
4
|
-
import { ReactComponent as P } from "./sd-component-
|
|
5
|
-
import { CurrentPage as h } from "./sd-component-
|
|
6
|
-
import { ReactComponent as S } from "./sd-component-
|
|
3
|
+
import { SquareButton as g } from "./sd-component-library257.js";
|
|
4
|
+
import { ReactComponent as P } from "./sd-component-library258.js";
|
|
5
|
+
import { CurrentPage as h } from "./sd-component-library259.js";
|
|
6
|
+
import { ReactComponent as S } from "./sd-component-library260.js";
|
|
7
7
|
import { GridCenter as R } from "./sd-component-library42.js";
|
|
8
8
|
function x(m, t, o, n) {
|
|
9
9
|
t == null || t(o, n), m(o);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as e } from "./sd-component-library197.js";
|
|
2
|
-
import { PaginationBarButton as i } from "./sd-component-
|
|
3
|
-
import { ReactComponent as h } from "./sd-component-
|
|
4
|
-
import { PaginationBarCurrentPage as u } from "./sd-component-
|
|
5
|
-
import { ReactComponent as f } from "./sd-component-
|
|
2
|
+
import { PaginationBarButton as i } from "./sd-component-library261.js";
|
|
3
|
+
import { ReactComponent as h } from "./sd-component-library258.js";
|
|
4
|
+
import { PaginationBarCurrentPage as u } from "./sd-component-library262.js";
|
|
5
|
+
import { ReactComponent as f } from "./sd-component-library260.js";
|
|
6
6
|
import { GridContainerV2 as s } from "./sd-component-library39.js";
|
|
7
7
|
import { ResponsiveTextV2 as j } from "./sd-component-library151.js";
|
|
8
8
|
const k = (a) => {
|
|
@@ -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-library41.js";
|
|
8
8
|
import { ResponsiveTextV2 as Q } from "./sd-component-library151.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-library11.js";
|
|
5
5
|
import { ReactComponent as j } from "./sd-component-library188.js";
|
|
6
|
-
import { CustomOptionBox as C } from "./sd-component-
|
|
6
|
+
import { CustomOptionBox as C } from "./sd-component-library263.js";
|
|
7
7
|
import { GridCenter as S } from "./sd-component-library42.js";
|
|
8
8
|
import { EighteenRegular as d } from "./sd-component-library143.js";
|
|
9
9
|
import { HorizontalDivider as _ } from "./sd-component-library49.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as o } from "./sd-component-library197.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-library11.js";
|
|
5
5
|
import { ReactComponent as h } from "./sd-component-library188.js";
|
|
6
|
-
import { SecondaryCustomSelectorOptionsBox as S } from "./sd-component-
|
|
6
|
+
import { SecondaryCustomSelectorOptionsBox as S } from "./sd-component-library264.js";
|
|
7
7
|
import { GridContainerV2 as g } from "./sd-component-library39.js";
|
|
8
8
|
import { ResponsiveTextV2 as C } from "./sd-component-library151.js";
|
|
9
9
|
import { FlexCenter as j } from "./sd-component-library35.js";
|
|
@@ -5,7 +5,7 @@ import { ReactComponent as x } from "./sd-component-library188.js";
|
|
|
5
5
|
import { ResponsiveTextV2 as f } from "./sd-component-library151.js";
|
|
6
6
|
import { BaseTextV2 as u } from "./sd-component-library139.js";
|
|
7
7
|
import { FlexCenter as h } from "./sd-component-library35.js";
|
|
8
|
-
import { SecondaryCustomSelectorOptionsBox as g } from "./sd-component-
|
|
8
|
+
import { SecondaryCustomSelectorOptionsBox as g } from "./sd-component-library264.js";
|
|
9
9
|
const k = ({
|
|
10
10
|
width: l,
|
|
11
11
|
options: r,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as i } from "./sd-component-library197.js";
|
|
2
2
|
import { useMemo as S, useCallback as p } from "react";
|
|
3
|
-
import { BaseSelectorV2 as u } from "./sd-component-
|
|
3
|
+
import { BaseSelectorV2 as u } from "./sd-component-library265.js";
|
|
4
4
|
const g = ({
|
|
5
5
|
value: s,
|
|
6
6
|
onChange: r,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as o } from "./sd-component-library197.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-library188.js";
|
|
5
|
-
import { CustomScrollableOptionsBox as h } from "./sd-component-
|
|
5
|
+
import { CustomScrollableOptionsBox as h } from "./sd-component-library266.js";
|
|
6
6
|
import { GridContainerV2 as S } from "./sd-component-library39.js";
|
|
7
7
|
import { OutsideClickBox as b } from "./sd-component-library11.js";
|
|
8
8
|
import { ResponsiveTextV2 as C } from "./sd-component-library151.js";
|
|
@@ -2,9 +2,9 @@ import { j as o } from "./sd-component-library197.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-library11.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-library188.js";
|
|
7
|
-
import { CustomScrollableOptionsBox as h } from "./sd-component-
|
|
7
|
+
import { CustomScrollableOptionsBox as h } from "./sd-component-library267.js";
|
|
8
8
|
import { ResponsiveTextV2 as b } from "./sd-component-library151.js";
|
|
9
9
|
const w = (t) => {
|
|
10
10
|
const { leftSlot: s, label: l, value: n, width: c } = t, [e, r] = x(!1), p = () => r(!1), a = () => r((m) => !m);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as t } from "./sd-component-library197.js";
|
|
2
2
|
import { IconButton as s } from "./sd-component-library22.js";
|
|
3
|
-
import { ReactComponent as c } from "./sd-component-
|
|
3
|
+
import { ReactComponent as c } from "./sd-component-library204.js";
|
|
4
4
|
import { EighteenBold as p } from "./sd-component-library142.js";
|
|
5
5
|
import { GridCenter as g } from "./sd-component-library42.js";
|
|
6
6
|
const C = ({
|
|
@@ -2,9 +2,9 @@ import { j as t } from "./sd-component-library197.js";
|
|
|
2
2
|
import { useState as y } from "react";
|
|
3
3
|
import { Flex as m } from "rebass";
|
|
4
4
|
import { useBoundingClientRect as x } from "./sd-component-library3.js";
|
|
5
|
-
import { ArrowButton as l } from "./sd-component-
|
|
6
|
-
import { Mask as p } from "./sd-component-
|
|
7
|
-
import { Tab as A } from "./sd-component-
|
|
5
|
+
import { ArrowButton as l } from "./sd-component-library268.js";
|
|
6
|
+
import { Mask as p } from "./sd-component-library269.js";
|
|
7
|
+
import { Tab as A } from "./sd-component-library270.js";
|
|
8
8
|
import { HorizontalDivider as E } from "./sd-component-library49.js";
|
|
9
9
|
const s = 30, e = `${s}px`, w = "30px";
|
|
10
10
|
function Q({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as t } from "./sd-component-library197.js";
|
|
2
2
|
import { Box as w, Flex as s } from "rebass";
|
|
3
|
-
import { TabV2 as T } from "./sd-component-
|
|
3
|
+
import { TabV2 as T } from "./sd-component-library271.js";
|
|
4
4
|
import { GridContainerV2 as G } from "./sd-component-library39.js";
|
|
5
5
|
const h = 25, b = ({
|
|
6
6
|
tabs: e,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as r } from "./sd-component-library197.js";
|
|
2
2
|
import { useRef as v, useState as w, useEffect as m } from "react";
|
|
3
3
|
import { Box as S } from "rebass";
|
|
4
|
-
import { ScrollableTabWrapper as C } from "./sd-component-
|
|
5
|
-
import { Tab as j } from "./sd-component-
|
|
4
|
+
import { ScrollableTabWrapper as C } from "./sd-component-library272.js";
|
|
5
|
+
import { Tab as j } from "./sd-component-library273.js";
|
|
6
6
|
import { VerticalDivider as E } from "./sd-component-library50.js";
|
|
7
7
|
import { BaseGridContainer as y } from "./sd-component-library36.js";
|
|
8
8
|
import { MaxMaxContainer as L } from "./sd-component-library41.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as i } from "./sd-component-library197.js";
|
|
2
|
-
import { renderUpToFiveCrumbs as o, renderMoreThanFiveCrumbs as m } from "./sd-component-
|
|
2
|
+
import { renderUpToFiveCrumbs as o, renderMoreThanFiveCrumbs as m } from "./sd-component-library205.js";
|
|
3
3
|
import { GridCenter as d } from "./sd-component-library42.js";
|
|
4
4
|
const h = ({
|
|
5
5
|
textTransform: t,
|
|
@@ -4,7 +4,7 @@ import { Flex as s, Box as i } from "rebass";
|
|
|
4
4
|
import { useHover as m } from "./sd-component-library3.js";
|
|
5
5
|
import { ReactComponent as b } from "./sd-component-library188.js";
|
|
6
6
|
import { TriangularPointerIcon as u } from "./sd-component-library191.js";
|
|
7
|
-
import { ActionBox as g } from "./sd-component-
|
|
7
|
+
import { ActionBox as g } from "./sd-component-library228.js";
|
|
8
8
|
import { HorizontalDivider as n } from "./sd-component-library49.js";
|
|
9
9
|
const B = (x) => {
|
|
10
10
|
const {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as o } from "./sd-component-library197.js";
|
|
2
2
|
import { Box as m } from "rebass";
|
|
3
3
|
import { BaseTooltip as c } from "./sd-component-library170.js";
|
|
4
|
-
import { ReactComponent as f } from "./sd-component-
|
|
4
|
+
import { ReactComponent as f } from "./sd-component-library274.js";
|
|
5
5
|
const T = (i) => {
|
|
6
6
|
const {
|
|
7
7
|
tooltipText: n,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as t } from "./sd-component-library197.js";
|
|
2
2
|
import w, { useRef as c, useEffect as y } from "react";
|
|
3
3
|
import { Box as o } from "rebass";
|
|
4
|
-
import { ReactComponent as g } from "./sd-component-
|
|
4
|
+
import { ReactComponent as g } from "./sd-component-library274.js";
|
|
5
5
|
const E = w.forwardRef((x, a) => {
|
|
6
6
|
const {
|
|
7
7
|
placement: e,
|
|
@@ -2,10 +2,10 @@ import { j as o } from "./sd-component-library197.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 { TooltipWithPointerMobile as M } from "./sd-component-
|
|
7
|
-
import { TooltipWithPointerHorizontal as V } from "./sd-component-
|
|
8
|
-
import { TooltipWithPointerVertical as D } from "./sd-component-
|
|
5
|
+
import E from "./sd-component-library255.js";
|
|
6
|
+
import { TooltipWithPointerMobile as M } from "./sd-component-library277.js";
|
|
7
|
+
import { TooltipWithPointerHorizontal as V } from "./sd-component-library278.js";
|
|
8
|
+
import { TooltipWithPointerVertical as D } from "./sd-component-library279.js";
|
|
9
9
|
const f = 200, J = (u) => {
|
|
10
10
|
const {
|
|
11
11
|
children: x,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { Box as
|
|
4
|
-
import { refsManager as
|
|
5
|
-
const
|
|
6
|
-
const e =
|
|
1
|
+
import { j as E } from "./sd-component-library197.js";
|
|
2
|
+
import { useRef as b, useCallback as j, useEffect as l } from "react";
|
|
3
|
+
import { Box as H } from "rebass";
|
|
4
|
+
import { refsManager as h } from "./sd-component-library280.js";
|
|
5
|
+
const Y = (m) => {
|
|
6
|
+
const e = b(), {
|
|
7
7
|
id: n,
|
|
8
8
|
onScrolledToTop: o,
|
|
9
9
|
offsetYAdjustment: r = 0,
|
|
@@ -11,18 +11,19 @@ const O = (m) => {
|
|
|
11
11
|
block: w,
|
|
12
12
|
inline: p,
|
|
13
13
|
children: v,
|
|
14
|
-
|
|
14
|
+
scrollOnInit: g = !0,
|
|
15
|
+
...x
|
|
15
16
|
} = m, s = () => {
|
|
16
17
|
const t = window.location.hash;
|
|
17
|
-
t &&
|
|
18
|
-
}, c =
|
|
18
|
+
t && g && h.scrollToRef(t, { behavior: u, block: w, inline: p });
|
|
19
|
+
}, c = j(() => {
|
|
19
20
|
var a, d;
|
|
20
21
|
const t = window.pageYOffset, i = (a = e.current) == null ? void 0 : a.offsetTop, f = (d = e.current) == null ? void 0 : d.offsetHeight;
|
|
21
22
|
i !== void 0 && f !== void 0 && o && t + r >= i && t + r <= i + f && o(n);
|
|
22
23
|
}, [o, r, n]);
|
|
23
|
-
return
|
|
24
|
+
return l(() => (e.current && h.addRef(n, e), o && document.addEventListener("scroll", c), () => document.removeEventListener("scroll", c)), [n, e, o, c]), l(() => (s(), window.addEventListener("hashchange", s), () => window.removeEventListener("hashchange", s)), []), /* @__PURE__ */ E.jsx(H, { "data-test": "anchor", ref: e, ...x, children: v });
|
|
24
25
|
};
|
|
25
26
|
export {
|
|
26
|
-
|
|
27
|
+
Y as Anchor
|
|
27
28
|
};
|
|
28
29
|
//# sourceMappingURL=sd-component-library174.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library174.js","sources":["../src/components/utils/anchor/anchor.tsx"],"sourcesContent":["import React, { useCallback, useEffect, useRef } from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { AnchorProps } from \"./interfaces\";\nimport { refsManager } from \"./refs-manager\";\n\n/**\n * Anchor component. This component allows scrolling to the components\n * when window hash is changed.\n */\nexport const Anchor: React.FC<AnchorProps> = (props) => {\n const ref = useRef<HTMLDivElement>();\n\n const {\n id: childId,\n onScrolledToTop,\n offsetYAdjustment = 0,\n behavior = \"smooth\",\n block,\n inline,\n children,\n ...boxProps\n } = props;\n\n /**\n * Scroll to the component when window hash is changed.\n */\n const handleHashChange = () => {\n const newHash = window.location.hash;\n if (newHash) refsManager.scrollToRef(newHash, { behavior, block, inline });\n };\n\n /**\n * On every scroll, check if anchor's children are scrolled to the\n * top of screen. If so, call the callback present in the props.\n */\n const handleScroll = useCallback(() => {\n const windowYOffset = window.pageYOffset;\n const elementOffset = ref.current?.offsetTop;\n const elementHeight = ref.current?.offsetHeight;\n\n if (\n elementOffset !== undefined &&\n elementHeight !== undefined &&\n onScrolledToTop &&\n windowYOffset + offsetYAdjustment >= elementOffset &&\n windowYOffset + offsetYAdjustment <= elementOffset + elementHeight\n ) {\n onScrolledToTop(childId);\n }\n }, [onScrolledToTop, offsetYAdjustment, childId]);\n\n /**\n * Register new ref for the provided ID.\n */\n useEffect(() => {\n if (ref.current) refsManager.addRef(childId, ref);\n if (onScrolledToTop) {\n document.addEventListener(\"scroll\", handleScroll);\n }\n\n return () => document.removeEventListener(\"scroll\", handleScroll);\n }, [childId, ref, onScrolledToTop, handleScroll]);\n\n /**\n * Register event listeners for hash change.\n * Remove upon component un-mount.\n */\n useEffect(() => {\n /**\n * Scroll to a component if URL contains a hash on page load.\n */\n handleHashChange();\n\n window.addEventListener(\"hashchange\", handleHashChange);\n\n return () => window.removeEventListener(\"hashchange\", handleHashChange);\n }, []);\n\n return (\n <Box data-test=\"anchor\" ref={ref} {...boxProps}>\n {children}\n </Box>\n );\n};\n"],"names":["Anchor","props","ref","useRef","childId","onScrolledToTop","offsetYAdjustment","behavior","block","inline","children","boxProps","handleHashChange","newHash","refsManager","handleScroll","useCallback","windowYOffset","elementOffset","_a","elementHeight","_b","useEffect","Box"],"mappings":";;;;AAWa,MAAAA,IAAgC,CAACC,MAAU;AACtD,QAAMC,IAAMC,KAEN;AAAA,IACJ,IAAIC;AAAA,IACJ,iBAAAC;AAAA,IACA,mBAAAC,IAAoB;AAAA,IACpB,UAAAC,IAAW;AAAA,IACX,OAAAC;AAAA,IACA,QAAAC;AAAA,IACA,UAAAC;AAAA,IACA,GAAGC;AAAA,EACD,
|
|
1
|
+
{"version":3,"file":"sd-component-library174.js","sources":["../src/components/utils/anchor/anchor.tsx"],"sourcesContent":["import React, { useCallback, useEffect, useRef } from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { AnchorProps } from \"./interfaces\";\nimport { refsManager } from \"./refs-manager\";\n\n/**\n * Anchor component. This component allows scrolling to the components\n * when window hash is changed.\n */\nexport const Anchor: React.FC<AnchorProps> = (props) => {\n const ref = useRef<HTMLDivElement>();\n\n const {\n id: childId,\n onScrolledToTop,\n offsetYAdjustment = 0,\n behavior = \"smooth\",\n block,\n inline,\n children,\n scrollOnInit = true,\n ...boxProps\n } = props;\n\n /**\n * Scroll to the component when window hash is changed.\n */\n const handleHashChange = () => {\n const newHash = window.location.hash;\n if (newHash && scrollOnInit) refsManager.scrollToRef(newHash, { behavior, block, inline });\n };\n\n /**\n * On every scroll, check if anchor's children are scrolled to the\n * top of screen. If so, call the callback present in the props.\n */\n const handleScroll = useCallback(() => {\n const windowYOffset = window.pageYOffset;\n const elementOffset = ref.current?.offsetTop;\n const elementHeight = ref.current?.offsetHeight;\n\n if (\n elementOffset !== undefined &&\n elementHeight !== undefined &&\n onScrolledToTop &&\n windowYOffset + offsetYAdjustment >= elementOffset &&\n windowYOffset + offsetYAdjustment <= elementOffset + elementHeight\n ) {\n onScrolledToTop(childId);\n }\n }, [onScrolledToTop, offsetYAdjustment, childId]);\n\n /**\n * Register new ref for the provided ID.\n */\n useEffect(() => {\n if (ref.current) refsManager.addRef(childId, ref);\n if (onScrolledToTop) {\n document.addEventListener(\"scroll\", handleScroll);\n }\n\n return () => document.removeEventListener(\"scroll\", handleScroll);\n }, [childId, ref, onScrolledToTop, handleScroll]);\n\n /**\n * Register event listeners for hash change.\n * Remove upon component un-mount.\n */\n useEffect(() => {\n /**\n * Scroll to a component if URL contains a hash on page load.\n */\n handleHashChange();\n\n window.addEventListener(\"hashchange\", handleHashChange);\n\n return () => window.removeEventListener(\"hashchange\", handleHashChange);\n }, []);\n\n return (\n <Box data-test=\"anchor\" ref={ref} {...boxProps}>\n {children}\n </Box>\n );\n};\n"],"names":["Anchor","props","ref","useRef","childId","onScrolledToTop","offsetYAdjustment","behavior","block","inline","children","scrollOnInit","boxProps","handleHashChange","newHash","refsManager","handleScroll","useCallback","windowYOffset","elementOffset","_a","elementHeight","_b","useEffect","Box"],"mappings":";;;;AAWa,MAAAA,IAAgC,CAACC,MAAU;AACtD,QAAMC,IAAMC,KAEN;AAAA,IACJ,IAAIC;AAAA,IACJ,iBAAAC;AAAA,IACA,mBAAAC,IAAoB;AAAA,IACpB,UAAAC,IAAW;AAAA,IACX,OAAAC;AAAA,IACA,QAAAC;AAAA,IACA,UAAAC;AAAA,IACA,cAAAC,IAAe;AAAA,IACf,GAAGC;AAAA,EACD,IAAAX,GAKEY,IAAmB,MAAM;AACvB,UAAAC,IAAU,OAAO,SAAS;AAChC,IAAIA,KAAWH,KAAcI,EAAY,YAAYD,GAAS,EAAE,UAAAP,GAAU,OAAAC,GAAO,QAAAC,GAAQ;AAAA,EAAA,GAOrFO,IAAeC,EAAY,MAAM;;AACrC,UAAMC,IAAgB,OAAO,aACvBC,KAAgBC,IAAAlB,EAAI,YAAJ,gBAAAkB,EAAa,WAC7BC,KAAgBC,IAAApB,EAAI,YAAJ,gBAAAoB,EAAa;AAGjC,IAAAH,MAAkB,UAClBE,MAAkB,UAClBhB,KACAa,IAAgBZ,KAAqBa,KACrCD,IAAgBZ,KAAqBa,IAAgBE,KAErDhB,EAAgBD,CAAO;AAAA,EAExB,GAAA,CAACC,GAAiBC,GAAmBF,CAAO,CAAC;AAKhD,SAAAmB,EAAU,OACJrB,EAAI,WAAqBa,EAAA,OAAOX,GAASF,CAAG,GAC5CG,KACO,SAAA,iBAAiB,UAAUW,CAAY,GAG3C,MAAM,SAAS,oBAAoB,UAAUA,CAAY,IAC/D,CAACZ,GAASF,GAAKG,GAAiBW,CAAY,CAAC,GAMhDO,EAAU,OAISV,KAEV,OAAA,iBAAiB,cAAcA,CAAgB,GAE/C,MAAM,OAAO,oBAAoB,cAAcA,CAAgB,IACrE,CAAE,CAAA,yBAGFW,GAAI,EAAA,aAAU,UAAS,KAAAtB,GAAW,GAAGU,GACnC,UAAAF,EACH,CAAA;AAEJ;"}
|
|
@@ -1,28 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { ReactComponent as p } from "./sd-component-library182.js";
|
|
4
|
-
const l = (t) => {
|
|
5
|
-
const { width: n, height: r, fill: e, stroke: i, icon: s } = t, a = s || p;
|
|
6
|
-
return /* @__PURE__ */ o.jsx(
|
|
7
|
-
m,
|
|
8
|
-
{
|
|
9
|
-
sx: {
|
|
10
|
-
width: n || 25,
|
|
11
|
-
height: r || 25,
|
|
12
|
-
fill: e || "purple",
|
|
13
|
-
stroke: i || "none",
|
|
14
|
-
animation: "rotation 2s infinite linear",
|
|
15
|
-
"@keyframes rotation ": {
|
|
16
|
-
from: { transform: "rotate(0deg)" },
|
|
17
|
-
to: { transform: "rotate(359deg)" }
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"data-test": "loading-spinner",
|
|
21
|
-
children: /* @__PURE__ */ o.jsx(a, {})
|
|
22
|
-
}
|
|
23
|
-
);
|
|
24
|
-
};
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
const e = (a) => /* @__PURE__ */ t.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 9.984, height: 6.021, viewBox: "0 0 9.984 6.021", ...a }, /* @__PURE__ */ t.createElement("path", { id: "dropdown_arrow_up", d: "M1262.106,88.295l4.662-4.218a.336.336,0,0,1,.459,0l4.662,4.218a.266.266,0,0,1,0,.416l-.5,1.205a.327.327,0,0,1-.23.091.331.331,0,0,1-.23-.091L1267,86.359l-3.93,3.557a.338.338,0,0,1-.46,0l-.5-1.205a.265.265,0,0,1,0-.416Z", transform: "translate(-1262.005 -83.986)" }));
|
|
25
3
|
export {
|
|
26
|
-
|
|
4
|
+
e as ReactComponent
|
|
27
5
|
};
|
|
28
6
|
//# sourceMappingURL=sd-component-library204.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library204.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library204.js","sources":["../src/components/accordions/base-accordion/assets/dropdown_arrow_up.svg"],"sourcesContent":["export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5Ljk4NCIgaGVpZ2h0PSI2LjAyMSIgdmlld0JveD0iMCAwIDkuOTg0IDYuMDIxIj4NCiAgPHBhdGggaWQ9ImRyb3Bkb3duX2Fycm93X3VwIiBkPSJNMTI2Mi4xMDYsODguMjk1bDQuNjYyLTQuMjE4YS4zMzYuMzM2LDAsMCwxLC40NTksMGw0LjY2Miw0LjIxOGEuMjY2LjI2NiwwLDAsMSwwLC40MTZsLS41LDEuMjA1YS4zMjcuMzI3LDAsMCwxLS4yMy4wOTEuMzMxLjMzMSwwLDAsMS0uMjMtLjA5MUwxMjY3LDg2LjM1OWwtMy45MywzLjU1N2EuMzM4LjMzOCwwLDAsMS0uNDYsMGwtLjUtMS4yMDVhLjI2NS4yNjUsMCwwLDEsMC0uNDE2WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEyNjIuMDA1IC04My45ODYpIi8+DQo8L3N2Zz4NCg==\""],"names":["SvgDropdownArrowUp","props","React"],"mappings":";AACK,MAACA,IAAqB,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,OAAO,QAAQ,OAAO,SAAS,mBAAmB,GAAGD,EAAO,GAAkB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,IAAI,qBAAqB,GAAG,8NAA8N,WAAW,+BAA8B,CAAE,CAAC;"}
|
|
@@ -1,22 +1,60 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
const l = (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
{
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { j as t } from "./sd-component-library197.js";
|
|
2
|
+
import { Crumb as c } from "./sd-component-library16.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;
|
|
18
55
|
};
|
|
19
56
|
export {
|
|
20
|
-
|
|
57
|
+
a as renderMoreThanFiveCrumbs,
|
|
58
|
+
l as renderUpToFiveCrumbs
|
|
21
59
|
};
|
|
22
60
|
//# sourceMappingURL=sd-component-library205.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library205.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library205.js","sources":["../src/components/breadcrumbs/breadcrumb/functions.tsx"],"sourcesContent":["import React, { CSSProperties } from \"react\";\n\nimport { Crumb, CrumbType } from \"./crumb\";\n\nexport const renderUpToFiveCrumbs = (\n crumbs: CrumbType[],\n variant: string | undefined,\n textTransform: CSSProperties[\"textTransform\"]\n) => {\n return crumbs.map(({ title, dontTranslate, onClick }, index: number) => (\n <Crumb\n variant={variant}\n crumb={{ title, dontTranslate }}\n isLast={index === crumbs.length - 1}\n key={title + index}\n textTransform={textTransform}\n onClick={onClick}\n />\n ));\n};\n\nexport const renderMoreThanFiveCrumbs = (\n crumbs: CrumbType[],\n variant: string | undefined,\n textTransform: CSSProperties[\"textTransform\"]\n) => {\n const elements: JSX.Element[] = [];\n\n crumbs\n .slice(0, 2)\n .forEach(({ title, dontTranslate, onClick }, index: number): void => {\n elements.push(\n <Crumb\n variant={variant}\n crumb={{ title, dontTranslate }}\n isLast={false}\n key={title + index}\n textTransform={textTransform}\n onClick={onClick}\n />\n );\n });\n elements.push(\n <Crumb\n variant={variant}\n crumb={{ title: \"...\" }}\n isLast={false}\n textTransform={textTransform}\n key=\"...\"\n />\n );\n\n crumbs\n .slice(crumbs.length - 2, crumbs.length)\n .forEach(({ title, onClick, dontTranslate }, index: number): void => {\n elements.push(\n <Crumb\n variant={variant}\n crumb={{ title, dontTranslate }}\n isLast={index === 1}\n key={title + index}\n textTransform={textTransform}\n onClick={onClick}\n />\n );\n });\n return elements;\n};\n"],"names":["renderUpToFiveCrumbs","crumbs","variant","textTransform","title","dontTranslate","onClick","index","jsx","Crumb","renderMoreThanFiveCrumbs","elements"],"mappings":";;AAIO,MAAMA,IAAuB,CAClCC,GACAC,GACAC,MAEOF,EAAO,IAAI,CAAC,EAAE,OAAAG,GAAO,eAAAC,GAAe,SAAAC,EAAA,GAAWC,MACpDC,gBAAAA,EAAA;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,SAAAP;AAAA,IACA,OAAO,EAAE,OAAAE,GAAO,eAAAC,EAAc;AAAA,IAC9B,QAAQE,MAAUN,EAAO,SAAS;AAAA,IAElC,eAAAE;AAAA,IACA,SAAAG;AAAA,EAAA;AAAA,EAFKF,IAAQG;AAAA,CAIhB,GAGUG,IAA2B,CACtCT,GACAC,GACAC,MACG;AACH,QAAMQ,IAA0B,CAAA;AAG7B,SAAAV,EAAA,MAAM,GAAG,CAAC,EACV,QAAQ,CAAC,EAAE,OAAAG,GAAO,eAAAC,GAAe,SAAAC,EAAQ,GAAGC,MAAwB;AAC1D,IAAAI,EAAA;AAAA,MACPH,gBAAAA,EAAA;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,SAAAP;AAAA,UACA,OAAO,EAAE,OAAAE,GAAO,eAAAC,EAAc;AAAA,UAC9B,QAAQ;AAAA,UAER,eAAAF;AAAA,UACA,SAAAG;AAAA,QAAA;AAAA,QAFKF,IAAQG;AAAA,MAGf;AAAA,IAAA;AAAA,EACF,CACD,GACMI,EAAA;AAAA,IACPH,gBAAAA,EAAA;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,SAAAP;AAAA,QACA,OAAO,EAAE,OAAO,MAAM;AAAA,QACtB,QAAQ;AAAA,QACR,eAAAC;AAAA,MAAA;AAAA,MACI;AAAA,IACN;AAAA,EAAA,GAGFF,EACG,MAAMA,EAAO,SAAS,GAAGA,EAAO,MAAM,EACtC,QAAQ,CAAC,EAAE,OAAAG,GAAO,SAAAE,GAAS,eAAAD,EAAA,GAAiBE,MAAwB;AAC1D,IAAAI,EAAA;AAAA,MACPH,gBAAAA,EAAA;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,SAAAP;AAAA,UACA,OAAO,EAAE,OAAAE,GAAO,eAAAC,EAAc;AAAA,UAC9B,QAAQE,MAAU;AAAA,UAElB,eAAAJ;AAAA,UACA,SAAAG;AAAA,QAAA;AAAA,QAFKF,IAAQG;AAAA,MAGf;AAAA,IAAA;AAAA,EACF,CACD,GACII;AACT;"}
|
|
@@ -1,8 +1,28 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { j as o } from "./sd-component-library197.js";
|
|
2
|
+
import { Box as m } from "rebass";
|
|
3
|
+
import { ReactComponent as p } from "./sd-component-library182.js";
|
|
4
|
+
const l = (t) => {
|
|
5
|
+
const { width: n, height: r, fill: e, stroke: i, icon: s } = t, a = s || p;
|
|
6
|
+
return /* @__PURE__ */ o.jsx(
|
|
7
|
+
m,
|
|
8
|
+
{
|
|
9
|
+
sx: {
|
|
10
|
+
width: n || 25,
|
|
11
|
+
height: r || 25,
|
|
12
|
+
fill: e || "purple",
|
|
13
|
+
stroke: i || "none",
|
|
14
|
+
animation: "rotation 2s infinite linear",
|
|
15
|
+
"@keyframes rotation ": {
|
|
16
|
+
from: { transform: "rotate(0deg)" },
|
|
17
|
+
to: { transform: "rotate(359deg)" }
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"data-test": "loading-spinner",
|
|
21
|
+
children: /* @__PURE__ */ o.jsx(a, {})
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
};
|
|
5
25
|
export {
|
|
6
|
-
l as
|
|
26
|
+
l as LoadingSpinner
|
|
7
27
|
};
|
|
8
28
|
//# sourceMappingURL=sd-component-library206.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library206.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library206.js","sources":["../src/components/animations/loading-spinner/loading-spinner.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { RescanIcon } from \"../../icons\";\nimport { LoadingSpinnerProps as Props } from \"./interfaces\";\n\nexport const LoadingSpinner: React.FC<Props> = (props) => {\n const { width, height, fill, stroke, icon } = props;\n\n const IconComponent = icon || RescanIcon;\n\n return (\n <Box\n sx={{\n width: width || 25,\n height: height || 25,\n fill: fill || \"purple\",\n stroke: stroke || \"none\",\n animation: \"rotation 2s infinite linear\",\n\n \"@keyframes rotation \": {\n from: { transform: \"rotate(0deg)\" },\n to: { transform: \"rotate(359deg)\" },\n },\n }}\n data-test=\"loading-spinner\"\n >\n <IconComponent />\n </Box>\n );\n};\n"],"names":["LoadingSpinner","props","width","height","fill","stroke","icon","IconComponent","RescanIcon","jsx","Box"],"mappings":";;;AAOa,MAAAA,IAAkC,CAACC,MAAU;AACxD,QAAM,EAAE,OAAAC,GAAO,QAAAC,GAAQ,MAAAC,GAAM,QAAAC,GAAQ,MAAAC,EAAS,IAAAL,GAExCM,IAAgBD,KAAQE;AAG5B,SAAAC,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,IAAI;AAAA,QACF,OAAOR,KAAS;AAAA,QAChB,QAAQC,KAAU;AAAA,QAClB,MAAMC,KAAQ;AAAA,QACd,QAAQC,KAAU;AAAA,QAClB,WAAW;AAAA,QAEX,wBAAwB;AAAA,UACtB,MAAM,EAAE,WAAW,eAAe;AAAA,UAClC,IAAI,EAAE,WAAW,iBAAiB;AAAA,QACpC;AAAA,MACF;AAAA,MACA,aAAU;AAAA,MAEV,gCAACE,GAAc,EAAA;AAAA,IAAA;AAAA,EAAA;AAGrB;"}
|
|
@@ -1,8 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { j as a } from "./sd-component-library197.js";
|
|
2
|
+
import { Button as i } from "./sd-component-library25.js";
|
|
3
|
+
const l = (t) => {
|
|
4
|
+
const { variant: n, bg: o = "transparent", children: r } = t;
|
|
5
|
+
return /* @__PURE__ */ a.jsx(
|
|
6
|
+
i,
|
|
7
|
+
{
|
|
8
|
+
"data-testid": "logo-button",
|
|
9
|
+
...t,
|
|
10
|
+
link: "/",
|
|
11
|
+
isInternal: !1,
|
|
12
|
+
padding: "0px",
|
|
13
|
+
bg: o,
|
|
14
|
+
variant: `_logos.${n}`,
|
|
15
|
+
children: r
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
5
19
|
export {
|
|
6
|
-
|
|
20
|
+
l as LogoButton
|
|
7
21
|
};
|
|
8
22
|
//# sourceMappingURL=sd-component-library207.js.map
|