@caseparts-org/caseblocks 0.0.108 → 0.0.109
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/dist/assets/Account.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._loggedIn_1aoh3_1{flex-shrink:0;gap:var(--spacing-spacing-2xs);cursor:pointer;transition:all .3s linear;display:flex;flex-direction:row;align-items:center;justify-content:center;padding:var(--spacing-spacing-3xs)}._customer_1aoh3_12>a,._customer_1aoh3_12>a:hover{text-decoration:none}._loggedIn_1aoh3_1:hover{background-color:#f3f3f3;border-radius:var(--border-radius-md)}
|
package/dist/assets/Avatar.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._avatar_nvnsd_1{position:relative;background-color:var(--icons-icon-secondary);color:var(--text-text-invert);flex-shrink:0;border-radius:50%;width:28px;height:28px;text-align:center;text-transform:uppercase;cursor:pointer}
|
package/dist/main-client.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export type { HorizontalScrollProps } from './atoms/HorizontalScroll/HorizontalS
|
|
|
4
4
|
export { SlideInPanel } from './atoms/SlideInPanel/SlideInPanel';
|
|
5
5
|
export type { SlideInPanelProps } from './atoms/SlideInPanel/SlideInPanel';
|
|
6
6
|
export { Tooltip } from './atoms/Tooltip/Tooltip';
|
|
7
|
+
export { Popover } from './atoms/Popover/Popover';
|
|
8
|
+
export type { PopoverProps } from './atoms/Popover/Popover';
|
|
7
9
|
export { Account } from './molecules/Account/Account';
|
|
8
10
|
export type { AccountProps } from './molecules/Account/Account';
|
|
9
11
|
export { Chip } from './molecules/Chip/Chip';
|
package/dist/main-client.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button as
|
|
1
|
+
import { Button as e } from "./atoms/Button/Button.js";
|
|
2
2
|
import { Flex as p } from "./atoms/Flex/Flex.js";
|
|
3
3
|
import { Column as f, Grid as x } from "./atoms/Grid/Grid.js";
|
|
4
4
|
import { Head as n } from "./atoms/Root/Head.js";
|
|
@@ -7,9 +7,9 @@ import { Root as d } from "./atoms/Root/Root.js";
|
|
|
7
7
|
import { Separator as C } from "./atoms/Separator/Separator.js";
|
|
8
8
|
import { Text as k } from "./atoms/Text/Text.js";
|
|
9
9
|
import { Input as B } from "./atoms/Input/Input.js";
|
|
10
|
-
import { Link as
|
|
11
|
-
import { linkClassName as
|
|
12
|
-
import { configureLink as
|
|
10
|
+
import { Link as v } from "./atoms/Link/Link.js";
|
|
11
|
+
import { linkClassName as L } from "./atoms/Link/linkClassName.js";
|
|
12
|
+
import { configureLink as h, routerOverride as s } from "./atoms/Link/configureLink.js";
|
|
13
13
|
import { LinkButton as F } from "./atoms/LinkButton/LinkButton.js";
|
|
14
14
|
import { configureImage as b } from "./atoms/Image/configureImage.js";
|
|
15
15
|
import { Logo as H } from "./molecules/Logo/Logo.js";
|
|
@@ -24,46 +24,48 @@ import { Breadcrumbs as W } from "./molecules/Breadcrumbs/Breadcrumbs.js";
|
|
|
24
24
|
import { NotFound as Y } from "./organisms/NotFound/NotFound.js";
|
|
25
25
|
import { HorizontalScroll as _ } from "./atoms/HorizontalScroll/HorizontalScroll.js";
|
|
26
26
|
import { SlideInPanel as oo } from "./atoms/SlideInPanel/SlideInPanel.js";
|
|
27
|
-
import { Tooltip as
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
27
|
+
import { Tooltip as eo } from "./atoms/Tooltip/Tooltip.js";
|
|
28
|
+
import { Popover as po } from "./atoms/Popover/Popover.js";
|
|
29
|
+
import { Account as fo } from "./molecules/Account/Account.js";
|
|
30
|
+
import { Chip as ao } from "./molecules/Chip/Chip.js";
|
|
31
|
+
import { ToggleView as io } from "./molecules/ToggleView/ToggleView.js";
|
|
32
|
+
import { CartSlideInPanel as uo } from "./molecules/Cart/CartSlideInPanel.js";
|
|
33
|
+
import { StatefulButton as Co } from "./molecules/StatefulButton/StatefulButton.js";
|
|
34
|
+
import { AnimatedCheckMark as ko } from "./molecules/StatefulButton/AnimatedCheckmark.js";
|
|
35
|
+
import { AddToCart as Bo } from "./molecules/AddToCart/AddToCart.js";
|
|
36
|
+
import { MainNav as vo } from "./organisms/MainNav/MainNav.js";
|
|
37
|
+
import { ChipSelector as Lo } from "./organisms/ChipSelector/ChipSelector.js";
|
|
37
38
|
import { Product as ho } from "./organisms/Product/Product.js";
|
|
38
|
-
import { Carousel as
|
|
39
|
-
import { Footer as
|
|
39
|
+
import { Carousel as To } from "./organisms/Carousel/Carousel.js";
|
|
40
|
+
import { Footer as No } from "./organisms/Footer/Footer.js";
|
|
40
41
|
export {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
fo as Account,
|
|
43
|
+
Bo as AddToCart,
|
|
44
|
+
ko as AnimatedCheckMark,
|
|
44
45
|
V as Availability,
|
|
45
46
|
q as Avatar,
|
|
46
47
|
E as BannerCard,
|
|
47
48
|
W as Breadcrumbs,
|
|
48
|
-
|
|
49
|
+
e as Button,
|
|
49
50
|
K as CardLink,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
To as Carousel,
|
|
52
|
+
uo as CartSlideInPanel,
|
|
53
|
+
ao as Chip,
|
|
54
|
+
Lo as ChipSelector,
|
|
54
55
|
f as Column,
|
|
55
56
|
p as Flex,
|
|
56
|
-
|
|
57
|
+
No as Footer,
|
|
57
58
|
x as Grid,
|
|
58
59
|
n as Head,
|
|
59
60
|
_ as HorizontalScroll,
|
|
60
61
|
l as Icon,
|
|
61
62
|
B as Input,
|
|
62
|
-
|
|
63
|
+
v as Link,
|
|
63
64
|
F as LinkButton,
|
|
64
65
|
H as Logo,
|
|
65
|
-
|
|
66
|
+
vo as MainNav,
|
|
66
67
|
Y as NotFound,
|
|
68
|
+
po as Popover,
|
|
67
69
|
Q as Pricing,
|
|
68
70
|
ho as Product,
|
|
69
71
|
G as QuantityInput,
|
|
@@ -71,12 +73,12 @@ export {
|
|
|
71
73
|
w as SearchBox,
|
|
72
74
|
C as Separator,
|
|
73
75
|
oo as SlideInPanel,
|
|
74
|
-
|
|
76
|
+
Co as StatefulButton,
|
|
75
77
|
k as Text,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
+
io as ToggleView,
|
|
79
|
+
eo as Tooltip,
|
|
78
80
|
b as configureImage,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
81
|
+
h as configureLink,
|
|
82
|
+
L as linkClassName,
|
|
83
|
+
s as routerOverride
|
|
82
84
|
};
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { jsx as i, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { getHideAtStyles as
|
|
2
|
+
import { getHideAtStyles as a } from "../../atoms/HideAt.js";
|
|
3
3
|
import { Icon as f } from "../../atoms/Icon/Icon.js";
|
|
4
|
-
import { Text as
|
|
4
|
+
import { Text as l } from "../../atoms/Text/Text.js";
|
|
5
5
|
import { Avatar as h } from "../Avatar/Avatar.js";
|
|
6
|
-
import { Flex as
|
|
7
|
-
import { Button as
|
|
6
|
+
import { Flex as d } from "../../atoms/Flex/Flex.js";
|
|
7
|
+
import { Button as A } from "../../atoms/Button/Button.js";
|
|
8
8
|
import { c as u } from "../../clsx-OuTLNxxd.js";
|
|
9
|
-
import { Link as
|
|
10
|
-
import '../../assets/Account.css';const p = "
|
|
11
|
-
loggedIn: p
|
|
9
|
+
import { Link as x } from "../../atoms/Link/Link.js";
|
|
10
|
+
import '../../assets/Account.css';const p = "_loggedIn_1aoh3_1", I = "_customer_1aoh3_12", s = {
|
|
11
|
+
loggedIn: p,
|
|
12
|
+
customer: I
|
|
12
13
|
};
|
|
13
|
-
function
|
|
14
|
+
function _(e) {
|
|
14
15
|
return e.account !== void 0;
|
|
15
16
|
}
|
|
16
|
-
function
|
|
17
|
-
return
|
|
17
|
+
function P(e) {
|
|
18
|
+
return _(e) ? /* @__PURE__ */ i(k, { ...e }) : /* @__PURE__ */ i(v, { ...e });
|
|
18
19
|
}
|
|
19
20
|
function k(e) {
|
|
20
21
|
const {
|
|
@@ -26,26 +27,24 @@ function k(e) {
|
|
|
26
27
|
...g
|
|
27
28
|
} = e;
|
|
28
29
|
return /* @__PURE__ */ n(
|
|
29
|
-
|
|
30
|
+
"div",
|
|
30
31
|
{
|
|
31
|
-
|
|
32
|
-
alignItems: "center",
|
|
33
|
-
className: u(l.loggedIn, d(c), r),
|
|
32
|
+
className: u(s.loggedIn, a(c), r),
|
|
34
33
|
...g,
|
|
35
34
|
children: [
|
|
36
35
|
/* @__PURE__ */ n(
|
|
37
|
-
|
|
36
|
+
d,
|
|
38
37
|
{
|
|
39
38
|
flexDirection: "column",
|
|
40
39
|
alignItems: "flex-end",
|
|
41
40
|
hideAt: ["sm", "md"],
|
|
42
|
-
className:
|
|
41
|
+
className: s.customer,
|
|
43
42
|
children: [
|
|
44
|
-
/* @__PURE__ */ n(
|
|
43
|
+
/* @__PURE__ */ n(l, { size: "xxs", children: [
|
|
45
44
|
"Acct: ",
|
|
46
45
|
t == null ? void 0 : t.number
|
|
47
46
|
] }),
|
|
48
|
-
/* @__PURE__ */ i(
|
|
47
|
+
/* @__PURE__ */ i(x, { href: o, children: /* @__PURE__ */ n(l, { size: "sm", variant: "display", children: [
|
|
49
48
|
"Hello ",
|
|
50
49
|
t == null ? void 0 : t.name
|
|
51
50
|
] }) })
|
|
@@ -57,22 +56,22 @@ function k(e) {
|
|
|
57
56
|
}
|
|
58
57
|
);
|
|
59
58
|
}
|
|
60
|
-
function
|
|
59
|
+
function v(e) {
|
|
61
60
|
const { accountRoute: t, onLoginClick: o, className: m, hideAt: r, ...c } = e;
|
|
62
61
|
return /* @__PURE__ */ n(
|
|
63
|
-
|
|
62
|
+
d,
|
|
64
63
|
{
|
|
65
64
|
flexDirection: "row",
|
|
66
65
|
alignItems: "center",
|
|
67
66
|
...c,
|
|
68
67
|
className: u(
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
s.unauthenticated,
|
|
69
|
+
a(r),
|
|
71
70
|
m
|
|
72
71
|
),
|
|
73
72
|
children: [
|
|
74
73
|
/* @__PURE__ */ i(
|
|
75
|
-
|
|
74
|
+
A,
|
|
76
75
|
{
|
|
77
76
|
onClick: o,
|
|
78
77
|
size: "sm",
|
|
@@ -87,5 +86,5 @@ function y(e) {
|
|
|
87
86
|
);
|
|
88
87
|
}
|
|
89
88
|
export {
|
|
90
|
-
|
|
89
|
+
P as Account
|
|
91
90
|
};
|
|
@@ -4,11 +4,11 @@ import { Link as c } from "../../atoms/Link/Link.js";
|
|
|
4
4
|
import { getHideAtStyles as l } from "../../atoms/HideAt.js";
|
|
5
5
|
import { c as f } from "../../clsx-OuTLNxxd.js";
|
|
6
6
|
import { t as r } from "../../Text.module-Dzhzk2fH.js";
|
|
7
|
-
import '../../assets/Avatar.css';const p = "
|
|
7
|
+
import '../../assets/Avatar.css';const p = "_avatar_nvnsd_1", x = {
|
|
8
8
|
avatar: p
|
|
9
9
|
};
|
|
10
|
-
function
|
|
11
|
-
const { accountRoute: a, initials:
|
|
10
|
+
function A(e) {
|
|
11
|
+
const { accountRoute: a, initials: s, className: o, hideAt: i, ...n } = e;
|
|
12
12
|
return /* @__PURE__ */ t(c, { href: a, children: /* @__PURE__ */ t(
|
|
13
13
|
m,
|
|
14
14
|
{
|
|
@@ -20,13 +20,13 @@ function w(e) {
|
|
|
20
20
|
r["text-display"],
|
|
21
21
|
r["text-md"],
|
|
22
22
|
l(i),
|
|
23
|
-
|
|
23
|
+
o
|
|
24
24
|
),
|
|
25
25
|
...n,
|
|
26
|
-
children:
|
|
26
|
+
children: s.substring(0, 2)
|
|
27
27
|
}
|
|
28
28
|
) });
|
|
29
29
|
}
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
A as Avatar
|
|
32
32
|
};
|