@caseparts-org/caseblocks 0.0.218 → 0.0.219

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
+ ._badge_1b53d_1{position:absolute;top:0;right:0;z-index:2;display:flex;align-items:center;justify-content:center;gap:var(--spacing-spacing-4xs);max-width:70%;overflow:hidden;padding:var(--spacing-spacing-3xs) var(--spacing-spacing-2xs);border-radius:0 0 0 12px;background-color:var(--text-text-secondary);text-align:center;text-decoration:none;white-space:nowrap}@media (max-width: 768px){._badge_1b53d_1{padding:var(--spacing-spacing-3xs);border-radius:0 0 0 10px}}._inherit_1b53d_24{background-color:inherit}._warning_1b53d_28{background-color:var(--text-text-caution)}._disabled_1b53d_32{background-color:var(--text-text-disabled)}._error-warning_1b53d_36{background-color:var(--text-text-error-warning)}._default-inverted_1b53d_40{background-color:var(--text-text-invert)}._links_1b53d_44{background-color:var(--text-text-links)}._links-hover-press_1b53d_48{background-color:var(--text-text-links-hover-press)}._primary_1b53d_52{background-color:var(--text-text-primary)}._quaternary_1b53d_56{background-color:var(--text-text-quaternary)}._search-bar_1b53d_60{background-color:var(--text-text-search-bar)}._secondary_1b53d_64{background-color:var(--text-text-secondary)}._success_1b53d_68{background-color:var(--text-text-success)}._tertiary_1b53d_72{background-color:var(--text-text-tertiary)}._footer_1b53d_76{background-color:var(--text-text-footer)}._text_1b53d_80{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--font-size-xs);line-height:var(--font-line-height-xs)}@media (max-width: 768px){._text_1b53d_80{font-size:var(--font-size-xxs);line-height:var(--font-line-height-xxs)}}
@@ -1 +1 @@
1
- ._productCard_1adwd_3{box-sizing:border-box;position:relative;background:var(--surface-surface-primary, #FFF);display:flex;width:232px;height:296px;padding:var(--spacing-spacing-default, 16px) var(--spacing-spacing-sm, 20px);flex-direction:column;align-items:flex-start;gap:var(--spacing-spacing-2xs)}._productCard_1adwd_3._sm_1adwd_16{width:180px;height:230px}._productCard_1adwd_3>img{object-fit:contain;flex-shrink:0;margin:0 auto}._productCard_1adwd_3 ._productInformation_1adwd_26{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin-top:auto}._productCard_1adwd_3 ._purchaseInformation_1adwd_33{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;width:100%}._productCard_1adwd_3 ._addToCart_1adwd_41,._productCard_1adwd_3 ._addToCartButton_1adwd_44{width:100%}._productInformation_1adwd_26>a{font-weight:var(--font-weight-semibold);white-space:break-spaces;word-wrap:normal}._partNumber_1adwd_54{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-spacing-3xs)}._partNumberLabel_1adwd_61{color:var(--text-text-quaternary)}._productTile_1adwd_65{box-sizing:border-box;position:relative;z-index:1;width:100%;max-width:1072px;display:flex;flex-direction:row;align-items:flex-start;background:var(--surface-surface-primary, #FFF);padding:var(--spacing-spacing-default, 16px) var(--spacing-spacing-sm, 20px);gap:var(--spacing-spacing-1xs)}._productTile_1adwd_65>img{object-fit:contain}._productTile_1adwd_65 ._productInformation_1adwd_26{display:flex;flex-direction:column;align-items:flex-start;gap:2px}._productTile_1adwd_65 ._productData_1adwd_93{display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:var(--spacing-spacing-2xs)}._productTile_1adwd_65 ._purchase_1adwd_33{display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;width:100%}@media (max-width: 480px){._productTile_1adwd_65 ._purchase_1adwd_33{flex-direction:column;align-items:flex-start;gap:var(--spacing-spacing-3xs)}}._productTile_1adwd_65 ._purchaseInformation_1adwd_33{display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing-spacing-2xs)}@media (max-width: 480px){._productTile_1adwd_65 ._purchaseInformation_1adwd_33{flex-direction:row;align-items:flex-start;justify-content:space-between;width:100%;gap:0px}}._productTile_1adwd_65 ._attributeContainer_1adwd_130{margin:0;padding:0;padding-top:var(--spacing-spacing-1xs);border-top:1px solid var(--border-border-primary);width:100%;list-style:none;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;column-gap:var(--spacing-spacing-lg);row-gap:var(--spacing-spacing-3xs)}@media (max-width: 640px){._productTile_1adwd_65 ._attributeContainer_1adwd_130{display:none}}._productTile_1adwd_65 ._attributeContainer_1adwd_130 li{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-spacing-3xs)}._productTile_1adwd_65 ._addToCart_1adwd_41{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-spacing-md)}@media (max-width: 480px){._productTile_1adwd_65 ._addToCart_1adwd_41{gap:var(--spacing-spacing-2xs);width:100%}}._productTile_1adwd_65 ._addToCartButton_1adwd_44{width:96px;font-size:var(--font-size-md);font-weight:var(--font-weight-semibold)}@media (max-width: 640px){._productTile_1adwd_65 ._addToCartButton_1adwd_44{width:100%}}._customWizardBadge_1adwd_177{position:absolute;top:0;right:0;z-index:2;display:flex;align-items:center;justify-content:center;gap:var(--spacing-spacing-4xs);max-width:70%;overflow:hidden;padding:var(--spacing-spacing-3xs) var(--spacing-spacing-2xs);border-radius:0 0 0 12px;background-color:var(--text-text-secondary);text-align:center;text-decoration:none;white-space:nowrap}@media (max-width: 768px){._customWizardBadge_1adwd_177{padding:var(--spacing-spacing-3xs);border-radius:0 0 0 10px}}._customWizardBadge-inherit_1adwd_200{background-color:inherit}._customWizardBadge-warning_1adwd_204{background-color:var(--text-text-caution)}._customWizardBadge-disabled_1adwd_208{background-color:var(--text-text-disabled)}._customWizardBadge-error-warning_1adwd_212{background-color:var(--text-text-error-warning)}._customWizardBadge-default-inverted_1adwd_216{background-color:var(--text-text-invert)}._customWizardBadge-links_1adwd_220{background-color:var(--text-text-links)}._customWizardBadge-links-hover-press_1adwd_224{background-color:var(--text-text-links-hover-press)}._customWizardBadge-primary_1adwd_228{background-color:var(--text-text-primary)}._customWizardBadge-quaternary_1adwd_232{background-color:var(--text-text-quaternary)}._customWizardBadge-search-bar_1adwd_236{background-color:var(--text-text-search-bar)}._customWizardBadge-secondary_1adwd_240{background-color:var(--text-text-secondary)}._customWizardBadge-success_1adwd_244{background-color:var(--text-text-success)}._customWizardBadge-tertiary_1adwd_248{background-color:var(--text-text-tertiary)}._customWizardBadge-footer_1adwd_252{background-color:var(--text-text-footer)}._customWizardBadgeText_1adwd_256{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--font-size-xs);line-height:var(--font-line-height-xs)}@media (max-width: 768px){._customWizardBadgeText_1adwd_256{font-size:var(--font-size-xxs);line-height:var(--font-line-height-xxs)}}._elevated_1adwd_269{border:1px solid var(--border-border-primary, #DFDFDF);box-shadow:2px 4px 12px #00000026}._noImage_1adwd_275 ._productInformation_1adwd_26{margin-top:0}._sm_1adwd_16{padding:var(--spacing-spacing-1xs)}
1
+ ._productCard_1qkjr_3{box-sizing:border-box;position:relative;background:var(--surface-surface-primary, #FFF);display:flex;width:232px;height:296px;padding:var(--spacing-spacing-default, 16px) var(--spacing-spacing-sm, 20px);flex-direction:column;align-items:flex-start;gap:var(--spacing-spacing-2xs)}._productCard_1qkjr_3._sm_1qkjr_16{width:180px;height:230px}._productCard_1qkjr_3>img{object-fit:contain;flex-shrink:0;margin:0 auto}._productCard_1qkjr_3 ._productInformation_1qkjr_26{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin-top:auto}._productCard_1qkjr_3 ._purchaseInformation_1qkjr_33{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;width:100%}._productCard_1qkjr_3 ._addToCart_1qkjr_41,._productCard_1qkjr_3 ._addToCartButton_1qkjr_44{width:100%}._productInformation_1qkjr_26>a{font-weight:var(--font-weight-semibold);white-space:break-spaces;word-wrap:normal}._partNumber_1qkjr_54{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-spacing-3xs)}._partNumberLabel_1qkjr_61{color:var(--text-text-quaternary)}._productTile_1qkjr_65{box-sizing:border-box;position:relative;z-index:1;width:100%;max-width:1072px;display:flex;flex-direction:row;align-items:flex-start;background:var(--surface-surface-primary, #FFF);padding:var(--spacing-spacing-default, 16px) var(--spacing-spacing-sm, 20px);gap:var(--spacing-spacing-1xs)}._productTile_1qkjr_65>img{object-fit:contain}._productTile_1qkjr_65 ._productInformation_1qkjr_26{display:flex;flex-direction:column;align-items:flex-start;gap:2px}._productTile_1qkjr_65 ._productData_1qkjr_93{display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:var(--spacing-spacing-2xs)}._productTile_1qkjr_65 ._purchase_1qkjr_33{display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;width:100%}@media (max-width: 480px){._productTile_1qkjr_65 ._purchase_1qkjr_33{flex-direction:column;align-items:flex-start;gap:var(--spacing-spacing-3xs)}}._productTile_1qkjr_65 ._purchaseInformation_1qkjr_33{display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing-spacing-2xs)}@media (max-width: 480px){._productTile_1qkjr_65 ._purchaseInformation_1qkjr_33{flex-direction:row;align-items:flex-start;justify-content:space-between;width:100%;gap:0px}}._productTile_1qkjr_65 ._attributeContainer_1qkjr_130{margin:0;padding:0;padding-top:var(--spacing-spacing-1xs);border-top:1px solid var(--border-border-primary);width:100%;list-style:none;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;column-gap:var(--spacing-spacing-lg);row-gap:var(--spacing-spacing-3xs)}@media (max-width: 640px){._productTile_1qkjr_65 ._attributeContainer_1qkjr_130{display:none}}._productTile_1qkjr_65 ._attributeContainer_1qkjr_130 li{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-spacing-3xs)}._productTile_1qkjr_65 ._addToCart_1qkjr_41{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-spacing-md)}@media (max-width: 480px){._productTile_1qkjr_65 ._addToCart_1qkjr_41{gap:var(--spacing-spacing-2xs);width:100%}}._productTile_1qkjr_65 ._addToCartButton_1qkjr_44{width:96px;font-size:var(--font-size-md);font-weight:var(--font-weight-semibold)}@media (max-width: 640px){._productTile_1qkjr_65 ._addToCartButton_1qkjr_44{width:100%}}._elevated_1qkjr_178{border:1px solid var(--border-border-primary, #DFDFDF);box-shadow:2px 4px 12px #00000026}._noImage_1qkjr_184 ._productInformation_1qkjr_26{margin-top:0}._sm_1qkjr_16{padding:var(--spacing-spacing-1xs)}
@@ -7,108 +7,110 @@ import { Root as u } from "./atoms/Root/Root.js";
7
7
  import { Separator as g } from "./atoms/Separator/Separator.js";
8
8
  import { Text as s } from "./atoms/Text/Text.js";
9
9
  import { Input as A } from "./atoms/Input/Input.js";
10
- import { ToggleSwitch as B } from "./atoms/ToggleSwitch/ToggleSwitch.js";
10
+ import { ToggleSwitch as P } from "./atoms/ToggleSwitch/ToggleSwitch.js";
11
11
  import { Link as k } from "./atoms/Link/Link.js";
12
12
  import { linkClassName as h } from "./atoms/Link/linkClassName.js";
13
13
  import { configureLink as w, routerOverride as L } from "./atoms/Link/configureLink.js";
14
14
  import { LinkButton as y } from "./atoms/LinkButton/LinkButton.js";
15
15
  import { Pill as H } from "./atoms/Pill/Pill.js";
16
16
  import { configureImage as N } from "./atoms/Image/configureImage.js";
17
- import { getHideAtStyles as D } from "./atoms/HideAt.js";
17
+ import { getHideAtStyles as z } from "./atoms/HideAt.js";
18
18
  import { Logo as E } from "./molecules/Logo/Logo.js";
19
19
  import { SearchBox as O } from "./molecules/SearchBox/SearchBox.js";
20
20
  import { QuantityInput as R } from "./molecules/QuantityInput/QuantityInput.js";
21
- import { Pricing as j } from "./molecules/Pricing/Pricing.js";
22
- import { ProgressBar as J } from "./molecules/ProgressBar/ProgressBar.js";
23
- import { Availability as U } from "./molecules/Availability/Availability.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
24
  import { Avatar as X } from "./molecules/Avatar/Avatar.js";
25
25
  import { BannerCard as _ } from "./molecules/BannerCard/BannerCard.js";
26
26
  import { CardLink as oo } from "./molecules/CardLink/CardLink.js";
27
27
  import { Breadcrumbs as eo } from "./molecules/Breadcrumbs/Breadcrumbs.js";
28
28
  import { Disclaimer as mo } from "./molecules/Disclaimer/Disclaimer.js";
29
29
  import { Admonition as fo } from "./molecules/Admonition/Admonition.js";
30
- import { NotFound as ao } from "./organisms/NotFound/NotFound.js";
31
- import { HorizontalScroll as no } from "./atoms/HorizontalScroll/HorizontalScroll.js";
32
- import { SlideInPanel as uo } from "./atoms/SlideInPanel/SlideInPanel.js";
33
- import { DropdownButton as go } from "./atoms/DropdownButton/DropdownButton.js";
34
- import { Tooltip as so } from "./atoms/Tooltip/Tooltip.js";
35
- import { Popover as Ao } from "./atoms/Popover/Popover.js";
36
- import { Accordion as Bo } from "./molecules/Accordion/Accordion.js";
37
- import { Account as ko } from "./molecules/Account/Account.js";
38
- import { Chip as ho } from "./molecules/Chip/Chip.js";
39
- import { ToggleView as wo } from "./molecules/ToggleView/ToggleView.js";
40
- import { CartPart as bo } from "./molecules/Cart/CartPart.js";
41
- import { AddToCartPart as Fo } from "./molecules/AddToCartPart/AddToCartPart.js";
42
- import { CartSlideInPanel as Mo } from "./molecules/Cart/CartSlideInPanel.js";
43
- import { StatefulButton as Vo } from "./molecules/StatefulButton/StatefulButton.js";
44
- import { AnimatedCheckMark as zo } from "./molecules/StatefulButton/AnimatedCheckmark.js";
45
- import { AddToCart as Go } from "./molecules/AddToCart/AddToCart.js";
46
- import { Modal as Qo } from "./molecules/Modal/Modal.js";
47
- import { ImageViewer as Zo } from "./molecules/ImageViewer/ImageViewer.js";
48
- import { T as qo } from "./Table-BX4PtCNE.js";
49
- import { Error as Ko } from "./molecules/Error/Error.js";
50
- import { MainNav as Wo } from "./organisms/MainNav/MainNav.js";
51
- import { ChipSelector as Yo } from "./organisms/ChipSelector/ChipSelector.js";
52
- import { Product as $o } from "./organisms/Product/Product.js";
53
- import { Carousel as rr } from "./organisms/Carousel/Carousel.js";
54
- import { Footer as tr } from "./organisms/Footer/Footer.js";
55
- import { default as pr } from "./organisms/SpinZoomViewer/SpinZoomViewer.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";
56
57
  export {
57
- Bo as Accordion,
58
- ko as Account,
59
- Go as AddToCart,
60
- Fo as AddToCartPart,
58
+ ko as Accordion,
59
+ ho as Account,
60
+ Qo as AddToCart,
61
+ Mo as AddToCartPart,
61
62
  fo as Admonition,
62
- zo as AnimatedCheckMark,
63
- U as Availability,
63
+ Go as AnimatedCheckMark,
64
+ K as Availability,
64
65
  X as Avatar,
65
66
  _ as BannerCard,
66
67
  eo as Breadcrumbs,
67
68
  e as Button,
68
69
  oo as CardLink,
69
- rr as Carousel,
70
- bo as CartPart,
71
- Mo as CartSlideInPanel,
72
- ho as Chip,
73
- Yo as ChipSelector,
70
+ tr as Carousel,
71
+ Fo as CartPart,
72
+ Vo as CartSlideInPanel,
73
+ wo as Chip,
74
+ $o as ChipSelector,
74
75
  f as Column,
76
+ ao as CustomWizardBadge,
75
77
  mo as Disclaimer,
76
- go as DropdownButton,
77
- Ko as Error,
78
+ so as DropdownButton,
79
+ Uo as Error,
78
80
  m as Flex,
79
- tr as Footer,
81
+ pr as Footer,
80
82
  x as Grid,
81
83
  i as Head,
82
- no as HorizontalScroll,
84
+ uo as HorizontalScroll,
83
85
  l as Icon,
84
- Zo as ImageViewer,
86
+ jo as ImageViewer,
85
87
  A as Input,
86
88
  k as Link,
87
89
  y as LinkButton,
88
90
  E as Logo,
89
- Wo as MainNav,
90
- Qo as Modal,
91
- ao as NotFound,
91
+ Yo as MainNav,
92
+ Wo as Modal,
93
+ no as NotFound,
92
94
  H as Pill,
93
- Ao as Popover,
94
- j as Pricing,
95
- $o as Product,
96
- J as ProgressBar,
95
+ Po as Popover,
96
+ Z as Pricing,
97
+ rr as Product,
98
+ q as ProgressBar,
97
99
  R as QuantityInput,
98
100
  u as Root,
99
101
  O as SearchBox,
100
102
  g as Separator,
101
- uo as SlideInPanel,
102
- pr as SpinZoomViewer,
103
- Vo as StatefulButton,
104
- qo as Table,
103
+ go as SlideInPanel,
104
+ xr as SpinZoomViewer,
105
+ Do as StatefulButton,
106
+ Jo as Table,
105
107
  s as Text,
106
- B as ToggleSwitch,
107
- wo as ToggleView,
108
- so as Tooltip,
108
+ P as ToggleSwitch,
109
+ bo as ToggleView,
110
+ Ao as Tooltip,
109
111
  N as configureImage,
110
112
  w as configureLink,
111
- D as getHideAtStyles,
113
+ z as getHideAtStyles,
112
114
  h as linkClassName,
113
115
  L as routerOverride
114
116
  };
@@ -52,5 +52,7 @@ export { Disclaimer } from './molecules/Disclaimer/Disclaimer';
52
52
  export type { DisclaimerProps, DisclaimerSeverity } from './molecules/Disclaimer/Disclaimer';
53
53
  export { Admonition } from './molecules/Admonition/Admonition';
54
54
  export type { AdmonitionProps, AdmonitionVariant } from './molecules/Admonition/Admonition';
55
+ export { CustomWizardBadge } from './molecules/CustomWizardBadge/CustomWizardBadge';
56
+ export type { CustomWizardBadgeProps } from './molecules/CustomWizardBadge/CustomWizardBadge';
55
57
  export { NotFound } from './organisms/NotFound/NotFound';
56
58
  export type { NotFoundProps } from './organisms/NotFound/NotFound';
@@ -1,64 +1,66 @@
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 x, Grid as f } from "./atoms/Grid/Grid.js";
4
- import { Head as n } from "./atoms/Root/Head.js";
5
- import { Icon as l } from "./atoms/Icon/Icon.js";
6
- import { Root as d } from "./atoms/Root/Root.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
7
  import { Separator as c } from "./atoms/Separator/Separator.js";
8
8
  import { Text as B } from "./atoms/Text/Text.js";
9
- import { Input as L } from "./atoms/Input/Input.js";
10
- import { ToggleSwitch as C } from "./atoms/ToggleSwitch/ToggleSwitch.js";
9
+ import { Input as C } from "./atoms/Input/Input.js";
10
+ import { ToggleSwitch as A } from "./atoms/ToggleSwitch/ToggleSwitch.js";
11
11
  import { Link as S } from "./atoms/Link/Link.js";
12
12
  import { linkClassName as y } from "./atoms/Link/linkClassName.js";
13
13
  import { configureLink as b, routerOverride as h } from "./atoms/Link/configureLink.js";
14
14
  import { LinkButton as H } from "./atoms/LinkButton/LinkButton.js";
15
15
  import { Pill as T } from "./atoms/Pill/Pill.js";
16
- import { configureImage as D } from "./atoms/Image/configureImage.js";
17
- import { getHideAtStyles as O } from "./atoms/HideAt.js";
18
- import { Logo as R } from "./molecules/Logo/Logo.js";
19
- import { SearchBox as q } from "./molecules/SearchBox/SearchBox.js";
20
- import { QuantityInput as E } from "./molecules/QuantityInput/QuantityInput.js";
21
- import { Pricing as K } from "./molecules/Pricing/Pricing.js";
22
- import { ProgressBar as U } from "./molecules/ProgressBar/ProgressBar.js";
23
- import { Availability as W } from "./molecules/Availability/Availability.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
24
  import { Avatar as Y } from "./molecules/Avatar/Avatar.js";
25
25
  import { BannerCard as _ } from "./molecules/BannerCard/BannerCard.js";
26
26
  import { CardLink as rr } from "./molecules/CardLink/CardLink.js";
27
27
  import { Breadcrumbs as er } from "./molecules/Breadcrumbs/Breadcrumbs.js";
28
28
  import { Disclaimer as mr } from "./molecules/Disclaimer/Disclaimer.js";
29
29
  import { Admonition as xr } from "./molecules/Admonition/Admonition.js";
30
- import { NotFound as ir } from "./organisms/NotFound/NotFound.js";
30
+ import { CustomWizardBadge as ir } from "./molecules/CustomWizardBadge/CustomWizardBadge.js";
31
+ import { NotFound as nr } from "./organisms/NotFound/NotFound.js";
31
32
  export {
32
33
  xr as Admonition,
33
- W as Availability,
34
+ V as Availability,
34
35
  Y as Avatar,
35
36
  _ as BannerCard,
36
37
  er as Breadcrumbs,
37
38
  e as Button,
38
39
  rr as CardLink,
39
40
  x as Column,
41
+ ir as CustomWizardBadge,
40
42
  mr as Disclaimer,
41
43
  m as Flex,
42
44
  f as Grid,
43
- n as Head,
44
- l as Icon,
45
- L as Input,
45
+ a as Head,
46
+ u as Icon,
47
+ C as Input,
46
48
  S as Link,
47
49
  H as LinkButton,
48
- R as Logo,
49
- ir as NotFound,
50
+ Q as Logo,
51
+ nr as NotFound,
50
52
  T as Pill,
51
- K as Pricing,
52
- U as ProgressBar,
53
- E as QuantityInput,
54
- d as Root,
55
- q as SearchBox,
53
+ J as Pricing,
54
+ M as ProgressBar,
55
+ q as QuantityInput,
56
+ l as Root,
57
+ W as SearchBox,
56
58
  c as Separator,
57
59
  B as Text,
58
- C as ToggleSwitch,
59
- D as configureImage,
60
+ A as ToggleSwitch,
61
+ z as configureImage,
60
62
  b as configureLink,
61
- O as getHideAtStyles,
63
+ G as getHideAtStyles,
62
64
  y as linkClassName,
63
65
  h as routerOverride
64
66
  };
@@ -0,0 +1,9 @@
1
+ import { TextProps } from '../../atoms/Text/Text';
2
+ export interface CustomWizardBadgeProps {
3
+ href: string;
4
+ text?: string;
5
+ colorToken?: TextProps['colorToken'];
6
+ className?: string;
7
+ textClassName?: string;
8
+ }
9
+ export declare function CustomWizardBadge({ href, text, colorToken, className, textClassName, }: CustomWizardBadgeProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,43 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { c as t } from "../../clsx-OuTLNxxd.js";
3
+ import { Link as d } from "../../atoms/Link/Link.js";
4
+ import { Text as i } from "../../atoms/Text/Text.js";
5
+ import '../../assets/CustomWizardBadge.css';const c = "_badge_1b53d_1", b = "_inherit_1b53d_24", l = "_warning_1b53d_28", u = "_disabled_1b53d_32", m = "_links_1b53d_44", y = "_primary_1b53d_52", g = "_quaternary_1b53d_56", f = "_secondary_1b53d_64", h = "_success_1b53d_68", p = "_tertiary_1b53d_72", x = "_footer_1b53d_76", k = "_text_1b53d_80", r = {
6
+ badge: c,
7
+ inherit: b,
8
+ warning: l,
9
+ disabled: u,
10
+ "error-warning": "_error-warning_1b53d_36",
11
+ "default-inverted": "_default-inverted_1b53d_40",
12
+ links: m,
13
+ "links-hover-press": "_links-hover-press_1b53d_48",
14
+ primary: y,
15
+ quaternary: g,
16
+ "search-bar": "_search-bar_1b53d_60",
17
+ secondary: f,
18
+ success: h,
19
+ tertiary: p,
20
+ footer: x,
21
+ text: k
22
+ };
23
+ function C({
24
+ href: s,
25
+ text: n = "Customize",
26
+ colorToken: _ = "secondary",
27
+ className: a,
28
+ textClassName: o
29
+ }) {
30
+ return /* @__PURE__ */ e(d, { href: s, unstyled: !0, className: t(r.badge, r[_], a), children: /* @__PURE__ */ e(
31
+ i,
32
+ {
33
+ size: "xs",
34
+ weight: "regular",
35
+ colorToken: "default-inverted",
36
+ className: t(r.text, o),
37
+ children: n
38
+ }
39
+ ) });
40
+ }
41
+ export {
42
+ C as CustomWizardBadge
43
+ };
@@ -1,5 +1,5 @@
1
- import { TextProps } from '../../atoms/Text/Text';
2
1
  import { AvailabilityProps } from '../../molecules/Availability/Availability';
2
+ import { CustomWizardBadgeProps } from '../../molecules/CustomWizardBadge/CustomWizardBadge';
3
3
  export type ProductView = "Card" | "Tile";
4
4
  export type Size = "md" | "sm";
5
5
  export interface ProductProps extends AvailabilityProps {
@@ -7,8 +7,8 @@ export interface ProductProps extends AvailabilityProps {
7
7
  productDescription: string;
8
8
  availDescription: string;
9
9
  customWizardUrl?: string;
10
- customWizardText?: string;
11
- customWizardColorToken?: TextProps["colorToken"];
10
+ customWizardText?: CustomWizardBadgeProps["text"];
11
+ customWizardColorToken?: CustomWizardBadgeProps["colorToken"];
12
12
  productHref?: string;
13
13
  itemKey: number;
14
14
  partNumber: string;
@@ -1,179 +1,164 @@
1
- import { jsxs as e, jsx as d } from "react/jsx-runtime";
2
- import { Image as $ } from "../../atoms/Image/Image.js";
3
- import { Link as g } from "../../atoms/Link/Link.js";
4
- import { Text as t } from "../../atoms/Text/Text.js";
1
+ import { jsxs as e, jsx as t } from "react/jsx-runtime";
2
+ import { Image as w } from "../../atoms/Image/Image.js";
3
+ import { Link as $ } from "../../atoms/Link/Link.js";
4
+ import { Text as n } from "../../atoms/Text/Text.js";
5
5
  import { Availability as P } from "../../molecules/Availability/Availability.js";
6
- import { Pricing as j } from "../../molecules/Pricing/Pricing.js";
7
- import { AddToCart as D } from "../../molecules/AddToCart/AddToCart.js";
8
- import { c as h } from "../../clsx-OuTLNxxd.js";
9
- import '../../assets/Product.css';const E = "_productCard_1adwd_3", F = "_sm_1adwd_16", G = "_productInformation_1adwd_26", J = "_purchaseInformation_1adwd_33", M = "_addToCart_1adwd_41", O = "_addToCartButton_1adwd_44", R = "_partNumber_1adwd_54", X = "_partNumberLabel_1adwd_61", Y = "_productTile_1adwd_65", Z = "_productData_1adwd_93", H = "_purchase_1adwd_33", L = "_attributeContainer_1adwd_130", K = "_customWizardBadge_1adwd_177", Q = "_customWizardBadgeText_1adwd_256", S = "_elevated_1adwd_269", U = "_noImage_1adwd_275", a = {
10
- productCard: E,
11
- sm: F,
12
- productInformation: G,
13
- purchaseInformation: J,
14
- addToCart: M,
15
- addToCartButton: O,
16
- partNumber: R,
17
- partNumberLabel: X,
18
- productTile: Y,
19
- productData: Z,
20
- purchase: H,
21
- attributeContainer: L,
22
- customWizardBadge: K,
23
- "customWizardBadge-inherit": "_customWizardBadge-inherit_1adwd_200",
24
- "customWizardBadge-warning": "_customWizardBadge-warning_1adwd_204",
25
- "customWizardBadge-disabled": "_customWizardBadge-disabled_1adwd_208",
26
- "customWizardBadge-error-warning": "_customWizardBadge-error-warning_1adwd_212",
27
- "customWizardBadge-default-inverted": "_customWizardBadge-default-inverted_1adwd_216",
28
- "customWizardBadge-links": "_customWizardBadge-links_1adwd_220",
29
- "customWizardBadge-links-hover-press": "_customWizardBadge-links-hover-press_1adwd_224",
30
- "customWizardBadge-primary": "_customWizardBadge-primary_1adwd_228",
31
- "customWizardBadge-quaternary": "_customWizardBadge-quaternary_1adwd_232",
32
- "customWizardBadge-search-bar": "_customWizardBadge-search-bar_1adwd_236",
33
- "customWizardBadge-secondary": "_customWizardBadge-secondary_1adwd_240",
34
- "customWizardBadge-success": "_customWizardBadge-success_1adwd_244",
35
- "customWizardBadge-tertiary": "_customWizardBadge-tertiary_1adwd_248",
36
- "customWizardBadge-footer": "_customWizardBadge-footer_1adwd_252",
37
- customWizardBadgeText: Q,
38
- elevated: S,
39
- noImage: U
6
+ import { Pricing as D } from "../../molecules/Pricing/Pricing.js";
7
+ import { AddToCart as V } from "../../molecules/AddToCart/AddToCart.js";
8
+ import { CustomWizardBadge as k } from "../../molecules/CustomWizardBadge/CustomWizardBadge.js";
9
+ import { c as E } from "../../clsx-OuTLNxxd.js";
10
+ import '../../assets/Product.css';const G = "_productCard_1qkjr_3", J = "_sm_1qkjr_16", M = "_productInformation_1qkjr_26", O = "_purchaseInformation_1qkjr_33", R = "_addToCart_1qkjr_41", X = "_addToCartButton_1qkjr_44", Y = "_partNumber_1qkjr_54", Z = "_partNumberLabel_1qkjr_61", H = "_productTile_1qkjr_65", y = "_productData_1qkjr_93", L = "_purchase_1qkjr_33", K = "_attributeContainer_1qkjr_130", Q = "_elevated_1qkjr_178", S = "_noImage_1qkjr_184", r = {
11
+ productCard: G,
12
+ sm: J,
13
+ productInformation: M,
14
+ purchaseInformation: O,
15
+ addToCart: R,
16
+ addToCartButton: X,
17
+ partNumber: Y,
18
+ partNumberLabel: Z,
19
+ productTile: H,
20
+ productData: y,
21
+ purchase: L,
22
+ attributeContainer: K,
23
+ elevated: Q,
24
+ noImage: S
40
25
  };
41
- function ca({
42
- productView: q,
26
+ function nr({
27
+ productView: F,
43
28
  itemKey: c,
44
- partNumber: m,
45
- productDescription: w,
46
- availDescription: W,
47
- availId: i,
48
- inventory: z,
49
- productHref: b,
50
- customWizardUrl: n,
51
- customWizardText: f = "Customize",
52
- customWizardColorToken: V = "secondary",
53
- priceLabel: N,
29
+ partNumber: s,
30
+ productDescription: b,
31
+ availDescription: f,
32
+ availId: m,
33
+ inventory: N,
34
+ productHref: T,
35
+ customWizardUrl: l,
36
+ customWizardText: j = "Customize",
37
+ customWizardColorToken: C = "secondary",
38
+ priceLabel: g,
54
39
  price: u,
55
40
  imgSrc: o,
56
- attributes: B,
57
- className: T,
41
+ attributes: _,
42
+ className: q,
58
43
  onAddToCart: v,
59
44
  flat: x,
60
- size: r = "md",
61
- showQuantity: p = !0,
62
- onLinkClicked: s,
63
- requiresUnitDetails: C = !1,
64
- maxQuantity: I,
65
- ...y
45
+ size: a = "md",
46
+ showQuantity: i = !0,
47
+ onLinkClicked: d,
48
+ requiresUnitDetails: I = !1,
49
+ maxQuantity: B,
50
+ ...A
66
51
  }) {
67
- const _ = r === "sm" ? "xs" : "sm", A = a[`customWizardBadge-${V}`];
68
- return q === "Card" ? /* @__PURE__ */ e(
52
+ const p = a === "sm" ? "xs" : "sm";
53
+ return F === "Card" ? /* @__PURE__ */ e(
69
54
  "div",
70
55
  {
71
- className: h(
72
- a.productCard,
73
- r && a[r],
74
- T,
75
- !x && a.elevated,
76
- !o && a.noImage
56
+ className: E(
57
+ r.productCard,
58
+ a && r[a],
59
+ q,
60
+ !x && r.elevated,
61
+ !o && r.noImage
77
62
  ),
78
- ...y,
63
+ ...A,
79
64
  children: [
80
- n && /* @__PURE__ */ d(g, { href: n, unstyled: !0, className: h(a.customWizardBadge, A), children: /* @__PURE__ */ d(t, { size: "xs", weight: "regular", colorToken: "default-inverted", className: a.customWizardBadgeText, children: f }) }),
81
- o && /* @__PURE__ */ d(
82
- $,
65
+ l && /* @__PURE__ */ t(k, { href: l, text: j, colorToken: C }),
66
+ o && /* @__PURE__ */ t(
67
+ w,
83
68
  {
84
69
  src: o,
85
- alt: `${m} product image`,
86
- height: r === "sm" ? 78 : 96,
87
- width: r === "sm" ? 78 : 96
70
+ alt: `${s} product image`,
71
+ height: a === "sm" ? 78 : 96,
72
+ width: a === "sm" ? 78 : 96
88
73
  }
89
74
  ),
90
- /* @__PURE__ */ e("div", { className: a.productInformation, children: [
91
- /* @__PURE__ */ d(g, { onClick: () => s == null ? void 0 : s(c), size: r, href: b || "#", children: w }),
92
- /* @__PURE__ */ e("div", { className: a.partNumber, children: [
93
- /* @__PURE__ */ d(t, { size: _, className: a.partNumberLabel, children: "Part #" }),
94
- /* @__PURE__ */ d(t, { size: _, weight: "semibold", children: m })
75
+ /* @__PURE__ */ e("div", { className: r.productInformation, children: [
76
+ /* @__PURE__ */ t($, { onClick: () => d == null ? void 0 : d(c), size: a, href: T || "#", children: b }),
77
+ /* @__PURE__ */ e("div", { className: r.partNumber, children: [
78
+ /* @__PURE__ */ t(n, { size: p, className: r.partNumberLabel, children: "Part #" }),
79
+ /* @__PURE__ */ t(n, { size: p, weight: "semibold", children: s })
95
80
  ] })
96
81
  ] }),
97
- /* @__PURE__ */ e("div", { className: a.purchaseInformation, children: [
98
- i && /* @__PURE__ */ d(
82
+ /* @__PURE__ */ e("div", { className: r.purchaseInformation, children: [
83
+ m && /* @__PURE__ */ t(
99
84
  P,
100
85
  {
101
- availId: i,
102
- availDescription: W,
103
- inventory: z,
86
+ availId: m,
87
+ availDescription: f,
88
+ inventory: N,
104
89
  enableTooltip: !0
105
90
  }
106
91
  ),
107
- u && /* @__PURE__ */ d(j, { pricingLabel: N, price: u })
92
+ u && /* @__PURE__ */ t(D, { pricingLabel: g, price: u })
108
93
  ] }),
109
- /* @__PURE__ */ d(
110
- D,
94
+ /* @__PURE__ */ t(
95
+ V,
111
96
  {
112
97
  itemKey: c,
113
98
  onAdd: v,
114
- max: I,
115
- className: a.addToCart,
116
- addButtonClassName: a.addToCartButton,
117
- addButtonVariant: p ? "cta-primary" : "secondary",
118
- size: r,
99
+ max: B,
100
+ className: r.addToCart,
101
+ addButtonClassName: r.addToCartButton,
102
+ addButtonVariant: i ? "cta-primary" : "secondary",
103
+ size: a,
119
104
  buttonDoneText: "",
120
- buttonText: p ? "Add" : "Add to Cart",
121
- showQuantity: p,
122
- requiresUnitDetails: C
105
+ buttonText: i ? "Add" : "Add to Cart",
106
+ showQuantity: i,
107
+ requiresUnitDetails: I
123
108
  }
124
109
  )
125
110
  ]
126
111
  }
127
- ) : /* @__PURE__ */ e("div", { className: h(
128
- a.productTile,
129
- T,
130
- r && a[r],
131
- !x && a.elevated,
132
- !o && a.noImage
133
- ), ...y, children: [
134
- n && /* @__PURE__ */ d(g, { href: n, unstyled: !0, className: h(a.customWizardBadge, A), children: /* @__PURE__ */ d(t, { size: "xs", weight: "regular", colorToken: "default-inverted", className: a.customWizardBadgeText, children: f }) }),
135
- o && /* @__PURE__ */ d(
136
- $,
112
+ ) : /* @__PURE__ */ e("div", { className: E(
113
+ r.productTile,
114
+ q,
115
+ a && r[a],
116
+ !x && r.elevated,
117
+ !o && r.noImage
118
+ ), ...A, children: [
119
+ l && /* @__PURE__ */ t(k, { href: l, text: j, colorToken: C }),
120
+ o && /* @__PURE__ */ t(
121
+ w,
137
122
  {
138
123
  src: o,
139
- alt: `${m} product image`,
140
- height: r === "sm" ? 86 : 108,
141
- width: r === "sm" ? 86 : 108
124
+ alt: `${s} product image`,
125
+ height: a === "sm" ? 86 : 108,
126
+ width: a === "sm" ? 86 : 108
142
127
  }
143
128
  ),
144
- /* @__PURE__ */ e("div", { className: a.productData, children: [
145
- /* @__PURE__ */ e("div", { className: a.productInformation, children: [
146
- /* @__PURE__ */ d(g, { onClick: () => s == null ? void 0 : s(c), size: r, href: b || "#", children: w }),
147
- /* @__PURE__ */ e("div", { className: a.partNumber, children: [
148
- /* @__PURE__ */ d(t, { size: _, className: a.partNumberLabel, children: "Part #" }),
149
- /* @__PURE__ */ d(t, { size: _, weight: "semibold", children: m })
129
+ /* @__PURE__ */ e("div", { className: r.productData, children: [
130
+ /* @__PURE__ */ e("div", { className: r.productInformation, children: [
131
+ /* @__PURE__ */ t($, { onClick: () => d == null ? void 0 : d(c), size: a, href: T || "#", children: b }),
132
+ /* @__PURE__ */ e("div", { className: r.partNumber, children: [
133
+ /* @__PURE__ */ t(n, { size: p, className: r.partNumberLabel, children: "Part #" }),
134
+ /* @__PURE__ */ t(n, { size: p, weight: "semibold", children: s })
150
135
  ] })
151
136
  ] }),
152
- /* @__PURE__ */ e("div", { className: a.purchase, children: [
153
- /* @__PURE__ */ e("div", { className: a.purchaseInformation, children: [
154
- i && /* @__PURE__ */ d(
137
+ /* @__PURE__ */ e("div", { className: r.purchase, children: [
138
+ /* @__PURE__ */ e("div", { className: r.purchaseInformation, children: [
139
+ m && /* @__PURE__ */ t(
155
140
  P,
156
141
  {
157
- availId: i,
158
- availDescription: W,
159
- inventory: z,
142
+ availId: m,
143
+ availDescription: f,
144
+ inventory: N,
160
145
  enableTooltip: !0
161
146
  }
162
147
  ),
163
- u && /* @__PURE__ */ d(j, { pricingLabel: N, price: u })
148
+ u && /* @__PURE__ */ t(D, { pricingLabel: g, price: u })
164
149
  ] }),
165
- /* @__PURE__ */ d(D, { size: r, itemKey: c, onAdd: v, max: I, className: a.addToCart, addButtonClassName: a.addToCartButton, requiresUnitDetails: C })
150
+ /* @__PURE__ */ t(V, { size: a, itemKey: c, onAdd: v, max: B, className: r.addToCart, addButtonClassName: r.addToCartButton, requiresUnitDetails: I })
166
151
  ] }),
167
- B && B.length > 0 && /* @__PURE__ */ d("ul", { className: a.attributeContainer, children: B.map((l) => /* @__PURE__ */ e("li", { children: [
168
- /* @__PURE__ */ e(t, { size: "xs", weight: "light", children: [
169
- l.label,
152
+ _ && _.length > 0 && /* @__PURE__ */ t("ul", { className: r.attributeContainer, children: _.map((h) => /* @__PURE__ */ e("li", { children: [
153
+ /* @__PURE__ */ e(n, { size: "xs", weight: "light", children: [
154
+ h.label,
170
155
  ":"
171
156
  ] }),
172
- /* @__PURE__ */ d(t, { size: "xs", weight: "semibold", children: l.value })
173
- ] }, `${l.label}.${l.value}`)) })
157
+ /* @__PURE__ */ t(n, { size: "xs", weight: "semibold", children: h.value })
158
+ ] }, `${h.label}.${h.value}`)) })
174
159
  ] })
175
160
  ] });
176
161
  }
177
162
  export {
178
- ca as Product
163
+ nr as Product
179
164
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@caseparts-org/caseblocks",
3
3
  "private": false,
4
- "version": "0.0.218",
4
+ "version": "0.0.219",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",