@caseparts-org/caseblocks 0.0.222 → 0.0.223
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/Select.css +1 -0
- package/dist/atoms/Select/Select.d.ts +13 -0
- package/dist/atoms/Select/Select.js +64 -0
- package/dist/atoms/Select/Select.stories.d.ts +8 -0
- package/dist/atoms/Select/Select.stories.js +54 -0
- package/dist/main-client.d.ts +4 -0
- package/dist/main-client.js +99 -97
- package/dist/main-server.d.ts +0 -2
- package/dist/main-server.js +48 -50
- package/dist/main.d.ts +2 -0
- package/dist/main.js +30 -28
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._select-container_bickp_1{display:flex;position:relative;flex-direction:column;align-items:flex-start;width:100%;box-sizing:border-box}._select_bickp_1{height:32px;min-height:32px;width:100%;box-sizing:border-box;border:1px solid var(--border-border-primary, #dfdfdf);border-radius:var(--radius-radius-minimal, 2px);background:var(--surface-surface-primary);color:var(--text-text-primary, #272727);font-size:var(--font-size-sm, .875rem);padding:0 var(--spacing-spacing-2xl, 32px) 0 var(--spacing-spacing-1xs, 12px);outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--border-border-primary-btn, #1380b1) 50%),linear-gradient(135deg,var(--border-border-primary-btn, #1380b1) 50%,transparent 50%);background-position:calc(100% - 16px) calc(50% - 3px),calc(100% - 11px) calc(50% - 3px);background-size:5px 5px,5px 5px;background-repeat:no-repeat}@media (max-width: 767px){._select_bickp_1{font-size:var(--font-size-md)}}._select_bickp_1:hover{border:1px solid var(--border-border-primary-btn, #1380b1)}._select_bickp_1:focus{border:1px solid var(--border-border-primary-btn, #1380b1);box-shadow:0 0 2px 1px var(--border-border-primary-btn, #1380b1)}._selectError_bickp_46{border-color:var(--text-text-error-warning, #d40000)}._label_bickp_50{position:absolute;align-self:flex-start;left:8px;top:-8px;padding:0 8px;cursor:text;transition:all .2s ease-in;font-family:var(--font-family-label);font-size:var(--font-size-xxs);color:var(--text-text-quaternary);background-color:var(--surface-surface-primary)}._labelPlaceholder_bickp_64{position:absolute;align-self:flex-start;box-sizing:border-box;max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:italic;font-family:var(--font-family-label);font-size:var(--font-size-sm);background-color:transparent;color:var(--text-text-quaternary);left:12px;top:8px;padding:0 2px;pointer-events:none;transition:all .2s ease-in}._errorMessage_bickp_84{width:100%;margin-top:4px;font-size:var(--font-size-xs, .75rem);color:var(--text-text-error-warning, #d40000)}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { HideAtProps } from '../HideAt';
|
|
3
|
+
export interface SelectOption {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
export interface SelectProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, "children">, HideAtProps {
|
|
8
|
+
label: string | null;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
options: SelectOption[];
|
|
11
|
+
error?: string | null;
|
|
12
|
+
}
|
|
13
|
+
export declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { jsxs as u, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import M, { useState as w } from "react";
|
|
3
|
+
import { c as p } from "../../clsx-OuTLNxxd.js";
|
|
4
|
+
import { getHideAtStyles as y } from "../HideAt.js";
|
|
5
|
+
import '../../assets/Select.css';const F = "_select_bickp_1", P = "_selectError_bickp_46", V = "_label_bickp_50", j = "_labelPlaceholder_bickp_64", L = "_errorMessage_bickp_84", s = {
|
|
6
|
+
"select-container": "_select-container_bickp_1",
|
|
7
|
+
select: F,
|
|
8
|
+
selectError: P,
|
|
9
|
+
label: V,
|
|
10
|
+
labelPlaceholder: j,
|
|
11
|
+
errorMessage: L
|
|
12
|
+
}, R = M.forwardRef(
|
|
13
|
+
({
|
|
14
|
+
label: l,
|
|
15
|
+
placeholder: c,
|
|
16
|
+
options: f,
|
|
17
|
+
value: m,
|
|
18
|
+
defaultValue: o,
|
|
19
|
+
hideAt: g,
|
|
20
|
+
className: k,
|
|
21
|
+
error: r,
|
|
22
|
+
onFocus: i,
|
|
23
|
+
onBlur: n,
|
|
24
|
+
...d
|
|
25
|
+
}, S) => {
|
|
26
|
+
const [N, b] = w(!1), t = m !== void 0, h = t ? String(m ?? "") : void 0, v = !t && o !== void 0 && o !== null ? String(o) : "", _ = !!l && (N || (t ? h !== "" : v !== "")), x = !!c && !_, E = l ? "" : c ?? "";
|
|
27
|
+
return /* @__PURE__ */ u("div", { className: p(s["select-container"], y(g)), children: [
|
|
28
|
+
(l || x) && /* @__PURE__ */ a(
|
|
29
|
+
"label",
|
|
30
|
+
{
|
|
31
|
+
htmlFor: d.name,
|
|
32
|
+
className: _ ? s.label : s.labelPlaceholder,
|
|
33
|
+
children: _ ? l : c ?? l
|
|
34
|
+
}
|
|
35
|
+
),
|
|
36
|
+
/* @__PURE__ */ u(
|
|
37
|
+
"select",
|
|
38
|
+
{
|
|
39
|
+
...d,
|
|
40
|
+
ref: S,
|
|
41
|
+
id: d.name,
|
|
42
|
+
value: h,
|
|
43
|
+
defaultValue: t ? void 0 : v,
|
|
44
|
+
className: p(s.select, r ? s.selectError : void 0, k),
|
|
45
|
+
onFocus: (e) => {
|
|
46
|
+
b(!0), i == null || i(e);
|
|
47
|
+
},
|
|
48
|
+
onBlur: (e) => {
|
|
49
|
+
b(!1), n == null || n(e);
|
|
50
|
+
},
|
|
51
|
+
children: [
|
|
52
|
+
c ? /* @__PURE__ */ a("option", { value: "", disabled: !0, hidden: !!l, children: E }) : null,
|
|
53
|
+
f.map((e) => /* @__PURE__ */ a("option", { value: e.value, children: e.label }, e.value))
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
),
|
|
57
|
+
r ? /* @__PURE__ */ a("div", { className: s.errorMessage, children: r }) : null
|
|
58
|
+
] });
|
|
59
|
+
}
|
|
60
|
+
);
|
|
61
|
+
R.displayName = "Select";
|
|
62
|
+
export {
|
|
63
|
+
R as Select
|
|
64
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Select } from './Select';
|
|
3
|
+
declare const meta: Meta<typeof Select>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Select>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithSelectedValue: Story;
|
|
8
|
+
export declare const ErrorState: Story;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useState as c } from "react";
|
|
3
|
+
import { Select as n } from "./Select.js";
|
|
4
|
+
const i = [
|
|
5
|
+
{ value: "US", label: "United States" },
|
|
6
|
+
{ value: "CA", label: "Canada" },
|
|
7
|
+
{ value: "MX", label: "Mexico" }
|
|
8
|
+
], S = {
|
|
9
|
+
title: "Case Parts/Atoms/Select",
|
|
10
|
+
component: n,
|
|
11
|
+
args: {
|
|
12
|
+
name: "country",
|
|
13
|
+
label: "Country",
|
|
14
|
+
placeholder: "Select country",
|
|
15
|
+
options: i
|
|
16
|
+
},
|
|
17
|
+
parameters: {
|
|
18
|
+
layout: "centered"
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
function a(e) {
|
|
22
|
+
const [o, u] = c(String(e.value ?? ""));
|
|
23
|
+
return /* @__PURE__ */ t("div", { style: { width: 320 }, children: /* @__PURE__ */ t(
|
|
24
|
+
n,
|
|
25
|
+
{
|
|
26
|
+
...e,
|
|
27
|
+
value: o,
|
|
28
|
+
onChange: (r) => {
|
|
29
|
+
var l;
|
|
30
|
+
u(r.target.value), (l = e.onChange) == null || l.call(e, r);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
) });
|
|
34
|
+
}
|
|
35
|
+
const v = {
|
|
36
|
+
render: (e) => /* @__PURE__ */ t(a, { ...e })
|
|
37
|
+
}, g = {
|
|
38
|
+
args: {
|
|
39
|
+
value: "US"
|
|
40
|
+
},
|
|
41
|
+
render: (e) => /* @__PURE__ */ t(a, { ...e })
|
|
42
|
+
}, C = {
|
|
43
|
+
args: {
|
|
44
|
+
value: "",
|
|
45
|
+
error: "Country is required"
|
|
46
|
+
},
|
|
47
|
+
render: (e) => /* @__PURE__ */ t(a, { ...e })
|
|
48
|
+
};
|
|
49
|
+
export {
|
|
50
|
+
v as Default,
|
|
51
|
+
C as ErrorState,
|
|
52
|
+
g as WithSelectedValue,
|
|
53
|
+
S as default
|
|
54
|
+
};
|
package/dist/main-client.d.ts
CHANGED
|
@@ -5,6 +5,10 @@ export { SlideInPanel } from './atoms/SlideInPanel/SlideInPanel';
|
|
|
5
5
|
export type { SlideInPanelProps } from './atoms/SlideInPanel/SlideInPanel';
|
|
6
6
|
export { DropdownButton } from './atoms/DropdownButton/DropdownButton';
|
|
7
7
|
export type { DropdownButtonProps, DropdownButtonOption, DropdownButtonStyles } from './atoms/DropdownButton/DropdownButton';
|
|
8
|
+
export { Input } from './atoms/Input/Input';
|
|
9
|
+
export type { InputProps } from './atoms/Input/Input';
|
|
10
|
+
export { Select } from './atoms/Select/Select';
|
|
11
|
+
export type { SelectProps, SelectOption } from './atoms/Select/Select';
|
|
8
12
|
export { Tooltip } from './atoms/Tooltip/Tooltip';
|
|
9
13
|
export { Popover } from './atoms/Popover/Popover';
|
|
10
14
|
export type { PopoverProps } from './atoms/Popover/Popover';
|
package/dist/main-client.js
CHANGED
|
@@ -7,112 +7,114 @@ import { Icon as u } from "./atoms/Icon/Icon.js";
|
|
|
7
7
|
import { Root as g } from "./atoms/Root/Root.js";
|
|
8
8
|
import { Separator as s } from "./atoms/Separator/Separator.js";
|
|
9
9
|
import { Text as A } from "./atoms/Text/Text.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
10
|
+
import { ToggleSwitch as P } from "./atoms/ToggleSwitch/ToggleSwitch.js";
|
|
11
|
+
import { Link as h } from "./atoms/Link/Link.js";
|
|
12
|
+
import { linkClassName as I } from "./atoms/Link/linkClassName.js";
|
|
13
|
+
import { configureLink as w, routerOverride as L } from "./atoms/Link/configureLink.js";
|
|
14
|
+
import { LinkButton as b } from "./atoms/LinkButton/LinkButton.js";
|
|
15
|
+
import { Pill as F } from "./atoms/Pill/Pill.js";
|
|
16
|
+
import { configureImage as N } from "./atoms/Image/configureImage.js";
|
|
17
|
+
import { getHideAtStyles as z } from "./atoms/HideAt.js";
|
|
18
|
+
import { Logo as E } from "./molecules/Logo/Logo.js";
|
|
19
|
+
import { SearchBox as O } from "./molecules/SearchBox/SearchBox.js";
|
|
20
|
+
import { QuantityInput as R } from "./molecules/QuantityInput/QuantityInput.js";
|
|
21
|
+
import { Pricing as Z } from "./molecules/Pricing/Pricing.js";
|
|
22
|
+
import { ProgressBar as q } from "./molecules/ProgressBar/ProgressBar.js";
|
|
23
|
+
import { Availability as K } from "./molecules/Availability/Availability.js";
|
|
24
|
+
import { Avatar as X } from "./molecules/Avatar/Avatar.js";
|
|
25
|
+
import { BannerCard as _ } from "./molecules/BannerCard/BannerCard.js";
|
|
26
|
+
import { CardLink as oo } from "./molecules/CardLink/CardLink.js";
|
|
27
|
+
import { Breadcrumbs as eo } from "./molecules/Breadcrumbs/Breadcrumbs.js";
|
|
28
|
+
import { Disclaimer as mo } from "./molecules/Disclaimer/Disclaimer.js";
|
|
29
|
+
import { Admonition as fo } from "./molecules/Admonition/Admonition.js";
|
|
30
|
+
import { CustomWizardBadge as ao } from "./molecules/CustomWizardBadge/CustomWizardBadge.js";
|
|
31
|
+
import { NotFound as no } from "./organisms/NotFound/NotFound.js";
|
|
32
|
+
import { HorizontalScroll as uo } from "./atoms/HorizontalScroll/HorizontalScroll.js";
|
|
33
|
+
import { SlideInPanel as go } from "./atoms/SlideInPanel/SlideInPanel.js";
|
|
34
|
+
import { DropdownButton as so } from "./atoms/DropdownButton/DropdownButton.js";
|
|
35
|
+
import { Input as Ao } from "./atoms/Input/Input.js";
|
|
36
|
+
import { Select as Po } from "./atoms/Select/Select.js";
|
|
37
|
+
import { Tooltip as ho } from "./atoms/Tooltip/Tooltip.js";
|
|
38
|
+
import { Popover as Io } from "./atoms/Popover/Popover.js";
|
|
39
|
+
import { Accordion as wo } from "./molecules/Accordion/Accordion.js";
|
|
40
|
+
import { Account as Ho } from "./molecules/Account/Account.js";
|
|
41
|
+
import { Chip as yo } from "./molecules/Chip/Chip.js";
|
|
42
|
+
import { ToggleView as Mo } from "./molecules/ToggleView/ToggleView.js";
|
|
43
|
+
import { CartPart as Vo } from "./molecules/Cart/CartPart.js";
|
|
44
|
+
import { AddToCartPart as Do } from "./molecules/AddToCartPart/AddToCartPart.js";
|
|
45
|
+
import { CartSlideInPanel as Go } from "./molecules/Cart/CartSlideInPanel.js";
|
|
46
|
+
import { StatefulButton as Qo } from "./molecules/StatefulButton/StatefulButton.js";
|
|
47
|
+
import { AnimatedCheckMark as Wo } from "./molecules/StatefulButton/AnimatedCheckmark.js";
|
|
48
|
+
import { AddToCart as jo } from "./molecules/AddToCart/AddToCart.js";
|
|
49
|
+
import { Modal as Jo } from "./molecules/Modal/Modal.js";
|
|
50
|
+
import { ImageViewer as Uo } from "./molecules/ImageViewer/ImageViewer.js";
|
|
51
|
+
import { T as Yo } from "./Table-BX4PtCNE.js";
|
|
52
|
+
import { Error as $o } from "./molecules/Error/Error.js";
|
|
53
|
+
import { MainNav as rr } from "./organisms/MainNav/MainNav.js";
|
|
54
|
+
import { ChipSelector as tr } from "./organisms/ChipSelector/ChipSelector.js";
|
|
55
|
+
import { Product as pr } from "./organisms/Product/Product.js";
|
|
56
|
+
import { Carousel as xr } from "./organisms/Carousel/Carousel.js";
|
|
57
|
+
import { Footer as ir } from "./organisms/Footer/Footer.js";
|
|
58
|
+
import { default as lr } from "./organisms/SpinZoomViewer/SpinZoomViewer.js";
|
|
58
59
|
export {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
60
|
+
wo as Accordion,
|
|
61
|
+
Ho as Account,
|
|
62
|
+
jo as AddToCart,
|
|
63
|
+
Do as AddToCartPart,
|
|
64
|
+
fo as Admonition,
|
|
65
|
+
Wo as AnimatedCheckMark,
|
|
66
|
+
K as Availability,
|
|
67
|
+
X as Avatar,
|
|
68
|
+
_ as BannerCard,
|
|
69
|
+
eo as Breadcrumbs,
|
|
69
70
|
e as Button,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
71
|
+
oo as CardLink,
|
|
72
|
+
xr as Carousel,
|
|
73
|
+
Vo as CartPart,
|
|
74
|
+
Go as CartSlideInPanel,
|
|
75
|
+
yo as Chip,
|
|
76
|
+
tr as ChipSelector,
|
|
76
77
|
f as Column,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
ao as CustomWizardBadge,
|
|
79
|
+
mo as Disclaimer,
|
|
80
|
+
so as DropdownButton,
|
|
81
|
+
$o as Error,
|
|
81
82
|
m as Flex,
|
|
82
|
-
|
|
83
|
+
ir as Footer,
|
|
83
84
|
x as Grid,
|
|
84
85
|
l as Head,
|
|
85
86
|
i as HighlightedText,
|
|
86
|
-
|
|
87
|
+
uo as HorizontalScroll,
|
|
87
88
|
u as Icon,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
89
|
+
Uo as ImageViewer,
|
|
90
|
+
Ao as Input,
|
|
91
|
+
h as Link,
|
|
92
|
+
b as LinkButton,
|
|
93
|
+
E as Logo,
|
|
94
|
+
rr as MainNav,
|
|
95
|
+
Jo as Modal,
|
|
96
|
+
no as NotFound,
|
|
97
|
+
F as Pill,
|
|
98
|
+
Io as Popover,
|
|
99
|
+
Z as Pricing,
|
|
100
|
+
pr as Product,
|
|
101
|
+
q as ProgressBar,
|
|
102
|
+
R as QuantityInput,
|
|
102
103
|
g as Root,
|
|
103
|
-
|
|
104
|
+
O as SearchBox,
|
|
105
|
+
Po as Select,
|
|
104
106
|
s as Separator,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
go as SlideInPanel,
|
|
108
|
+
lr as SpinZoomViewer,
|
|
109
|
+
Qo as StatefulButton,
|
|
110
|
+
Yo as Table,
|
|
109
111
|
A as Text,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
112
|
+
P as ToggleSwitch,
|
|
113
|
+
Mo as ToggleView,
|
|
114
|
+
ho as Tooltip,
|
|
115
|
+
N as configureImage,
|
|
116
|
+
w as configureLink,
|
|
117
|
+
z as getHideAtStyles,
|
|
118
|
+
I as linkClassName,
|
|
119
|
+
L as routerOverride
|
|
118
120
|
};
|
package/dist/main-server.d.ts
CHANGED
|
@@ -14,8 +14,6 @@ export { Separator } from './atoms/Separator/Separator';
|
|
|
14
14
|
export type { SeparatorProps } from './atoms/Separator/Separator';
|
|
15
15
|
export { Text } from './atoms/Text/Text';
|
|
16
16
|
export type { TextProps } from './atoms/Text/Text';
|
|
17
|
-
export { Input } from './atoms/Input/Input';
|
|
18
|
-
export type { InputProps } from './atoms/Input/Input';
|
|
19
17
|
export { ToggleSwitch } from './atoms/ToggleSwitch/ToggleSwitch';
|
|
20
18
|
export type { ToggleSwitchProps } from './atoms/ToggleSwitch/ToggleSwitch';
|
|
21
19
|
export { Link } from './atoms/Link/Link';
|
package/dist/main-server.js
CHANGED
|
@@ -1,68 +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
|
-
import { Column as
|
|
3
|
+
import { Column as f, Grid as p } from "./atoms/Grid/Grid.js";
|
|
4
4
|
import { HighlightedText as a } from "./atoms/HighlightedText/HighlightedText.js";
|
|
5
5
|
import { Head as d } from "./atoms/Root/Head.js";
|
|
6
6
|
import { Icon as l } from "./atoms/Icon/Icon.js";
|
|
7
7
|
import { Root as c } from "./atoms/Root/Root.js";
|
|
8
8
|
import { Separator as B } from "./atoms/Separator/Separator.js";
|
|
9
9
|
import { Text as C } from "./atoms/Text/Text.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import { NotFound as gr } from "./organisms/NotFound/NotFound.js";
|
|
10
|
+
import { ToggleSwitch as h } from "./atoms/ToggleSwitch/ToggleSwitch.js";
|
|
11
|
+
import { Link as S } from "./atoms/Link/Link.js";
|
|
12
|
+
import { linkClassName as y } from "./atoms/Link/linkClassName.js";
|
|
13
|
+
import { configureLink as I, routerOverride as P } from "./atoms/Link/configureLink.js";
|
|
14
|
+
import { LinkButton as b } from "./atoms/LinkButton/LinkButton.js";
|
|
15
|
+
import { Pill as N } from "./atoms/Pill/Pill.js";
|
|
16
|
+
import { configureImage as z } from "./atoms/Image/configureImage.js";
|
|
17
|
+
import { getHideAtStyles as G } from "./atoms/HideAt.js";
|
|
18
|
+
import { Logo as Q } from "./molecules/Logo/Logo.js";
|
|
19
|
+
import { SearchBox as W } from "./molecules/SearchBox/SearchBox.js";
|
|
20
|
+
import { QuantityInput as q } from "./molecules/QuantityInput/QuantityInput.js";
|
|
21
|
+
import { Pricing as J } from "./molecules/Pricing/Pricing.js";
|
|
22
|
+
import { ProgressBar as M } from "./molecules/ProgressBar/ProgressBar.js";
|
|
23
|
+
import { Availability as V } from "./molecules/Availability/Availability.js";
|
|
24
|
+
import { Avatar as Y } from "./molecules/Avatar/Avatar.js";
|
|
25
|
+
import { BannerCard as _ } from "./molecules/BannerCard/BannerCard.js";
|
|
26
|
+
import { CardLink as rr } from "./molecules/CardLink/CardLink.js";
|
|
27
|
+
import { Breadcrumbs as er } from "./molecules/Breadcrumbs/Breadcrumbs.js";
|
|
28
|
+
import { Disclaimer as mr } from "./molecules/Disclaimer/Disclaimer.js";
|
|
29
|
+
import { Admonition as fr } from "./molecules/Admonition/Admonition.js";
|
|
30
|
+
import { CustomWizardBadge as ir } from "./molecules/CustomWizardBadge/CustomWizardBadge.js";
|
|
31
|
+
import { NotFound as nr } from "./organisms/NotFound/NotFound.js";
|
|
33
32
|
export {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
fr as Admonition,
|
|
34
|
+
V as Availability,
|
|
35
|
+
Y as Avatar,
|
|
36
|
+
_ as BannerCard,
|
|
37
|
+
er as Breadcrumbs,
|
|
39
38
|
e as Button,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
rr as CardLink,
|
|
40
|
+
f as Column,
|
|
41
|
+
ir as CustomWizardBadge,
|
|
42
|
+
mr as Disclaimer,
|
|
44
43
|
m as Flex,
|
|
45
|
-
|
|
44
|
+
p as Grid,
|
|
46
45
|
d as Head,
|
|
47
46
|
a as HighlightedText,
|
|
48
47
|
l as Icon,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
M as
|
|
56
|
-
|
|
57
|
-
J as QuantityInput,
|
|
48
|
+
S as Link,
|
|
49
|
+
b as LinkButton,
|
|
50
|
+
Q as Logo,
|
|
51
|
+
nr as NotFound,
|
|
52
|
+
N as Pill,
|
|
53
|
+
J as Pricing,
|
|
54
|
+
M as ProgressBar,
|
|
55
|
+
q as QuantityInput,
|
|
58
56
|
c as Root,
|
|
59
|
-
|
|
57
|
+
W as SearchBox,
|
|
60
58
|
B as Separator,
|
|
61
59
|
C as Text,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
60
|
+
h as ToggleSwitch,
|
|
61
|
+
z as configureImage,
|
|
62
|
+
I as configureLink,
|
|
63
|
+
G as getHideAtStyles,
|
|
64
|
+
y as linkClassName,
|
|
65
|
+
P as routerOverride
|
|
68
66
|
};
|
package/dist/main.d.ts
CHANGED
|
@@ -13,6 +13,8 @@ export { Text } from './atoms/Text/Text';
|
|
|
13
13
|
export type { TextProps } from './atoms/Text/Text';
|
|
14
14
|
export { Input } from './atoms/Input/Input';
|
|
15
15
|
export type { InputProps } from './atoms/Input/Input';
|
|
16
|
+
export { Select } from './atoms/Select/Select';
|
|
17
|
+
export type { SelectProps } from './atoms/Select/Select';
|
|
16
18
|
export { Account } from './molecules/Account/Account';
|
|
17
19
|
export type { AccountProps } from './molecules/Account/Account';
|
|
18
20
|
export { Avatar } from './molecules/Avatar/Avatar';
|
package/dist/main.js
CHANGED
|
@@ -1,41 +1,43 @@
|
|
|
1
|
-
import { Button as
|
|
1
|
+
import { Button as e } from "./atoms/Button/Button.js";
|
|
2
2
|
import { Flex as p } from "./atoms/Flex/Flex.js";
|
|
3
3
|
import { Column as m, Grid as f } from "./atoms/Grid/Grid.js";
|
|
4
4
|
import { Head as n } from "./atoms/Root/Head.js";
|
|
5
5
|
import { Icon as c } from "./atoms/Icon/Icon.js";
|
|
6
6
|
import { Root as u } from "./atoms/Root/Root.js";
|
|
7
|
-
import { Separator as
|
|
8
|
-
import { Text as
|
|
9
|
-
import { Input as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
7
|
+
import { Separator as d } from "./atoms/Separator/Separator.js";
|
|
8
|
+
import { Text as h } from "./atoms/Text/Text.js";
|
|
9
|
+
import { Input as C } from "./atoms/Input/Input.js";
|
|
10
|
+
import { Select as B } from "./atoms/Select/Select.js";
|
|
11
|
+
import { Account as T } from "./molecules/Account/Account.js";
|
|
12
|
+
import { Avatar as E } from "./molecules/Avatar/Avatar.js";
|
|
13
|
+
import { Chip as G } from "./molecules/Chip/Chip.js";
|
|
14
|
+
import { Logo as L } from "./molecules/Logo/Logo.js";
|
|
15
|
+
import { SearchBox as N } from "./molecules/SearchBox/SearchBox.js";
|
|
16
|
+
import { Error as V } from "./molecules/Error/Error.js";
|
|
17
|
+
import { Admonition as j } from "./molecules/Admonition/Admonition.js";
|
|
18
|
+
import { ToggleView as q } from "./molecules/ToggleView/ToggleView.js";
|
|
19
|
+
import { MainNav as y } from "./organisms/MainNav/MainNav.js";
|
|
20
|
+
import { ChipSelector as D } from "./organisms/ChipSelector/ChipSelector.js";
|
|
20
21
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
T as Account,
|
|
23
|
+
j as Admonition,
|
|
24
|
+
E as Avatar,
|
|
25
|
+
e as Button,
|
|
26
|
+
G as Chip,
|
|
27
|
+
D as ChipSelector,
|
|
27
28
|
m as Column,
|
|
28
|
-
|
|
29
|
+
V as Error,
|
|
29
30
|
p as Flex,
|
|
30
31
|
f as Grid,
|
|
31
32
|
n as Head,
|
|
32
33
|
c as Icon,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
C as Input,
|
|
35
|
+
L as Logo,
|
|
36
|
+
y as MainNav,
|
|
36
37
|
u as Root,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
N as SearchBox,
|
|
39
|
+
B as Select,
|
|
40
|
+
d as Separator,
|
|
41
|
+
h as Text,
|
|
42
|
+
q as ToggleView
|
|
41
43
|
};
|