@selfdecode/sd-component-library 4.0.138 → 4.0.140
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/buttons/button/interfaces.d.ts +1 -0
- 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-library106.js +2 -2
- package/lib/sd-component-library112.js +1 -1
- package/lib/sd-component-library117.js +1 -1
- package/lib/sd-component-library118.js +2 -2
- package/lib/sd-component-library120.js +1 -1
- package/lib/sd-component-library121.js +1 -1
- package/lib/sd-component-library126.js +2 -2
- package/lib/sd-component-library127.js +2 -2
- package/lib/sd-component-library129.js +1 -1
- package/lib/sd-component-library130.js +15 -14
- package/lib/sd-component-library130.js.map +1 -1
- package/lib/sd-component-library133.js +3 -3
- package/lib/sd-component-library134.js +1 -1
- package/lib/sd-component-library136.js +2 -2
- package/lib/sd-component-library16.js +1 -1
- package/lib/sd-component-library167.js +1 -1
- package/lib/sd-component-library168.js +1 -1
- package/lib/sd-component-library171.js +1 -1
- package/lib/sd-component-library172.js +4 -4
- package/lib/sd-component-library202.js +1 -1
- package/lib/sd-component-library203.js +1 -1
- package/lib/sd-component-library204.js +26 -3
- package/lib/sd-component-library204.js.map +1 -1
- package/lib/sd-component-library205.js +3 -57
- package/lib/sd-component-library205.js.map +1 -1
- package/lib/sd-component-library206.js +17 -25
- package/lib/sd-component-library206.js.map +1 -1
- package/lib/sd-component-library207.js +21 -18
- package/lib/sd-component-library207.js.map +1 -1
- package/lib/sd-component-library208.js +3 -64
- package/lib/sd-component-library208.js.map +1 -1
- package/lib/sd-component-library209.js +3 -23
- package/lib/sd-component-library209.js.map +1 -1
- package/lib/sd-component-library210.js +55 -31
- package/lib/sd-component-library210.js.map +1 -1
- package/lib/sd-component-library211.js +21 -127
- package/lib/sd-component-library211.js.map +1 -1
- package/lib/sd-component-library212.js +57 -13
- package/lib/sd-component-library212.js.map +1 -1
- package/lib/sd-component-library213.js +40 -14
- package/lib/sd-component-library213.js.map +1 -1
- package/lib/sd-component-library214.js +129 -3
- package/lib/sd-component-library214.js.map +1 -1
- package/lib/sd-component-library215.js +13 -3
- package/lib/sd-component-library215.js.map +1 -1
- package/lib/sd-component-library216.js +3 -65
- package/lib/sd-component-library216.js.map +1 -1
- package/lib/sd-component-library217.js +52 -3
- package/lib/sd-component-library217.js.map +1 -1
- package/lib/sd-component-library218.js +14 -3
- package/lib/sd-component-library218.js.map +1 -1
- package/lib/sd-component-library219.js +3 -52
- package/lib/sd-component-library219.js.map +1 -1
- package/lib/sd-component-library220.js +3 -46
- package/lib/sd-component-library220.js.map +1 -1
- package/lib/sd-component-library221.js +46 -17
- package/lib/sd-component-library221.js.map +1 -1
- package/lib/sd-component-library222.js +64 -20
- package/lib/sd-component-library222.js.map +1 -1
- package/lib/sd-component-library223.js +2 -2
- package/lib/sd-component-library223.js.map +1 -1
- package/lib/sd-component-library224.js +17 -3
- package/lib/sd-component-library224.js.map +1 -1
- package/lib/sd-component-library225.js +3 -26
- package/lib/sd-component-library225.js.map +1 -1
- package/lib/sd-component-library226.js +31 -3
- package/lib/sd-component-library226.js.map +1 -1
- package/lib/sd-component-library227.js +19 -31
- package/lib/sd-component-library227.js.map +1 -1
- package/lib/sd-component-library228.js +20 -19
- package/lib/sd-component-library228.js.map +1 -1
- package/lib/sd-component-library229.js +28 -20
- package/lib/sd-component-library229.js.map +1 -1
- package/lib/sd-component-library230.js +32 -27
- package/lib/sd-component-library230.js.map +1 -1
- package/lib/sd-component-library231.js +3 -33
- package/lib/sd-component-library231.js.map +1 -1
- package/lib/sd-component-library232.js +129 -3
- package/lib/sd-component-library232.js.map +1 -1
- package/lib/sd-component-library233.js +43 -129
- package/lib/sd-component-library233.js.map +1 -1
- package/lib/sd-component-library234.js +45 -41
- package/lib/sd-component-library234.js.map +1 -1
- package/lib/sd-component-library235.js +7 -46
- package/lib/sd-component-library235.js.map +1 -1
- package/lib/sd-component-library236.js +64 -8
- package/lib/sd-component-library236.js.map +1 -1
- package/lib/sd-component-library237.js +41 -62
- package/lib/sd-component-library237.js.map +1 -1
- package/lib/sd-component-library238.js +13 -43
- package/lib/sd-component-library238.js.map +1 -1
- package/lib/sd-component-library239.js +47 -12
- package/lib/sd-component-library239.js.map +1 -1
- package/lib/sd-component-library24.js +88 -87
- package/lib/sd-component-library24.js.map +1 -1
- package/lib/sd-component-library240.js +75 -21
- package/lib/sd-component-library240.js.map +1 -1
- package/lib/sd-component-library241.js +35 -103
- package/lib/sd-component-library241.js.map +1 -1
- package/lib/sd-component-library242.js +27 -47
- package/lib/sd-component-library242.js.map +1 -1
- package/lib/sd-component-library243.js +21 -24
- package/lib/sd-component-library243.js.map +1 -1
- package/lib/sd-component-library244.js +103 -47
- package/lib/sd-component-library244.js.map +1 -1
- package/lib/sd-component-library245.js +45 -46
- package/lib/sd-component-library245.js.map +1 -1
- package/lib/sd-component-library246.js +23 -74
- package/lib/sd-component-library246.js.map +1 -1
- package/lib/sd-component-library247.js +52 -40
- package/lib/sd-component-library247.js.map +1 -1
- package/lib/sd-component-library248.js +21 -27
- package/lib/sd-component-library248.js.map +1 -1
- package/lib/sd-component-library249.js +19 -20
- package/lib/sd-component-library249.js.map +1 -1
- package/lib/sd-component-library250.js +2 -20
- package/lib/sd-component-library250.js.map +1 -1
- package/lib/sd-component-library251.js +325 -2
- package/lib/sd-component-library251.js.map +1 -1
- package/lib/sd-component-library252.js +5 -325
- package/lib/sd-component-library252.js.map +1 -1
- package/lib/sd-component-library253.js +26 -5
- package/lib/sd-component-library253.js.map +1 -1
- package/lib/sd-component-library258.js +127 -18
- package/lib/sd-component-library258.js.map +1 -1
- package/lib/sd-component-library259.js +26 -18
- package/lib/sd-component-library259.js.map +1 -1
- package/lib/sd-component-library260.js +51 -30
- package/lib/sd-component-library260.js.map +1 -1
- package/lib/sd-component-library261.js +62 -39
- package/lib/sd-component-library261.js.map +1 -1
- package/lib/sd-component-library262.js +62 -120
- package/lib/sd-component-library262.js.map +1 -1
- package/lib/sd-component-library263.js +9 -74
- package/lib/sd-component-library263.js.map +1 -1
- package/lib/sd-component-library264.js +47 -72
- package/lib/sd-component-library264.js.map +1 -1
- package/lib/sd-component-library265.js +85 -25
- package/lib/sd-component-library265.js.map +1 -1
- package/lib/sd-component-library266.js +90 -19
- package/lib/sd-component-library266.js.map +1 -1
- package/lib/sd-component-library267.js +25 -120
- package/lib/sd-component-library267.js.map +1 -1
- package/lib/sd-component-library268.js +16 -117
- package/lib/sd-component-library268.js.map +1 -1
- package/lib/sd-component-library269.js +125 -10
- package/lib/sd-component-library269.js.map +1 -1
- package/lib/sd-component-library270.js +9 -49
- package/lib/sd-component-library270.js.map +1 -1
- package/lib/sd-component-library271.js +49 -8
- package/lib/sd-component-library271.js.map +1 -1
- package/lib/sd-component-library272.js +117 -46
- package/lib/sd-component-library272.js.map +1 -1
- package/lib/sd-component-library273.js +2 -90
- package/lib/sd-component-library273.js.map +1 -1
- package/lib/sd-component-library274.js +2 -92
- package/lib/sd-component-library274.js.map +1 -1
- package/lib/sd-component-library275.js +25 -2
- package/lib/sd-component-library275.js.map +1 -1
- package/lib/sd-component-library276.js +22 -2
- package/lib/sd-component-library276.js.map +1 -1
- package/lib/sd-component-library279.js +10 -70
- package/lib/sd-component-library279.js.map +1 -1
- package/lib/sd-component-library280.js +69 -101
- package/lib/sd-component-library280.js.map +1 -1
- package/lib/sd-component-library281.js +91 -95
- package/lib/sd-component-library281.js.map +1 -1
- package/lib/sd-component-library282.js +106 -10
- package/lib/sd-component-library282.js.map +1 -1
- package/lib/sd-component-library286.js +4 -4
- package/lib/sd-component-library287.js +3 -2
- package/lib/sd-component-library287.js.map +1 -1
- package/lib/sd-component-library288.js +3 -8
- package/lib/sd-component-library288.js.map +1 -1
- package/lib/sd-component-library289.js +3 -328
- package/lib/sd-component-library289.js.map +1 -1
- package/lib/sd-component-library290.js +2 -51
- package/lib/sd-component-library290.js.map +1 -1
- package/lib/sd-component-library291.js +8 -3
- package/lib/sd-component-library291.js.map +1 -1
- package/lib/sd-component-library292.js +328 -3
- package/lib/sd-component-library292.js.map +1 -1
- package/lib/sd-component-library293.js +51 -3
- package/lib/sd-component-library293.js.map +1 -1
- package/lib/sd-component-library311.js +89 -47
- package/lib/sd-component-library311.js.map +1 -1
- package/lib/sd-component-library312.js +47 -89
- package/lib/sd-component-library312.js.map +1 -1
- package/lib/sd-component-library313.js +33 -23
- package/lib/sd-component-library313.js.map +1 -1
- package/lib/sd-component-library314.js +23 -33
- package/lib/sd-component-library314.js.map +1 -1
- package/lib/sd-component-library318.js +1 -1
- package/lib/sd-component-library48.js +1 -1
- package/lib/sd-component-library49.js +1 -1
- package/lib/sd-component-library51.js +3 -3
- package/lib/sd-component-library52.js +2 -2
- package/lib/sd-component-library53.js +2 -2
- package/lib/sd-component-library6.js +1 -1
- package/lib/sd-component-library60.js +1 -1
- package/lib/sd-component-library62.js +3 -3
- package/lib/sd-component-library63.js +1 -1
- package/lib/sd-component-library64.js +2 -2
- package/lib/sd-component-library65.js +1 -1
- package/lib/sd-component-library7.js +1 -1
- package/lib/sd-component-library70.js +2 -2
- package/lib/sd-component-library72.js +3 -3
- package/lib/sd-component-library74.js +2 -2
- package/lib/sd-component-library75.js +3 -3
- package/lib/sd-component-library76.js +1 -1
- package/lib/sd-component-library77.js +1 -1
- package/lib/sd-component-library79.js +1 -1
- package/lib/sd-component-library80.js +1 -1
- package/lib/sd-component-library85.js +1 -1
- package/lib/sd-component-library86.js +6 -6
- package/lib/sd-component-library87.js +2 -2
- package/lib/sd-component-library88.js +1 -1
- package/lib/sd-component-library89.js +5 -5
- package/lib/sd-component-library90.js +1 -1
- package/lib/sd-component-library92.js +6 -6
- package/lib/sd-component-library93.js +1 -1
- package/lib/sd-component-library94.js +7 -7
- package/lib/sd-component-library95.js +1 -1
- package/lib/sd-component-library98.js +2 -2
- package/lib/sd-component-library99.js +3 -3
- package/package.json +1 -1
|
@@ -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-library248.js";
|
|
3
|
+
import { LinearGaugeLabel as d } from "./sd-component-library249.js";
|
|
4
4
|
import { GridCenter as f } from "./sd-component-library41.js";
|
|
5
5
|
import { GridContainerV2 as h } from "./sd-component-library38.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-library250.js";
|
|
3
3
|
import { GridCenter as c } from "./sd-component-library41.js";
|
|
4
4
|
import { GridContainerV2 as f } from "./sd-component-library38.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-library248.js";
|
|
6
|
+
import { LinearGaugeLabel as j } from "./sd-component-library249.js";
|
|
7
7
|
const M = ({
|
|
8
8
|
gap: i = 3,
|
|
9
9
|
segmentHeight: l = 8,
|
|
@@ -3,9 +3,9 @@ import { useRef as R, useState as T, useEffect as E } from "react";
|
|
|
3
3
|
import { Box as d } from "rebass";
|
|
4
4
|
import { useBodyScrollLock as L } from "./sd-component-library3.js";
|
|
5
5
|
import { isIOS as X, generateTestLocator as c } from "./sd-component-library4.js";
|
|
6
|
-
import $ from "./sd-component-
|
|
6
|
+
import $ from "./sd-component-library251.js";
|
|
7
7
|
import { OutsideClickBox as z } from "./sd-component-library12.js";
|
|
8
|
-
import { ReactComponent as A } from "./sd-component-
|
|
8
|
+
import { ReactComponent as A } from "./sd-component-library252.js";
|
|
9
9
|
import { FlexCenter as F } from "./sd-component-library34.js";
|
|
10
10
|
import { Button as H } from "./sd-component-library24.js";
|
|
11
11
|
const a = 500, K = (p) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as e } from "./sd-component-library197.js";
|
|
2
|
-
import { PaginationBarButton as i } from "./sd-component-
|
|
2
|
+
import { PaginationBarButton as i } from "./sd-component-library275.js";
|
|
3
3
|
import { ReactComponent as h } from "./sd-component-library255.js";
|
|
4
|
-
import { PaginationBarCurrentPage as u } from "./sd-component-
|
|
4
|
+
import { PaginationBarCurrentPage as u } from "./sd-component-library276.js";
|
|
5
5
|
import { ReactComponent as f } from "./sd-component-library257.js";
|
|
6
6
|
import { GridContainerV2 as s } from "./sd-component-library38.js";
|
|
7
7
|
import { ResponsiveTextV2 as j } from "./sd-component-library150.js";
|
|
@@ -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-library224.js";
|
|
7
7
|
import { MaxMaxContainer as K } from "./sd-component-library40.js";
|
|
8
8
|
import { ResponsiveTextV2 as Q } from "./sd-component-library150.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-library188.js";
|
|
6
|
-
import { CustomOptionBox as C } from "./sd-component-
|
|
6
|
+
import { CustomOptionBox as C } from "./sd-component-library259.js";
|
|
7
7
|
import { GridCenter as S } from "./sd-component-library41.js";
|
|
8
8
|
import { EighteenRegular as d } from "./sd-component-library142.js";
|
|
9
9
|
import { HorizontalDivider as _ } from "./sd-component-library48.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-library224.js";
|
|
4
4
|
import { OutsideClickBox as u } from "./sd-component-library12.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-library260.js";
|
|
7
7
|
import { GridContainerV2 as g } from "./sd-component-library38.js";
|
|
8
8
|
import { ResponsiveTextV2 as C } from "./sd-component-library150.js";
|
|
9
9
|
import { FlexCenter as j } from "./sd-component-library34.js";
|
|
@@ -5,7 +5,7 @@ import { ReactComponent as x } from "./sd-component-library188.js";
|
|
|
5
5
|
import { ResponsiveTextV2 as f } from "./sd-component-library150.js";
|
|
6
6
|
import { BaseTextV2 as u } from "./sd-component-library138.js";
|
|
7
7
|
import { FlexCenter as h } from "./sd-component-library34.js";
|
|
8
|
-
import { SecondaryCustomSelectorOptionsBox as g } from "./sd-component-
|
|
8
|
+
import { SecondaryCustomSelectorOptionsBox as g } from "./sd-component-library260.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-library258.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-library224.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-library261.js";
|
|
6
6
|
import { GridContainerV2 as S } from "./sd-component-library38.js";
|
|
7
7
|
import { OutsideClickBox as b } from "./sd-component-library12.js";
|
|
8
8
|
import { ResponsiveTextV2 as C } from "./sd-component-library150.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-library12.js";
|
|
5
|
-
import { BaseLabel as u } from "./sd-component-
|
|
5
|
+
import { BaseLabel as u } from "./sd-component-library224.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-library262.js";
|
|
8
8
|
import { ResponsiveTextV2 as b } from "./sd-component-library150.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-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-library141.js";
|
|
5
5
|
import { GridCenter as g } from "./sd-component-library41.js";
|
|
6
6
|
const C = ({
|
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
import { j as n } from "./sd-component-library197.js";
|
|
2
2
|
import { Box as t } from "rebass";
|
|
3
|
-
const s = 200, c = "40px",
|
|
3
|
+
const s = 200, c = "40px", o = "3px", a = "20px", x = `calc(${a} - 2 * ${o})`, $ = ({
|
|
4
4
|
value: r,
|
|
5
|
-
setValue:
|
|
6
|
-
inactiveColor:
|
|
7
|
-
activeColor:
|
|
5
|
+
setValue: i,
|
|
6
|
+
inactiveColor: p = "cl_lightGrey",
|
|
7
|
+
activeColor: l = "cl_purple"
|
|
8
8
|
}) => {
|
|
9
|
-
const
|
|
10
|
-
|
|
9
|
+
const m = () => {
|
|
10
|
+
i == null || i(!r);
|
|
11
11
|
};
|
|
12
12
|
return /* @__PURE__ */ n.jsx(
|
|
13
13
|
t,
|
|
14
14
|
{
|
|
15
|
-
bg: r ?
|
|
15
|
+
bg: r ? l : p,
|
|
16
16
|
sx: {
|
|
17
17
|
borderRadius: 100,
|
|
18
18
|
cursor: "pointer",
|
|
19
|
-
transition: `all ${s}ms
|
|
19
|
+
transition: `all ${s}ms`,
|
|
20
|
+
flexShrink: 0
|
|
20
21
|
},
|
|
21
22
|
width: c,
|
|
22
|
-
p:
|
|
23
|
-
height:
|
|
24
|
-
onClick:
|
|
23
|
+
p: o,
|
|
24
|
+
height: a,
|
|
25
|
+
onClick: m,
|
|
25
26
|
children: /* @__PURE__ */ n.jsx(
|
|
26
27
|
t,
|
|
27
28
|
{
|
|
28
|
-
size:
|
|
29
|
+
size: x,
|
|
29
30
|
bg: "white",
|
|
30
31
|
sx: {
|
|
31
32
|
borderRadius: "50%",
|
|
32
|
-
transform: `translateX(${r ? `calc(${c} - 2 * ${
|
|
33
|
+
transform: `translateX(${r ? `calc(${c} - 2 * ${o} - ${x})` : 0})`,
|
|
33
34
|
transition: `all ${s}ms`
|
|
34
35
|
}
|
|
35
36
|
}
|
|
@@ -38,6 +39,6 @@ const s = 200, c = "40px", i = "3px", p = "20px", a = `calc(${p} - 2 * ${i})`, e
|
|
|
38
39
|
);
|
|
39
40
|
};
|
|
40
41
|
export {
|
|
41
|
-
|
|
42
|
+
$ as PrimaryToggleSwitch
|
|
42
43
|
};
|
|
43
44
|
//# sourceMappingURL=sd-component-library130.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library130.js","sources":["../src/components/switches/primary-toggle-switch/primary-toggle-switch.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { PrimaryToggleSwitchProps as Props } from \"./interfaces\";\n\nconst animationDuration = 200;\nconst width = \"40px\";\nconst p = \"3px\";\nconst height = \"20px\";\nconst innerSize = `calc(${height} - 2 * ${p})`;\n\nexport const PrimaryToggleSwitch: React.FC<Props> = ({\n value,\n setValue,\n inactiveColor = \"cl_lightGrey\",\n activeColor = \"cl_purple\",\n}) => {\n const onBadgeClick = () => {\n setValue?.(!value);\n };\n\n return (\n <Box\n bg={value ? activeColor : inactiveColor}\n sx={{\n borderRadius: 100,\n cursor: \"pointer\",\n transition: `all ${animationDuration}ms`,\n }}\n {...{ width, p, height }}\n onClick={onBadgeClick}\n >\n <Box\n size={innerSize}\n bg=\"white\"\n sx={{\n borderRadius: \"50%\",\n transform: `translateX(${\n value ? `calc(${width} - 2 * ${p} - ${innerSize})` : 0\n })`,\n transition: `all ${animationDuration}ms`,\n }}\n />\n </Box>\n );\n};\n"],"names":["animationDuration","width","p","height","innerSize","PrimaryToggleSwitch","value","setValue","inactiveColor","activeColor","onBadgeClick","jsx","Box"],"mappings":";;AAMA,MAAMA,IAAoB,KACpBC,IAAQ,QACRC,IAAI,OACJC,IAAS,QACTC,IAAY,QAAQD,CAAM,UAAUD,CAAC,KAE9BG,IAAuC,CAAC;AAAA,EACnD,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,aAAAC,IAAc;AAChB,MAAM;AACJ,QAAMC,IAAe,MAAM;AACzB,IAAAH,KAAA,QAAAA,EAAW,CAACD;AAAA,EAAK;AAIjB,SAAAK,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,IAAIN,IAAQG,IAAcD;AAAA,MAC1B,IAAI;AAAA,QACF,cAAc;AAAA,QACd,QAAQ;AAAA,QACR,YAAY,OAAOR,CAAiB;AAAA,
|
|
1
|
+
{"version":3,"file":"sd-component-library130.js","sources":["../src/components/switches/primary-toggle-switch/primary-toggle-switch.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { PrimaryToggleSwitchProps as Props } from \"./interfaces\";\n\nconst animationDuration = 200;\nconst width = \"40px\";\nconst p = \"3px\";\nconst height = \"20px\";\nconst innerSize = `calc(${height} - 2 * ${p})`;\n\nexport const PrimaryToggleSwitch: React.FC<Props> = ({\n value,\n setValue,\n inactiveColor = \"cl_lightGrey\",\n activeColor = \"cl_purple\",\n}) => {\n const onBadgeClick = () => {\n setValue?.(!value);\n };\n\n return (\n <Box\n bg={value ? activeColor : inactiveColor}\n sx={{\n borderRadius: 100,\n cursor: \"pointer\",\n transition: `all ${animationDuration}ms`,\n flexShrink: 0,\n }}\n {...{ width, p, height }}\n onClick={onBadgeClick}\n >\n <Box\n size={innerSize}\n bg=\"white\"\n sx={{\n borderRadius: \"50%\",\n transform: `translateX(${\n value ? `calc(${width} - 2 * ${p} - ${innerSize})` : 0\n })`,\n transition: `all ${animationDuration}ms`,\n }}\n />\n </Box>\n );\n};\n"],"names":["animationDuration","width","p","height","innerSize","PrimaryToggleSwitch","value","setValue","inactiveColor","activeColor","onBadgeClick","jsx","Box"],"mappings":";;AAMA,MAAMA,IAAoB,KACpBC,IAAQ,QACRC,IAAI,OACJC,IAAS,QACTC,IAAY,QAAQD,CAAM,UAAUD,CAAC,KAE9BG,IAAuC,CAAC;AAAA,EACnD,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,aAAAC,IAAc;AAChB,MAAM;AACJ,QAAMC,IAAe,MAAM;AACzB,IAAAH,KAAA,QAAAA,EAAW,CAACD;AAAA,EAAK;AAIjB,SAAAK,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,IAAIN,IAAQG,IAAcD;AAAA,MAC1B,IAAI;AAAA,QACF,cAAc;AAAA,QACd,QAAQ;AAAA,QACR,YAAY,OAAOR,CAAiB;AAAA,QACpC,YAAY;AAAA,MACd;AAAA,MACM,OAAAC;AAAA,MAAO,GAAAC;AAAA,MAAG,QAAAC;AAAA,MAChB,SAASO;AAAA,MAET,UAAAC,gBAAAA,EAAA;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,MAAMR;AAAA,UACN,IAAG;AAAA,UACH,IAAI;AAAA,YACF,cAAc;AAAA,YACd,WAAW,cACTE,IAAQ,QAAQL,CAAK,UAAUC,CAAC,MAAME,CAAS,MAAM,CACvD;AAAA,YACA,YAAY,OAAOJ,CAAiB;AAAA,UACtC;AAAA,QAAA;AAAA,MACF;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
|
@@ -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-library267.js";
|
|
6
|
+
import { Mask as p } from "./sd-component-library268.js";
|
|
7
|
+
import { Tab as A } from "./sd-component-library269.js";
|
|
8
8
|
import { HorizontalDivider as E } from "./sd-component-library48.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-library272.js";
|
|
4
4
|
import { GridContainerV2 as G } from "./sd-component-library38.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-library270.js";
|
|
5
|
+
import { Tab as j } from "./sd-component-library271.js";
|
|
6
6
|
import { VerticalDivider as E } from "./sd-component-library49.js";
|
|
7
7
|
import { BaseGridContainer as y } from "./sd-component-library35.js";
|
|
8
8
|
import { MaxMaxContainer as L } from "./sd-component-library40.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-library212.js";
|
|
3
3
|
import { GridCenter as d } from "./sd-component-library41.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-library253.js";
|
|
8
8
|
import { HorizontalDivider as n } from "./sd-component-library48.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-library169.js";
|
|
4
|
-
import { ReactComponent as f } from "./sd-component-
|
|
4
|
+
import { ReactComponent as f } from "./sd-component-library263.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-library263.js";
|
|
5
5
|
const E = w.forwardRef((x, a) => {
|
|
6
6
|
const {
|
|
7
7
|
placement: e,
|
|
@@ -3,10 +3,10 @@ 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
5
|
import { isIOS as E } from "./sd-component-library4.js";
|
|
6
|
-
import M from "./sd-component-
|
|
7
|
-
import { TooltipWithPointerMobile as V } from "./sd-component-
|
|
8
|
-
import { TooltipWithPointerHorizontal as D } from "./sd-component-
|
|
9
|
-
import { TooltipWithPointerVertical as I } from "./sd-component-
|
|
6
|
+
import M from "./sd-component-library251.js";
|
|
7
|
+
import { TooltipWithPointerMobile as V } from "./sd-component-library264.js";
|
|
8
|
+
import { TooltipWithPointerHorizontal as D } from "./sd-component-library265.js";
|
|
9
|
+
import { TooltipWithPointerVertical as I } from "./sd-component-library266.js";
|
|
10
10
|
const f = 200, N = (u) => {
|
|
11
11
|
const {
|
|
12
12
|
children: x,
|
|
@@ -1,6 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { j as o } from "./sd-component-library197.js";
|
|
2
|
+
import { Box as m } from "rebass";
|
|
3
|
+
import { generateTestLocator as p } from "./sd-component-library4.js";
|
|
4
|
+
import { ReactComponent as f } from "./sd-component-library182.js";
|
|
5
|
+
const h = (t) => {
|
|
6
|
+
const { width: n, height: r, fill: e, stroke: i, icon: s } = t, a = s || f;
|
|
7
|
+
return /* @__PURE__ */ o.jsx(
|
|
8
|
+
m,
|
|
9
|
+
{
|
|
10
|
+
sx: {
|
|
11
|
+
width: n || 25,
|
|
12
|
+
height: r || 25,
|
|
13
|
+
fill: e || "purple",
|
|
14
|
+
stroke: i || "none",
|
|
15
|
+
animation: "rotation 2s infinite linear",
|
|
16
|
+
"@keyframes rotation ": {
|
|
17
|
+
from: { transform: "rotate(0deg)" },
|
|
18
|
+
to: { transform: "rotate(359deg)" }
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
...p("loading-spinner"),
|
|
22
|
+
children: /* @__PURE__ */ o.jsx(a, {})
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
};
|
|
3
26
|
export {
|
|
4
|
-
|
|
27
|
+
h as LoadingSpinner
|
|
5
28
|
};
|
|
6
29
|
//# 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/animations/loading-spinner/loading-spinner.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { generateTestLocator } from \"../../../core/functions\";\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 {...generateTestLocator(\"loading-spinner\")}\n >\n <IconComponent />\n </Box>\n );\n};\n"],"names":["LoadingSpinner","props","width","height","fill","stroke","icon","IconComponent","RescanIcon","jsx","Box","generateTestLocator"],"mappings":";;;;AAQa,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,MACC,GAAGM,EAAoB,iBAAiB;AAAA,MAEzC,gCAACJ,GAAc,EAAA;AAAA,IAAA;AAAA,EAAA;AAGrB;"}
|
|
@@ -1,60 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
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
|
+
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)" }));
|
|
56
3
|
export {
|
|
57
|
-
|
|
58
|
-
l as renderUpToFiveCrumbs
|
|
4
|
+
e as ReactComponent
|
|
59
5
|
};
|
|
60
6
|
//# 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/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,29 +1,21 @@
|
|
|
1
1
|
import { j as o } from "./sd-component-library197.js";
|
|
2
|
-
import { Box as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
to: { transform: "rotate(359deg)" }
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
...p("loading-spinner"),
|
|
22
|
-
children: /* @__PURE__ */ o.jsx(a, {})
|
|
23
|
-
}
|
|
24
|
-
);
|
|
25
|
-
};
|
|
2
|
+
import { Box as e } from "rebass";
|
|
3
|
+
const m = ({
|
|
4
|
+
color: r = "cl_lightGrey",
|
|
5
|
+
sx: t,
|
|
6
|
+
...i
|
|
7
|
+
}) => /* @__PURE__ */ o.jsx(
|
|
8
|
+
e,
|
|
9
|
+
{
|
|
10
|
+
sx: {
|
|
11
|
+
bg: r,
|
|
12
|
+
...i,
|
|
13
|
+
...t
|
|
14
|
+
},
|
|
15
|
+
"data-test": "divider"
|
|
16
|
+
}
|
|
17
|
+
);
|
|
26
18
|
export {
|
|
27
|
-
|
|
19
|
+
m as Divider
|
|
28
20
|
};
|
|
29
21
|
//# 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/dividers/divider/divider.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { DividerProps as Props } from \"./interfaces\";\n\n/**\n * Base divider component. Other divider components should be built from this.\n */\nexport const Divider: React.FC<Props> = ({\n color = \"cl_lightGrey\",\n sx,\n ...props\n}) => {\n return (\n <Box\n sx={{\n bg: color,\n ...props,\n ...sx,\n }}\n data-test=\"divider\"\n />\n );\n};\n"],"names":["Divider","color","sx","props","jsx","Box"],"mappings":";;AASO,MAAMA,IAA2B,CAAC;AAAA,EACvC,OAAAC,IAAQ;AAAA,EACR,IAAAC;AAAA,EACA,GAAGC;AACL,MAEIC,gBAAAA,EAAA;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,IAAI;AAAA,MACF,IAAIJ;AAAA,MACJ,GAAGE;AAAA,MACH,GAAGD;AAAA,IACL;AAAA,IACA,aAAU;AAAA,EAAA;AAAA;"}
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { Box as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
},
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
)
|
|
1
|
+
import { j as e } from "./sd-component-library197.js";
|
|
2
|
+
import { Box as t } from "rebass";
|
|
3
|
+
import { TwentyFourBold as s } from "./sd-component-library161.js";
|
|
4
|
+
import { MaxMaxContainer as c } from "./sd-component-library40.js";
|
|
5
|
+
const b = (o) => {
|
|
6
|
+
const {
|
|
7
|
+
title: i,
|
|
8
|
+
renderNegativeOption: a,
|
|
9
|
+
renderPositiveOption: n,
|
|
10
|
+
onPositiveFeedback: r,
|
|
11
|
+
onNegativeFeedback: d
|
|
12
|
+
} = o;
|
|
13
|
+
return /* @__PURE__ */ e.jsxs(t, { "data-testid": "base-boolean-feedback", children: [
|
|
14
|
+
/* @__PURE__ */ e.jsx(s, { "data-testid": "feedback-title", children: i }),
|
|
15
|
+
/* @__PURE__ */ e.jsxs(c, { mt: ["20px"], gap: ["20px"], children: [
|
|
16
|
+
/* @__PURE__ */ e.jsx(t, { "data-testid": "positive-option-container", children: n(r) }),
|
|
17
|
+
/* @__PURE__ */ e.jsx(t, { "data-testid": "negative-option-container", children: a(d) })
|
|
18
|
+
] })
|
|
19
|
+
] });
|
|
20
|
+
};
|
|
18
21
|
export {
|
|
19
|
-
|
|
22
|
+
b as BaseBooleanFeedback
|
|
20
23
|
};
|
|
21
24
|
//# sourceMappingURL=sd-component-library207.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library207.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library207.js","sources":["../src/components/boolean-feedback/base-boolean-feedback/base-boolean-feedback.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { MaxMaxContainer } from \"../../containers\";\nimport { TwentyFourBold } from \"../../texts\";\nimport { BaseBooleanFeedbackProps } from \"./interfaces\";\n\n/**\n * BaseBooleanFeedback component.\n */\nexport const BaseBooleanFeedback: React.FC<BaseBooleanFeedbackProps> = (\n props\n) => {\n const {\n title,\n renderNegativeOption,\n renderPositiveOption,\n onPositiveFeedback,\n onNegativeFeedback,\n } = props;\n\n return (\n <Box data-testid=\"base-boolean-feedback\">\n <TwentyFourBold data-testid=\"feedback-title\">{title}</TwentyFourBold>\n <MaxMaxContainer mt={[\"20px\"]} gap={[\"20px\"]}>\n <Box data-testid=\"positive-option-container\">\n {renderPositiveOption(onPositiveFeedback)}\n </Box>\n <Box data-testid=\"negative-option-container\">\n {renderNegativeOption(onNegativeFeedback)}\n </Box>\n </MaxMaxContainer>\n </Box>\n );\n};\n"],"names":["BaseBooleanFeedback","props","title","renderNegativeOption","renderPositiveOption","onPositiveFeedback","onNegativeFeedback","jsxs","Box","jsx","TwentyFourBold","MaxMaxContainer"],"mappings":";;;;AAWa,MAAAA,IAA0D,CACrEC,MACG;AACG,QAAA;AAAA,IACJ,OAAAC;AAAA,IACA,sBAAAC;AAAA,IACA,sBAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,oBAAAC;AAAA,EACE,IAAAL;AAGF,SAAAM,gBAAAA,EAAA,KAACC,GAAI,EAAA,eAAY,yBACf,UAAA;AAAA,IAACC,gBAAAA,EAAA,IAAAC,GAAA,EAAe,eAAY,kBAAkB,UAAMR,GAAA;AAAA,IACpDK,gBAAAA,OAACI,KAAgB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,GACzC,UAAA;AAAA,MAAAF,gBAAAA,MAACD,GAAI,EAAA,eAAY,6BACd,UAAAJ,EAAqBC,CAAkB,GAC1C;AAAA,4BACCG,GAAI,EAAA,eAAY,6BACd,UAAAL,EAAqBG,CAAkB,GAC1C;AAAA,IAAA,GACF;AAAA,EACF,EAAA,CAAA;AAEJ;"}
|