@selfdecode/sd-component-library 4.0.139 → 4.0.141
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/core/functions.d.ts +1 -1
- 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-library104.js +4 -4
- package/lib/sd-component-library106.js +4 -4
- package/lib/sd-component-library111.js +1 -1
- package/lib/sd-component-library112.js +1 -1
- package/lib/sd-component-library118.js +1 -1
- package/lib/sd-component-library126.js +1 -1
- package/lib/sd-component-library127.js +1 -1
- 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-library197.js +3 -3
- package/lib/sd-component-library200.js +60 -2
- package/lib/sd-component-library200.js.map +1 -1
- package/lib/sd-component-library201.js +2 -30
- package/lib/sd-component-library201.js.map +1 -1
- package/lib/sd-component-library202.js +21 -590
- package/lib/sd-component-library202.js.map +1 -1
- package/lib/sd-component-library203.js +599 -3
- package/lib/sd-component-library203.js.map +1 -1
- package/lib/sd-component-library205.js +18 -60
- package/lib/sd-component-library205.js.map +1 -1
- package/lib/sd-component-library206.js +63 -17
- package/lib/sd-component-library206.js.map +1 -1
- package/lib/sd-component-library207.js +22 -20
- package/lib/sd-component-library207.js.map +1 -1
- package/lib/sd-component-library208.js +21 -3
- package/lib/sd-component-library208.js.map +1 -1
- package/lib/sd-component-library209.js +1 -1
- package/lib/sd-component-library209.js.map +1 -1
- package/lib/sd-component-library210.js +3 -64
- package/lib/sd-component-library210.js.map +1 -1
- package/lib/sd-component-library211.js +37 -20
- package/lib/sd-component-library211.js.map +1 -1
- package/lib/sd-component-library212.js +127 -38
- package/lib/sd-component-library212.js.map +1 -1
- package/lib/sd-component-library213.js +13 -129
- package/lib/sd-component-library213.js.map +1 -1
- package/lib/sd-component-library214.js +14 -13
- package/lib/sd-component-library214.js.map +1 -1
- package/lib/sd-component-library215.js +2 -2
- package/lib/sd-component-library215.js.map +1 -1
- package/lib/sd-component-library216.js +3 -52
- package/lib/sd-component-library216.js.map +1 -1
- package/lib/sd-component-library217.js +3 -65
- package/lib/sd-component-library217.js.map +1 -1
- package/lib/sd-component-library218.js +52 -3
- package/lib/sd-component-library218.js.map +1 -1
- package/lib/sd-component-library219.js +64 -45
- package/lib/sd-component-library219.js.map +1 -1
- package/lib/sd-component-library220.js +3 -14
- package/lib/sd-component-library220.js.map +1 -1
- package/lib/sd-component-library221.js +46 -3
- package/lib/sd-component-library221.js.map +1 -1
- package/lib/sd-component-library222.js +17 -3
- package/lib/sd-component-library222.js.map +1 -1
- package/lib/sd-component-library223.js +26 -17
- package/lib/sd-component-library223.js.map +1 -1
- package/lib/sd-component-library224.js +55 -24
- package/lib/sd-component-library224.js.map +1 -1
- package/lib/sd-component-library225.js +3 -3
- package/lib/sd-component-library225.js.map +1 -1
- package/lib/sd-component-library226.js +3 -31
- package/lib/sd-component-library226.js.map +1 -1
- package/lib/sd-component-library227.js +3 -19
- package/lib/sd-component-library227.js.map +1 -1
- package/lib/sd-component-library228.js +31 -20
- package/lib/sd-component-library228.js.map +1 -1
- package/lib/sd-component-library229.js +19 -28
- package/lib/sd-component-library229.js.map +1 -1
- package/lib/sd-component-library230.js +19 -32
- package/lib/sd-component-library230.js.map +1 -1
- package/lib/sd-component-library231.js +28 -3
- package/lib/sd-component-library231.js.map +1 -1
- package/lib/sd-component-library232.js +32 -128
- package/lib/sd-component-library232.js.map +1 -1
- package/lib/sd-component-library233.js +129 -43
- package/lib/sd-component-library233.js.map +1 -1
- package/lib/sd-component-library234.js +41 -45
- package/lib/sd-component-library234.js.map +1 -1
- package/lib/sd-component-library235.js +46 -7
- package/lib/sd-component-library235.js.map +1 -1
- package/lib/sd-component-library236.js +8 -21
- package/lib/sd-component-library236.js.map +1 -1
- package/lib/sd-component-library237.js +58 -103
- package/lib/sd-component-library237.js.map +1 -1
- package/lib/sd-component-library238.js +37 -41
- package/lib/sd-component-library238.js.map +1 -1
- package/lib/sd-component-library239.js +12 -23
- package/lib/sd-component-library239.js.map +1 -1
- package/lib/sd-component-library240.js +21 -53
- package/lib/sd-component-library240.js.map +1 -1
- package/lib/sd-component-library241.js +103 -58
- package/lib/sd-component-library241.js.map +1 -1
- package/lib/sd-component-library242.js +41 -37
- package/lib/sd-component-library242.js.map +1 -1
- package/lib/sd-component-library243.js +23 -12
- package/lib/sd-component-library243.js.map +1 -1
- package/lib/sd-component-library244.js +52 -47
- package/lib/sd-component-library244.js.map +1 -1
- package/lib/sd-component-library245.js +46 -73
- package/lib/sd-component-library245.js.map +1 -1
- package/lib/sd-component-library246.js +1 -1
- package/lib/sd-component-library248.js +72 -18
- package/lib/sd-component-library248.js.map +1 -1
- package/lib/sd-component-library249.js +20 -19
- package/lib/sd-component-library249.js.map +1 -1
- package/lib/sd-component-library250.js +20 -2
- package/lib/sd-component-library250.js.map +1 -1
- package/lib/sd-component-library251.js +2 -57
- package/lib/sd-component-library251.js.map +1 -1
- package/lib/sd-component-library252.js +323 -23
- package/lib/sd-component-library252.js.map +1 -1
- package/lib/sd-component-library253.js +5 -3
- package/lib/sd-component-library253.js.map +1 -1
- package/lib/sd-component-library254.js +29 -22
- package/lib/sd-component-library254.js.map +1 -1
- package/lib/sd-component-library255.js +1 -1
- package/lib/sd-component-library255.js.map +1 -1
- package/lib/sd-component-library256.js +22 -323
- package/lib/sd-component-library256.js.map +1 -1
- package/lib/sd-component-library257.js +3 -5
- package/lib/sd-component-library257.js.map +1 -1
- package/lib/sd-component-library258.js +21 -25
- package/lib/sd-component-library258.js.map +1 -1
- package/lib/sd-component-library259.js +22 -24
- package/lib/sd-component-library259.js.map +1 -1
- package/lib/sd-component-library262.js +1 -1
- package/lib/sd-component-library265.js +122 -30
- package/lib/sd-component-library265.js.map +1 -1
- package/lib/sd-component-library266.js +9 -20
- package/lib/sd-component-library266.js.map +1 -1
- package/lib/sd-component-library267.js +41 -116
- package/lib/sd-component-library267.js.map +1 -1
- package/lib/sd-component-library268.js +30 -122
- package/lib/sd-component-library268.js.map +1 -1
- package/lib/sd-component-library269.js +20 -9
- package/lib/sd-component-library269.js.map +1 -1
- package/lib/sd-component-library270.js +116 -41
- package/lib/sd-component-library270.js.map +1 -1
- package/lib/sd-component-library271.js +9 -2
- package/lib/sd-component-library271.js.map +1 -1
- package/lib/sd-component-library272.js +51 -2
- package/lib/sd-component-library272.js.map +1 -1
- package/lib/sd-component-library273.js +89 -8
- package/lib/sd-component-library273.js.map +1 -1
- package/lib/sd-component-library274.js +89 -48
- package/lib/sd-component-library274.js.map +1 -1
- package/lib/sd-component-library275.js +2 -90
- package/lib/sd-component-library275.js.map +1 -1
- package/lib/sd-component-library276.js +2 -92
- package/lib/sd-component-library276.js.map +1 -1
- package/lib/sd-component-library277.js +6 -2
- package/lib/sd-component-library277.js.map +1 -1
- package/lib/sd-component-library278.js +2 -2
- package/lib/sd-component-library279.js +2 -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-library283.js +10 -6
- package/lib/sd-component-library283.js.map +1 -1
- package/lib/sd-component-library286.js +1 -1
- package/lib/sd-component-library288.js +3 -3
- package/lib/sd-component-library289.js +4 -4
- package/lib/sd-component-library290.js +1 -1
- package/lib/sd-component-library291.js +2 -3
- package/lib/sd-component-library291.js.map +1 -1
- package/lib/sd-component-library292.js +77 -3
- package/lib/sd-component-library292.js.map +1 -1
- package/lib/sd-component-library293.js +93 -3
- package/lib/sd-component-library293.js.map +1 -1
- package/lib/sd-component-library294.js +53 -2
- package/lib/sd-component-library294.js.map +1 -1
- package/lib/sd-component-library295.js +8 -76
- package/lib/sd-component-library295.js.map +1 -1
- package/lib/sd-component-library296.js +4 -92
- package/lib/sd-component-library296.js.map +1 -1
- package/lib/sd-component-library297.js +48 -48
- package/lib/sd-component-library297.js.map +1 -1
- package/lib/sd-component-library298.js +3 -9
- package/lib/sd-component-library298.js.map +1 -1
- package/lib/sd-component-library299.js +3 -5
- package/lib/sd-component-library299.js.map +1 -1
- package/lib/sd-component-library300.js +3 -53
- package/lib/sd-component-library300.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 +50 -34
- package/lib/sd-component-library312.js.map +1 -1
- package/lib/sd-component-library313.js +33 -91
- package/lib/sd-component-library313.js.map +1 -1
- package/lib/sd-component-library318.js +1 -1
- package/lib/sd-component-library4.js +16 -16
- package/lib/sd-component-library4.js.map +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-library61.js +1 -1
- package/lib/sd-component-library62.js +4 -4
- 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 +1 -1
- package/package.json +1 -1
package/lib/core/functions.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export declare const isTouchScreen: () => boolean;
|
|
|
3
3
|
export declare const getResponsiveClick: (callback: () => void) => {
|
|
4
4
|
shouldUseTouch: boolean;
|
|
5
5
|
onClick: (() => void) | undefined;
|
|
6
|
-
|
|
6
|
+
onPointerDown: (() => void) | undefined;
|
|
7
7
|
};
|
|
8
8
|
export declare const getResponsiveNumericArray: (start: number, end: number, endsWithDesktop?: boolean, mediumValue?: number | undefined) => number[];
|
|
9
9
|
export declare const getResponsivePxArray: (start: number, end: number, endsWithDesktop?: boolean | undefined, mediumValue?: number | undefined) => string[];
|
|
@@ -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-library249.js";
|
|
3
|
+
import { LinearGaugeLabel as d } from "./sd-component-library250.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-library251.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-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,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-library252.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-library253.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,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-library254.js";
|
|
4
|
+
import { ReactComponent as P } from "./sd-component-library255.js";
|
|
5
|
+
import { CurrentPage as h } from "./sd-component-library256.js";
|
|
6
|
+
import { ReactComponent as S } from "./sd-component-library257.js";
|
|
7
7
|
import { GridCenter as R } from "./sd-component-library41.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-library258.js";
|
|
3
|
+
import { ReactComponent as h } from "./sd-component-library255.js";
|
|
4
|
+
import { PaginationBarCurrentPage as u } from "./sd-component-library259.js";
|
|
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";
|
|
8
8
|
const k = (a) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as i } from "./sd-component-library197.js";
|
|
2
2
|
import { Flex as n } from "rebass";
|
|
3
|
-
import { ProgressStep as x } from "./sd-component-
|
|
3
|
+
import { ProgressStep as x } from "./sd-component-library200.js";
|
|
4
4
|
const g = ({
|
|
5
5
|
height: t,
|
|
6
6
|
steps: s,
|
|
@@ -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-library222.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) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
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-library222.js";
|
|
4
4
|
import { OutsideClickBox as u } from "./sd-component-library12.js";
|
|
5
5
|
import { ReactComponent as h } from "./sd-component-library188.js";
|
|
6
6
|
import { SecondaryCustomSelectorOptionsBox as S } from "./sd-component-library261.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
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-library222.js";
|
|
4
4
|
import { ReactComponent as u } from "./sd-component-library188.js";
|
|
5
5
|
import { CustomScrollableOptionsBox as h } from "./sd-component-library263.js";
|
|
6
6
|
import { GridContainerV2 as S } from "./sd-component-library38.js";
|
|
@@ -2,7 +2,7 @@ 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-library222.js";
|
|
6
6
|
import { ReactComponent as f } from "./sd-component-library188.js";
|
|
7
7
|
import { CustomScrollableOptionsBox as h } from "./sd-component-library264.js";
|
|
8
8
|
import { ResponsiveTextV2 as b } from "./sd-component-library150.js";
|
|
@@ -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-library225.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-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-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-library265.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-library266.js";
|
|
5
|
+
import { Tab as j } from "./sd-component-library267.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-library224.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-library223.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-library271.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-library271.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-library252.js";
|
|
7
|
+
import { TooltipWithPointerMobile as V } from "./sd-component-library272.js";
|
|
8
|
+
import { TooltipWithPointerHorizontal as D } from "./sd-component-library273.js";
|
|
9
|
+
import { TooltipWithPointerVertical as I } from "./sd-component-library274.js";
|
|
10
10
|
const f = 200, N = (u) => {
|
|
11
11
|
const {
|
|
12
12
|
children: x,
|
|
@@ -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-library201.js";
|
|
2
|
+
import { __require as r } from "./sd-component-library202.js";
|
|
3
|
+
import { __require as o } from "./sd-component-library203.js";
|
|
4
4
|
process.env.NODE_ENV === "production" ? e.exports = r() : e.exports = o();
|
|
5
5
|
var m = e.exports;
|
|
6
6
|
export {
|
|
@@ -1,5 +1,63 @@
|
|
|
1
|
-
|
|
1
|
+
import { j as i } from "./sd-component-library197.js";
|
|
2
|
+
import { Box as p, Text as l } from "rebass";
|
|
3
|
+
import s from "./sd-component-library196.js";
|
|
4
|
+
const f = ({
|
|
5
|
+
active: o,
|
|
6
|
+
height: e,
|
|
7
|
+
onClick: r
|
|
8
|
+
}) => {
|
|
9
|
+
const t = o ? s.colors.cl_purple : s.colors.cl_lightGrey;
|
|
10
|
+
return /* @__PURE__ */ i.jsx(
|
|
11
|
+
p,
|
|
12
|
+
{
|
|
13
|
+
sx: {
|
|
14
|
+
fontSize: "0px",
|
|
15
|
+
position: "relative",
|
|
16
|
+
textAlign: "right",
|
|
17
|
+
":before": {
|
|
18
|
+
content: "''",
|
|
19
|
+
left: "-2px",
|
|
20
|
+
right: o ? "2px" : 0,
|
|
21
|
+
top: "50%",
|
|
22
|
+
position: "absolute",
|
|
23
|
+
height: 4,
|
|
24
|
+
bg: t,
|
|
25
|
+
transform: "translateY(-50%)"
|
|
26
|
+
},
|
|
27
|
+
":first-of-type": {
|
|
28
|
+
width: [e],
|
|
29
|
+
position: "absolute",
|
|
30
|
+
left: 0,
|
|
31
|
+
":before": {
|
|
32
|
+
left: "2px"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"data-testid": "progress-step",
|
|
37
|
+
children: /* @__PURE__ */ i.jsx(
|
|
38
|
+
l,
|
|
39
|
+
{
|
|
40
|
+
size: e,
|
|
41
|
+
sx: {
|
|
42
|
+
position: "relative",
|
|
43
|
+
zIndex: "1",
|
|
44
|
+
display: "inline-block",
|
|
45
|
+
borderRadius: "50%",
|
|
46
|
+
bg: t,
|
|
47
|
+
...r ? {
|
|
48
|
+
cursor: "pointer",
|
|
49
|
+
":hover": {
|
|
50
|
+
background: `radial-gradient(white, white 15%, ${t} 60%)`
|
|
51
|
+
}
|
|
52
|
+
} : {}
|
|
53
|
+
},
|
|
54
|
+
onClick: r
|
|
55
|
+
}
|
|
56
|
+
)
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
};
|
|
2
60
|
export {
|
|
3
|
-
|
|
61
|
+
f as ProgressStep
|
|
4
62
|
};
|
|
5
63
|
//# sourceMappingURL=sd-component-library200.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library200.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"sd-component-library200.js","sources":["../src/components/progress-steps/progress-step/progress-step.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box, Text } from \"rebass\";\n\nimport theme from \"../../../core/theme\";\nimport { ProgressStepProps } from \"./interfaces\";\n\nexport const ProgressStep: React.FC<ProgressStepProps> = ({\n active,\n height,\n onClick,\n}) => {\n const color = active\n ? theme.colors[\"cl_purple\"]\n : theme.colors[\"cl_lightGrey\"];\n return (\n <Box\n sx={{\n fontSize: \"0px\",\n position: \"relative\",\n textAlign: \"right\",\n \":before\": {\n content: \"''\",\n left: \"-2px\",\n right: active ? \"2px\" : 0,\n top: \"50%\",\n position: \"absolute\",\n height: 4,\n bg: color,\n transform: \"translateY(-50%)\",\n },\n \":first-of-type\": {\n width: [height],\n position: \"absolute\",\n left: 0,\n \":before\": {\n left: \"2px\",\n },\n },\n }}\n data-testid=\"progress-step\"\n >\n <Text\n size={height}\n sx={{\n position: \"relative\",\n zIndex: \"1\",\n display: \"inline-block\",\n borderRadius: \"50%\",\n bg: color,\n ...(onClick\n ? {\n cursor: \"pointer\",\n \":hover\": {\n background: `radial-gradient(white, white 15%, ${color} 60%)`,\n },\n }\n : {}),\n }}\n onClick={onClick}\n />\n </Box>\n );\n};\n"],"names":["ProgressStep","active","height","onClick","color","theme","jsx","Box","Text"],"mappings":";;;AAOO,MAAMA,IAA4C,CAAC;AAAA,EACxD,QAAAC;AAAA,EACA,QAAAC;AAAA,EACA,SAAAC;AACF,MAAM;AACE,QAAAC,IAAQH,IACVI,EAAM,OAAO,YACbA,EAAM,OAAO;AAEf,SAAAC,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,IAAI;AAAA,QACF,UAAU;AAAA,QACV,UAAU;AAAA,QACV,WAAW;AAAA,QACX,WAAW;AAAA,UACT,SAAS;AAAA,UACT,MAAM;AAAA,UACN,OAAON,IAAS,QAAQ;AAAA,UACxB,KAAK;AAAA,UACL,UAAU;AAAA,UACV,QAAQ;AAAA,UACR,IAAIG;AAAA,UACJ,WAAW;AAAA,QACb;AAAA,QACA,kBAAkB;AAAA,UAChB,OAAO,CAACF,CAAM;AAAA,UACd,UAAU;AAAA,UACV,MAAM;AAAA,UACN,WAAW;AAAA,YACT,MAAM;AAAA,UACR;AAAA,QACF;AAAA,MACF;AAAA,MACA,eAAY;AAAA,MAEZ,UAAAI,gBAAAA,EAAA;AAAA,QAACE;AAAA,QAAA;AAAA,UACC,MAAMN;AAAA,UACN,IAAI;AAAA,YACF,UAAU;AAAA,YACV,QAAQ;AAAA,YACR,SAAS;AAAA,YACT,cAAc;AAAA,YACd,IAAIE;AAAA,YACJ,GAAID,IACA;AAAA,cACE,QAAQ;AAAA,cACR,UAAU;AAAA,gBACR,YAAY,qCAAqCC,CAAK;AAAA,cACxD;AAAA,YAAA,IAEF,CAAC;AAAA,UACP;AAAA,UACA,SAAAD;AAAA,QAAA;AAAA,MACF;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
|
@@ -1,33 +1,5 @@
|
|
|
1
|
-
|
|
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
|
-
}
|
|
1
|
+
var e = { exports: {} };
|
|
30
2
|
export {
|
|
31
|
-
|
|
3
|
+
e as __module
|
|
32
4
|
};
|
|
33
5
|
//# sourceMappingURL=sd-component-library201.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library201.js","sources":[
|
|
1
|
+
{"version":3,"file":"sd-component-library201.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|