@lism-css/ui 0.11.0 → 0.13.0
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/README.md +1 -1
- package/dist/components/Accordion/Accordion.stories.d.ts +7 -0
- package/dist/components/Accordion/getProps.d.ts +55 -42
- package/dist/components/Accordion/getProps.js +36 -32
- package/dist/components/Accordion/react/AccIcon.d.ts +2 -1
- package/dist/components/Accordion/react/Accordion.d.ts +12 -21
- package/dist/components/Accordion/react/Accordion.js +30 -29
- package/dist/components/Accordion/react/index.d.ts +10 -11
- package/dist/components/Accordion/setAccordion.d.ts +6 -3
- package/dist/components/Accordion/setAccordion.js +12 -10
- package/dist/components/Alert/Alert.stories.d.ts +13 -0
- package/dist/components/Alert/getProps.d.ts +6 -4
- package/dist/components/Alert/react/Alert.d.ts +3 -4
- package/dist/components/Alert/react/Alert.js +2 -2
- package/dist/components/Avatar/Avatar.stories.d.ts +8 -0
- package/dist/components/Avatar/react/Avatar.d.ts +10 -6
- package/dist/components/Avatar/react/Avatar.js +1 -1
- package/dist/components/Badge/Badge.stories.d.ts +8 -0
- package/dist/components/Badge/react/Badge.d.ts +3 -1
- package/dist/components/Badge/react/Badge.js +5 -8
- package/dist/components/Button/Button.stories.d.ts +8 -0
- package/dist/components/Button/react/Button.d.ts +3 -1
- package/dist/components/Button/react/Button.js +3 -6
- package/dist/components/Callout/Callout.stories.d.ts +12 -0
- package/dist/components/Callout/getProps.d.ts +3 -2
- package/dist/components/Callout/react/Callout.d.ts +3 -4
- package/dist/components/Callout/react/Callout.js +4 -4
- package/dist/components/Chat/Chat.stories.d.ts +9 -0
- package/dist/components/Chat/getProps.d.ts +43 -44
- package/dist/components/Chat/getProps.js +2 -2
- package/dist/components/Chat/react/Chat.d.ts +11 -7
- package/dist/components/Chat/react/Chat.js +10 -10
- package/dist/components/Details/Details.stories.d.ts +6 -0
- package/dist/components/Details/getProps.d.ts +34 -35
- package/dist/components/Details/getProps.js +17 -7
- package/dist/components/Details/react/Details.d.ts +11 -20
- package/dist/components/Details/react/Details.js +15 -15
- package/dist/components/Details/react/index.d.ts +7 -7
- package/dist/components/DummyImage/DummyImage.stories.d.ts +7 -0
- package/dist/components/DummyText/DummyText.stories.d.ts +9 -0
- package/dist/components/Modal/Modal.stories.d.ts +6 -0
- package/dist/components/Modal/getProps.d.ts +35 -36
- package/dist/components/Modal/getProps.js +34 -15
- package/dist/components/Modal/react/Body.d.ts +2 -4
- package/dist/components/Modal/react/CloseBtn.d.ts +9 -7
- package/dist/components/Modal/react/CloseBtn.js +5 -5
- package/dist/components/Modal/react/Inner.d.ts +3 -4
- package/dist/components/Modal/react/Modal.d.ts +4 -4
- package/dist/components/Modal/react/Modal.js +11 -9
- package/dist/components/Modal/react/OpenBtn.d.ts +7 -5
- package/dist/components/Modal/react/OpenBtn.js +4 -4
- package/dist/components/Modal/react/index.d.ts +7 -8
- package/dist/components/NavMenu/NavMenu.stories.d.ts +7 -0
- package/dist/components/NavMenu/getProps.d.ts +31 -29
- package/dist/components/NavMenu/react/NavMenu.d.ts +6 -16
- package/dist/components/NavMenu/react/NavMenu.js +21 -17
- package/dist/components/NavMenu/react/index.d.ts +6 -6
- package/dist/components/ShapeDivider/ShapeDivider.stories.d.ts +10 -0
- package/dist/components/ShapeDivider/getProps.d.ts +16 -11
- package/dist/components/ShapeDivider/getProps.js +10 -12
- package/dist/components/ShapeDivider/react/ShapeDivider.d.ts +3 -4
- package/dist/components/ShapeDivider/react/ShapeDivider.js +3 -3
- package/dist/components/Tabs/Tabs.stories.d.ts +6 -0
- package/dist/components/Tabs/getProps.d.ts +11 -4
- package/dist/components/Tabs/getProps.js +15 -5
- package/dist/components/Tabs/react/Tab.d.ts +8 -6
- package/dist/components/Tabs/react/Tab.js +15 -6
- package/dist/components/Tabs/react/TabItem.d.ts +7 -4
- package/dist/components/Tabs/react/TabList.d.ts +2 -1
- package/dist/components/Tabs/react/TabPanel.d.ts +8 -6
- package/dist/components/Tabs/react/Tabs.d.ts +9 -7
- package/dist/components/Tabs/react/Tabs.js +50 -36
- package/dist/components/Tabs/react/index.d.ts +8 -8
- package/dist/components/Tabs/setTabs.d.ts +1 -1
- package/dist/components/Tabs/setTabs.js +25 -15
- package/dist/lism-css/dist/components/{Center → layout/Center}/index.js +1 -1
- package/dist/lism-css/dist/components/{Flex → layout/Flex}/index.js +1 -1
- package/dist/lism-css/dist/components/{Flow → layout/Flow}/index.js +1 -1
- package/dist/lism-css/dist/components/{Frame → layout/Frame}/index.js +1 -1
- package/dist/lism-css/dist/components/{Grid → layout/Grid}/index.js +1 -1
- package/dist/lism-css/dist/components/{Stack → layout/Stack}/index.js +1 -1
- package/dist/lism-css/dist/config/default-config.js +6 -6
- package/dist/lism-css/dist/config/defaults/props.js +16 -26
- package/dist/lism-css/dist/config/defaults/traits.js +19 -0
- package/dist/lism-css/dist/config/index.js +9 -9
- package/dist/lism-css/dist/lib/getLayoutProps.js +6 -9
- package/dist/lism-css/dist/lib/getLismProps.js +116 -104
- package/dist/lism-css/dist/lib/helper/mergeSet.js +14 -0
- package/dist/style.css +1 -1
- package/dist/ui.css +1 -1
- package/package.json +14 -7
- package/src/components/Accordion/Accordion.stories.tsx +105 -0
- package/src/components/Accordion/_style.css +1 -1
- package/src/components/Accordion/astro/Button.astro +2 -2
- package/src/components/Accordion/getProps.ts +91 -0
- package/src/components/Accordion/react/{AccIcon.jsx → AccIcon.tsx} +2 -2
- package/src/components/Accordion/react/{Accordion.jsx → Accordion.tsx} +33 -11
- package/src/components/Accordion/setAccordion.ts +120 -0
- package/src/components/Alert/Alert.stories.tsx +64 -0
- package/src/components/Alert/getProps.ts +5 -3
- package/src/components/Alert/react/Alert.tsx +3 -3
- package/src/components/Avatar/Avatar.stories.tsx +42 -0
- package/src/components/Avatar/react/Avatar.tsx +17 -0
- package/src/components/Badge/Badge.stories.tsx +40 -0
- package/src/components/Badge/_style.css +1 -1
- package/src/components/Badge/astro/Badge.astro +1 -7
- package/src/components/Badge/react/Badge.tsx +7 -0
- package/src/components/Button/Button.stories.tsx +44 -0
- package/src/components/Button/_style.css +1 -1
- package/src/components/Button/astro/Button.astro +1 -7
- package/src/components/Button/react/Button.tsx +7 -0
- package/src/components/Callout/Callout.stories.tsx +55 -0
- package/src/components/Callout/getProps.ts +3 -2
- package/src/components/Callout/react/Callout.tsx +3 -3
- package/src/components/Chat/Chat.stories.tsx +58 -0
- package/src/components/Chat/_style.css +6 -6
- package/src/components/Chat/{getProps.js → getProps.ts} +10 -4
- package/src/components/Chat/react/{Chat.jsx → Chat.tsx} +13 -3
- package/src/components/Details/Details.stories.tsx +61 -0
- package/src/components/Details/_style.css +1 -1
- package/src/components/Details/astro/Title.astro +2 -2
- package/src/components/Details/{getProps.js → getProps.ts} +19 -6
- package/src/components/Details/react/Details.tsx +69 -0
- package/src/components/DummyImage/DummyImage.stories.tsx +23 -0
- package/src/components/DummyText/DummyText.stories.tsx +48 -0
- package/src/components/Modal/Modal.stories.tsx +67 -0
- package/src/components/Modal/_style.css +1 -1
- package/src/components/Modal/astro/CloseBtn.astro +2 -2
- package/src/components/Modal/astro/OpenBtn.astro +2 -3
- package/src/components/Modal/getProps.ts +64 -0
- package/src/components/Modal/react/Body.tsx +10 -0
- package/src/components/Modal/react/CloseBtn.tsx +24 -0
- package/src/components/Modal/react/Inner.tsx +6 -0
- package/src/components/Modal/react/Modal.tsx +24 -0
- package/src/components/Modal/react/OpenBtn.tsx +15 -0
- package/src/components/Modal/{script.js → script.ts} +1 -1
- package/src/components/NavMenu/NavMenu.stories.tsx +68 -0
- package/src/components/NavMenu/_style.css +1 -1
- package/src/components/NavMenu/getProps.ts +60 -0
- package/src/components/NavMenu/react/NavMenu.tsx +40 -0
- package/src/components/ShapeDivider/ShapeDivider.stories.tsx +87 -0
- package/src/components/ShapeDivider/_style.css +1 -1
- package/src/components/ShapeDivider/getProps.ts +36 -0
- package/src/components/ShapeDivider/react/{ShapeDivider.jsx → ShapeDivider.tsx} +4 -4
- package/src/components/Tabs/Tabs.stories.tsx +79 -0
- package/src/components/Tabs/_style.css +1 -1
- package/src/components/Tabs/astro/Tab.astro +2 -1
- package/src/components/Tabs/astro/{transformTabitems.js → transformTabitems.ts} +9 -9
- package/src/components/Tabs/getProps.ts +23 -0
- package/src/components/Tabs/react/Tab.tsx +21 -0
- package/src/components/Tabs/react/TabItem.tsx +13 -0
- package/src/components/Tabs/react/TabList.tsx +5 -0
- package/src/components/Tabs/react/{TabPanel.jsx → TabPanel.tsx} +8 -3
- package/src/components/Tabs/react/{Tabs.jsx → Tabs.tsx} +27 -12
- package/src/components/Tabs/{script.js → script.ts} +2 -2
- package/src/components/Tabs/setTabs.ts +65 -0
- package/src/helper/{uuid.js → uuid.ts} +2 -2
- package/src/vite-env.d.ts +1 -0
- package/dist/components/Accordion/astro/__setEvent.d.ts +0 -1
- package/dist/components/Accordion/astro/index.d.ts +0 -15
- package/dist/components/Alert/astro/index.d.ts +0 -1
- package/dist/components/Callout/astro/index.d.ts +0 -1
- package/dist/components/Details/astro/index.d.ts +0 -13
- package/dist/components/DummyImage/astro/index.d.ts +0 -1
- package/dist/components/DummyText/astro/index.d.ts +0 -1
- package/dist/components/Modal/astro/index.d.ts +0 -13
- package/dist/components/NavMenu/astro/index.d.ts +0 -11
- package/dist/components/Tabs/astro/index.d.ts +0 -13
- package/dist/components/Tabs/astro/transformTabitems.d.ts +0 -4
- package/dist/components/astro.d.ts +0 -14
- package/dist/lism-css/dist/config/defaults/states.js +0 -38
- package/dist/lism-css/dist/config/helper/getSvgUrl.js +0 -4
- package/src/components/Accordion/getProps.js +0 -77
- package/src/components/Accordion/setAccordion.js +0 -146
- package/src/components/Avatar/astro/index.js +0 -1
- package/src/components/Avatar/react/Avatar.jsx +0 -9
- package/src/components/Badge/astro/index.js +0 -1
- package/src/components/Badge/react/Badge.jsx +0 -12
- package/src/components/Button/astro/index.js +0 -1
- package/src/components/Button/react/Button.jsx +0 -12
- package/src/components/Chat/astro/index.js +0 -1
- package/src/components/Details/react/Details.jsx +0 -66
- package/src/components/Modal/getProps.js +0 -30
- package/src/components/Modal/react/Body.jsx +0 -10
- package/src/components/Modal/react/CloseBtn.jsx +0 -20
- package/src/components/Modal/react/Inner.jsx +0 -6
- package/src/components/Modal/react/Modal.jsx +0 -23
- package/src/components/Modal/react/OpenBtn.jsx +0 -11
- package/src/components/NavMenu/getProps.js +0 -65
- package/src/components/NavMenu/react/NavMenu.jsx +0 -19
- package/src/components/ShapeDivider/astro/index.js +0 -1
- package/src/components/ShapeDivider/getProps.js +0 -40
- package/src/components/Tabs/getProps.js +0 -8
- package/src/components/Tabs/react/Tab.jsx +0 -10
- package/src/components/Tabs/react/TabItem.jsx +0 -5
- package/src/components/Tabs/react/TabList.jsx +0 -6
- package/src/components/Tabs/setTabs.js +0 -87
- /package/src/components/Accordion/astro/{index.js → index.ts} +0 -0
- /package/src/components/Accordion/react/{index.js → index.ts} +0 -0
- /package/src/components/Accordion/{script.js → script.ts} +0 -0
- /package/{dist/components/Avatar/astro/index.d.ts → src/components/Avatar/astro/index.ts} +0 -0
- /package/src/components/Avatar/react/{index.js → index.ts} +0 -0
- /package/{dist/components/Badge/astro/index.d.ts → src/components/Badge/astro/index.ts} +0 -0
- /package/src/components/Badge/react/{index.js → index.ts} +0 -0
- /package/{dist/components/Button/astro/index.d.ts → src/components/Button/astro/index.ts} +0 -0
- /package/src/components/Button/react/{index.js → index.ts} +0 -0
- /package/{dist/components/Chat/astro/index.d.ts → src/components/Chat/astro/index.ts} +0 -0
- /package/src/components/Chat/react/{index.js → index.ts} +0 -0
- /package/src/components/Details/astro/{index.js → index.ts} +0 -0
- /package/src/components/Details/react/{index.js → index.ts} +0 -0
- /package/src/components/Modal/astro/{index.js → index.ts} +0 -0
- /package/src/components/Modal/react/{index.js → index.ts} +0 -0
- /package/src/components/NavMenu/astro/{index.js → index.ts} +0 -0
- /package/src/components/NavMenu/react/{index.js → index.ts} +0 -0
- /package/{dist/components/ShapeDivider/astro/index.d.ts → src/components/ShapeDivider/astro/index.ts} +0 -0
- /package/src/components/ShapeDivider/react/{index.js → index.ts} +0 -0
- /package/src/components/Tabs/astro/{index.js → index.ts} +0 -0
- /package/src/components/Tabs/react/{index.js → index.ts} +0 -0
package/README.md
CHANGED
|
@@ -113,7 +113,7 @@ import { Stack, Text } from 'lism-css/astro';
|
|
|
113
113
|
|
|
114
114
|
Lism CSS is organized into two packages:
|
|
115
115
|
|
|
116
|
-
- **[lism-css](https://www.npmjs.com/package/lism-css)** — Core CSS framework providing layout components (Box, Flex, Stack, Grid, etc.), design tokens,
|
|
116
|
+
- **[lism-css](https://www.npmjs.com/package/lism-css)** — Core CSS framework providing layout components (Box, Flex, Stack, Grid, etc.), design tokens, property classes, and the responsive system.
|
|
117
117
|
- **@lism-css/ui** (this package) — Interactive UI components (Accordion, Modal, Tabs, etc.) that extend the core layout system with ready-to-use interface patterns.
|
|
118
118
|
|
|
119
119
|
You need `lism-css` installed to use `@lism-css/ui`.
|
|
@@ -1,52 +1,65 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
lismClass
|
|
18
|
-
_contextID
|
|
19
|
-
accID?: string
|
|
20
|
-
isOpen?: boolean
|
|
21
|
-
|
|
1
|
+
export type AccordionRootProps = {
|
|
2
|
+
lismClass?: string;
|
|
3
|
+
allowMultiple?: boolean;
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
};
|
|
6
|
+
export type AccordionItemProps = {
|
|
7
|
+
lismClass?: string;
|
|
8
|
+
[key: string]: unknown;
|
|
9
|
+
};
|
|
10
|
+
export type AccordionHeadingProps = {
|
|
11
|
+
as?: string;
|
|
12
|
+
role?: string;
|
|
13
|
+
lismClass?: string;
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
};
|
|
16
|
+
export type AccordionPanelProps = {
|
|
17
|
+
lismClass?: string;
|
|
18
|
+
_contextID?: string;
|
|
19
|
+
accID?: string;
|
|
20
|
+
isOpen?: boolean;
|
|
21
|
+
[key: string]: unknown;
|
|
22
|
+
};
|
|
23
|
+
export declare function getRootProps({ lismClass, allowMultiple, ...props }: AccordionRootProps): {
|
|
24
|
+
[key: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
export declare function getItemProps({ lismClass, ...props }: AccordionItemProps): {
|
|
27
|
+
[key: string]: unknown;
|
|
28
|
+
};
|
|
29
|
+
export declare function getHeadingProps({ as, role, lismClass, set, ...props }: AccordionHeadingProps): {
|
|
30
|
+
lismClass: string;
|
|
31
|
+
as: string;
|
|
32
|
+
set: string[];
|
|
33
|
+
};
|
|
34
|
+
export declare function getButtonProps({ set, ...props }: Record<string, unknown>): {
|
|
35
|
+
lismClass: string;
|
|
36
|
+
as: string;
|
|
37
|
+
layout: string;
|
|
38
|
+
set: string[];
|
|
39
|
+
g: string;
|
|
40
|
+
w: string;
|
|
41
|
+
ai: string;
|
|
42
|
+
jc: string;
|
|
43
|
+
};
|
|
44
|
+
export declare function getPanelProps({ lismClass, _contextID, accID, isOpen, ...props }: AccordionPanelProps): {
|
|
22
45
|
panelProps: {
|
|
23
46
|
lismClass: string;
|
|
24
|
-
id:
|
|
25
|
-
hidden:
|
|
47
|
+
id: string;
|
|
48
|
+
hidden: boolean | undefined;
|
|
26
49
|
pos: string;
|
|
27
50
|
ov: string;
|
|
28
51
|
};
|
|
29
52
|
contentProps: {
|
|
30
53
|
lismClass: string;
|
|
31
|
-
layout:
|
|
54
|
+
layout: "flow";
|
|
32
55
|
};
|
|
33
56
|
};
|
|
34
|
-
export
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
let w: string;
|
|
42
|
-
let ai: string;
|
|
43
|
-
let jc: string;
|
|
44
|
-
}
|
|
45
|
-
let icon: {
|
|
46
|
-
lismClass: string;
|
|
47
|
-
as: string;
|
|
48
|
-
pi: string;
|
|
49
|
-
fxsh: string;
|
|
50
|
-
'aria-hidden': string;
|
|
57
|
+
export declare const defaultProps: {
|
|
58
|
+
readonly icon: {
|
|
59
|
+
readonly lismClass: "c--accordion_icon a--icon";
|
|
60
|
+
readonly as: "span";
|
|
61
|
+
readonly pi: "center";
|
|
62
|
+
readonly fxsh: "0";
|
|
63
|
+
readonly 'aria-hidden': "true";
|
|
51
64
|
};
|
|
52
|
-
}
|
|
65
|
+
};
|
|
@@ -1,44 +1,47 @@
|
|
|
1
1
|
import e from "../../lism-css/dist/lib/helper/atts.js";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import c from "../../lism-css/dist/lib/helper/mergeSet.js";
|
|
3
|
+
function u({ lismClass: o, allowMultiple: n, ...t }) {
|
|
4
|
+
return t.lismClass = e(o, "c--accordion"), n && (t["data-allow-multiple"] = ""), t;
|
|
4
5
|
}
|
|
5
|
-
function
|
|
6
|
-
return
|
|
6
|
+
function f({ lismClass: o, ...n }) {
|
|
7
|
+
return n.lismClass = e(o, "c--accordion_item"), n;
|
|
7
8
|
}
|
|
8
|
-
function
|
|
9
|
-
const
|
|
10
|
-
lismClass: "c--accordion_heading",
|
|
11
|
-
as:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
function m({ as: o = "div", role: n, lismClass: t, set: s, ...a }) {
|
|
10
|
+
const i = {
|
|
11
|
+
lismClass: e(t, "c--accordion_heading"),
|
|
12
|
+
as: o,
|
|
13
|
+
set: c("plain", s),
|
|
14
|
+
...a
|
|
15
|
+
};
|
|
16
|
+
return i.as === "div" && (i.role = n ?? "heading"), i;
|
|
15
17
|
}
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
lismClass: e(o, "c--accordion_panel"),
|
|
19
|
-
id: t || n,
|
|
20
|
-
hidden: i ? void 0 : "until-found",
|
|
21
|
-
pos: "relative",
|
|
22
|
-
ov: "hidden"
|
|
23
|
-
}, c = { lismClass: "c--accordion_content", layout: "flow", ...s };
|
|
24
|
-
return { panelProps: a, contentProps: c };
|
|
25
|
-
}
|
|
26
|
-
const P = {
|
|
27
|
-
// header: { lismClass: 'c--accordion_header' },
|
|
28
|
-
button: {
|
|
18
|
+
function p({ set: o, ...n }) {
|
|
19
|
+
return {
|
|
29
20
|
lismClass: "c--accordion_button",
|
|
30
21
|
as: "button",
|
|
31
22
|
layout: "flex",
|
|
32
|
-
|
|
23
|
+
set: c("plain", o),
|
|
33
24
|
g: "10",
|
|
34
25
|
w: "100%",
|
|
35
26
|
ai: "center",
|
|
36
|
-
jc: "between"
|
|
37
|
-
|
|
27
|
+
jc: "between",
|
|
28
|
+
...n
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function _({ lismClass: o, _contextID: n, accID: t = "__LISM_ACC_ID__", isOpen: s = !1, ...a }) {
|
|
32
|
+
const i = {
|
|
33
|
+
lismClass: e(o, "c--accordion_panel"),
|
|
34
|
+
id: n || t,
|
|
35
|
+
hidden: s ? void 0 : "until-found",
|
|
36
|
+
pos: "relative",
|
|
37
|
+
ov: "hidden"
|
|
38
|
+
}, r = { lismClass: "c--accordion_content", layout: "flow", ...a };
|
|
39
|
+
return { panelProps: i, contentProps: r };
|
|
40
|
+
}
|
|
41
|
+
const P = {
|
|
38
42
|
icon: {
|
|
39
43
|
lismClass: "c--accordion_icon a--icon",
|
|
40
44
|
as: "span",
|
|
41
|
-
// d: 'grid',
|
|
42
45
|
pi: "center",
|
|
43
46
|
fxsh: "0",
|
|
44
47
|
"aria-hidden": "true"
|
|
@@ -46,8 +49,9 @@ const P = {
|
|
|
46
49
|
};
|
|
47
50
|
export {
|
|
48
51
|
P as defaultProps,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
f as
|
|
52
|
-
|
|
52
|
+
p as getButtonProps,
|
|
53
|
+
m as getHeadingProps,
|
|
54
|
+
f as getItemProps,
|
|
55
|
+
_ as getPanelProps,
|
|
56
|
+
u as getRootProps
|
|
53
57
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { LismComponentProps } from 'lism-css/react';
|
|
2
|
+
export default function AccIcon(props: LismComponentProps): import("react").JSX.Element;
|
|
@@ -1,38 +1,29 @@
|
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
import { LismComponentProps } from 'lism-css/react';
|
|
3
|
+
import { AccordionRootProps, AccordionItemProps, AccordionHeadingProps, AccordionPanelProps } from '../getProps';
|
|
1
4
|
/**
|
|
2
5
|
* 複数の AccordionItem をラップするルート要素
|
|
3
6
|
*/
|
|
4
|
-
export function AccordionRoot({ children, ...props }:
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
children: any;
|
|
7
|
-
}): import("react").JSX.Element;
|
|
7
|
+
export declare function AccordionRoot({ children, ...props }: AccordionRootProps & LismComponentProps): import("react").JSX.Element;
|
|
8
8
|
/**
|
|
9
9
|
* 個別のアコーディオンアイテム(<div> ベース、setEvent で開閉イベントを登録)
|
|
10
10
|
*/
|
|
11
|
-
export function AccordionItem({ children, ...props }:
|
|
12
|
-
[x: string]: any;
|
|
13
|
-
children: any;
|
|
14
|
-
}): import("react").JSX.Element;
|
|
11
|
+
export declare function AccordionItem({ children, ...props }: AccordionItemProps & LismComponentProps): import("react").JSX.Element;
|
|
15
12
|
/**
|
|
16
13
|
* 見出しエリアのラッパー(デフォルトは <div role="heading">)
|
|
17
14
|
* as に h2〜h6 を指定すると role は付与されない
|
|
18
15
|
*/
|
|
19
|
-
export function Heading({ children, ...props }:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
16
|
+
export declare function Heading({ children, ...props }: AccordionHeadingProps & LismComponentProps): import("react").JSX.Element;
|
|
17
|
+
type ButtonProps<T extends ElementType = 'button'> = LismComponentProps<T> & {
|
|
18
|
+
accID?: string;
|
|
19
|
+
};
|
|
23
20
|
/**
|
|
24
21
|
* 開閉トリガーボタン
|
|
25
22
|
* accID: Context から取得できればそれを優先、なければ props / プレースホルダー
|
|
26
23
|
*/
|
|
27
|
-
export function Button({ children, accID: _accID, ...props }:
|
|
28
|
-
[x: string]: any;
|
|
29
|
-
children: any;
|
|
30
|
-
accID?: string | undefined;
|
|
31
|
-
}): import("react").JSX.Element;
|
|
24
|
+
export declare function Button<T extends ElementType = 'button'>({ children, accID: _accID, ...props }: ButtonProps<T>): import("react").JSX.Element;
|
|
32
25
|
/**
|
|
33
26
|
* パネル
|
|
34
27
|
*/
|
|
35
|
-
export function Panel({ children, ...props }:
|
|
36
|
-
|
|
37
|
-
children: any;
|
|
38
|
-
}): import("react").JSX.Element;
|
|
28
|
+
export declare function Panel({ children, ...props }: AccordionPanelProps & LismComponentProps): import("react").JSX.Element;
|
|
29
|
+
export {};
|
|
@@ -1,45 +1,46 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { useContext as u, useRef as p, useId as
|
|
4
|
-
import
|
|
2
|
+
import { jsxs as a, jsx as n } from "react/jsx-runtime";
|
|
3
|
+
import { useContext as u, useRef as p, useId as f, useEffect as m, createContext as d } from "react";
|
|
4
|
+
import l from "../../../lism-css/dist/lib/getLismProps.js";
|
|
5
5
|
import s from "../../../lism-css/dist/components/Lism/index.js";
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
6
|
+
import P from "../../../lism-css/dist/components/layout/Stack/index.js";
|
|
7
|
+
import { getButtonProps as I, getPanelProps as x, getHeadingProps as g, getItemProps as D, getRootProps as _ } from "../getProps.js";
|
|
8
8
|
import { setEvent as A } from "../setAccordion.js";
|
|
9
|
-
import
|
|
9
|
+
import h from "./AccIcon.js";
|
|
10
10
|
/* empty css */
|
|
11
|
-
const i =
|
|
12
|
-
function
|
|
13
|
-
const
|
|
14
|
-
return /* @__PURE__ */ n(
|
|
11
|
+
const i = d(null);
|
|
12
|
+
function S({ children: t, ...r }) {
|
|
13
|
+
const o = _(r);
|
|
14
|
+
return /* @__PURE__ */ n(P, { ...o, children: t });
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
if (
|
|
20
|
-
return A(
|
|
16
|
+
function X({ children: t, ...r }) {
|
|
17
|
+
const o = p(null), e = f();
|
|
18
|
+
m(() => {
|
|
19
|
+
if (o.current)
|
|
20
|
+
return A(o.current);
|
|
21
21
|
}, []);
|
|
22
|
-
const c =
|
|
23
|
-
return /* @__PURE__ */ n(i.Provider, { value: { accID: e }, children: /* @__PURE__ */ n("div", { ref:
|
|
22
|
+
const c = l(D(r));
|
|
23
|
+
return /* @__PURE__ */ n(i.Provider, { value: { accID: e }, children: /* @__PURE__ */ n("div", { ref: o, ...c, children: t }) });
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
|
|
25
|
+
function $({ children: t, ...r }) {
|
|
26
|
+
const { as: o, ...e } = g(r);
|
|
27
|
+
return /* @__PURE__ */ n(s, { as: o, ...e, children: t });
|
|
27
28
|
}
|
|
28
|
-
function
|
|
29
|
-
const c = u(i)?.accID ||
|
|
30
|
-
return /* @__PURE__ */
|
|
29
|
+
function b({ children: t, accID: r = "__LISM_ACC_ID__", ...o }) {
|
|
30
|
+
const c = u(i)?.accID || r;
|
|
31
|
+
return /* @__PURE__ */ a(s, { ...I(o), "aria-controls": c, "aria-expanded": "false", children: [
|
|
31
32
|
t,
|
|
32
|
-
/* @__PURE__ */ n(
|
|
33
|
+
/* @__PURE__ */ n(h, {})
|
|
33
34
|
] });
|
|
34
35
|
}
|
|
35
|
-
function k({ children: t, ...
|
|
36
|
-
const
|
|
36
|
+
function k({ children: t, ...r }) {
|
|
37
|
+
const o = u(i), { panelProps: e, contentProps: c } = x({ _contextID: o?.accID, ...r });
|
|
37
38
|
return /* @__PURE__ */ n(s, { ...e, children: /* @__PURE__ */ n(s, { ...c, children: t }) });
|
|
38
39
|
}
|
|
39
40
|
export {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
X as AccordionItem,
|
|
42
|
+
S as AccordionRoot,
|
|
43
|
+
b as Button,
|
|
44
|
+
$ as Heading,
|
|
44
45
|
k as Panel
|
|
45
46
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { AccordionRoot as Root, AccordionItem as Item, Heading,
|
|
1
|
+
import { AccordionRoot as Root, AccordionItem as Item, Heading, Button, Panel } from './Accordion';
|
|
2
2
|
import { default as Icon } from './AccIcon';
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
3
|
+
declare const _default: {
|
|
4
|
+
Root: typeof Root;
|
|
5
|
+
Item: typeof Item;
|
|
6
|
+
Header: typeof Heading;
|
|
7
|
+
Heading: typeof Heading;
|
|
8
|
+
Panel: typeof Panel;
|
|
9
|
+
Icon: typeof Icon;
|
|
10
|
+
Button: typeof Button;
|
|
11
|
+
};
|
|
12
12
|
export default _default;
|
|
13
|
-
declare const Header: typeof Heading;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* 個別のアコーディオンにイベントをセット(React用にクリーンアップ関数を返す)
|
|
3
|
+
*/
|
|
4
|
+
export declare const setEvent: (accordionItem: HTMLElement) => (() => void);
|
|
3
5
|
/**
|
|
4
6
|
* ページ内の全アコーディオンにイベントをセット(Astro用)
|
|
5
7
|
*/
|
|
6
|
-
declare
|
|
8
|
+
declare const setAccordion: () => void;
|
|
9
|
+
export default setAccordion;
|
|
@@ -10,11 +10,13 @@ const i = (e) => {
|
|
|
10
10
|
};
|
|
11
11
|
}, f = (e) => {
|
|
12
12
|
const t = e.parentNode;
|
|
13
|
-
t && (t.hasAttribute("data-allow-multiple") || t.querySelectorAll(":scope > [data-opened]").forEach((n) =>
|
|
13
|
+
t && (t.hasAttribute("data-allow-multiple") || t.querySelectorAll(":scope > [data-opened]").forEach((n) => {
|
|
14
|
+
p(n);
|
|
15
|
+
}));
|
|
14
16
|
};
|
|
15
17
|
async function A(e) {
|
|
16
|
-
const { panel: t, content: n, button:
|
|
17
|
-
l(t), t.removeAttribute("hidden"), await s(), e.style.setProperty("--_panel-h", `${n.offsetHeight}px`), await s(), e.setAttribute("data-opened", ""),
|
|
18
|
+
const { panel: t, content: n, button: o } = i(e);
|
|
19
|
+
l(t), t.removeAttribute("hidden"), await s(), e.style.setProperty("--_panel-h", `${n.offsetHeight}px`), await s(), e.setAttribute("data-opened", ""), o.setAttribute("aria-expanded", "true"), await u(t) !== "canceled" && e.style.removeProperty("--_panel-h");
|
|
18
20
|
}
|
|
19
21
|
async function p(e) {
|
|
20
22
|
const { panel: t, button: n } = i(e);
|
|
@@ -25,21 +27,21 @@ function c(e) {
|
|
|
25
27
|
}
|
|
26
28
|
const b = (e) => {
|
|
27
29
|
const { button: t, panel: n } = i(e);
|
|
28
|
-
n.hasAttribute("hidden") && (d = n.getAttribute("hidden"));
|
|
29
|
-
const
|
|
30
|
+
n.hasAttribute("hidden") && (d = n.getAttribute("hidden") ?? "until-found");
|
|
31
|
+
const o = (r) => {
|
|
30
32
|
r.preventDefault(), c(e);
|
|
31
|
-
},
|
|
33
|
+
}, a = (r) => {
|
|
32
34
|
r.preventDefault(), c(e);
|
|
33
35
|
};
|
|
34
|
-
return t.addEventListener("click",
|
|
35
|
-
t.removeEventListener("click",
|
|
36
|
+
return t.addEventListener("click", o), n.addEventListener("beforematch", a), () => {
|
|
37
|
+
t.removeEventListener("click", o), n.removeEventListener("beforematch", a);
|
|
36
38
|
};
|
|
37
|
-
},
|
|
39
|
+
}, v = () => {
|
|
38
40
|
document.querySelectorAll(".c--accordion_item").forEach((t) => {
|
|
39
41
|
b(t);
|
|
40
42
|
});
|
|
41
43
|
};
|
|
42
44
|
export {
|
|
43
|
-
|
|
45
|
+
v as default,
|
|
44
46
|
b as setEvent
|
|
45
47
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Alert } from './react/Alert';
|
|
3
|
+
declare const meta: Meta<typeof Alert>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Alert>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Point: Story;
|
|
8
|
+
export declare const Warning: Story;
|
|
9
|
+
export declare const Check: Story;
|
|
10
|
+
export declare const Help: Story;
|
|
11
|
+
export declare const Info: Story;
|
|
12
|
+
export declare const SideMain: Story;
|
|
13
|
+
export declare const CustomIcon: Story;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
+
import { LayoutType } from 'lism-css/lib/getLismProps';
|
|
2
|
+
import { IconProps } from 'lism-css/react';
|
|
1
3
|
export type AlertProps = {
|
|
2
4
|
type?: string;
|
|
3
5
|
keycolor?: string;
|
|
4
|
-
layout?:
|
|
5
|
-
icon?:
|
|
6
|
+
layout?: LayoutType;
|
|
7
|
+
icon?: IconProps['icon'];
|
|
6
8
|
flow?: string;
|
|
7
9
|
[key: string]: unknown;
|
|
8
10
|
};
|
|
9
11
|
export default function getAlertProps({ type, keycolor, layout, icon, flow, ...props }: AlertProps): {
|
|
10
|
-
icon:
|
|
11
|
-
layout:
|
|
12
|
+
icon: (import('react').ElementType | "alert" | "note" | "x" | "dot" | "lightbulb" | "warning" | "check" | "check-circle" | "question" | "info" | "logo-facebook" | "logo-instagram" | "logo-line" | "logo-pinterest" | "logo-tiktok" | "logo-x" | "logo-youtube" | "logo-codepen" | "logo-github" | "logo-tumblr" | "logo-amazon" | "folder" | "tag" | "calendar" | "clock" | "clockwise" | "ban" | "good" | "bad" | "bookmark" | "bookmark-fill" | "heart" | "heart-fill" | "star" | "star-fill" | "star-half" | "book" | "chat" | "cart" | "gear" | "home" | "sign-in" | "sign-out" | "user" | "lock" | "lock-open" | "dots" | "caret-down" | "caret-right" | "caret-down-fill" | "caret-right-fill" | "arrow-down" | "arrow-right" | import('lism-css/react').IconObject) | undefined;
|
|
13
|
+
layout: "center" | "flex" | "grid" | "flow" | "frame" | "box" | "cluster" | "columns" | "fluidCols" | "stack" | "sideMain" | "switchCols" | "tileGrid";
|
|
12
14
|
flow: string;
|
|
13
15
|
lismClass: string;
|
|
14
16
|
keycolor: string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
import { LismComponentProps } from 'lism-css/react';
|
|
2
3
|
import { AlertProps } from '../getProps';
|
|
3
|
-
export default function Alert({ children, ...inputProps }: AlertProps &
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}): import("react").JSX.Element;
|
|
4
|
+
export default function Alert<T extends ElementType = 'div'>({ children, ...inputProps }: AlertProps & LismComponentProps<T>): import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as l, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import s from "../../../lism-css/dist/components/Center/index.js";
|
|
3
|
-
import n from "../../../lism-css/dist/components/Flow/index.js";
|
|
2
|
+
import s from "../../../lism-css/dist/components/layout/Center/index.js";
|
|
3
|
+
import n from "../../../lism-css/dist/components/layout/Flow/index.js";
|
|
4
4
|
import p from "../../../lism-css/dist/components/atomic/Icon/index.js";
|
|
5
5
|
import c from "../../../lism-css/dist/components/Lism/index.js";
|
|
6
6
|
import x from "../getProps.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Avatar } from './react/Avatar';
|
|
3
|
+
declare const meta: Meta<typeof Avatar>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Avatar>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Small: Story;
|
|
8
|
+
export declare const Large: Story;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
import { LayoutComponentProps } from 'lism-css/react';
|
|
3
|
+
import { FrameProps } from 'lism-css/lib/types/LayoutProps';
|
|
4
|
+
type AvatarProps<T extends ElementType = 'div'> = LayoutComponentProps<T, FrameProps> & {
|
|
5
|
+
size?: string;
|
|
6
|
+
src?: string;
|
|
7
|
+
alt?: string;
|
|
8
|
+
};
|
|
9
|
+
export default function Avatar<T extends ElementType = 'div'>({ size, src, alt, ...props }: AvatarProps<T>): import("react").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import m from "../../../lism-css/dist/components/Frame/index.js";
|
|
2
|
+
import m from "../../../lism-css/dist/components/layout/Frame/index.js";
|
|
3
3
|
function d({ size: a = "1.5em", src: t = "", alt: i = "", ...e }) {
|
|
4
4
|
return /* @__PURE__ */ r(m, { lismClass: "c--avatar", ar: "1/1", w: a, bdrs: "99", ...e, children: /* @__PURE__ */ r("img", { src: t, alt: i, width: "100%", height: "100%", decoding: "async" }) });
|
|
5
5
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Badge } from './react/Badge';
|
|
3
|
+
declare const meta: Meta<typeof Badge>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Badge>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithColor: Story;
|
|
8
|
+
export declare const Secondary: Story;
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
import { LismComponentProps } from 'lism-css/react';
|
|
3
|
+
export default function Badge<T extends ElementType = 'span'>(props: LismComponentProps<T>): import("react").JSX.Element;
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import a from "../../../lism-css/dist/components/Lism/index.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
function
|
|
5
|
-
return /* @__PURE__ */
|
|
6
|
-
c: { isVar: 1 },
|
|
7
|
-
bgc: { isVar: 1 }
|
|
8
|
-
}, ...r });
|
|
4
|
+
function o(s) {
|
|
5
|
+
return /* @__PURE__ */ r(a, { lismClass: "c--badge", as: "span", d: "inline-flex", fz: "xs", lh: "xs", py: "5", px: "10", bdrs: "10", ...s });
|
|
9
6
|
}
|
|
10
7
|
export {
|
|
11
|
-
|
|
8
|
+
o as default
|
|
12
9
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Button } from './react/Button';
|
|
3
|
+
declare const meta: Meta<typeof Button>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Button>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const AsButton: Story;
|
|
8
|
+
export declare const WithColor: Story;
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
import { LismComponentProps } from 'lism-css/react';
|
|
3
|
+
export default function Button<T extends ElementType = 'a'>(props: LismComponentProps<T>): import("react").JSX.Element;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import r from "../../../lism-css/dist/components/layout/Flex/index.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
function a(o) {
|
|
5
|
-
return /* @__PURE__ */ r
|
|
6
|
-
c: { isVar: 1 },
|
|
7
|
-
bgc: { isVar: 1 }
|
|
8
|
-
}, ...o });
|
|
5
|
+
return /* @__PURE__ */ t(r, { lismClass: "c--button", as: "a", lh: "s", py: "10", px: "20", hov: "o", ...o });
|
|
9
6
|
}
|
|
10
7
|
export {
|
|
11
8
|
a as default
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as Callout } from './react/Callout';
|
|
3
|
+
declare const meta: Meta<typeof Callout>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Callout>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithTitle: Story;
|
|
8
|
+
export declare const Alert: Story;
|
|
9
|
+
export declare const Point: Story;
|
|
10
|
+
export declare const Warning: Story;
|
|
11
|
+
export declare const Check: Story;
|
|
12
|
+
export declare const Help: Story;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import { IconProps } from 'lism-css/react';
|
|
1
2
|
export type CalloutProps = {
|
|
2
3
|
type?: string;
|
|
3
4
|
keycolor?: string;
|
|
4
|
-
icon?:
|
|
5
|
+
icon?: IconProps['icon'];
|
|
5
6
|
title?: string;
|
|
6
7
|
flow?: string;
|
|
7
8
|
[key: string]: unknown;
|
|
8
9
|
};
|
|
9
10
|
export default function getCalloutProps({ type, keycolor, icon, title, flow, ...props }: CalloutProps): {
|
|
10
|
-
icon:
|
|
11
|
+
icon: (import('react').ElementType | "alert" | "note" | "x" | "dot" | "lightbulb" | "warning" | "check" | "check-circle" | "question" | "info" | "logo-facebook" | "logo-instagram" | "logo-line" | "logo-pinterest" | "logo-tiktok" | "logo-x" | "logo-youtube" | "logo-codepen" | "logo-github" | "logo-tumblr" | "logo-amazon" | "folder" | "tag" | "calendar" | "clock" | "clockwise" | "ban" | "good" | "bad" | "bookmark" | "bookmark-fill" | "heart" | "heart-fill" | "star" | "star-fill" | "star-half" | "book" | "chat" | "cart" | "gear" | "home" | "sign-in" | "sign-out" | "user" | "lock" | "lock-open" | "dots" | "caret-down" | "caret-right" | "caret-down-fill" | "caret-right-fill" | "arrow-down" | "arrow-right" | import('lism-css/react').IconObject) | undefined;
|
|
11
12
|
title: string | undefined;
|
|
12
13
|
flow: string;
|
|
13
14
|
lismClass: string;
|