trepur_components 2.3.4 → 2.3.5
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/archive/theme.ts +1 -1
- package/lib/components/index.d.ts +1 -1
- package/lib/styles/base.css +1 -0
- package/package.json +1 -1
- package/postcss.config.js +8 -0
- package/src/components/index.ts +3 -3
- package/src/styles/base.css +1 -0
- package/tsconfig.json +1 -1
- package/storybook-build/assets/Accordion.stories-Cn994N1H.js +0 -103
- package/storybook-build/assets/AlertBar.stories-BkzNXFBh.js +0 -202
- package/storybook-build/assets/Avatar.stories-CpH6xVwM.js +0 -418
- package/storybook-build/assets/Color-6VNJS4EI-DQV2onvt.js +0 -1378
- package/storybook-build/assets/Colours-r29qjFlW.js +0 -324
- package/storybook-build/assets/DocsRenderer-NNNQARDV-OgWasCIs.js +0 -44
- package/storybook-build/assets/Introduction-Bs1PgnBZ.js +0 -40
- package/storybook-build/assets/WithTooltip-V3YHNWJZ-vi2V5TOO.js +0 -15
- package/storybook-build/assets/_commonjsHelpers-LQfde5yM.js +0 -35
- package/storybook-build/assets/axe-DnFZVv9V.js +0 -32561
- package/storybook-build/assets/chunk-EIRT5I3Z-DFD8udmD.js +0 -480
- package/storybook-build/assets/context-CIRBAiUz.js +0 -20
- package/storybook-build/assets/controls-DJSGrQKd.js +0 -23
- package/storybook-build/assets/entry-preview-DmlPV4-3.js +0 -41
- package/storybook-build/assets/entry-preview-docs-D46Drugi.js +0 -11861
- package/storybook-build/assets/formatter-SWP5E3XI-BWIasvKP.js +0 -14427
- package/storybook-build/assets/iframe-Dzzzanqi.js +0 -144
- package/storybook-build/assets/index-0FT4HXk-.js +0 -7222
- package/storybook-build/assets/index-B9Tccxv4.js +0 -107
- package/storybook-build/assets/index-BdOSk9or.js +0 -41
- package/storybook-build/assets/index-CU7cYjZD.js +0 -9604
- package/storybook-build/assets/index-Clz-aGG3.js +0 -39
- package/storybook-build/assets/index-CpyNLP69.js +0 -63
- package/storybook-build/assets/index-DM9bPmif.js +0 -319
- package/storybook-build/assets/index-ex9_VrIg.js +0 -3734
- package/storybook-build/assets/jsx-runtime-D2-sc1j1.js +0 -35
- package/storybook-build/assets/preview-3kSipVgK.js +0 -430
- package/storybook-build/assets/preview-B4rAxPmB.js +0 -27
- package/storybook-build/assets/preview-BMkwWyrh.js +0 -2920
- package/storybook-build/assets/preview-BeQelhbu.js +0 -204
- package/storybook-build/assets/preview-BiG-rflf.js +0 -2444
- package/storybook-build/assets/preview-BiYUJ7TP.js +0 -22
- package/storybook-build/assets/preview-C4ItOQzM.js +0 -34
- package/storybook-build/assets/preview-CWyhKACi.css +0 -886
- package/storybook-build/assets/preview-CtOV68TG.js +0 -10
- package/storybook-build/assets/preview-De9E9xaR.js +0 -140
- package/storybook-build/assets/preview-bL4x2zrN.js +0 -99
- package/storybook-build/assets/preview-gxqyGMHu.js +0 -323
- package/storybook-build/assets/react-18-B-gfo82w.js +0 -29
- package/storybook-build/assets/syntaxhighlighter-B5GMVT5T-DrY_Dc6-.js +0 -15
- package/storybook-build/favicon.svg +0 -7
- package/storybook-build/iframe.html +0 -458
- package/storybook-build/index.html +0 -163
- package/storybook-build/index.json +0 -1
- package/storybook-build/preview-stats.json +0 -172
- package/storybook-build/project.json +0 -1
- package/storybook-build/sb-addons/a11y-9/manager-bundle.js +0 -3
- package/storybook-build/sb-addons/a11y-9/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/essentials-actions-2/manager-bundle.js +0 -3
- package/storybook-build/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/essentials-backgrounds-3/manager-bundle.js +0 -12
- package/storybook-build/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/essentials-controls-1/manager-bundle.js +0 -63
- package/storybook-build/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +0 -18
- package/storybook-build/sb-addons/essentials-measure-6/manager-bundle.js +0 -3
- package/storybook-build/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/essentials-outline-7/manager-bundle.js +0 -3
- package/storybook-build/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/essentials-toolbars-5/manager-bundle.js +0 -3
- package/storybook-build/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/essentials-viewport-4/manager-bundle.js +0 -3
- package/storybook-build/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/interactions-8/manager-bundle.js +0 -12
- package/storybook-build/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/links-0/manager-bundle.js +0 -3
- package/storybook-build/sb-addons/links-0/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/storybook-12/manager-bundle.js +0 -151
- package/storybook-build/sb-addons/storybook-12/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/storybook-react-i18next-11/manager-bundle.js +0 -3
- package/storybook-build/sb-addons/storybook-react-i18next-11/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-addons/themes-10/register-bundle.js +0 -5
- package/storybook-build/sb-addons/themes-10/register-bundle.js.LEGAL.txt +0 -0
- package/storybook-build/sb-common-assets/fonts.css +0 -31
- package/storybook-build/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-build/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-build/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-build/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-build/sb-manager/WithTooltip-V3YHNWJZ-TRLNWEGW.js +0 -1
- package/storybook-build/sb-manager/chunk-4IYAVH3S.js +0 -348
- package/storybook-build/sb-manager/chunk-CXYKRFSY.js +0 -9
- package/storybook-build/sb-manager/chunk-KZYAAUOR.js +0 -406
- package/storybook-build/sb-manager/chunk-LVLAH4SI.js +0 -7
- package/storybook-build/sb-manager/chunk-ZEU7PDD3.js +0 -1
- package/storybook-build/sb-manager/formatter-SWP5E3XI-7BGIK6BL.js +0 -156
- package/storybook-build/sb-manager/globals-module-info.js +0 -1
- package/storybook-build/sb-manager/globals.js +0 -1
- package/storybook-build/sb-manager/index.js +0 -1
- package/storybook-build/sb-manager/runtime.js +0 -1
- package/storybook-build/sb-manager/syntaxhighlighter-B5GMVT5T-EA5ASEYD.js +0 -1
- package/storybook-build/sb-preview/globals.js +0 -1
- package/storybook-build/sb-preview/runtime.js +0 -112
- package/storybook-build/src/components/Accordion/Accordion.stories.d.ts +0 -94
- package/storybook-build/src/components/Accordion/index.d.ts +0 -9
- package/storybook-build/src/components/AlertBar/AlertBar.stories.d.ts +0 -162
- package/storybook-build/src/components/AlertBar/index.d.ts +0 -13
- package/storybook-build/src/components/Avatar/Avatar.stories.d.ts +0 -44
- package/storybook-build/src/components/Avatar/index.d.ts +0 -4
- package/storybook-build/src/components/index.d.ts +0 -7
- package/storybook-build/src/index.d.ts +0 -1
- package/storybook-build/src/utils/controls.d.ts +0 -36
- package/storybook-build/src/utils/matchMedia.d.ts +0 -2
- package/storybook-build/src/utils/screens.d.ts +0 -7
- package/storybook-build/src/utils/theme.d.ts +0 -3
- package/storybook-build/stories.json +0 -1
- package/storybook-build/styles/base.css +0 -116
package/archive/theme.ts
CHANGED
package/lib/styles/base.css
CHANGED
package/package.json
CHANGED
package/src/components/index.ts
CHANGED
package/src/styles/base.css
CHANGED
package/tsconfig.json
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
".storybook/docs",
|
|
33
33
|
"tailwind.config.ts",
|
|
34
34
|
"tailwind"
|
|
35
|
-
, "archive/Video", "archive/BreadcrumbsItem", "archive/BreadcrumbsBordered", "archive/Breadcrumbs", "archive/typography" ],
|
|
35
|
+
, "archive/Video", "archive/BreadcrumbsItem", "archive/BreadcrumbsBordered", "archive/Breadcrumbs", "archive/typography", "archive/theme.ts" ],
|
|
36
36
|
"files": ["svg.d.ts"],
|
|
37
37
|
"exclude": ["node_modules", "lib"],
|
|
38
38
|
"references": [
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
var _a, _b, _c;
|
|
2
|
-
import { j as jsxRuntimeExports } from "./jsx-runtime-D2-sc1j1.js";
|
|
3
|
-
import { i as idAndClassName } from "./controls-DJSGrQKd.js";
|
|
4
|
-
import { c as classNames } from "./index-CpyNLP69.js";
|
|
5
|
-
import "./index-DM9bPmif.js";
|
|
6
|
-
import "./_commonjsHelpers-LQfde5yM.js";
|
|
7
|
-
const Accordion = ({
|
|
8
|
-
id,
|
|
9
|
-
className,
|
|
10
|
-
items
|
|
11
|
-
}) => {
|
|
12
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id, className: classNames(className, "theme-local"), children: items == null ? void 0 : items.map((item, i) => {
|
|
13
|
-
return (
|
|
14
|
-
// <Collapsible key={`collapsible_item_${i}`} {...item}>
|
|
15
|
-
// {item.children}
|
|
16
|
-
// </Collapsible>
|
|
17
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", {})
|
|
18
|
-
);
|
|
19
|
-
}) });
|
|
20
|
-
};
|
|
21
|
-
try {
|
|
22
|
-
Accordion.displayName = "Accordion";
|
|
23
|
-
Accordion.__docgenInfo = { "description": "", "displayName": "Accordion", "props": { "id": { "defaultValue": null, "description": "", "name": "id", "required": false, "type": { "name": "string" } }, "className": { "defaultValue": null, "description": "", "name": "className", "required": false, "type": { "name": "string" } }, "items": { "defaultValue": null, "description": "", "name": "items", "required": true, "type": { "name": "any" } } } };
|
|
24
|
-
} catch (__react_docgen_typescript_loader_error) {
|
|
25
|
-
}
|
|
26
|
-
const propItems = [{
|
|
27
|
-
preText: "This is some text",
|
|
28
|
-
title: "This is a title",
|
|
29
|
-
subtitle: "This is a subtitle",
|
|
30
|
-
imageProps: {
|
|
31
|
-
src: "https://picsum.photos/100/100"
|
|
32
|
-
},
|
|
33
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", {
|
|
34
|
-
children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam semper in neque in venenatis. Mauris scelerisque orci magna, et ultricies nulla lobortis ac. Aliquam vitae faucibus nisl. Nunc in tellus libero. Donec ut augue consequat, convallis risus in, pulvinar nibh. Duis mi nibh, posuere molestie pharetra cursus, viverra ut dolor. Vivamus eget arcu dui. Donec ullamcorper ornare justo sed feugiat. Curabitur aliquam lectus sed quam pharetra scelerisque. Integer vitae eleifend dolor. Duis luctus metus ipsum, et commodo magna bibendum quis. Quisque gravida leo sodales quam feugiat, id vulputate arcu pulvinar. Duis dictum gravida risus, et bibendum nunc condimentum eu."
|
|
35
|
-
})
|
|
36
|
-
}, {
|
|
37
|
-
preText: "Lorem, ipsum dolor sit amet consectetur adipisicing elit. Repellendus nihil, molestias amet sed, corrupti debitis odit doloribus perspiciatis est, quasi illum culpa iusto. Molestias, ducimus. Provident, quibusdam fuga. Voluptatem, saepe.",
|
|
38
|
-
title: "This is a title",
|
|
39
|
-
imageProps: {
|
|
40
|
-
src: "https://picsum.photos/101/100"
|
|
41
|
-
},
|
|
42
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", {
|
|
43
|
-
children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam semper in neque in venenatis. Mauris scelerisque orci magna, et ultricies nulla lobortis ac. Aliquam vitae faucibus nisl. Nunc in tellus libero. Donec ut augue consequat, convallis risus in, pulvinar nibh. Duis mi nibh, posuere molestie pharetra cursus, viverra ut dolor. Vivamus eget arcu dui. Donec ullamcorper ornare justo sed feugiat. Curabitur aliquam lectus sed quam pharetra scelerisque. Integer vitae eleifend dolor. Duis luctus metus ipsum, et commodo magna bibendum quis. Quisque gravida leo sodales quam feugiat, id vulputate arcu pulvinar. Duis dictum gravida risus, et bibendum nunc condimentum eu."
|
|
44
|
-
})
|
|
45
|
-
}, {
|
|
46
|
-
subtitle: "This is a subtitle",
|
|
47
|
-
imageProps: {
|
|
48
|
-
src: "https://picsum.photos/100/101"
|
|
49
|
-
},
|
|
50
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", {
|
|
51
|
-
children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam semper in neque in venenatis. Mauris scelerisque orci magna, et ultricies nulla lobortis ac. Aliquam vitae faucibus nisl. Nunc in tellus libero. Donec ut augue consequat, convallis risus in, pulvinar nibh. Duis mi nibh, posuere molestie pharetra cursus, viverra ut dolor. Vivamus eget arcu dui. Donec ullamcorper ornare justo sed feugiat. Curabitur aliquam lectus sed quam pharetra scelerisque. Integer vitae eleifend dolor. Duis luctus metus ipsum, et commodo magna bibendum quis. Quisque gravida leo sodales quam feugiat, id vulputate arcu pulvinar. Duis dictum gravida risus, et bibendum nunc condimentum eu."
|
|
52
|
-
})
|
|
53
|
-
}, {
|
|
54
|
-
imageProps: {
|
|
55
|
-
src: "https://picsum.photos/102/100"
|
|
56
|
-
},
|
|
57
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", {
|
|
58
|
-
children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam semper in neque in venenatis. Mauris scelerisque orci magna, et ultricies nulla lobortis ac. Aliquam vitae faucibus nisl. Nunc in tellus libero. Donec ut augue consequat, convallis risus in, pulvinar nibh. Duis mi nibh, posuere molestie pharetra cursus, viverra ut dolor. Vivamus eget arcu dui. Donec ullamcorper ornare justo sed feugiat. Curabitur aliquam lectus sed quam pharetra scelerisque. Integer vitae eleifend dolor. Duis luctus metus ipsum, et commodo magna bibendum quis. Quisque gravida leo sodales quam feugiat, id vulputate arcu pulvinar. Duis dictum gravida risus, et bibendum nunc condimentum eu."
|
|
59
|
-
})
|
|
60
|
-
}];
|
|
61
|
-
const meta = {
|
|
62
|
-
title: "Components/Accordion",
|
|
63
|
-
component: Accordion,
|
|
64
|
-
argTypes: {
|
|
65
|
-
...idAndClassName,
|
|
66
|
-
items: {
|
|
67
|
-
description: "An array of collapsible props",
|
|
68
|
-
control: {
|
|
69
|
-
type: "array",
|
|
70
|
-
default: void 0
|
|
71
|
-
},
|
|
72
|
-
table: {
|
|
73
|
-
category: "Accordion",
|
|
74
|
-
type: {
|
|
75
|
-
summary: "array"
|
|
76
|
-
},
|
|
77
|
-
defaultValue: {
|
|
78
|
-
summary: "undefined"
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
args: {
|
|
84
|
-
items: propItems
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
const Default = {};
|
|
88
|
-
Default.parameters = {
|
|
89
|
-
...Default.parameters,
|
|
90
|
-
docs: {
|
|
91
|
-
...(_a = Default.parameters) == null ? void 0 : _a.docs,
|
|
92
|
-
source: {
|
|
93
|
-
originalSource: "{}",
|
|
94
|
-
...(_c = (_b = Default.parameters) == null ? void 0 : _b.docs) == null ? void 0 : _c.source
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
const __namedExportsOrder = ["Default"];
|
|
99
|
-
export {
|
|
100
|
-
Default,
|
|
101
|
-
__namedExportsOrder,
|
|
102
|
-
meta as default
|
|
103
|
-
};
|
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
var _a, _b, _c;
|
|
2
|
-
import { i as idAndClassName } from "./controls-DJSGrQKd.js";
|
|
3
|
-
import { j as jsxRuntimeExports } from "./jsx-runtime-D2-sc1j1.js";
|
|
4
|
-
import { r as reactExports } from "./index-DM9bPmif.js";
|
|
5
|
-
import { c as classNames } from "./index-CpyNLP69.js";
|
|
6
|
-
import "./_commonjsHelpers-LQfde5yM.js";
|
|
7
|
-
const AlertBar = ({
|
|
8
|
-
id,
|
|
9
|
-
className,
|
|
10
|
-
type = "warning",
|
|
11
|
-
text,
|
|
12
|
-
// leftIconProps,
|
|
13
|
-
// rightIconProps,
|
|
14
|
-
textCenter = false,
|
|
15
|
-
isDismissable = false,
|
|
16
|
-
onDismissClick
|
|
17
|
-
}) => {
|
|
18
|
-
const [alertBarStatus, setAlertBarStatus] = reactExports.useState({
|
|
19
|
-
state: "open",
|
|
20
|
-
display: true
|
|
21
|
-
});
|
|
22
|
-
const bgColor = classNames({
|
|
23
|
-
"bg-success": type === "success",
|
|
24
|
-
"bg-warning": type === "warning",
|
|
25
|
-
"bg-error": type === "error",
|
|
26
|
-
"bg-info-light": type === "info"
|
|
27
|
-
});
|
|
28
|
-
const alertBarState = classNames({
|
|
29
|
-
"opacity-100": alertBarStatus.state === "open",
|
|
30
|
-
"opacity-0": alertBarStatus.state === "closed",
|
|
31
|
-
hidden: !alertBarStatus.display
|
|
32
|
-
});
|
|
33
|
-
const classList = classNames(
|
|
34
|
-
className,
|
|
35
|
-
bgColor,
|
|
36
|
-
alertBarState,
|
|
37
|
-
"flex py-2 text-white duration-700 theme-local w-parent transition-opactiy"
|
|
38
|
-
);
|
|
39
|
-
const textClassList = classNames(
|
|
40
|
-
{
|
|
41
|
-
"text-center": textCenter
|
|
42
|
-
// 'pl-20': !textCenter && leftIconProps !== null,
|
|
43
|
-
// 'pl-4': !textCenter && leftIconProps === null,
|
|
44
|
-
},
|
|
45
|
-
"w-full py-3"
|
|
46
|
-
);
|
|
47
|
-
classNames(
|
|
48
|
-
{
|
|
49
|
-
"hover:cursor-pointer": isDismissable
|
|
50
|
-
},
|
|
51
|
-
"absolute right-0 pr-8 pt-3"
|
|
52
|
-
);
|
|
53
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id, className: classList, children: /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: textClassList, children: text }) });
|
|
54
|
-
};
|
|
55
|
-
try {
|
|
56
|
-
AlertBar.displayName = "AlertBar";
|
|
57
|
-
AlertBar.__docgenInfo = { "description": "", "displayName": "AlertBar", "props": { "id": { "defaultValue": null, "description": "", "name": "id", "required": false, "type": { "name": "string" } }, "className": { "defaultValue": null, "description": "", "name": "className", "required": false, "type": { "name": "string" } }, "type": { "defaultValue": { value: "warning" }, "description": "", "name": "type", "required": false, "type": { "name": "enum", "value": [{ "value": '"success"' }, { "value": '"warning"' }, { "value": '"error"' }, { "value": '"info"' }] } }, "text": { "defaultValue": null, "description": "", "name": "text", "required": false, "type": { "name": "string" } }, "textCenter": { "defaultValue": { value: "false" }, "description": "", "name": "textCenter", "required": false, "type": { "name": "boolean" } }, "isDismissable": { "defaultValue": { value: "false" }, "description": "", "name": "isDismissable", "required": false, "type": { "name": "boolean" } }, "onDismissClick": { "defaultValue": null, "description": "", "name": "onDismissClick", "required": false, "type": { "name": "MouseEventHandler" } } } };
|
|
58
|
-
} catch (__react_docgen_typescript_loader_error) {
|
|
59
|
-
}
|
|
60
|
-
const meta = {
|
|
61
|
-
title: "Components/Alert Bar",
|
|
62
|
-
component: AlertBar,
|
|
63
|
-
argTypes: {
|
|
64
|
-
...idAndClassName,
|
|
65
|
-
type: {
|
|
66
|
-
type: {
|
|
67
|
-
name: "string",
|
|
68
|
-
required: false
|
|
69
|
-
},
|
|
70
|
-
options: ["success", "warning", "error", "info"],
|
|
71
|
-
description: "The type of alert to render",
|
|
72
|
-
table: {
|
|
73
|
-
type: {
|
|
74
|
-
summary: "warning"
|
|
75
|
-
},
|
|
76
|
-
defaultValue: {
|
|
77
|
-
summary: "warning"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
defaultValue: "warning",
|
|
81
|
-
control: {
|
|
82
|
-
type: "radio"
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
text: {
|
|
86
|
-
type: {
|
|
87
|
-
name: "string",
|
|
88
|
-
required: false
|
|
89
|
-
},
|
|
90
|
-
description: "The text to display in the component",
|
|
91
|
-
table: {
|
|
92
|
-
type: {
|
|
93
|
-
summary: "string"
|
|
94
|
-
},
|
|
95
|
-
defaultValue: {
|
|
96
|
-
summary: "undefined"
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
leftIconProps: {
|
|
101
|
-
description: "The icon props for the icon to display aligned to the left",
|
|
102
|
-
table: {
|
|
103
|
-
category: "",
|
|
104
|
-
type: {
|
|
105
|
-
summary: "string"
|
|
106
|
-
},
|
|
107
|
-
defaultValue: {
|
|
108
|
-
summary: "undefined"
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
rightIconProps: {
|
|
113
|
-
description: "The icon props for the icon to display aligned to the right",
|
|
114
|
-
table: {
|
|
115
|
-
category: "",
|
|
116
|
-
type: {
|
|
117
|
-
summary: "string"
|
|
118
|
-
},
|
|
119
|
-
defaultValue: {
|
|
120
|
-
summary: "undefined"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
textCenter: {
|
|
125
|
-
type: {
|
|
126
|
-
name: "boolean",
|
|
127
|
-
required: false
|
|
128
|
-
},
|
|
129
|
-
description: "Aligns the text in the center of the component",
|
|
130
|
-
table: {
|
|
131
|
-
type: {
|
|
132
|
-
summary: "boolean"
|
|
133
|
-
},
|
|
134
|
-
defaultValue: {
|
|
135
|
-
summary: "false"
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
defaultValue: "false"
|
|
139
|
-
},
|
|
140
|
-
isDismissable: {
|
|
141
|
-
type: {
|
|
142
|
-
name: "boolean",
|
|
143
|
-
required: false
|
|
144
|
-
},
|
|
145
|
-
description: "Enables the component to be closed when set to true",
|
|
146
|
-
table: {
|
|
147
|
-
type: {
|
|
148
|
-
summary: "boolean"
|
|
149
|
-
},
|
|
150
|
-
defaultValue: {
|
|
151
|
-
summary: "false"
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
defaultValue: "false"
|
|
155
|
-
},
|
|
156
|
-
onDismissClick: {
|
|
157
|
-
type: {
|
|
158
|
-
name: "function",
|
|
159
|
-
required: false
|
|
160
|
-
},
|
|
161
|
-
description: "The action to perform when the component is closed",
|
|
162
|
-
action: "onClick",
|
|
163
|
-
table: {
|
|
164
|
-
type: {
|
|
165
|
-
summary: "function"
|
|
166
|
-
},
|
|
167
|
-
defaultValue: {
|
|
168
|
-
summary: "undefined"
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
args: {
|
|
174
|
-
text: "This is an alert bar message",
|
|
175
|
-
leftIconProps: {
|
|
176
|
-
type: "heart",
|
|
177
|
-
colour: "white",
|
|
178
|
-
hollow: true
|
|
179
|
-
},
|
|
180
|
-
rightIconProps: {
|
|
181
|
-
type: "heart",
|
|
182
|
-
colour: "white"
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
};
|
|
186
|
-
const Default = {};
|
|
187
|
-
Default.parameters = {
|
|
188
|
-
...Default.parameters,
|
|
189
|
-
docs: {
|
|
190
|
-
...(_a = Default.parameters) == null ? void 0 : _a.docs,
|
|
191
|
-
source: {
|
|
192
|
-
originalSource: "{}",
|
|
193
|
-
...(_c = (_b = Default.parameters) == null ? void 0 : _b.docs) == null ? void 0 : _c.source
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
};
|
|
197
|
-
const __namedExportsOrder = ["Default"];
|
|
198
|
-
export {
|
|
199
|
-
Default,
|
|
200
|
-
__namedExportsOrder,
|
|
201
|
-
meta as default
|
|
202
|
-
};
|