@caseparts-org/caseblocks 0.0.220 → 0.0.222
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/HighlightedText.css +1 -0
- package/dist/assets/Input.css +1 -1
- package/dist/atoms/HighlightedText/HighlightedText.d.ts +9 -0
- package/dist/atoms/HighlightedText/HighlightedText.js +23 -0
- package/dist/atoms/HighlightedText/HighlightedText.stories.d.ts +15 -0
- package/dist/atoms/HighlightedText/HighlightedText.stories.js +36 -0
- package/dist/atoms/Input/Input.js +20 -20
- package/dist/main-client.js +109 -107
- package/dist/main-server.d.ts +2 -0
- package/dist/main-server.js +61 -59
- package/dist/molecules/ProgressBar/ProgressBar.js +11 -11
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._highlightedText_p19vf_1{display:inline}._highlightedText-bold_p19vf_9{font-weight:var(--font-weight-bold)}._highlightedText-highlight_p19vf_17{background-color:#ff0;color:inherit;padding:0 .15em}._highlightedText-italic_p19vf_29{font-style:italic}
|
package/dist/assets/Input.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._input-
|
|
1
|
+
._input-container_1aovq_1{display:flex;position:relative;flex-direction:column;align-items:flex-start;width:100%;box-sizing:border-box}._input_1aovq_1{height:32px;border-radius:var(--radius-radius-minimal, 2px);border:1px solid var(--border-border-primary, #dfdfdf);background:var(--surface-surface-primary);padding:0px var(--spacing-spacing-1xs, 12px);outline:none;font-size:var(--font-size-sm);width:100%}@media (max-width:767px){._input_1aovq_1{font-size:var(--font-size-md)}}._input_1aovq_1:focus{border:1px solid var(--border-border-primary-btn, #1380b1);box-shadow:0 0 2px 1px var(--border-border-primary-btn)}._label_1aovq_29{position:absolute;align-self:flex-start;left:8px;top:-8px;padding:0 8px;cursor:text;transition:all .2s ease-in;font-family:var(--font-family-label);font-size:var(--font-size-xxs);color:var(--text-text-quaternary);background-color:var(--surface-surface-primary)}._labelPlaceholder_1aovq_43{position:absolute;align-self:flex-start;box-sizing:border-box;max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:italic;font-family:var(--font-family-label);font-size:var(--font-size-sm);background-color:transparent;color:var(--text-text-quaternary);left:12px;top:8px;padding:0 2px;pointer-events:none;transition:all .2s ease-in}input:hover{border:1px solid var(--border-border-primary-btn, #1380b1);transition:all .2s ease}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TextSize } from '../Text/Text';
|
|
2
|
+
export interface HighlightedTextProps {
|
|
3
|
+
text: string;
|
|
4
|
+
size: TextSize;
|
|
5
|
+
highlight: string;
|
|
6
|
+
variant?: "bold" | "highlight" | "italic";
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function HighlightedText({ text, size, highlight, variant, className }: HighlightedTextProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx as g, jsxs as x } from "react/jsx-runtime";
|
|
2
|
+
import { c as T } from "../../clsx-OuTLNxxd.js";
|
|
3
|
+
import { Text as o } from "../Text/Text.js";
|
|
4
|
+
import '../../assets/HighlightedText.css';const a = "_highlightedText_p19vf_1", c = {
|
|
5
|
+
highlightedText: a,
|
|
6
|
+
"highlightedText-bold": "_highlightedText-bold_p19vf_9",
|
|
7
|
+
"highlightedText-highlight": "_highlightedText-highlight_p19vf_17",
|
|
8
|
+
"highlightedText-italic": "_highlightedText-italic_p19vf_29"
|
|
9
|
+
};
|
|
10
|
+
function m({ text: t, size: i, highlight: h, variant: d = "bold", className: l }) {
|
|
11
|
+
const e = t.toLowerCase().indexOf(h.toLowerCase());
|
|
12
|
+
if (!h || e === -1)
|
|
13
|
+
return /* @__PURE__ */ g(o, { size: i, className: l, children: t });
|
|
14
|
+
const r = t.slice(0, e), s = t.slice(e, e + h.length), n = t.slice(e + h.length);
|
|
15
|
+
return /* @__PURE__ */ x(o, { size: i, children: [
|
|
16
|
+
r,
|
|
17
|
+
/* @__PURE__ */ g("span", { className: T(c.highlightedText, c[`highlightedText-${d}`], l), children: s }),
|
|
18
|
+
n
|
|
19
|
+
] });
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
m as HighlightedText
|
|
23
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { HighlightedText } from './HighlightedText';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof HighlightedText;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Bold: Story;
|
|
14
|
+
export declare const Highlight: Story;
|
|
15
|
+
export declare const Italic: Story;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { HighlightedText as t } from "./HighlightedText.js";
|
|
2
|
+
const i = {
|
|
3
|
+
title: "Case Parts/Atoms/HighlightedText",
|
|
4
|
+
component: t,
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: "centered"
|
|
7
|
+
},
|
|
8
|
+
tags: ["autodocs"]
|
|
9
|
+
}, e = {
|
|
10
|
+
args: {
|
|
11
|
+
text: "Thermostat",
|
|
12
|
+
size: "md",
|
|
13
|
+
highlight: "stat",
|
|
14
|
+
variant: "bold"
|
|
15
|
+
}
|
|
16
|
+
}, s = {
|
|
17
|
+
args: {
|
|
18
|
+
text: "Thermostat",
|
|
19
|
+
size: "md",
|
|
20
|
+
highlight: "stat",
|
|
21
|
+
variant: "highlight"
|
|
22
|
+
}
|
|
23
|
+
}, h = {
|
|
24
|
+
args: {
|
|
25
|
+
text: "Thermostat",
|
|
26
|
+
size: "md",
|
|
27
|
+
highlight: "stat",
|
|
28
|
+
variant: "italic"
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
e as Bold,
|
|
33
|
+
s as Highlight,
|
|
34
|
+
h as Italic,
|
|
35
|
+
i as default
|
|
36
|
+
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { c } from "../../clsx-OuTLNxxd.js";
|
|
4
|
-
import { getHideAtStyles as
|
|
5
|
-
import '../../assets/Input.css';const
|
|
6
|
-
"input-container": "_input-
|
|
7
|
-
input:
|
|
8
|
-
label:
|
|
9
|
-
labelPlaceholder:
|
|
10
|
-
}, y =
|
|
11
|
-
({ label:
|
|
12
|
-
const [
|
|
13
|
-
return /* @__PURE__ */
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
/* @__PURE__ */
|
|
1
|
+
import { jsxs as _, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import f, { useState as h } from "react";
|
|
3
|
+
import { c as r } from "../../clsx-OuTLNxxd.js";
|
|
4
|
+
import { getHideAtStyles as F } from "../HideAt.js";
|
|
5
|
+
import '../../assets/Input.css';const b = "_input_1aovq_1", x = "_label_1aovq_29", q = "_labelPlaceholder_1aovq_43", o = {
|
|
6
|
+
"input-container": "_input-container_1aovq_1",
|
|
7
|
+
input: b,
|
|
8
|
+
label: x,
|
|
9
|
+
labelPlaceholder: q
|
|
10
|
+
}, y = f.forwardRef(
|
|
11
|
+
({ label: e, placeholder: a, value: t, hideAt: d, className: u, ...l }, m) => {
|
|
12
|
+
const [n, s] = h(!1), c = !!e && (n || !!t), p = !!a && !e && !n && !t;
|
|
13
|
+
return /* @__PURE__ */ _("div", { className: r(o["input-container"], F(d)), children: [
|
|
14
|
+
(e || p) && /* @__PURE__ */ i("label", { htmlFor: l.name, className: c ? o.label : o.labelPlaceholder, children: c ? e : a ?? e }),
|
|
15
|
+
/* @__PURE__ */ i(
|
|
16
16
|
"input",
|
|
17
17
|
{
|
|
18
|
-
value:
|
|
19
|
-
ref:
|
|
18
|
+
value: t,
|
|
19
|
+
ref: m,
|
|
20
20
|
id: l.name,
|
|
21
21
|
type: "text",
|
|
22
|
-
onFocus: () =>
|
|
23
|
-
onBlur: () =>
|
|
24
|
-
className:
|
|
22
|
+
onFocus: () => s(!0),
|
|
23
|
+
onBlur: () => s(!1),
|
|
24
|
+
className: r(o.input, u),
|
|
25
25
|
...l
|
|
26
26
|
}
|
|
27
27
|
)
|
package/dist/main-client.js
CHANGED
|
@@ -1,116 +1,118 @@
|
|
|
1
1
|
import { Button as e } from "./atoms/Button/Button.js";
|
|
2
2
|
import { Flex as m } from "./atoms/Flex/Flex.js";
|
|
3
3
|
import { Column as f, Grid as x } from "./atoms/Grid/Grid.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
4
|
+
import { HighlightedText as i } from "./atoms/HighlightedText/HighlightedText.js";
|
|
5
|
+
import { Head as l } from "./atoms/Root/Head.js";
|
|
6
|
+
import { Icon as u } from "./atoms/Icon/Icon.js";
|
|
7
|
+
import { Root as g } from "./atoms/Root/Root.js";
|
|
8
|
+
import { Separator as s } from "./atoms/Separator/Separator.js";
|
|
9
|
+
import { Text as A } from "./atoms/Text/Text.js";
|
|
10
|
+
import { Input as P } from "./atoms/Input/Input.js";
|
|
11
|
+
import { ToggleSwitch as h } from "./atoms/ToggleSwitch/ToggleSwitch.js";
|
|
12
|
+
import { Link as I } from "./atoms/Link/Link.js";
|
|
13
|
+
import { linkClassName as w } from "./atoms/Link/linkClassName.js";
|
|
14
|
+
import { configureLink as H, routerOverride as b } from "./atoms/Link/configureLink.js";
|
|
15
|
+
import { LinkButton as F } from "./atoms/LinkButton/LinkButton.js";
|
|
16
|
+
import { Pill as N } from "./atoms/Pill/Pill.js";
|
|
17
|
+
import { configureImage as z } from "./atoms/Image/configureImage.js";
|
|
18
|
+
import { getHideAtStyles as E } from "./atoms/HideAt.js";
|
|
19
|
+
import { Logo as O } from "./molecules/Logo/Logo.js";
|
|
20
|
+
import { SearchBox as R } from "./molecules/SearchBox/SearchBox.js";
|
|
21
|
+
import { QuantityInput as Z } from "./molecules/QuantityInput/QuantityInput.js";
|
|
22
|
+
import { Pricing as q } from "./molecules/Pricing/Pricing.js";
|
|
23
|
+
import { ProgressBar as K } from "./molecules/ProgressBar/ProgressBar.js";
|
|
24
|
+
import { Availability as X } from "./molecules/Availability/Availability.js";
|
|
25
|
+
import { Avatar as _ } from "./molecules/Avatar/Avatar.js";
|
|
26
|
+
import { BannerCard as oo } from "./molecules/BannerCard/BannerCard.js";
|
|
27
|
+
import { CardLink as eo } from "./molecules/CardLink/CardLink.js";
|
|
28
|
+
import { Breadcrumbs as mo } from "./molecules/Breadcrumbs/Breadcrumbs.js";
|
|
29
|
+
import { Disclaimer as fo } from "./molecules/Disclaimer/Disclaimer.js";
|
|
30
|
+
import { Admonition as ao } from "./molecules/Admonition/Admonition.js";
|
|
31
|
+
import { CustomWizardBadge as no } from "./molecules/CustomWizardBadge/CustomWizardBadge.js";
|
|
32
|
+
import { NotFound as uo } from "./organisms/NotFound/NotFound.js";
|
|
33
|
+
import { HorizontalScroll as go } from "./atoms/HorizontalScroll/HorizontalScroll.js";
|
|
34
|
+
import { SlideInPanel as so } from "./atoms/SlideInPanel/SlideInPanel.js";
|
|
35
|
+
import { DropdownButton as Ao } from "./atoms/DropdownButton/DropdownButton.js";
|
|
36
|
+
import { Tooltip as Po } from "./atoms/Tooltip/Tooltip.js";
|
|
37
|
+
import { Popover as ho } from "./atoms/Popover/Popover.js";
|
|
38
|
+
import { Accordion as Io } from "./molecules/Accordion/Accordion.js";
|
|
39
|
+
import { Account as wo } from "./molecules/Account/Account.js";
|
|
40
|
+
import { Chip as Ho } from "./molecules/Chip/Chip.js";
|
|
41
|
+
import { ToggleView as yo } from "./molecules/ToggleView/ToggleView.js";
|
|
42
|
+
import { CartPart as Mo } from "./molecules/Cart/CartPart.js";
|
|
43
|
+
import { AddToCartPart as Vo } from "./molecules/AddToCartPart/AddToCartPart.js";
|
|
44
|
+
import { CartSlideInPanel as Do } from "./molecules/Cart/CartSlideInPanel.js";
|
|
45
|
+
import { StatefulButton as Go } from "./molecules/StatefulButton/StatefulButton.js";
|
|
46
|
+
import { AnimatedCheckMark as Qo } from "./molecules/StatefulButton/AnimatedCheckmark.js";
|
|
47
|
+
import { AddToCart as Wo } from "./molecules/AddToCart/AddToCart.js";
|
|
48
|
+
import { Modal as jo } from "./molecules/Modal/Modal.js";
|
|
49
|
+
import { ImageViewer as Jo } from "./molecules/ImageViewer/ImageViewer.js";
|
|
50
|
+
import { T as Uo } from "./Table-BX4PtCNE.js";
|
|
51
|
+
import { Error as Yo } from "./molecules/Error/Error.js";
|
|
52
|
+
import { MainNav as $o } from "./organisms/MainNav/MainNav.js";
|
|
53
|
+
import { ChipSelector as rr } from "./organisms/ChipSelector/ChipSelector.js";
|
|
54
|
+
import { Product as tr } from "./organisms/Product/Product.js";
|
|
55
|
+
import { Carousel as pr } from "./organisms/Carousel/Carousel.js";
|
|
56
|
+
import { Footer as xr } from "./organisms/Footer/Footer.js";
|
|
57
|
+
import { default as ir } from "./organisms/SpinZoomViewer/SpinZoomViewer.js";
|
|
57
58
|
export {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
59
|
+
Io as Accordion,
|
|
60
|
+
wo as Account,
|
|
61
|
+
Wo as AddToCart,
|
|
62
|
+
Vo as AddToCartPart,
|
|
63
|
+
ao as Admonition,
|
|
64
|
+
Qo as AnimatedCheckMark,
|
|
65
|
+
X as Availability,
|
|
66
|
+
_ as Avatar,
|
|
67
|
+
oo as BannerCard,
|
|
68
|
+
mo as Breadcrumbs,
|
|
68
69
|
e as Button,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
70
|
+
eo as CardLink,
|
|
71
|
+
pr as Carousel,
|
|
72
|
+
Mo as CartPart,
|
|
73
|
+
Do as CartSlideInPanel,
|
|
74
|
+
Ho as Chip,
|
|
75
|
+
rr as ChipSelector,
|
|
75
76
|
f as Column,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
no as CustomWizardBadge,
|
|
78
|
+
fo as Disclaimer,
|
|
79
|
+
Ao as DropdownButton,
|
|
80
|
+
Yo as Error,
|
|
80
81
|
m as Flex,
|
|
81
|
-
|
|
82
|
+
xr as Footer,
|
|
82
83
|
x as Grid,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
84
|
+
l as Head,
|
|
85
|
+
i as HighlightedText,
|
|
86
|
+
go as HorizontalScroll,
|
|
87
|
+
u as Icon,
|
|
88
|
+
Jo as ImageViewer,
|
|
89
|
+
P as Input,
|
|
90
|
+
I as Link,
|
|
91
|
+
F as LinkButton,
|
|
92
|
+
O as Logo,
|
|
93
|
+
$o as MainNav,
|
|
94
|
+
jo as Modal,
|
|
95
|
+
uo as NotFound,
|
|
96
|
+
N as Pill,
|
|
97
|
+
ho as Popover,
|
|
98
|
+
q as Pricing,
|
|
99
|
+
tr as Product,
|
|
100
|
+
K as ProgressBar,
|
|
101
|
+
Z as QuantityInput,
|
|
102
|
+
g as Root,
|
|
103
|
+
R as SearchBox,
|
|
104
|
+
s as Separator,
|
|
105
|
+
so as SlideInPanel,
|
|
106
|
+
ir as SpinZoomViewer,
|
|
107
|
+
Go as StatefulButton,
|
|
108
|
+
Uo as Table,
|
|
109
|
+
A as Text,
|
|
110
|
+
h as ToggleSwitch,
|
|
111
|
+
yo as ToggleView,
|
|
112
|
+
Po as Tooltip,
|
|
113
|
+
z as configureImage,
|
|
114
|
+
H as configureLink,
|
|
115
|
+
E as getHideAtStyles,
|
|
116
|
+
w as linkClassName,
|
|
117
|
+
b as routerOverride
|
|
116
118
|
};
|
package/dist/main-server.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export { Flex } from './atoms/Flex/Flex';
|
|
|
4
4
|
export type { FlexProps } from './atoms/Flex/Flex';
|
|
5
5
|
export { Grid, Column } from './atoms/Grid/Grid';
|
|
6
6
|
export type { GridProps, ColumnProps } from './atoms/Grid/Grid';
|
|
7
|
+
export { HighlightedText } from './atoms/HighlightedText/HighlightedText';
|
|
8
|
+
export type { HighlightedTextProps } from './atoms/HighlightedText/HighlightedText';
|
|
7
9
|
export { Head } from './atoms/Root/Head';
|
|
8
10
|
export { Icon } from './atoms/Icon/Icon';
|
|
9
11
|
export type { IconProps, IconColorToken, IconSet, IconVariant } from './atoms/Icon/Icon';
|
package/dist/main-server.js
CHANGED
|
@@ -1,66 +1,68 @@
|
|
|
1
1
|
import { Button as e } from "./atoms/Button/Button.js";
|
|
2
2
|
import { Flex as m } from "./atoms/Flex/Flex.js";
|
|
3
|
-
import { Column as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
3
|
+
import { Column as p, Grid as f } from "./atoms/Grid/Grid.js";
|
|
4
|
+
import { HighlightedText as a } from "./atoms/HighlightedText/HighlightedText.js";
|
|
5
|
+
import { Head as d } from "./atoms/Root/Head.js";
|
|
6
|
+
import { Icon as l } from "./atoms/Icon/Icon.js";
|
|
7
|
+
import { Root as c } from "./atoms/Root/Root.js";
|
|
8
|
+
import { Separator as B } from "./atoms/Separator/Separator.js";
|
|
9
|
+
import { Text as C } from "./atoms/Text/Text.js";
|
|
10
|
+
import { Input as h } from "./atoms/Input/Input.js";
|
|
11
|
+
import { ToggleSwitch as I } from "./atoms/ToggleSwitch/ToggleSwitch.js";
|
|
12
|
+
import { Link as v } from "./atoms/Link/Link.js";
|
|
13
|
+
import { linkClassName as H } from "./atoms/Link/linkClassName.js";
|
|
14
|
+
import { configureLink as T, routerOverride as b } from "./atoms/Link/configureLink.js";
|
|
15
|
+
import { LinkButton as N } from "./atoms/LinkButton/LinkButton.js";
|
|
16
|
+
import { Pill as z } from "./atoms/Pill/Pill.js";
|
|
17
|
+
import { configureImage as G } from "./atoms/Image/configureImage.js";
|
|
18
|
+
import { getHideAtStyles as Q } from "./atoms/HideAt.js";
|
|
19
|
+
import { Logo as W } from "./molecules/Logo/Logo.js";
|
|
20
|
+
import { SearchBox as q } from "./molecules/SearchBox/SearchBox.js";
|
|
21
|
+
import { QuantityInput as J } from "./molecules/QuantityInput/QuantityInput.js";
|
|
22
|
+
import { Pricing as M } from "./molecules/Pricing/Pricing.js";
|
|
23
|
+
import { ProgressBar as V } from "./molecules/ProgressBar/ProgressBar.js";
|
|
24
|
+
import { Availability as Y } from "./molecules/Availability/Availability.js";
|
|
25
|
+
import { Avatar as _ } from "./molecules/Avatar/Avatar.js";
|
|
26
|
+
import { BannerCard as rr } from "./molecules/BannerCard/BannerCard.js";
|
|
27
|
+
import { CardLink as er } from "./molecules/CardLink/CardLink.js";
|
|
28
|
+
import { Breadcrumbs as mr } from "./molecules/Breadcrumbs/Breadcrumbs.js";
|
|
29
|
+
import { Disclaimer as pr } from "./molecules/Disclaimer/Disclaimer.js";
|
|
30
|
+
import { Admonition as ir } from "./molecules/Admonition/Admonition.js";
|
|
31
|
+
import { CustomWizardBadge as nr } from "./molecules/CustomWizardBadge/CustomWizardBadge.js";
|
|
32
|
+
import { NotFound as gr } from "./organisms/NotFound/NotFound.js";
|
|
32
33
|
export {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
ir as Admonition,
|
|
35
|
+
Y as Availability,
|
|
36
|
+
_ as Avatar,
|
|
37
|
+
rr as BannerCard,
|
|
38
|
+
mr as Breadcrumbs,
|
|
38
39
|
e as Button,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
er as CardLink,
|
|
41
|
+
p as Column,
|
|
42
|
+
nr as CustomWizardBadge,
|
|
43
|
+
pr as Disclaimer,
|
|
43
44
|
m as Flex,
|
|
44
45
|
f as Grid,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
M as
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
B as
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
46
|
+
d as Head,
|
|
47
|
+
a as HighlightedText,
|
|
48
|
+
l as Icon,
|
|
49
|
+
h as Input,
|
|
50
|
+
v as Link,
|
|
51
|
+
N as LinkButton,
|
|
52
|
+
W as Logo,
|
|
53
|
+
gr as NotFound,
|
|
54
|
+
z as Pill,
|
|
55
|
+
M as Pricing,
|
|
56
|
+
V as ProgressBar,
|
|
57
|
+
J as QuantityInput,
|
|
58
|
+
c as Root,
|
|
59
|
+
q as SearchBox,
|
|
60
|
+
B as Separator,
|
|
61
|
+
C as Text,
|
|
62
|
+
I as ToggleSwitch,
|
|
63
|
+
G as configureImage,
|
|
64
|
+
T as configureLink,
|
|
65
|
+
Q as getHideAtStyles,
|
|
66
|
+
H as linkClassName,
|
|
67
|
+
b as routerOverride
|
|
66
68
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as n, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { Text as
|
|
2
|
+
import { Text as m } from "../../atoms/Text/Text.js";
|
|
3
3
|
import { c as f } from "../../clsx-OuTLNxxd.js";
|
|
4
4
|
import '../../assets/ProgressBar.css';const g = "_track_w0n30_25", v = "_completed_w0n30_59", x = "_inProgress_w0n30_69", B = "_completedFull_w0n30_81", N = "_labels_w0n30_91", k = "_labelContainer_w0n30_105", r = {
|
|
5
5
|
"progressBar-section": "_progressBar-section_w0n30_1",
|
|
@@ -16,7 +16,7 @@ function z({
|
|
|
16
16
|
completedValue: s,
|
|
17
17
|
inProgressValue: e,
|
|
18
18
|
totalValue: i,
|
|
19
|
-
totalLabel:
|
|
19
|
+
totalLabel: _,
|
|
20
20
|
completedLabel: p,
|
|
21
21
|
inProgressLabel: h,
|
|
22
22
|
variant: a,
|
|
@@ -36,21 +36,21 @@ function z({
|
|
|
36
36
|
children: [
|
|
37
37
|
a === "section" && /* @__PURE__ */ n("div", { className: r.labels, children: [
|
|
38
38
|
/* @__PURE__ */ l(
|
|
39
|
-
|
|
39
|
+
d,
|
|
40
40
|
{
|
|
41
|
-
label:
|
|
41
|
+
label: _,
|
|
42
42
|
value: i
|
|
43
43
|
}
|
|
44
44
|
),
|
|
45
45
|
/* @__PURE__ */ l(
|
|
46
|
-
|
|
46
|
+
d,
|
|
47
47
|
{
|
|
48
48
|
label: p,
|
|
49
49
|
value: s
|
|
50
50
|
}
|
|
51
51
|
),
|
|
52
52
|
/* @__PURE__ */ l(
|
|
53
|
-
|
|
53
|
+
d,
|
|
54
54
|
{
|
|
55
55
|
label: h,
|
|
56
56
|
value: e
|
|
@@ -61,7 +61,7 @@ function z({
|
|
|
61
61
|
/* @__PURE__ */ l("div", { className: r.completed, style: { width: `${c}%` } }),
|
|
62
62
|
a === "section" && e !== void 0 && e !== 0 && s < 100 && /* @__PURE__ */ l("div", { className: r.inProgress, style: { width: `${t}%` } })
|
|
63
63
|
] }),
|
|
64
|
-
a === "cell" && /* @__PURE__ */ n(
|
|
64
|
+
a === "cell" && /* @__PURE__ */ n(m, { weight: "semibold", size: "xs", children: [
|
|
65
65
|
s,
|
|
66
66
|
"%"
|
|
67
67
|
] })
|
|
@@ -69,13 +69,13 @@ function z({
|
|
|
69
69
|
}
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
return !o || !s ||
|
|
74
|
-
/* @__PURE__ */ n(
|
|
72
|
+
function d({ isVisible: o = !0, label: s, value: e }) {
|
|
73
|
+
return !o || !s || e === void 0 || e === null ? null : /* @__PURE__ */ n("div", { className: r.labelContainer, children: [
|
|
74
|
+
/* @__PURE__ */ n(m, { size: "sm", colorToken: "quaternary", children: [
|
|
75
75
|
s,
|
|
76
76
|
":"
|
|
77
77
|
] }),
|
|
78
|
-
/* @__PURE__ */ l(
|
|
78
|
+
/* @__PURE__ */ l(m, { weight: "semibold", size: "sm", children: e })
|
|
79
79
|
] });
|
|
80
80
|
}
|
|
81
81
|
export {
|