@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.
@@ -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}
@@ -1 +1 @@
1
- ._input-container_11f48_1{display:flex;position:relative;flex-direction:column;align-items:flex-start;width:100%;box-sizing:border-box}._input_11f48_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_11f48_1{font-size:var(--font-size-md)}}._input_11f48_1:focus{border:1px solid var(--border-border-primary-btn, #1380b1);box-shadow:0 0 2px 1px var(--border-border-primary-btn)}._label_11f48_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_11f48_43{position:absolute;align-self:flex-start;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;cursor:text;transition:all .2s ease-in}input:hover{border:1px solid var(--border-border-primary-btn, #1380b1);transition:all .2s ease}
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 p, jsx as s } from "react/jsx-runtime";
2
- import _, { useState as f } from "react";
3
- import { c } from "../../clsx-OuTLNxxd.js";
4
- import { getHideAtStyles as b } from "../HideAt.js";
5
- import '../../assets/Input.css';const F = "_input_11f48_1", h = "_label_11f48_29", x = "_labelPlaceholder_11f48_43", e = {
6
- "input-container": "_input-container_11f48_1",
7
- input: F,
8
- label: h,
9
- labelPlaceholder: x
10
- }, y = _.forwardRef(
11
- ({ label: t, placeholder: i, value: a, hideAt: r, className: u, ...l }, d) => {
12
- const [m, n] = f(!1), o = m || !!a;
13
- return /* @__PURE__ */ p("div", { className: c(e["input-container"], b(r)), children: [
14
- /* @__PURE__ */ s("label", { htmlFor: l.name, className: o ? e.label : e.labelPlaceholder, children: o ? t : i ?? t }),
15
- /* @__PURE__ */ s(
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: a,
19
- ref: d,
18
+ value: t,
19
+ ref: m,
20
20
  id: l.name,
21
21
  type: "text",
22
- onFocus: () => n(!0),
23
- onBlur: () => n(!1),
24
- className: c(e.input, u),
22
+ onFocus: () => s(!0),
23
+ onBlur: () => s(!1),
24
+ className: r(o.input, u),
25
25
  ...l
26
26
  }
27
27
  )
@@ -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 { Head as i } from "./atoms/Root/Head.js";
5
- import { Icon as l } from "./atoms/Icon/Icon.js";
6
- import { Root as u } from "./atoms/Root/Root.js";
7
- import { Separator as g } from "./atoms/Separator/Separator.js";
8
- import { Text as s } from "./atoms/Text/Text.js";
9
- import { Input as A } from "./atoms/Input/Input.js";
10
- import { ToggleSwitch as P } from "./atoms/ToggleSwitch/ToggleSwitch.js";
11
- import { Link as k } from "./atoms/Link/Link.js";
12
- import { linkClassName as h } from "./atoms/Link/linkClassName.js";
13
- import { configureLink as w, routerOverride as L } from "./atoms/Link/configureLink.js";
14
- import { LinkButton as y } from "./atoms/LinkButton/LinkButton.js";
15
- import { Pill as H } from "./atoms/Pill/Pill.js";
16
- import { configureImage as N } from "./atoms/Image/configureImage.js";
17
- import { getHideAtStyles as z } from "./atoms/HideAt.js";
18
- import { Logo as E } from "./molecules/Logo/Logo.js";
19
- import { SearchBox as O } from "./molecules/SearchBox/SearchBox.js";
20
- import { QuantityInput as R } from "./molecules/QuantityInput/QuantityInput.js";
21
- import { Pricing as Z } from "./molecules/Pricing/Pricing.js";
22
- import { ProgressBar as q } from "./molecules/ProgressBar/ProgressBar.js";
23
- import { Availability as K } from "./molecules/Availability/Availability.js";
24
- import { Avatar as X } from "./molecules/Avatar/Avatar.js";
25
- import { BannerCard as _ } from "./molecules/BannerCard/BannerCard.js";
26
- import { CardLink as oo } from "./molecules/CardLink/CardLink.js";
27
- import { Breadcrumbs as eo } from "./molecules/Breadcrumbs/Breadcrumbs.js";
28
- import { Disclaimer as mo } from "./molecules/Disclaimer/Disclaimer.js";
29
- import { Admonition as fo } from "./molecules/Admonition/Admonition.js";
30
- import { CustomWizardBadge as ao } from "./molecules/CustomWizardBadge/CustomWizardBadge.js";
31
- import { NotFound as no } from "./organisms/NotFound/NotFound.js";
32
- import { HorizontalScroll as uo } from "./atoms/HorizontalScroll/HorizontalScroll.js";
33
- import { SlideInPanel as go } from "./atoms/SlideInPanel/SlideInPanel.js";
34
- import { DropdownButton as so } from "./atoms/DropdownButton/DropdownButton.js";
35
- import { Tooltip as Ao } from "./atoms/Tooltip/Tooltip.js";
36
- import { Popover as Po } from "./atoms/Popover/Popover.js";
37
- import { Accordion as ko } from "./molecules/Accordion/Accordion.js";
38
- import { Account as ho } from "./molecules/Account/Account.js";
39
- import { Chip as wo } from "./molecules/Chip/Chip.js";
40
- import { ToggleView as bo } from "./molecules/ToggleView/ToggleView.js";
41
- import { CartPart as Fo } from "./molecules/Cart/CartPart.js";
42
- import { AddToCartPart as Mo } from "./molecules/AddToCartPart/AddToCartPart.js";
43
- import { CartSlideInPanel as Vo } from "./molecules/Cart/CartSlideInPanel.js";
44
- import { StatefulButton as Do } from "./molecules/StatefulButton/StatefulButton.js";
45
- import { AnimatedCheckMark as Go } from "./molecules/StatefulButton/AnimatedCheckmark.js";
46
- import { AddToCart as Qo } from "./molecules/AddToCart/AddToCart.js";
47
- import { Modal as Wo } from "./molecules/Modal/Modal.js";
48
- import { ImageViewer as jo } from "./molecules/ImageViewer/ImageViewer.js";
49
- import { T as Jo } from "./Table-BX4PtCNE.js";
50
- import { Error as Uo } from "./molecules/Error/Error.js";
51
- import { MainNav as Yo } from "./organisms/MainNav/MainNav.js";
52
- import { ChipSelector as $o } from "./organisms/ChipSelector/ChipSelector.js";
53
- import { Product as rr } from "./organisms/Product/Product.js";
54
- import { Carousel as tr } from "./organisms/Carousel/Carousel.js";
55
- import { Footer as pr } from "./organisms/Footer/Footer.js";
56
- import { default as xr } from "./organisms/SpinZoomViewer/SpinZoomViewer.js";
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
- ko as Accordion,
59
- ho as Account,
60
- Qo as AddToCart,
61
- Mo as AddToCartPart,
62
- fo as Admonition,
63
- Go as AnimatedCheckMark,
64
- K as Availability,
65
- X as Avatar,
66
- _ as BannerCard,
67
- eo as Breadcrumbs,
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
- oo as CardLink,
70
- tr as Carousel,
71
- Fo as CartPart,
72
- Vo as CartSlideInPanel,
73
- wo as Chip,
74
- $o as ChipSelector,
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
- ao as CustomWizardBadge,
77
- mo as Disclaimer,
78
- so as DropdownButton,
79
- Uo as Error,
77
+ no as CustomWizardBadge,
78
+ fo as Disclaimer,
79
+ Ao as DropdownButton,
80
+ Yo as Error,
80
81
  m as Flex,
81
- pr as Footer,
82
+ xr as Footer,
82
83
  x as Grid,
83
- i as Head,
84
- uo as HorizontalScroll,
85
- l as Icon,
86
- jo as ImageViewer,
87
- A as Input,
88
- k as Link,
89
- y as LinkButton,
90
- E as Logo,
91
- Yo as MainNav,
92
- Wo as Modal,
93
- no as NotFound,
94
- H as Pill,
95
- Po as Popover,
96
- Z as Pricing,
97
- rr as Product,
98
- q as ProgressBar,
99
- R as QuantityInput,
100
- u as Root,
101
- O as SearchBox,
102
- g as Separator,
103
- go as SlideInPanel,
104
- xr as SpinZoomViewer,
105
- Do as StatefulButton,
106
- Jo as Table,
107
- s as Text,
108
- P as ToggleSwitch,
109
- bo as ToggleView,
110
- Ao as Tooltip,
111
- N as configureImage,
112
- w as configureLink,
113
- z as getHideAtStyles,
114
- h as linkClassName,
115
- L as routerOverride
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
  };
@@ -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';
@@ -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 x, Grid as f } from "./atoms/Grid/Grid.js";
4
- import { Head as a } from "./atoms/Root/Head.js";
5
- import { Icon as u } from "./atoms/Icon/Icon.js";
6
- import { Root as l } from "./atoms/Root/Root.js";
7
- import { Separator as c } from "./atoms/Separator/Separator.js";
8
- import { Text as B } from "./atoms/Text/Text.js";
9
- import { Input as C } from "./atoms/Input/Input.js";
10
- import { ToggleSwitch as A } from "./atoms/ToggleSwitch/ToggleSwitch.js";
11
- import { Link as S } from "./atoms/Link/Link.js";
12
- import { linkClassName as y } from "./atoms/Link/linkClassName.js";
13
- import { configureLink as b, routerOverride as h } from "./atoms/Link/configureLink.js";
14
- import { LinkButton as H } from "./atoms/LinkButton/LinkButton.js";
15
- import { Pill as T } from "./atoms/Pill/Pill.js";
16
- import { configureImage as z } from "./atoms/Image/configureImage.js";
17
- import { getHideAtStyles as G } from "./atoms/HideAt.js";
18
- import { Logo as Q } from "./molecules/Logo/Logo.js";
19
- import { SearchBox as W } from "./molecules/SearchBox/SearchBox.js";
20
- import { QuantityInput as q } from "./molecules/QuantityInput/QuantityInput.js";
21
- import { Pricing as J } from "./molecules/Pricing/Pricing.js";
22
- import { ProgressBar as M } from "./molecules/ProgressBar/ProgressBar.js";
23
- import { Availability as V } from "./molecules/Availability/Availability.js";
24
- import { Avatar as Y } from "./molecules/Avatar/Avatar.js";
25
- import { BannerCard as _ } from "./molecules/BannerCard/BannerCard.js";
26
- import { CardLink as rr } from "./molecules/CardLink/CardLink.js";
27
- import { Breadcrumbs as er } from "./molecules/Breadcrumbs/Breadcrumbs.js";
28
- import { Disclaimer as mr } from "./molecules/Disclaimer/Disclaimer.js";
29
- import { Admonition as xr } from "./molecules/Admonition/Admonition.js";
30
- import { CustomWizardBadge as ir } from "./molecules/CustomWizardBadge/CustomWizardBadge.js";
31
- import { NotFound as nr } from "./organisms/NotFound/NotFound.js";
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
- xr as Admonition,
34
- V as Availability,
35
- Y as Avatar,
36
- _ as BannerCard,
37
- er as Breadcrumbs,
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
- rr as CardLink,
40
- x as Column,
41
- ir as CustomWizardBadge,
42
- mr as Disclaimer,
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
- a as Head,
46
- u as Icon,
47
- C as Input,
48
- S as Link,
49
- H as LinkButton,
50
- Q as Logo,
51
- nr as NotFound,
52
- T as Pill,
53
- J as Pricing,
54
- M as ProgressBar,
55
- q as QuantityInput,
56
- l as Root,
57
- W as SearchBox,
58
- c as Separator,
59
- B as Text,
60
- A as ToggleSwitch,
61
- z as configureImage,
62
- b as configureLink,
63
- G as getHideAtStyles,
64
- y as linkClassName,
65
- h as routerOverride
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 _ } from "../../atoms/Text/Text.js";
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: d,
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
- m,
39
+ d,
40
40
  {
41
- label: d,
41
+ label: _,
42
42
  value: i
43
43
  }
44
44
  ),
45
45
  /* @__PURE__ */ l(
46
- m,
46
+ d,
47
47
  {
48
48
  label: p,
49
49
  value: s
50
50
  }
51
51
  ),
52
52
  /* @__PURE__ */ l(
53
- m,
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(_, { weight: "semibold", size: "xs", children: [
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 m({ isVisible: o = !0, label: s, value: e }) {
73
- return !o || !s || !e ? null : /* @__PURE__ */ n("div", { className: r.labelContainer, children: [
74
- /* @__PURE__ */ n(_, { size: "sm", colorToken: "quaternary", children: [
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(_, { weight: "semibold", size: "sm", children: e })
78
+ /* @__PURE__ */ l(m, { weight: "semibold", size: "sm", children: e })
79
79
  ] });
80
80
  }
81
81
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@caseparts-org/caseblocks",
3
3
  "private": false,
4
- "version": "0.0.220",
4
+ "version": "0.0.222",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",