@caseparts-org/caseblocks 0.0.258 → 0.0.260

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,36 @@
1
+ import './assets/Cart.css';const t = "_cartIconButton_bq84n_2", n = "_count_bq84n_15", o = "_cartContainer_bq84n_30", e = "_headerWrapper_bq84n_41", a = "_header_bq84n_41", i = "_cartItems_bq84n_59", _ = "_cartItem_bq84n_59", r = "_cartItemContent_bq84n_76", c = "_carItemSeparator_bq84n_88", m = "_itemContainer_bq84n_92", s = "_topRow_bq84n_96", d = "_itemInfo_bq84n_103", I = "_editUnit_bq84n_108", b = "_purchaseInformation_bq84n_124", l = "_availabilitySlot_bq84n_130", q = "_priceSlot_bq84n_137", p = "_itemManagement_bq84n_139", g = "_itemImage_bq84n_152", u = "_removeItem_bq84n_155", h = "_cartItemAdmonitionsPanel_bq84n_164", v = "_admonitionsPanelCollapsed_bq84n_169", A = "_cartItemAdmonitionsTrigger_bq84n_174", C = "_cartItemAdmonitionHeader_bq84n_186", R = "_admonitionsReveal_bq84n_191", S = "_admonitionsRevealExpanded_bq84n_196", T = "_cartItemAdmonitions_bq84n_164", x = "_admonitionTriggerIconExpanded_bq84n_202", f = "_admonitionTriggerIcon_bq84n_202", B = "_noItems_bq84n_221", E = "_subtotal_bq84n_228", P = "_checkoutButton_bq84n_235", y = {
2
+ cartIconButton: t,
3
+ count: n,
4
+ cartContainer: o,
5
+ headerWrapper: e,
6
+ header: a,
7
+ cartItems: i,
8
+ cartItem: _,
9
+ cartItemContent: r,
10
+ carItemSeparator: c,
11
+ itemContainer: m,
12
+ topRow: s,
13
+ itemInfo: d,
14
+ editUnit: I,
15
+ purchaseInformation: b,
16
+ availabilitySlot: l,
17
+ priceSlot: q,
18
+ itemManagement: p,
19
+ itemImage: g,
20
+ removeItem: u,
21
+ cartItemAdmonitionsPanel: h,
22
+ admonitionsPanelCollapsed: v,
23
+ cartItemAdmonitionsTrigger: A,
24
+ cartItemAdmonitionHeader: C,
25
+ admonitionsReveal: R,
26
+ admonitionsRevealExpanded: S,
27
+ cartItemAdmonitions: T,
28
+ admonitionTriggerIconExpanded: x,
29
+ admonitionTriggerIcon: f,
30
+ noItems: B,
31
+ subtotal: E,
32
+ checkoutButton: P
33
+ };
34
+ export {
35
+ y as s
36
+ };
@@ -1 +1 @@
1
- ._cartIconButton_13798_2{position:relative;border:none;padding:0;margin:0;background-color:transparent;cursor:pointer;color:#000;transition:color .3s ease,transform .3s ease}._cartIconButton_13798_2:hover{color:var(--color-brand-primary-primary-teal-blue)}._count_13798_15{position:absolute;top:0;left:14px;border-radius:50%;width:18px;height:18px;display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:var(--color-brand-primary-primary-tangerine);color:var(--color-neutrals-neutral-1);font-weight:var(--font-weight-semibold)}._cartContainer_13798_30{height:100vh;width:100%;min-width:320px;max-width:375px;box-sizing:border-box;display:grid;grid-template-rows:auto auto 1fr auto auto;gap:var(--spacing-1);padding:var(--spacing-1)}._headerWrapper_13798_41{display:flex;flex-direction:row;align-items:flex-start;gap:var(--spacing-spacing-2xs)}._headerWrapper_13798_41>button{padding:0;margin:0;background-color:transparent;border:none}._header_13798_41{display:flex;flex-direction:column;align-items:flex-start;width:100%}._cartItems_13798_59{height:100%;overflow-y:auto;overflow-x:hidden}._cartItems_13798_59 ul{margin:0;padding:0;display:flex;flex-direction:column;gap:var(--spacing-spacing-1xs)}._cartItem_13798_59{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--spacing-0-5);align-items:start;box-sizing:border-box;position:relative;list-style:none;margin:0;padding:var(--spacing-0-5);width:100%;border:1px solid var(--color-neutrals-neutral-2);border-radius:var(--border-radius-md)}._itemContainer_13798_85{display:grid;gap:var(--spacing-spacing-3xs)}._topRow_13798_89{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:var(--spacing-spacing-4xs)}._itemInfo_13798_96{display:flex;flex-direction:column;align-items:flex-start}._editUnit_13798_101{display:flex;align-items:center;text-align:start;gap:var(--spacing-spacing-3xs);border:none;background-color:transparent;padding:0;margin:0;cursor:pointer;color:var(--text-text-links);word-wrap:break-word;font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold)}._purchaseInformation_13798_117{display:flex;flex-direction:column;align-items:flex-end;gap:var(--spacing-spacing-3xs)}._availabilitySlot_13798_123{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing-spacing-3xs)}._itemManagement_13798_132{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}._cartItem_13798_59 p{margin:0;padding:0;word-wrap:break-word;white-space:normal;overflow-wrap:break-word}._itemImage_13798_145{object-fit:contain}._removeItem_13798_148{border:none;background-color:transparent;padding:0;margin:0;cursor:pointer;width:min-content;height:min-content}._noItems_13798_158{display:flex;flex-direction:row;align-items:center;justify-content:center;height:100%}._subtotal_13798_165{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:var(--spacing-0-5)}._checkoutButton_13798_172{width:100%;height:fit-content;display:inline-flex;gap:var(--spacing-spacing-2xs)}
1
+ ._cartIconButton_bq84n_2{position:relative;border:none;padding:0;margin:0;background-color:transparent;cursor:pointer;color:#000;transition:color .3s ease,transform .3s ease}._cartIconButton_bq84n_2:hover{color:var(--color-brand-primary-primary-teal-blue)}._count_bq84n_15{position:absolute;top:0;left:14px;border-radius:50%;width:18px;height:18px;display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:var(--color-brand-primary-primary-tangerine);color:var(--color-neutrals-neutral-1);font-weight:var(--font-weight-semibold)}._cartContainer_bq84n_30{height:100vh;width:100%;min-width:320px;max-width:375px;box-sizing:border-box;display:grid;grid-template-rows:auto auto 1fr auto auto;gap:var(--spacing-1);padding:var(--spacing-1)}._headerWrapper_bq84n_41{display:flex;flex-direction:row;align-items:flex-start;gap:var(--spacing-spacing-2xs)}._headerWrapper_bq84n_41>button{padding:0;margin:0;background-color:transparent;border:none}._header_bq84n_41{display:flex;flex-direction:column;align-items:flex-start;width:100%}._cartItems_bq84n_59{height:100%;overflow-y:auto;overflow-x:hidden}._cartItems_bq84n_59 ul{margin:0;padding:0;display:flex;flex-direction:column;gap:var(--spacing-spacing-1xs)}._cartItem_bq84n_59{border:1px solid var(--color-neutrals-neutral-2);border-radius:var(--border-radius-sm)}._cartItemContent_bq84n_76{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--spacing-spacing-2xs);align-items:start;box-sizing:border-box;position:relative;list-style:none;margin:0;padding:var(--spacing-spacing-2xs);width:100%}._carItemSeparator_bq84n_88{width:100%;border-bottom:1px solid var(--border-border-primary)}._itemContainer_bq84n_92{display:grid;gap:var(--spacing-spacing-3xs)}._topRow_bq84n_96{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:var(--spacing-spacing-4xs)}._itemInfo_bq84n_103{display:flex;flex-direction:column;align-items:flex-start}._editUnit_bq84n_108{display:flex;align-items:center;text-align:start;gap:var(--spacing-spacing-3xs);border:none;background-color:transparent;padding:0;margin:0;cursor:pointer;color:var(--text-text-links);word-wrap:break-word;font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold)}._purchaseInformation_bq84n_124{display:flex;flex-direction:column;align-items:flex-end;gap:var(--spacing-spacing-3xs)}._availabilitySlot_bq84n_130{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing-spacing-3xs)}._itemManagement_bq84n_139{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}._cartItem_bq84n_59 p{margin:0;padding:0;word-wrap:break-word;white-space:normal;overflow-wrap:break-word}._itemImage_bq84n_152{object-fit:contain}._removeItem_bq84n_155{border:none;background-color:transparent;padding:0;margin:0;cursor:pointer;width:min-content;height:min-content}._cartItemAdmonitionsPanel_bq84n_164{padding:var(--spacing-spacing-2xs);display:grid;gap:var(--spacing-spacing-2xs)}._admonitionsPanelCollapsed_bq84n_169{padding-block:var(--spacing-spacing-3xs);gap:0}._cartItemAdmonitionsTrigger_bq84n_174{border:none;background-color:transparent;outline:none;margin:0;padding:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:space-between}._cartItemAdmonitionHeader_bq84n_186{display:inline-flex;align-items:center;gap:var(--spacing-spacing-4xs)}._admonitionsReveal_bq84n_191{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in}._admonitionsRevealExpanded_bq84n_196{grid-template-rows:1fr}._admonitionsReveal_bq84n_191>._cartItemAdmonitions_bq84n_164{overflow:hidden}._admonitionTriggerIconExpanded_bq84n_202{transform:rotate(180deg)}._admonitionTriggerIcon_bq84n_202{transition:transform .2s ease-in}._cartItemAdmonitions_bq84n_164{list-style:none;margin:0;padding:0}._noItems_bq84n_221{display:flex;flex-direction:row;align-items:center;justify-content:center;height:100%}._subtotal_bq84n_228{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:var(--spacing-0-5)}._checkoutButton_bq84n_235{width:100%;height:fit-content;display:inline-flex;gap:var(--spacing-spacing-2xs)}
@@ -2,3 +2,5 @@ export { Markdown } from './molecules/Markdown/Markdown';
2
2
  export type { MarkdownProps } from './molecules/Markdown/Markdown';
3
3
  export { usePreprocessedMarkdown } from './molecules/Markdown/usePreprocessedMarkdown';
4
4
  export type { LinkTarget, ValidateToken, BatchValidateTokens } from './molecules/Markdown/usePreprocessedMarkdown';
5
+ export { extractAdmonitions } from './molecules/Markdown/remarkAdmonition';
6
+ export type { MarkdownAdmonition } from './molecules/Markdown/remarkAdmonition';
@@ -1,6 +1,8 @@
1
1
  import { Markdown as e } from "./molecules/Markdown/Markdown.js";
2
- import { usePreprocessedMarkdown as p } from "./molecules/Markdown/usePreprocessedMarkdown.js";
2
+ import { usePreprocessedMarkdown as d } from "./molecules/Markdown/usePreprocessedMarkdown.js";
3
+ import { extractAdmonitions as n } from "./molecules/Markdown/remarkAdmonition.js";
3
4
  export {
4
5
  e as Markdown,
5
- p as usePreprocessedMarkdown
6
+ n as extractAdmonitions,
7
+ d as usePreprocessedMarkdown
6
8
  };
@@ -25,100 +25,101 @@ import { BannerCard as K } from "./molecules/BannerCard/BannerCard.js";
25
25
  import { CardLink as Y } from "./molecules/CardLink/CardLink.js";
26
26
  import { Breadcrumbs as oo } from "./molecules/Breadcrumbs/Breadcrumbs.js";
27
27
  import { Disclaimer as to } from "./molecules/Disclaimer/Disclaimer.js";
28
- import { ADMONITION_DEFAULT_ICONS as po, Admonition as mo } from "./molecules/Admonition/Admonition.js";
29
- import { Upsell as xo } from "./molecules/Upsell/Upsell.js";
30
- import { CustomWizardBadge as no } from "./molecules/CustomWizardBadge/CustomWizardBadge.js";
31
- import { NotFound as lo } from "./organisms/NotFound/NotFound.js";
32
- import { StatusPage as go } from "./organisms/StatusPage/StatusPage.js";
33
- import { HorizontalScroll as so } from "./atoms/HorizontalScroll/HorizontalScroll.js";
34
- import { SlideInPanel as So } from "./atoms/SlideInPanel/SlideInPanel.js";
35
- import { DropdownButton as Io } from "./atoms/DropdownButton/DropdownButton.js";
36
- import { Input as Po } from "./atoms/Input/Input.js";
37
- import { InputEndAdornmentButton as ko } from "./atoms/InputEndAdornmentButton/InputEndAdornmentButton.js";
38
- import { Select as wo } from "./atoms/Select/Select.js";
39
- import { Tooltip as No } from "./atoms/Tooltip/Tooltip.js";
40
- import { Popover as Do } from "./atoms/Popover/Popover.js";
41
- import { Accordion as Ho } from "./molecules/Accordion/Accordion.js";
42
- import { Account as Oo } from "./molecules/Account/Account.js";
43
- import { Chip as yo } from "./molecules/Chip/Chip.js";
44
- import { ToggleView as Vo } from "./molecules/ToggleView/ToggleView.js";
45
- import { CartPart as Uo } from "./molecules/Cart/CartPart.js";
46
- import { AddToCartPart as Go } from "./molecules/AddToCartPart/AddToCartPart.js";
47
- import { CartSlideInPanel as Ro } from "./molecules/Cart/CartSlideInPanel.js";
48
- import { StatefulButton as Zo } from "./molecules/StatefulButton/StatefulButton.js";
49
- import { AnimatedCheckMark as qo } from "./molecules/StatefulButton/AnimatedCheckmark.js";
50
- import { AddToCart as Ko } from "./molecules/AddToCart/AddToCart.js";
51
- import { Modal as Yo } from "./molecules/Modal/Modal.js";
52
- import { ImageViewer as or } from "./molecules/ImageViewer/ImageViewer.js";
53
- import { T as tr } from "./Table-_UT9976g.js";
54
- import { Error as pr } from "./molecules/Error/Error.js";
55
- import { MainNav as fr } from "./organisms/MainNav/MainNav.js";
56
- import { ChipSelector as ar } from "./organisms/ChipSelector/ChipSelector.js";
57
- import { SuggestionDropdown as ir } from "./organisms/SuggestionDropdown/SuggestionDropdown.js";
58
- import { Product as dr } from "./organisms/Product/Product.js";
59
- import { Carousel as gr } from "./organisms/Carousel/Carousel.js";
60
- import { Footer as sr } from "./organisms/Footer/Footer.js";
61
- import { default as Sr } from "./organisms/SpinZoomViewer/SpinZoomViewer.js";
28
+ import { Admonition as po } from "./molecules/Admonition/Admonition.js";
29
+ import { ADMONITION_DEFAULT_ICONS as fo } from "./molecules/Admonition/admonitionTokens.js";
30
+ import { Upsell as ao } from "./molecules/Upsell/Upsell.js";
31
+ import { CustomWizardBadge as io } from "./molecules/CustomWizardBadge/CustomWizardBadge.js";
32
+ import { NotFound as uo } from "./organisms/NotFound/NotFound.js";
33
+ import { StatusPage as co } from "./organisms/StatusPage/StatusPage.js";
34
+ import { HorizontalScroll as Co } from "./atoms/HorizontalScroll/HorizontalScroll.js";
35
+ import { SlideInPanel as Ao } from "./atoms/SlideInPanel/SlideInPanel.js";
36
+ import { DropdownButton as To } from "./atoms/DropdownButton/DropdownButton.js";
37
+ import { Input as Bo } from "./atoms/Input/Input.js";
38
+ import { InputEndAdornmentButton as ho } from "./atoms/InputEndAdornmentButton/InputEndAdornmentButton.js";
39
+ import { Select as Lo } from "./atoms/Select/Select.js";
40
+ import { Tooltip as vo } from "./atoms/Tooltip/Tooltip.js";
41
+ import { Popover as Fo } from "./atoms/Popover/Popover.js";
42
+ import { Accordion as Mo } from "./molecules/Accordion/Accordion.js";
43
+ import { Account as bo } from "./molecules/Account/Account.js";
44
+ import { Chip as Eo } from "./molecules/Chip/Chip.js";
45
+ import { ToggleView as zo } from "./molecules/ToggleView/ToggleView.js";
46
+ import { CartPart as _o } from "./molecules/Cart/CartPart.js";
47
+ import { AddToCartPart as Qo } from "./molecules/AddToCartPart/AddToCartPart.js";
48
+ import { CartSlideInPanel as Wo } from "./molecules/Cart/CartSlideInPanel.js";
49
+ import { StatefulButton as jo } from "./molecules/StatefulButton/StatefulButton.js";
50
+ import { AnimatedCheckMark as Jo } from "./molecules/StatefulButton/AnimatedCheckmark.js";
51
+ import { AddToCart as Xo } from "./molecules/AddToCart/AddToCart.js";
52
+ import { Modal as $o } from "./molecules/Modal/Modal.js";
53
+ import { ImageViewer as rr } from "./molecules/ImageViewer/ImageViewer.js";
54
+ import { T as er } from "./Table-_UT9976g.js";
55
+ import { Error as mr } from "./molecules/Error/Error.js";
56
+ import { MainNav as xr } from "./organisms/MainNav/MainNav.js";
57
+ import { ChipSelector as nr } from "./organisms/ChipSelector/ChipSelector.js";
58
+ import { SuggestionDropdown as lr } from "./organisms/SuggestionDropdown/SuggestionDropdown.js";
59
+ import { Product as ur } from "./organisms/Product/Product.js";
60
+ import { Carousel as cr } from "./organisms/Carousel/Carousel.js";
61
+ import { Footer as Cr } from "./organisms/Footer/Footer.js";
62
+ import { default as Ar } from "./organisms/SpinZoomViewer/SpinZoomViewer.js";
62
63
  export {
63
- po as ADMONITION_DEFAULT_ICONS,
64
- Ho as Accordion,
65
- Oo as Account,
66
- Ko as AddToCart,
67
- Go as AddToCartPart,
68
- mo as Admonition,
69
- qo as AnimatedCheckMark,
64
+ fo as ADMONITION_DEFAULT_ICONS,
65
+ Mo as Accordion,
66
+ bo as Account,
67
+ Xo as AddToCart,
68
+ Qo as AddToCartPart,
69
+ po as Admonition,
70
+ Jo as AnimatedCheckMark,
70
71
  Z as Availability,
71
72
  q as Avatar,
72
73
  K as BannerCard,
73
74
  oo as Breadcrumbs,
74
75
  t as Button,
75
76
  Y as CardLink,
76
- gr as Carousel,
77
- Uo as CartPart,
78
- Ro as CartSlideInPanel,
79
- yo as Chip,
80
- ar as ChipSelector,
77
+ cr as Carousel,
78
+ _o as CartPart,
79
+ Wo as CartSlideInPanel,
80
+ Eo as Chip,
81
+ nr as ChipSelector,
81
82
  f as Column,
82
- no as CustomWizardBadge,
83
+ io as CustomWizardBadge,
83
84
  to as Disclaimer,
84
- Io as DropdownButton,
85
- pr as Error,
85
+ To as DropdownButton,
86
+ mr as Error,
86
87
  p as Flex,
87
- sr as Footer,
88
+ Cr as Footer,
88
89
  x as Grid,
89
90
  l as Head,
90
91
  n as HighlightedText,
91
- so as HorizontalScroll,
92
+ Co as HorizontalScroll,
92
93
  u as Icon,
93
- or as ImageViewer,
94
- Po as Input,
95
- ko as InputEndAdornmentButton,
94
+ rr as ImageViewer,
95
+ Bo as Input,
96
+ ho as InputEndAdornmentButton,
96
97
  B as Link,
97
98
  D as LinkButton,
98
99
  V as Logo,
99
- fr as MainNav,
100
- Yo as Modal,
101
- lo as NotFound,
100
+ xr as MainNav,
101
+ $o as Modal,
102
+ uo as NotFound,
102
103
  H as Pill,
103
- Do as Popover,
104
+ Fo as Popover,
104
105
  G as Pricing,
105
- dr as Product,
106
+ ur as Product,
106
107
  R as ProgressBar,
107
108
  U as QuantityInput,
108
109
  c as Root,
109
- wo as Select,
110
+ Lo as Select,
110
111
  C as Separator,
111
- So as SlideInPanel,
112
- Sr as SpinZoomViewer,
113
- Zo as StatefulButton,
114
- go as StatusPage,
115
- ir as SuggestionDropdown,
116
- tr as Table,
112
+ Ao as SlideInPanel,
113
+ Ar as SpinZoomViewer,
114
+ jo as StatefulButton,
115
+ co as StatusPage,
116
+ lr as SuggestionDropdown,
117
+ er as Table,
117
118
  A as Text,
118
119
  T as ToggleSwitch,
119
- Vo as ToggleView,
120
- No as Tooltip,
121
- xo as Upsell,
120
+ zo as ToggleView,
121
+ vo as Tooltip,
122
+ ao as Upsell,
122
123
  O as configureImage,
123
124
  L as configureLink,
124
125
  y as getHideAtStyles,
@@ -48,7 +48,8 @@ export { Breadcrumbs } from './molecules/Breadcrumbs/Breadcrumbs';
48
48
  export type { BreadcrumbProps, Breadcrumb } from './molecules/Breadcrumbs/Breadcrumbs';
49
49
  export { Disclaimer } from './molecules/Disclaimer/Disclaimer';
50
50
  export type { DisclaimerProps, DisclaimerColorToken, DisclaimerIcon, DisclaimerContentProps, DisclaimerIconProps, DisclaimerPrimaryProps, DisclaimerSubtextProps, DisclaimerCTAProps, } from './molecules/Disclaimer/Disclaimer';
51
- export { Admonition, ADMONITION_DEFAULT_ICONS } from './molecules/Admonition/Admonition';
51
+ export { Admonition } from './molecules/Admonition/Admonition';
52
+ export { ADMONITION_DEFAULT_ICONS } from './molecules/Admonition/admonitionTokens';
52
53
  export type { AdmonitionProps, AdmonitionVariant } from './molecules/Admonition/Admonition';
53
54
  export { Upsell } from './molecules/Upsell/Upsell';
54
55
  export type { UpsellProps, UpsellIcon } from './molecules/Upsell/Upsell';
@@ -25,14 +25,15 @@ import { BannerCard as X } from "./molecules/BannerCard/BannerCard.js";
25
25
  import { CardLink as Z } from "./molecules/CardLink/CardLink.js";
26
26
  import { Breadcrumbs as rr } from "./molecules/Breadcrumbs/Breadcrumbs.js";
27
27
  import { Disclaimer as er } from "./molecules/Disclaimer/Disclaimer.js";
28
- import { ADMONITION_DEFAULT_ICONS as mr, Admonition as pr } from "./molecules/Admonition/Admonition.js";
29
- import { Upsell as fr } from "./molecules/Upsell/Upsell.js";
30
- import { CustomWizardBadge as ar } from "./molecules/CustomWizardBadge/CustomWizardBadge.js";
31
- import { NotFound as lr } from "./organisms/NotFound/NotFound.js";
32
- import { StatusPage as dr } from "./organisms/StatusPage/StatusPage.js";
28
+ import { Admonition as mr } from "./molecules/Admonition/Admonition.js";
29
+ import { ADMONITION_DEFAULT_ICONS as xr } from "./molecules/Admonition/admonitionTokens.js";
30
+ import { Upsell as ir } from "./molecules/Upsell/Upsell.js";
31
+ import { CustomWizardBadge as nr } from "./molecules/CustomWizardBadge/CustomWizardBadge.js";
32
+ import { NotFound as gr } from "./organisms/NotFound/NotFound.js";
33
+ import { StatusPage as ur } from "./organisms/StatusPage/StatusPage.js";
33
34
  export {
34
- mr as ADMONITION_DEFAULT_ICONS,
35
- pr as Admonition,
35
+ xr as ADMONITION_DEFAULT_ICONS,
36
+ mr as Admonition,
36
37
  q as Availability,
37
38
  K as Avatar,
38
39
  X as BannerCard,
@@ -40,7 +41,7 @@ export {
40
41
  e as Button,
41
42
  Z as CardLink,
42
43
  x as Column,
43
- ar as CustomWizardBadge,
44
+ nr as CustomWizardBadge,
44
45
  er as Disclaimer,
45
46
  m as Flex,
46
47
  f as Grid,
@@ -50,17 +51,17 @@ export {
50
51
  N as Link,
51
52
  y as LinkButton,
52
53
  z as Logo,
53
- lr as NotFound,
54
+ gr as NotFound,
54
55
  F as Pill,
55
56
  Q as Pricing,
56
57
  W as ProgressBar,
57
58
  G as QuantityInput,
58
59
  s as Root,
59
60
  A as Separator,
60
- dr as StatusPage,
61
+ ur as StatusPage,
61
62
  C as Text,
62
63
  L as ToggleSwitch,
63
- fr as Upsell,
64
+ ir as Upsell,
64
65
  b as configureImage,
65
66
  P as configureLink,
66
67
  _ as getHideAtStyles,
package/dist/main.d.ts CHANGED
@@ -26,7 +26,8 @@ export type { ChipProps } from './molecules/Chip/Chip';
26
26
  export { Logo } from './molecules/Logo/Logo';
27
27
  export { Error } from './molecules/Error/Error';
28
28
  export type { ErrorProps, ErrorMessageProps, ErrorDetailsProps, } from './molecules/Error/Error';
29
- export { Admonition, ADMONITION_DEFAULT_ICONS } from './molecules/Admonition/Admonition';
29
+ export { Admonition } from './molecules/Admonition/Admonition';
30
+ export { ADMONITION_DEFAULT_ICONS } from './molecules/Admonition/admonitionTokens';
30
31
  export type { AdmonitionProps, AdmonitionVariant } from './molecules/Admonition/Admonition';
31
32
  export { ToggleView } from './molecules/ToggleView/ToggleView';
32
33
  export type { ToggleViewProps, ToggleOptionProps, ToggleOptionBaseProps, } from './molecules/ToggleView/ToggleView';
package/dist/main.js CHANGED
@@ -14,19 +14,20 @@ import { Avatar as w } from "./molecules/Avatar/Avatar.js";
14
14
  import { Chip as F } from "./molecules/Chip/Chip.js";
15
15
  import { Logo as M } from "./molecules/Logo/Logo.js";
16
16
  import { Error as s } from "./molecules/Error/Error.js";
17
- import { ADMONITION_DEFAULT_ICONS as H, Admonition as R } from "./molecules/Admonition/Admonition.js";
18
- import { ToggleView as V } from "./molecules/ToggleView/ToggleView.js";
19
- import { MainNav as j } from "./organisms/MainNav/MainNav.js";
20
- import { ChipSelector as q } from "./organisms/ChipSelector/ChipSelector.js";
21
- import { SuggestionDropdown as z } from "./organisms/SuggestionDropdown/SuggestionDropdown.js";
17
+ import { Admonition as H } from "./molecules/Admonition/Admonition.js";
18
+ import { ADMONITION_DEFAULT_ICONS as U } from "./molecules/Admonition/admonitionTokens.js";
19
+ import { ToggleView as b } from "./molecules/ToggleView/ToggleView.js";
20
+ import { MainNav as k } from "./organisms/MainNav/MainNav.js";
21
+ import { ChipSelector as y } from "./organisms/ChipSelector/ChipSelector.js";
22
+ import { SuggestionDropdown as J } from "./organisms/SuggestionDropdown/SuggestionDropdown.js";
22
23
  export {
23
- H as ADMONITION_DEFAULT_ICONS,
24
+ U as ADMONITION_DEFAULT_ICONS,
24
25
  h as Account,
25
- R as Admonition,
26
+ H as Admonition,
26
27
  w as Avatar,
27
28
  t as Button,
28
29
  F as Chip,
29
- q as ChipSelector,
30
+ y as ChipSelector,
30
31
  x as Column,
31
32
  s as Error,
32
33
  p as Flex,
@@ -36,11 +37,11 @@ export {
36
37
  C as Input,
37
38
  T as InputEndAdornmentButton,
38
39
  M as Logo,
39
- j as MainNav,
40
+ k as MainNav,
40
41
  A as Root,
41
42
  E as Select,
42
43
  c as Separator,
43
- z as SuggestionDropdown,
44
+ J as SuggestionDropdown,
44
45
  l as Text,
45
- V as ToggleView
46
+ b as ToggleView
46
47
  };
@@ -7,11 +7,4 @@ export type AdmonitionProps = ComponentPropsWithoutRef<"aside"> & {
7
7
  title?: string;
8
8
  children?: ReactNode;
9
9
  };
10
- export declare const ADMONITION_DEFAULT_ICONS: {
11
- note: string;
12
- tip: string;
13
- attention: string;
14
- caution: string;
15
- warning: string;
16
- };
17
10
  export declare function Admonition({ admonitionType, variant, icon, title, className, children, ...props }: AdmonitionProps): import("react/jsx-runtime").JSX.Element;
@@ -1,22 +1,23 @@
1
- import { jsxs as d, jsx as t } from "react/jsx-runtime";
2
- import { Icon as u } from "../../atoms/Icon/Icon.js";
3
- import { Text as f } from "../../atoms/Text/Text.js";
1
+ import { jsxs as e, jsx as a } from "react/jsx-runtime";
2
+ import { Icon as N } from "../../atoms/Icon/Icon.js";
3
+ import { Text as u } from "../../atoms/Text/Text.js";
4
4
  import { c } from "../../clsx-OuTLNxxd.js";
5
- import '../../assets/Admonition.css';const N = "_admonition_7cwow_1", p = "_admonitionBorderLeft_7cwow_8", g = "_admonitionPanel_7cwow_13", C = "_admonitionWithIcon_7cwow_25", h = "_admonitionIcon_7cwow_29", I = "_admonitionContent_7cwow_33", T = "_admonitionHeader_7cwow_39", A = "_admonitionTitle_7cwow_45", B = "_admonitionBody_7cwow_52", W = "_admonitionNote_7cwow_67", x = "_admonitionTip_7cwow_73", L = "_admonitionAttention_7cwow_88", P = "_admonitionCaution_7cwow_103", y = "_admonitionWarning_7cwow_118", H = "_admonitionNeutral_7cwow_133", o = {
6
- admonition: N,
7
- admonitionBorderLeft: p,
8
- admonitionPanel: g,
9
- admonitionWithIcon: C,
10
- admonitionIcon: h,
11
- admonitionContent: I,
12
- admonitionHeader: T,
13
- admonitionTitle: A,
14
- admonitionBody: B,
5
+ import { ADMONITION_DEFAULT_ICONS as p, ADMONITION_ICON_COLOR_TOKENS as C } from "./admonitionTokens.js";
6
+ import '../../assets/Admonition.css';const I = "_admonition_7cwow_1", T = "_admonitionBorderLeft_7cwow_8", f = "_admonitionPanel_7cwow_13", h = "_admonitionWithIcon_7cwow_25", A = "_admonitionIcon_7cwow_29", g = "_admonitionContent_7cwow_33", B = "_admonitionHeader_7cwow_39", L = "_admonitionTitle_7cwow_45", O = "_admonitionBody_7cwow_52", W = "_admonitionNote_7cwow_67", x = "_admonitionTip_7cwow_73", P = "_admonitionAttention_7cwow_88", y = "_admonitionCaution_7cwow_103", E = "_admonitionWarning_7cwow_118", H = "_admonitionNeutral_7cwow_133", o = {
7
+ admonition: I,
8
+ admonitionBorderLeft: T,
9
+ admonitionPanel: f,
10
+ admonitionWithIcon: h,
11
+ admonitionIcon: A,
12
+ admonitionContent: g,
13
+ admonitionHeader: B,
14
+ admonitionTitle: L,
15
+ admonitionBody: O,
15
16
  admonitionNote: W,
16
17
  admonitionTip: x,
17
- admonitionAttention: L,
18
- admonitionCaution: P,
19
- admonitionWarning: y,
18
+ admonitionAttention: P,
19
+ admonitionCaution: y,
20
+ admonitionWarning: E,
20
21
  admonitionNeutral: H
21
22
  }, j = {
22
23
  note: "Note",
@@ -24,38 +25,39 @@ import '../../assets/Admonition.css';const N = "_admonition_7cwow_1", p = "_admo
24
25
  attention: "Attention",
25
26
  caution: "Caution",
26
27
  warning: "Warning"
27
- }, z = {
28
- note: "fa-regular fa-note",
29
- tip: "fa-regular fa-circle-info",
30
- attention: "fa-solid fa-triangle-exclamation",
31
- caution: "fa-solid fa-circle-exclamation",
32
- warning: "fa-solid fa-octagon-exclamation"
33
- }, E = (n) => {
34
- const a = n.trim().replace(/[_-]+/g, " ");
35
- return a ? a.split(/\s+/).map((i) => `${i.charAt(0).toUpperCase()}${i.slice(1).toLowerCase()}`).join(" ") : "Admonition";
36
- }, O = (n) => n === "note" ? o.admonitionNote : n === "tip" ? o.admonitionTip : n === "attention" ? o.admonitionAttention : n === "caution" ? o.admonitionCaution : n === "warning" ? o.admonitionWarning : o.admonitionNeutral;
37
- function U({
28
+ }, z = (n) => {
29
+ const t = n.trim().replace(/[_-]+/g, " ");
30
+ return t ? t.split(/\s+/).map((i) => `${i.charAt(0).toUpperCase()}${i.slice(1).toLowerCase()}`).join(" ") : "Admonition";
31
+ }, D = (n) => n === "note" ? o.admonitionNote : n === "tip" ? o.admonitionTip : n === "attention" ? o.admonitionAttention : n === "caution" ? o.admonitionCaution : n === "warning" ? o.admonitionWarning : o.admonitionNeutral;
32
+ function $({
38
33
  admonitionType: n,
39
- variant: a,
34
+ variant: t,
40
35
  icon: i,
41
36
  title: s,
42
37
  className: r,
43
38
  children: m,
44
- ...l
39
+ ..._
45
40
  }) {
46
- const _ = s ?? j[n] ?? E(n), w = O(a), e = i === !1 ? void 0 : (i == null ? void 0 : i.trim()) || z[a];
47
- return /* @__PURE__ */ d("aside", { ...l, className: c(o.admonition, w, r), "data-admonition": n, children: [
48
- /* @__PURE__ */ t("span", { className: o.admonitionBorderLeft, "aria-hidden": "true" }),
49
- /* @__PURE__ */ d("div", { className: c(o.admonitionPanel, e && o.admonitionWithIcon), children: [
50
- e ? /* @__PURE__ */ t("span", { className: o.admonitionIcon, "aria-hidden": "true", children: /* @__PURE__ */ t(u, { iconKey: e, size: "md" }, e) }) : null,
51
- /* @__PURE__ */ d("div", { className: o.admonitionContent, children: [
52
- /* @__PURE__ */ t("div", { className: o.admonitionHeader, children: /* @__PURE__ */ t(f, { size: "md", weight: "semibold", className: o.admonitionTitle, children: _ }) }),
53
- m != null ? /* @__PURE__ */ t("div", { className: o.admonitionBody, children: m }) : null
41
+ const l = s ?? j[n] ?? z(n), w = D(t), d = i === !1 ? void 0 : (i == null ? void 0 : i.trim()) || p[t];
42
+ return /* @__PURE__ */ e("aside", { ..._, className: c(o.admonition, w, r), "data-admonition": n, children: [
43
+ /* @__PURE__ */ a("span", { className: o.admonitionBorderLeft, "aria-hidden": "true" }),
44
+ /* @__PURE__ */ e("div", { className: c(o.admonitionPanel, d && o.admonitionWithIcon), children: [
45
+ d ? /* @__PURE__ */ a("span", { className: o.admonitionIcon, "aria-hidden": "true", children: /* @__PURE__ */ a(
46
+ N,
47
+ {
48
+ iconKey: d,
49
+ size: "md",
50
+ colorToken: C[t] ?? "default"
51
+ },
52
+ d
53
+ ) }) : null,
54
+ /* @__PURE__ */ e("div", { className: o.admonitionContent, children: [
55
+ /* @__PURE__ */ a("div", { className: o.admonitionHeader, children: /* @__PURE__ */ a(u, { size: "md", weight: "semibold", className: o.admonitionTitle, children: l }) }),
56
+ m != null ? /* @__PURE__ */ a("div", { className: o.admonitionBody, children: m }) : null
54
57
  ] })
55
58
  ] })
56
59
  ] });
57
60
  }
58
61
  export {
59
- z as ADMONITION_DEFAULT_ICONS,
60
- U as Admonition
62
+ $ as Admonition
61
63
  };
@@ -0,0 +1,9 @@
1
+ import { IconColorToken } from '../../atoms/Icon/Icon';
2
+ export declare const ADMONITION_DEFAULT_ICONS: {
3
+ note: string;
4
+ tip: string;
5
+ attention: string;
6
+ caution: string;
7
+ warning: string;
8
+ };
9
+ export declare const ADMONITION_ICON_COLOR_TOKENS: Record<string, IconColorToken>;
@@ -0,0 +1,18 @@
1
+ const a = {
2
+ note: "fa-regular fa-note",
3
+ tip: "fa-regular fa-circle-info",
4
+ attention: "fa-solid fa-triangle-exclamation",
5
+ caution: "fa-solid fa-circle-exclamation",
6
+ warning: "fa-solid fa-octagon-exclamation"
7
+ }, n = {
8
+ note: "default",
9
+ tip: "success",
10
+ attention: "caution",
11
+ caution: "warning",
12
+ warning: "error-warning",
13
+ unknown: "default"
14
+ };
15
+ export {
16
+ a as ADMONITION_DEFAULT_ICONS,
17
+ n as ADMONITION_ICON_COLOR_TOKENS
18
+ };
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as d } from "react/jsx-runtime";
2
2
  import l from "react";
3
3
  import { Icon as g } from "../../atoms/Icon/Icon.js";
4
4
  import { Text as p } from "../../atoms/Text/Text.js";
5
- import { s as m } from "../../Cart.module-ccFxL4YZ.js";
5
+ import { s as m } from "../../Cart.module-BIEAjANw.js";
6
6
  const S = l.forwardRef(function({
7
7
  cart: i,
8
8
  open: t = !1,
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { AvailabilityId, Inventory } from '../Availability/Availability';
3
+ import { MarkdownAdmonition } from '../Markdown/remarkAdmonition';
3
4
  export interface CartPartProps extends Omit<React.LiHTMLAttributes<HTMLLIElement>, "title"> {
4
5
  imageUrl?: string;
5
6
  imageAlt?: string;
@@ -24,5 +25,6 @@ export interface CartPartProps extends Omit<React.LiHTMLAttributes<HTMLLIElement
24
25
  onRemove?: () => void;
25
26
  onUnitEditClick?: () => void;
26
27
  requiresUnitDetails?: boolean;
28
+ admonitions?: MarkdownAdmonition[];
27
29
  }
28
- export declare function CartPart({ imageUrl, imageAlt, title, titleHref, onTitleNavigate, partNumber, unit, make, model, serial, custom, availabilityId, availability, inventory, source, priceLabel, price, quantity, maxQuantity, onQuantityChange, onRemove, onUnitEditClick, requiresUnitDetails, className, ...otherProps }: CartPartProps): import("react/jsx-runtime").JSX.Element;
30
+ export declare function CartPart({ imageUrl, imageAlt, title, titleHref, onTitleNavigate, partNumber, unit, make, model, serial, custom, availabilityId, availability, inventory, source, priceLabel, price, quantity, maxQuantity, onQuantityChange, onRemove, onUnitEditClick, requiresUnitDetails, className, admonitions, ...otherProps }: CartPartProps): import("react/jsx-runtime").JSX.Element;
@@ -1,128 +1,186 @@
1
- import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
- import { Link as q } from "../../atoms/Link/Link.js";
3
- import { Text as m } from "../../atoms/Text/Text.js";
4
- import { Image as v } from "../../atoms/Image/Image.js";
5
- import { Availability as A } from "../Availability/Availability.js";
6
- import { Pricing as B } from "../Pricing/Pricing.js";
7
- import { QuantityInput as D } from "../QuantityInput/QuantityInput.js";
8
- import { Icon as c } from "../../atoms/Icon/Icon.js";
9
- import { Pill as F } from "../../atoms/Pill/Pill.js";
10
- import { Tooltip as _ } from "../../atoms/Tooltip/Tooltip.js";
11
- import { c as E } from "../../clsx-OuTLNxxd.js";
12
- import { s as i } from "../../Cart.module-ccFxL4YZ.js";
13
- function ee({
14
- imageUrl: k,
15
- imageAlt: I = "Product image",
16
- title: d,
17
- titleHref: f,
18
- onTitleNavigate: l,
19
- partNumber: p,
20
- unit: z,
21
- make: K,
22
- model: N,
23
- serial: P,
24
- custom: x,
25
- availabilityId: C,
26
- availability: u,
27
- inventory: S,
28
- source: t = "none",
29
- priceLabel: T = "List Price",
30
- price: h,
31
- quantity: b,
32
- maxQuantity: o,
33
- onQuantityChange: g,
34
- onRemove: y,
35
- onUnitEditClick: n,
36
- requiresUnitDetails: M = !1,
37
- className: j,
38
- ...w
1
+ import { jsxs as l, jsx as r } from "react/jsx-runtime";
2
+ import q, { useState as B, useId as V } from "react";
3
+ import { Link as G } from "../../atoms/Link/Link.js";
4
+ import { Text as t } from "../../atoms/Text/Text.js";
5
+ import { Image as H } from "../../atoms/Image/Image.js";
6
+ import { Availability as J } from "../Availability/Availability.js";
7
+ import { Pricing as Q } from "../Pricing/Pricing.js";
8
+ import { QuantityInput as U } from "../QuantityInput/QuantityInput.js";
9
+ import { Icon as s } from "../../atoms/Icon/Icon.js";
10
+ import { Pill as W } from "../../atoms/Pill/Pill.js";
11
+ import { Tooltip as X } from "../../atoms/Tooltip/Tooltip.js";
12
+ import { c as o } from "../../clsx-OuTLNxxd.js";
13
+ import { s as e } from "../../Cart.module-BIEAjANw.js";
14
+ import { ADMONITION_ICON_COLOR_TOKENS as Y } from "../Admonition/admonitionTokens.js";
15
+ import { Admonition as Z } from "../Admonition/Admonition.js";
16
+ function he({
17
+ imageUrl: x,
18
+ imageAlt: C = "Product image",
19
+ title: h,
20
+ titleHref: u,
21
+ onTitleNavigate: m,
22
+ partNumber: g,
23
+ unit: K,
24
+ make: P,
25
+ model: A,
26
+ serial: S,
27
+ custom: w,
28
+ availabilityId: O,
29
+ availability: I,
30
+ inventory: R,
31
+ source: c = "none",
32
+ priceLabel: _ = "List Price",
33
+ price: y,
34
+ quantity: N,
35
+ maxQuantity: d,
36
+ onQuantityChange: b,
37
+ onRemove: k,
38
+ onUnitEditClick: f,
39
+ requiresUnitDetails: E = !1,
40
+ className: M,
41
+ admonitions: i,
42
+ ...L
39
43
  }) {
40
- function L(a) {
41
- a.defaultPrevented || a.button === 0 && (a.metaKey || a.altKey || a.ctrlKey || a.shiftKey || a.currentTarget.target && a.currentTarget.target !== "_self" || l == null || l(a));
44
+ var z, v;
45
+ const [n, j] = B(!1), T = V();
46
+ function D(a) {
47
+ a.defaultPrevented || a.button === 0 && (a.metaKey || a.altKey || a.ctrlKey || a.shiftKey || a.currentTarget.target && a.currentTarget.target !== "_self" || m == null || m(a));
42
48
  }
43
- const s = z || [K, N, P].filter(Boolean).join(" / "), R = typeof o == "number" && Number.isFinite(o) ? o : void 0;
44
- return /* @__PURE__ */ r("li", { className: E(i.cartItem, j), ...w, children: [
45
- /* @__PURE__ */ e(v, { height: 50, width: 50, src: k || "", alt: I, className: i.itemImage }),
46
- /* @__PURE__ */ r("div", { className: i.itemContainer, children: [
47
- /* @__PURE__ */ r("div", { className: i.topRow, children: [
48
- /* @__PURE__ */ r("div", { className: i.itemInfo, children: [
49
- /* @__PURE__ */ e(m, { size: "sm", weight: "semibold", children: f ? /* @__PURE__ */ e(q, { href: f, onClick: L, children: d }) : d }),
50
- p != null && /* @__PURE__ */ r(m, { size: "sm", children: [
51
- /* @__PURE__ */ e(m, { colorToken: "quaternary", size: "xs", children: x ? "Specs " : "Part # " }),
52
- p
49
+ const p = K || [P, A, S].filter(Boolean).join(" / "), F = typeof d == "number" && Number.isFinite(d) ? d : void 0;
50
+ return /* @__PURE__ */ l("li", { className: o(e.cartItem, M), ...L, children: [
51
+ /* @__PURE__ */ l("div", { className: e.cartItemContent, children: [
52
+ /* @__PURE__ */ r(H, { height: 50, width: 50, src: x || "", alt: C, className: e.itemImage }),
53
+ /* @__PURE__ */ l("div", { className: e.itemContainer, children: [
54
+ /* @__PURE__ */ l("div", { className: e.topRow, children: [
55
+ /* @__PURE__ */ l("div", { className: e.itemInfo, children: [
56
+ /* @__PURE__ */ r(t, { size: "sm", weight: "semibold", children: u ? /* @__PURE__ */ r(G, { href: u, onClick: D, children: h }) : h }),
57
+ g != null && /* @__PURE__ */ l(t, { size: "sm", children: [
58
+ /* @__PURE__ */ r(t, { colorToken: "quaternary", size: "xs", children: w ? "Specs " : "Part # " }),
59
+ g
60
+ ] }),
61
+ p && f && (E ? /* @__PURE__ */ r(
62
+ X,
63
+ {
64
+ trigger: /* @__PURE__ */ l(
65
+ "button",
66
+ {
67
+ onClick: f,
68
+ className: e.editUnit,
69
+ "aria-label": "Edit make, model, and serial",
70
+ type: "button",
71
+ children: [
72
+ /* @__PURE__ */ r(s, { iconKey: "fa-light fa-file-pen", size: "sm" }),
73
+ p
74
+ ]
75
+ }
76
+ ),
77
+ children: /* @__PURE__ */ r(t, { size: "sm", children: "Requires Make, Model, and Serial" })
78
+ }
79
+ ) : /* @__PURE__ */ l(
80
+ "button",
81
+ {
82
+ onClick: f,
83
+ className: e.editUnit,
84
+ "aria-label": "Edit make, model, and serial",
85
+ type: "button",
86
+ children: [
87
+ /* @__PURE__ */ r(s, { iconKey: "fa-light fa-file-pen", size: "sm" }),
88
+ /* @__PURE__ */ r(t, { size: "sm", children: p })
89
+ ]
90
+ }
91
+ ))
53
92
  ] }),
54
- s && n && (M ? /* @__PURE__ */ e(
55
- _,
56
- {
57
- trigger: /* @__PURE__ */ r(
58
- "button",
59
- {
60
- onClick: n,
61
- className: i.editUnit,
62
- "aria-label": "Edit make, model, and serial",
63
- type: "button",
64
- children: [
65
- /* @__PURE__ */ e(c, { iconKey: "fa-light fa-file-pen", size: "sm" }),
66
- s
67
- ]
68
- }
69
- ),
70
- children: "Requires Make, Model, and Serial"
71
- }
72
- ) : /* @__PURE__ */ r(
73
- "button",
74
- {
75
- onClick: n,
76
- className: i.editUnit,
77
- "aria-label": "Edit make, model, and serial",
78
- type: "button",
79
- children: [
80
- /* @__PURE__ */ e(c, { iconKey: "fa-light fa-file-pen", size: "sm" }),
81
- s
82
- ]
83
- }
84
- ))
93
+ k && /* @__PURE__ */ r("button", { onClick: k, className: e.removeItem, "aria-label": "Remove item", type: "button", children: /* @__PURE__ */ r(s, { iconKey: "fa-regular fa-trash", size: "sm" }) })
85
94
  ] }),
86
- y && /* @__PURE__ */ e("button", { onClick: y, className: i.removeItem, "aria-label": "Remove item", type: "button", children: /* @__PURE__ */ e(c, { iconKey: "fa-regular fa-trash", size: "sm" }) })
87
- ] }),
88
- /* @__PURE__ */ r("div", { className: i.itemManagement, children: [
89
- /* @__PURE__ */ r("div", { className: i.availabilitySlot, children: [
90
- u && /* @__PURE__ */ e(
91
- A,
92
- {
93
- availId: C || "not-found",
94
- availDescription: u,
95
- enableTooltip: !0,
96
- inventory: S
97
- }
98
- ),
99
- t !== "none" && /* @__PURE__ */ e(
100
- F,
101
- {
102
- colorToken: t === "cart" ? "neutral" : "success",
103
- uppercase: !0,
104
- iconColorToken: t === "cart" ? "default" : "success",
105
- iconKey: t === "cart" ? "fa-light fa-cart-shopping" : "fa-light fa-file-lines",
106
- children: t === "cart" ? "Cart" : "Quote"
107
- }
108
- )
109
- ] }),
110
- /* @__PURE__ */ r("div", { className: i.purchaseInformation, children: [
111
- /* @__PURE__ */ e("div", { className: i.priceSlot, children: h && /* @__PURE__ */ e(B, { pricingLabel: T, price: h }) }),
112
- typeof b == "number" && g && /* @__PURE__ */ e(
113
- D,
114
- {
115
- quantity: b,
116
- onQuantityChange: g,
117
- max: R,
118
- size: "sm"
119
- }
120
- )
95
+ /* @__PURE__ */ l("div", { className: e.itemManagement, children: [
96
+ /* @__PURE__ */ l("div", { className: e.availabilitySlot, children: [
97
+ I && /* @__PURE__ */ r(
98
+ J,
99
+ {
100
+ availId: O || "not-found",
101
+ availDescription: I,
102
+ enableTooltip: !0,
103
+ inventory: R
104
+ }
105
+ ),
106
+ c !== "none" && /* @__PURE__ */ r(
107
+ W,
108
+ {
109
+ colorToken: c === "cart" ? "neutral" : "success",
110
+ uppercase: !0,
111
+ iconColorToken: c === "cart" ? "default" : "success",
112
+ iconKey: c === "cart" ? "fa-light fa-cart-shopping" : "fa-light fa-file-lines",
113
+ children: c === "cart" ? "Cart" : "Quote"
114
+ }
115
+ )
116
+ ] }),
117
+ /* @__PURE__ */ l("div", { className: e.purchaseInformation, children: [
118
+ /* @__PURE__ */ r("div", { className: e.priceSlot, children: y && /* @__PURE__ */ r(Q, { pricingLabel: _, price: y }) }),
119
+ typeof N == "number" && b && /* @__PURE__ */ r(
120
+ U,
121
+ {
122
+ quantity: N,
123
+ onQuantityChange: b,
124
+ max: F,
125
+ size: "sm"
126
+ }
127
+ )
128
+ ] })
121
129
  ] })
122
130
  ] })
131
+ ] }),
132
+ ((i == null ? void 0 : i.length) ?? 0) > 0 && /* @__PURE__ */ l(q.Fragment, { children: [
133
+ /* @__PURE__ */ r("div", { className: e.carItemSeparator }),
134
+ /* @__PURE__ */ l("div", { className: o(e.cartItemAdmonitionsPanel, !n && e.admonitionsPanelCollapsed), children: [
135
+ /* @__PURE__ */ l(
136
+ "button",
137
+ {
138
+ className: e.cartItemAdmonitionsTrigger,
139
+ onClick: () => j(!n),
140
+ type: "button",
141
+ "aria-expanded": n,
142
+ "aria-controls": T,
143
+ children: [
144
+ /* @__PURE__ */ l("div", { className: e.cartItemAdmonitionHeader, children: [
145
+ /* @__PURE__ */ r(
146
+ s,
147
+ {
148
+ iconKey: ((z = i == null ? void 0 : i[0]) == null ? void 0 : z.icon) ?? "fa-regular fa-info-circle",
149
+ size: "sm",
150
+ colorToken: Y[((v = i == null ? void 0 : i[0]) == null ? void 0 : v.variant) ?? "unknown"] ?? "default"
151
+ }
152
+ ),
153
+ /* @__PURE__ */ l(t, { size: "sm", children: [
154
+ "View (",
155
+ i == null ? void 0 : i.length,
156
+ ") item notes"
157
+ ] })
158
+ ] }),
159
+ /* @__PURE__ */ r(s, { className: o(e.admonitionTriggerIcon, n ? e.admonitionTriggerIconExpanded : e.admonitionTriggerIconCollapsed), iconKey: "fa-regular fa-chevron-down", size: "xs", colorToken: "secondary" })
160
+ ]
161
+ }
162
+ ),
163
+ /* @__PURE__ */ r(
164
+ "div",
165
+ {
166
+ className: o(e.admonitionsReveal, n && e.admonitionsRevealExpanded),
167
+ id: T,
168
+ children: /* @__PURE__ */ r("ol", { className: e.cartItemAdmonitions, children: i == null ? void 0 : i.map((a) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r(
169
+ Z,
170
+ {
171
+ admonitionType: a.type,
172
+ variant: a.type,
173
+ icon: a.icon,
174
+ title: a.title,
175
+ children: a.content
176
+ }
177
+ ) }, a.variant)) })
178
+ }
179
+ )
180
+ ] })
123
181
  ] })
124
182
  ] });
125
183
  }
126
184
  export {
127
- ee as CartPart
185
+ he as CartPart
128
186
  };
@@ -40,3 +40,4 @@ export declare const WithoutAvailability: Story;
40
40
  export declare const CartSource: Story;
41
41
  export declare const QuoteSource: Story;
42
42
  export declare const MaxQuantityCapped: Story;
43
+ export declare const Admonitions: Story;
@@ -1,12 +1,19 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { CartPart as t } from "./CartPart.js";
3
- const a = {
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { ADMONITION_DEFAULT_ICONS as a } from "../Admonition/admonitionTokens.js";
3
+ import { CartPart as e } from "./CartPart.js";
4
+ const n = {
4
5
  MPK: { Unreserved: 5, Available: 5 },
5
6
  SEA: { Unreserved: 3, Available: 3 },
6
7
  STL: { Unreserved: 8, Available: 8 }
7
- }, n = {
8
+ }, r = [
9
+ { type: "warning", variant: "warning", icon: a.warning, content: "Disconnect power before servicing this unit." },
10
+ { type: "caution", variant: "caution", icon: a.caution, content: "Inspect the mounting surface before installation." },
11
+ { type: "attention", variant: "attention", icon: a.attention, content: "Fits only selected revisions." }
12
+ // { type: "tip", variant: "tip", icon: ADMONITION_DEFAULT_ICONS.tip, content: "Use the provided measurements for the most accurate fit." },
13
+ // { type: "note", variant: "note", icon: ADMONITION_DEFAULT_ICONS.note, content: "Confirm the model and serial number before ordering." },
14
+ ], d = {
8
15
  title: "Case Parts/Molecules/CartPart",
9
- component: t,
16
+ component: e,
10
17
  parameters: {
11
18
  layout: "centered"
12
19
  },
@@ -24,7 +31,7 @@ const a = {
24
31
  custom: !1,
25
32
  availabilityId: "in-stock",
26
33
  availability: "In Stock",
27
- inventory: a,
34
+ inventory: n,
28
35
  priceLabel: "List Price",
29
36
  price: "$99.99",
30
37
  quantity: 1,
@@ -38,9 +45,9 @@ const a = {
38
45
  alert("Edit Unit");
39
46
  }
40
47
  }
41
- }, d = {
42
- render: (i) => /* @__PURE__ */ e("div", { style: { width: 360 }, children: /* @__PURE__ */ e("ul", { style: { margin: 0, padding: 0 }, children: /* @__PURE__ */ e(t, { ...i }) }) })
43
- }, s = {
48
+ }, c = {
49
+ render: (t) => /* @__PURE__ */ i("div", { style: { width: 360 }, children: /* @__PURE__ */ i("ul", { style: { margin: 0, padding: 0 }, children: /* @__PURE__ */ i(e, { ...t }) }) })
50
+ }, v = {
44
51
  args: {
45
52
  title: "Custom-Molded Snap-In Magnetic Gasket",
46
53
  partNumber: 'MG064 36" x 79" 3-Sided Dart-to-Dart Gasket',
@@ -50,26 +57,26 @@ const a = {
50
57
  inventory: {},
51
58
  price: "$129.99"
52
59
  },
53
- render: (i) => /* @__PURE__ */ e("div", { style: { width: 360 }, children: /* @__PURE__ */ e("ul", { style: { margin: 0, padding: 0 }, children: /* @__PURE__ */ e(t, { ...i }) }) })
54
- }, o = {
60
+ render: (t) => /* @__PURE__ */ i("div", { style: { width: 360 }, children: /* @__PURE__ */ i("ul", { style: { margin: 0, padding: 0 }, children: /* @__PURE__ */ i(e, { ...t }) }) })
61
+ }, u = {
55
62
  args: {
56
63
  availabilityId: void 0,
57
64
  availability: void 0,
58
65
  inventory: {},
59
66
  price: "$99.99"
60
67
  },
61
- render: (i) => /* @__PURE__ */ e("div", { style: { width: 360 }, children: /* @__PURE__ */ e("ul", { style: { margin: 0, padding: 0 }, children: /* @__PURE__ */ e(t, { ...i }) }) })
62
- }, c = {
68
+ render: (t) => /* @__PURE__ */ i("div", { style: { width: 360 }, children: /* @__PURE__ */ i("ul", { style: { margin: 0, padding: 0 }, children: /* @__PURE__ */ i(e, { ...t }) }) })
69
+ }, m = {
63
70
  args: {
64
71
  source: "cart"
65
72
  },
66
- render: (i) => /* @__PURE__ */ e("div", { style: { width: 360 }, children: /* @__PURE__ */ e("ul", { style: { margin: 0, padding: 0 }, children: /* @__PURE__ */ e(t, { ...i }) }) })
67
- }, v = {
73
+ render: (t) => /* @__PURE__ */ i("div", { style: { width: 360 }, children: /* @__PURE__ */ i("ul", { style: { margin: 0, padding: 0 }, children: /* @__PURE__ */ i(e, { ...t }) }) })
74
+ }, y = {
68
75
  args: {
69
76
  source: "quote"
70
77
  },
71
- render: (i) => /* @__PURE__ */ e("div", { style: { width: 360 }, children: /* @__PURE__ */ e("ul", { style: { margin: 0, padding: 0 }, children: /* @__PURE__ */ e(t, { ...i }) }) })
72
- }, u = {
78
+ render: (t) => /* @__PURE__ */ i("div", { style: { width: 360 }, children: /* @__PURE__ */ i("ul", { style: { margin: 0, padding: 0 }, children: /* @__PURE__ */ i(e, { ...t }) }) })
79
+ }, g = {
73
80
  args: {
74
81
  availabilityId: "limited",
75
82
  availability: "Discontinued - limited stock",
@@ -81,14 +88,20 @@ const a = {
81
88
  quantity: 2,
82
89
  maxQuantity: 2
83
90
  },
84
- render: (i) => /* @__PURE__ */ e("div", { style: { width: 360 }, children: /* @__PURE__ */ e("ul", { style: { margin: 0, padding: 0 }, children: /* @__PURE__ */ e(t, { ...i }) }) })
91
+ render: (t) => /* @__PURE__ */ i("div", { style: { width: 360 }, children: /* @__PURE__ */ i("ul", { style: { margin: 0, padding: 0 }, children: /* @__PURE__ */ i(e, { ...t }) }) })
92
+ }, p = {
93
+ args: {
94
+ admonitions: r
95
+ },
96
+ render: (t) => /* @__PURE__ */ i("div", { style: { width: 360 }, children: /* @__PURE__ */ i("ul", { style: { margin: 0, padding: 0 }, children: /* @__PURE__ */ i(e, { ...t }) }) })
85
97
  };
86
98
  export {
87
- d as Basic,
88
- c as CartSource,
89
- s as CustomSpecs,
90
- u as MaxQuantityCapped,
91
- v as QuoteSource,
92
- o as WithoutAvailability,
93
- n as default
99
+ p as Admonitions,
100
+ c as Basic,
101
+ m as CartSource,
102
+ v as CustomSpecs,
103
+ g as MaxQuantityCapped,
104
+ y as QuoteSource,
105
+ u as WithoutAvailability,
106
+ d as default
94
107
  };
@@ -4,7 +4,7 @@ import { Text as l } from "../../atoms/Text/Text.js";
4
4
  import { Button as h } from "../../atoms/Button/Button.js";
5
5
  import { Icon as u } from "../../atoms/Icon/Icon.js";
6
6
  import { CartPart as x } from "./CartPart.js";
7
- import { s as t } from "../../Cart.module-ccFxL4YZ.js";
7
+ import { s as t } from "../../Cart.module-BIEAjANw.js";
8
8
  function S({
9
9
  open: p,
10
10
  onClose: n,
@@ -11,5 +11,16 @@ type MarkdownRoot = {
11
11
  type: "root";
12
12
  children: MarkdownNode[];
13
13
  };
14
+ type KnownAdmonitionVariant = "note" | "tip" | "attention" | "caution" | "warning";
15
+ type MarkdownAdmonitionVariant = KnownAdmonitionVariant | "upsell" | "unknown";
16
+ export type MarkdownAdmonition = {
17
+ type: string;
18
+ variant: MarkdownAdmonitionVariant;
19
+ title?: string;
20
+ icon?: string;
21
+ content: string;
22
+ };
23
+ /** Extracts fully formed triple-colon admonitions from a Markdown description. */
24
+ export declare const extractAdmonitions: (description: string) => MarkdownAdmonition[];
14
25
  export declare function remarkAdmonition(): (tree: MarkdownRoot) => void;
15
26
  export {};
@@ -1,9 +1,15 @@
1
- const y = /^[a-z][a-z0-9_-]*/, v = /^\s*(?:[a-z][a-z0-9_-]*="(?:[^"\\]|\\.)*"(?:[ \t]+[a-z][a-z0-9_-]*="(?:[^"\\]|\\.)*")*)?\s*$/, x = /([a-z][a-z0-9_-]*)="((?:[^"\\]|\\.)*)"/g, h = /^:::[ \t]*$/, A = /* @__PURE__ */ new Set(["note", "tip", "attention", "caution", "warning"]), f = (t) => t.type === "text" && typeof t.value == "string" ? t.value : t.type === "break" ? `
2
- ` : (t.type === "inlineCode" || t.type === "html") && typeof t.value == "string" ? t.value : Array.isArray(t.children) && t.children.length > 0 ? t.children.map(f).join("") : "", p = (t) => {
1
+ const v = /^[a-z][a-z0-9_-]*/, A = /^\s*(?:[a-z][a-z0-9_-]*="(?:[^"\\]|\\.)*"(?:[ \t]+[a-z][a-z0-9_-]*="(?:[^"\\]|\\.)*")*)?\s*$/, b = /([a-z][a-z0-9_-]*)="((?:[^"\\]|\\.)*)"/g, f = /^:::[ \t]*$/, I = /* @__PURE__ */ new Set([
2
+ "note",
3
+ "tip",
4
+ "attention",
5
+ "caution",
6
+ "warning"
7
+ ]), d = (t) => I.has(t), T = (t) => t === "upsell" ? "upsell" : d(t) ? t : "unknown", h = (t) => t.type === "text" && typeof t.value == "string" ? t.value : t.type === "break" ? `
8
+ ` : (t.type === "inlineCode" || t.type === "html") && typeof t.value == "string" ? t.value : Array.isArray(t.children) && t.children.length > 0 ? t.children.map(h).join("") : "", p = (t) => {
3
9
  if (t.type !== "paragraph" || !t.children || t.children.length === 0) return null;
4
- const n = t.children.map(f).join("");
10
+ const n = t.children.map(h).join("");
5
11
  return n.length > 0 ? n : null;
6
- }, T = (t) => {
12
+ }, E = (t) => {
7
13
  if (t.type !== "paragraph" || !Array.isArray(t.children)) return [];
8
14
  const n = [[]], r = () => {
9
15
  n.push([]);
@@ -18,23 +24,23 @@ const y = /^[a-z][a-z0-9_-]*/, v = /^\s*(?:[a-z][a-z0-9_-]*="(?:[^"\\]|\\.)*"(?:
18
24
  if (e.type === "text" && typeof e.value == "string" && e.value.includes(`
19
25
  `)) {
20
26
  const s = e.value.split(/\r?\n/);
21
- s.forEach((l, c) => {
22
- l.length > 0 && i({ type: "text", value: l }), c < s.length - 1 && r();
27
+ s.forEach((o, l) => {
28
+ o.length > 0 && i({ type: "text", value: o }), l < s.length - 1 && r();
23
29
  });
24
30
  continue;
25
31
  }
26
32
  i(e);
27
33
  }
28
34
  return n;
29
- }, b = (t) => t.replace(/\\(.)/g, "$1"), E = (t) => {
30
- if (!v.test(t)) return null;
35
+ }, N = (t) => t.replace(/\\(.)/g, "$1"), _ = (t) => {
36
+ if (!A.test(t)) return null;
31
37
  const n = {};
32
- for (const r of t.matchAll(x)) {
33
- const i = r[1], e = b(r[2]);
38
+ for (const r of t.matchAll(b)) {
39
+ const i = r[1], e = N(r[2]);
34
40
  (i === "icon" || i === "title") && (n[i] = e);
35
41
  }
36
42
  return n;
37
- }, I = (t) => {
43
+ }, z = (t) => {
38
44
  let n = !1, r = !1;
39
45
  for (let i = 1; i < t.length; i += 1) {
40
46
  const e = t[i];
@@ -54,67 +60,85 @@ const y = /^[a-z][a-z0-9_-]*/, v = /^\s*(?:[a-z][a-z0-9_-]*="(?:[^"\\]|\\.)*"(?:
54
60
  return i;
55
61
  }
56
62
  return -1;
57
- }, N = (t) => {
63
+ }, g = (t) => {
58
64
  if (!t.startsWith(":::")) return null;
59
65
  let n = t.slice(3);
60
- const r = n.match(y);
66
+ const r = n.match(v);
61
67
  if (!r) return null;
62
68
  const i = r[0];
63
69
  n = n.slice(i.length);
64
70
  let e;
65
71
  if (n.startsWith("[")) {
66
- const l = n.indexOf("]");
67
- if (l < 0) return null;
68
- e = n.slice(1, l), n = n.slice(l + 1);
72
+ const o = n.indexOf("]");
73
+ if (o < 0) return null;
74
+ e = n.slice(1, o), n = n.slice(o + 1);
69
75
  }
70
76
  let s = {};
71
77
  if (n.startsWith("{")) {
72
- const l = I(n);
73
- if (l < 0) return null;
74
- const c = E(n.slice(1, l));
75
- if (!c) return null;
76
- s = c, n = n.slice(l + 1);
78
+ const o = z(n);
79
+ if (o < 0) return null;
80
+ const l = _(n.slice(1, o));
81
+ if (!l) return null;
82
+ s = l, n = n.slice(o + 1);
77
83
  }
78
84
  return /^[ \t]*$/.test(n) ? { name: i, title: e, attributes: s } : null;
79
- }, _ = (t, n) => {
85
+ }, w = (t) => {
86
+ const n = t.split(/\r?\n/), r = [];
87
+ for (let i = 0; i < n.length; i += 1) {
88
+ const e = g(n[i]);
89
+ if (!e) continue;
90
+ const s = n.findIndex(
91
+ (o, l) => l > i && f.test(o)
92
+ );
93
+ s < 0 || (r.push({
94
+ type: e.name,
95
+ variant: T(e.name),
96
+ title: e.title ?? e.attributes.title,
97
+ icon: e.attributes.icon,
98
+ content: n.slice(i + 1, s).join(`
99
+ `)
100
+ }), i = s);
101
+ }
102
+ return r;
103
+ }, k = (t, n) => {
80
104
  for (let r = n; r < t.length; r += 1) {
81
105
  const i = p(t[r]);
82
- if (i && h.test(i))
106
+ if (i && f.test(i))
83
107
  return r;
84
108
  }
85
109
  return -1;
86
- }, z = (t, n) => {
87
- const r = T(t);
88
- return r.length ? r.slice(1, n).filter((i) => i.some((e) => f(e).trim().length > 0)).map((i) => ({
110
+ }, R = (t, n) => {
111
+ const r = E(t);
112
+ return r.length ? r.slice(1, n).filter((i) => i.some((e) => h(e).trim().length > 0)).map((i) => ({
89
113
  type: "paragraph",
90
114
  children: i
91
115
  })) : [];
92
116
  };
93
- function R() {
117
+ function C() {
94
118
  return (t) => {
95
119
  if (!(!t || t.type !== "root" || !Array.isArray(t.children)))
96
120
  for (let n = 0; n < t.children.length; n += 1) {
97
121
  const r = p(t.children[n]);
98
122
  if (!r) continue;
99
- const i = r.split(/\r?\n/), e = N(i[0] ?? "");
123
+ const i = r.split(/\r?\n/), e = g(i[0] ?? "");
100
124
  if (!e) continue;
101
- let s = [], l = 0;
125
+ let s = [], o = 0;
102
126
  if (i.length > 1) {
103
- const o = i.findIndex((u, m) => m > 0 && h.test(u));
104
- if (o < 0 || i.slice(o + 1).some((u) => u.trim().length > 0))
127
+ const c = i.findIndex((u, x) => x > 0 && f.test(u));
128
+ if (c < 0 || i.slice(c + 1).some((u) => u.trim().length > 0))
105
129
  continue;
106
- s = z(t.children[n], o), l = 1;
130
+ s = R(t.children[n], c), o = 1;
107
131
  } else {
108
- const o = _(t.children, n + 1);
109
- if (o < 0) continue;
110
- s = t.children.slice(n + 1, o), l = o - n + 1;
132
+ const c = k(t.children, n + 1);
133
+ if (c < 0) continue;
134
+ s = t.children.slice(n + 1, c), o = c - n + 1;
111
135
  }
112
- const c = e.title ?? e.attributes.title, d = A.has(e.name) ? e.name : "unknown", a = {
136
+ const l = e.title ?? e.attributes.title, m = d(e.name) ? e.name : "unknown", a = {
113
137
  "data-admonition": e.name,
114
- "data-admonition-variant": d
138
+ "data-admonition-variant": m
115
139
  };
116
- c !== void 0 && (a["data-admonition-title"] = c), e.attributes.icon !== void 0 && (a["data-admonition-icon"] = e.attributes.icon);
117
- const g = {
140
+ l !== void 0 && (a["data-admonition-title"] = l), e.attributes.icon !== void 0 && (a["data-admonition-icon"] = e.attributes.icon);
141
+ const y = {
118
142
  type: "admonition",
119
143
  data: {
120
144
  hName: "aside",
@@ -122,10 +146,11 @@ function R() {
122
146
  },
123
147
  children: s
124
148
  };
125
- t.children.splice(n, l, g);
149
+ t.children.splice(n, o, y);
126
150
  }
127
151
  };
128
152
  }
129
153
  export {
130
- R as remarkAdmonition
154
+ w as extractAdmonitions,
155
+ C as remarkAdmonition
131
156
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@caseparts-org/caseblocks",
3
3
  "private": false,
4
- "version": "0.0.258",
4
+ "version": "0.0.260",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -1,25 +0,0 @@
1
- import './assets/Cart.css';const t = "_cartIconButton_13798_2", e = "_count_13798_15", o = "_cartContainer_13798_30", n = "_headerWrapper_13798_41", _ = "_header_13798_41", a = "_cartItems_13798_59", c = "_cartItem_13798_59", r = "_itemContainer_13798_85", i = "_topRow_13798_89", s = "_itemInfo_13798_96", m = "_editUnit_13798_101", I = "_purchaseInformation_13798_117", u = "_availabilitySlot_13798_123", l = "_priceSlot_13798_130", p = "_itemManagement_13798_132", h = "_itemImage_13798_145", d = "_removeItem_13798_148", b = "_noItems_13798_158", f = "_subtotal_13798_165", g = "_checkoutButton_13798_172", v = {
2
- cartIconButton: t,
3
- count: e,
4
- cartContainer: o,
5
- headerWrapper: n,
6
- header: _,
7
- cartItems: a,
8
- cartItem: c,
9
- itemContainer: r,
10
- topRow: i,
11
- itemInfo: s,
12
- editUnit: m,
13
- purchaseInformation: I,
14
- availabilitySlot: u,
15
- priceSlot: l,
16
- itemManagement: p,
17
- itemImage: h,
18
- removeItem: d,
19
- noItems: b,
20
- subtotal: f,
21
- checkoutButton: g
22
- };
23
- export {
24
- v as s
25
- };