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