triafly-ui-kit 1.0.20 → 1.0.22
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/ButtonsArray.css +1 -1
- package/dist/assets/FormRoot.css +1 -1
- package/dist/assets/ModalWindow.css +1 -0
- package/dist/components/Ui/ButtonsArray/ButtonsArray.js +4 -4
- package/dist/components/Ui/ButtonsArray/ButtonsArray.stories.js +78 -0
- package/dist/components/Ui/Form/FormRoot/FormRoot.js +9 -11
- package/dist/components/Ui/ModalWindow/ModalWindow.js +50 -0
- package/dist/components/Ui/ModalWindow/index.js +4 -0
- package/dist/main.d.ts +34 -11
- package/dist/main.js +153 -151
- package/package.json +1 -1
- package/dist/assets/FormControls.css +0 -1
- package/dist/components/Ui/Accordeon/Accordeon.d.ts +0 -10
- package/dist/components/Ui/Accordeon/Accordeon.d.ts.map +0 -1
- package/dist/components/Ui/Accordeon/Accordeon.stories.d.ts +0 -10
- package/dist/components/Ui/Accordeon/Accordeon.stories.d.ts.map +0 -1
- package/dist/components/Ui/Accordeon/index.d.ts +0 -2
- package/dist/components/Ui/Accordeon/index.d.ts.map +0 -1
- package/dist/components/Ui/Alert/Alert.d.ts +0 -11
- package/dist/components/Ui/Alert/Alert.d.ts.map +0 -1
- package/dist/components/Ui/Alert/index.d.ts +0 -2
- package/dist/components/Ui/Alert/index.d.ts.map +0 -1
- package/dist/components/Ui/Avatar/Avatar.d.ts +0 -8
- package/dist/components/Ui/Avatar/Avatar.d.ts.map +0 -1
- package/dist/components/Ui/Avatar/index.d.ts +0 -2
- package/dist/components/Ui/Avatar/index.d.ts.map +0 -1
- package/dist/components/Ui/Badge/Badge.d.ts +0 -15
- package/dist/components/Ui/Badge/Badge.d.ts.map +0 -1
- package/dist/components/Ui/Badge/index.d.ts +0 -2
- package/dist/components/Ui/Badge/index.d.ts.map +0 -1
- package/dist/components/Ui/Button/Button.d.ts +0 -20
- package/dist/components/Ui/Button/Button.d.ts.map +0 -1
- package/dist/components/Ui/Button/index.d.ts +0 -2
- package/dist/components/Ui/Button/index.d.ts.map +0 -1
- package/dist/components/Ui/ButtonsArray/ButtonsArray.d.ts +0 -17
- package/dist/components/Ui/ButtonsArray/ButtonsArray.d.ts.map +0 -1
- package/dist/components/Ui/ButtonsArray/ButtonsArray.stories.d.ts +0 -12
- package/dist/components/Ui/ButtonsArray/ButtonsArray.stories.d.ts.map +0 -1
- package/dist/components/Ui/ButtonsArray/index.d.ts +0 -2
- package/dist/components/Ui/ButtonsArray/index.d.ts.map +0 -1
- package/dist/components/Ui/Checkbox/Checkbox.d.ts +0 -12
- package/dist/components/Ui/Checkbox/Checkbox.d.ts.map +0 -1
- package/dist/components/Ui/Checkbox/Checkbox.stories.d.ts +0 -16
- package/dist/components/Ui/Checkbox/Checkbox.stories.d.ts.map +0 -1
- package/dist/components/Ui/Checkbox/index.d.ts +0 -2
- package/dist/components/Ui/Checkbox/index.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/CliTextareaInput.d.ts +0 -19
- package/dist/components/Ui/CliTextareaInput/CliTextareaInput.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/index.d.ts +0 -3
- package/dist/components/Ui/CliTextareaInput/index.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/escapeHtml/escapeHtml.d.ts +0 -2
- package/dist/components/Ui/CliTextareaInput/utils/escapeHtml/escapeHtml.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/fixJson/fixJson.d.ts +0 -2
- package/dist/components/Ui/CliTextareaInput/utils/fixJson/fixJson.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/highlightSyntax/highlightSyntax.d.ts +0 -3
- package/dist/components/Ui/CliTextareaInput/utils/highlightSyntax/highlightSyntax.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/highlightSyntax/index.d.ts +0 -2
- package/dist/components/Ui/CliTextareaInput/utils/highlightSyntax/index.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/index.d.ts +0 -8
- package/dist/components/Ui/CliTextareaInput/utils/hooks/index.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useFixFormat/index.d.ts +0 -2
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useFixFormat/index.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useFixFormat/useFixFormat.d.ts +0 -6
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useFixFormat/useFixFormat.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useHistoryNavigation/index.d.ts +0 -2
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useHistoryNavigation/index.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useHistoryNavigation/useHistoryNavigation.d.ts +0 -7
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useHistoryNavigation/useHistoryNavigation.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useKeyHandlers/index.d.ts +0 -2
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useKeyHandlers/index.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useKeyHandlers/useKeyHandlers.d.ts +0 -10
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useKeyHandlers/useKeyHandlers.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useLineNumbers/index.d.ts +0 -2
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useLineNumbers/index.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useLineNumbers/useLineNumbers.d.ts +0 -8
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useLineNumbers/useLineNumbers.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useScrollSync/index.d.ts +0 -2
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useScrollSync/index.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useScrollSync/useScrollSync.d.ts +0 -7
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useScrollSync/useScrollSync.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextActions/index.d.ts +0 -2
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextActions/index.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextActions/useTextActions.d.ts +0 -15
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextActions/useTextActions.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextCoursore/index.d.ts +0 -2
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextCoursore/index.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextCoursore/useTextCoursore.d.ts +0 -11
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextCoursore/useTextCoursore.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/index.d.ts +0 -4
- package/dist/components/Ui/CliTextareaInput/utils/index.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/processJson/index.d.ts +0 -2
- package/dist/components/Ui/CliTextareaInput/utils/processJson/index.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/processJson/processJson.d.ts +0 -2
- package/dist/components/Ui/CliTextareaInput/utils/processJson/processJson.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/processXml/processXml.d.ts +0 -2
- package/dist/components/Ui/CliTextareaInput/utils/processXml/processXml.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/processYml/processYml.d.ts +0 -2
- package/dist/components/Ui/CliTextareaInput/utils/processYml/processYml.d.ts.map +0 -1
- package/dist/components/Ui/CliTextareaInput/utils/types.d.ts +0 -11
- package/dist/components/Ui/CliTextareaInput/utils/types.d.ts.map +0 -1
- package/dist/components/Ui/CustomLink/CustomLink.d.ts +0 -16
- package/dist/components/Ui/CustomLink/CustomLink.d.ts.map +0 -1
- package/dist/components/Ui/CustomLink/index.d.ts +0 -2
- package/dist/components/Ui/CustomLink/index.d.ts.map +0 -1
- package/dist/components/Ui/Demos/DemoElements/DemoElements.d.ts +0 -4
- package/dist/components/Ui/Demos/DemoElements/DemoElements.d.ts.map +0 -1
- package/dist/components/Ui/Demos/DemoForm/DemoForm.d.ts +0 -11
- package/dist/components/Ui/Demos/DemoForm/DemoForm.d.ts.map +0 -1
- package/dist/components/Ui/Demos/DemoForm/DemoForm.stories.d.ts +0 -7
- package/dist/components/Ui/Demos/DemoForm/DemoForm.stories.d.ts.map +0 -1
- package/dist/components/Ui/Demos/DemoLogin/DemoLogin.d.ts +0 -4
- package/dist/components/Ui/Demos/DemoLogin/DemoLogin.d.ts.map +0 -1
- package/dist/components/Ui/Demos/DemoLogin/DemoLogin.stories.d.ts +0 -13
- package/dist/components/Ui/Demos/DemoLogin/DemoLogin.stories.d.ts.map +0 -1
- package/dist/components/Ui/DropdownInput/DropdownInput.d.ts +0 -20
- package/dist/components/Ui/DropdownInput/DropdownInput.d.ts.map +0 -1
- package/dist/components/Ui/DropdownInput/DropdownInput.stories.d.ts +0 -20
- package/dist/components/Ui/DropdownInput/DropdownInput.stories.d.ts.map +0 -1
- package/dist/components/Ui/DropdownInput/index.d.ts +0 -2
- package/dist/components/Ui/DropdownInput/index.d.ts.map +0 -1
- package/dist/components/Ui/DropdownMenu/DropdownMenu.d.ts +0 -17
- package/dist/components/Ui/DropdownMenu/DropdownMenu.d.ts.map +0 -1
- package/dist/components/Ui/DropdownMenu/DropdownMenu.stories.d.ts +0 -7
- package/dist/components/Ui/DropdownMenu/DropdownMenu.stories.d.ts.map +0 -1
- package/dist/components/Ui/DropdownMenu/index.d.ts +0 -2
- package/dist/components/Ui/DropdownMenu/index.d.ts.map +0 -1
- package/dist/components/Ui/FileUpload/FileUpload.d.ts +0 -5
- package/dist/components/Ui/FileUpload/FileUpload.d.ts.map +0 -1
- package/dist/components/Ui/FileUpload/fn.d.ts +0 -8
- package/dist/components/Ui/FileUpload/fn.d.ts.map +0 -1
- package/dist/components/Ui/FileUpload/index.d.ts +0 -2
- package/dist/components/Ui/FileUpload/index.d.ts.map +0 -1
- package/dist/components/Ui/FileUpload/types.d.ts +0 -33
- package/dist/components/Ui/FileUpload/types.d.ts.map +0 -1
- package/dist/components/Ui/Form/FormContext/FormContext.d.ts +0 -77
- package/dist/components/Ui/Form/FormContext/FormContext.d.ts.map +0 -1
- package/dist/components/Ui/Form/FormGroup/FormControls/FormControls.js +0 -5
- package/dist/components/Ui/Form/FormItem/FormItem.d.ts +0 -4
- package/dist/components/Ui/Form/FormItem/FormItem.d.ts.map +0 -1
- package/dist/components/Ui/Form/FormItem/fn.d.ts +0 -3
- package/dist/components/Ui/Form/FormItem/fn.d.ts.map +0 -1
- package/dist/components/Ui/Form/FormItem/types.d.ts +0 -11
- package/dist/components/Ui/Form/FormItem/types.d.ts.map +0 -1
- package/dist/components/Ui/Form/FormRoot/FormRoot.d.ts +0 -5
- package/dist/components/Ui/Form/FormRoot/FormRoot.d.ts.map +0 -1
- package/dist/components/Ui/Form/FormRoot/index.d.ts +0 -2
- package/dist/components/Ui/Form/FormRoot/index.d.ts.map +0 -1
- package/dist/components/Ui/Form/FormRoot/types.d.ts +0 -13
- package/dist/components/Ui/Form/FormRoot/types.d.ts.map +0 -1
- package/dist/components/Ui/Form/index.d.ts +0 -3
- package/dist/components/Ui/Form/index.d.ts.map +0 -1
- package/dist/components/Ui/Form/useForm/index.d.ts +0 -2
- package/dist/components/Ui/Form/useForm/index.d.ts.map +0 -1
- package/dist/components/Ui/Form/useForm/useForm.d.ts +0 -3
- package/dist/components/Ui/Form/useForm/useForm.d.ts.map +0 -1
- package/dist/components/Ui/Form/utils/fn.d.ts +0 -8
- package/dist/components/Ui/Form/utils/fn.d.ts.map +0 -1
- package/dist/components/Ui/Form/utils/types.d.ts +0 -13
- package/dist/components/Ui/Form/utils/types.d.ts.map +0 -1
- package/dist/components/Ui/Icons/Icons.d.ts +0 -565
- package/dist/components/Ui/Icons/Icons.d.ts.map +0 -1
- package/dist/components/Ui/Icons/index.d.ts +0 -2
- package/dist/components/Ui/Icons/index.d.ts.map +0 -1
- package/dist/components/Ui/Icons/utils/CreateIcon.d.ts +0 -12
- package/dist/components/Ui/Icons/utils/CreateIcon.d.ts.map +0 -1
- package/dist/components/Ui/Loader/Loader.d.ts +0 -9
- package/dist/components/Ui/Loader/Loader.d.ts.map +0 -1
- package/dist/components/Ui/Loader/index.d.ts +0 -2
- package/dist/components/Ui/Loader/index.d.ts.map +0 -1
- package/dist/components/Ui/ModalWindow/ModalWindow.d.ts +0 -27
- package/dist/components/Ui/ModalWindow/ModalWindow.d.ts.map +0 -1
- package/dist/components/Ui/ModalWindow/index.d.ts +0 -2
- package/dist/components/Ui/ModalWindow/index.d.ts.map +0 -1
- package/dist/components/Ui/Pagination/Pagination.d.ts +0 -9
- package/dist/components/Ui/Pagination/Pagination.d.ts.map +0 -1
- package/dist/components/Ui/Pagination/index.d.ts +0 -2
- package/dist/components/Ui/Pagination/index.d.ts.map +0 -1
- package/dist/components/Ui/Radio/Radio.d.ts +0 -13
- package/dist/components/Ui/Radio/Radio.d.ts.map +0 -1
- package/dist/components/Ui/Radio/Radio.stories.d.ts +0 -9
- package/dist/components/Ui/Radio/Radio.stories.d.ts.map +0 -1
- package/dist/components/Ui/Radio/index.d.ts +0 -2
- package/dist/components/Ui/Radio/index.d.ts.map +0 -1
- package/dist/components/Ui/SearchInput/SearchData.d.ts +0 -2
- package/dist/components/Ui/SearchInput/SearchData.d.ts.map +0 -1
- package/dist/components/Ui/SearchInput/SearchInput.d.ts +0 -24
- package/dist/components/Ui/SearchInput/SearchInput.d.ts.map +0 -1
- package/dist/components/Ui/Skeleton/Skeleton.d.ts +0 -13
- package/dist/components/Ui/Skeleton/Skeleton.d.ts.map +0 -1
- package/dist/components/Ui/Skeleton/index.d.ts +0 -2
- package/dist/components/Ui/Skeleton/index.d.ts.map +0 -1
- package/dist/components/Ui/Switch/Switch.d.ts +0 -12
- package/dist/components/Ui/Switch/Switch.d.ts.map +0 -1
- package/dist/components/Ui/Switch/index.d.ts +0 -2
- package/dist/components/Ui/Switch/index.d.ts.map +0 -1
- package/dist/components/Ui/Table/MemoizedRow/MemoizedRow.d.ts +0 -14
- package/dist/components/Ui/Table/MemoizedRow/MemoizedRow.d.ts.map +0 -1
- package/dist/components/Ui/Table/Table.d.ts +0 -4
- package/dist/components/Ui/Table/Table.d.ts.map +0 -1
- package/dist/components/Ui/Table/TableTypes.d.ts +0 -35
- package/dist/components/Ui/Table/TableTypes.d.ts.map +0 -1
- package/dist/components/Ui/Table/index.d.ts +0 -3
- package/dist/components/Ui/Table/index.d.ts.map +0 -1
- package/dist/components/Ui/Tabs/Tabs.d.ts +0 -15
- package/dist/components/Ui/Tabs/Tabs.d.ts.map +0 -1
- package/dist/components/Ui/Tabs/Tabs.stories.d.ts +0 -9
- package/dist/components/Ui/Tabs/Tabs.stories.d.ts.map +0 -1
- package/dist/components/Ui/Tabs/index.d.ts +0 -2
- package/dist/components/Ui/Tabs/index.d.ts.map +0 -1
- package/dist/components/Ui/TextInput/TextInput.d.ts +0 -24
- package/dist/components/Ui/TextInput/TextInput.d.ts.map +0 -1
- package/dist/components/Ui/TextInput/TextInput.stories.d.ts +0 -17
- package/dist/components/Ui/TextInput/TextInput.stories.d.ts.map +0 -1
- package/dist/components/Ui/TextInput/index.d.ts +0 -2
- package/dist/components/Ui/TextInput/index.d.ts.map +0 -1
- package/dist/components/Ui/TextareaInput/TextareaInput.d.ts +0 -18
- package/dist/components/Ui/TextareaInput/TextareaInput.d.ts.map +0 -1
- package/dist/components/Ui/TextareaInput/TextareaInput.stories.d.ts +0 -7
- package/dist/components/Ui/TextareaInput/TextareaInput.stories.d.ts.map +0 -1
- package/dist/components/Ui/TextareaInput/index.d.ts +0 -2
- package/dist/components/Ui/TextareaInput/index.d.ts.map +0 -1
- package/dist/components/Ui/Tooltip/Tooltip.d.ts +0 -15
- package/dist/components/Ui/Tooltip/Tooltip.d.ts.map +0 -1
- package/dist/components/Ui/Tooltip/Tooltip.stories.d.ts +0 -9
- package/dist/components/Ui/Tooltip/Tooltip.stories.d.ts.map +0 -1
- package/dist/components/Ui/Tooltip/index.d.ts +0 -2
- package/dist/components/Ui/Tooltip/index.d.ts.map +0 -1
- package/dist/context/ToastContext/ToastContext.d.ts +0 -10
- package/dist/context/ToastContext/ToastContext.d.ts.map +0 -1
- package/dist/context/ToastContext/index.d.ts +0 -2
- package/dist/context/ToastContext/index.d.ts.map +0 -1
- package/dist/context/TriaflyContext/TriaflyContext.types.d.ts +0 -8
- package/dist/context/TriaflyContext/TriaflyContext.types.d.ts.map +0 -1
- package/dist/context/TriaflyContext/TriaflyProvider.d.ts +0 -8
- package/dist/context/TriaflyContext/TriaflyProvider.d.ts.map +0 -1
- package/dist/context/TriaflyContext/hooks/index.d.ts +0 -4
- package/dist/context/TriaflyContext/hooks/index.d.ts.map +0 -1
- package/dist/context/TriaflyContext/hooks/useBreakpointValue/index.d.ts +0 -2
- package/dist/context/TriaflyContext/hooks/useBreakpointValue/index.d.ts.map +0 -1
- package/dist/context/TriaflyContext/hooks/useBreakpointValue/useBreakpointValue.d.ts +0 -9
- package/dist/context/TriaflyContext/hooks/useBreakpointValue/useBreakpointValue.d.ts.map +0 -1
- package/dist/context/TriaflyContext/hooks/useModal/index.d.ts +0 -2
- package/dist/context/TriaflyContext/hooks/useModal/index.d.ts.map +0 -1
- package/dist/context/TriaflyContext/hooks/useModal/useModal.d.ts +0 -7
- package/dist/context/TriaflyContext/hooks/useModal/useModal.d.ts.map +0 -1
- package/dist/context/TriaflyContext/hooks/useTheme/index.d.ts +0 -2
- package/dist/context/TriaflyContext/hooks/useTheme/index.d.ts.map +0 -1
- package/dist/context/TriaflyContext/hooks/useTheme/useTheme.d.ts +0 -6
- package/dist/context/TriaflyContext/hooks/useTheme/useTheme.d.ts.map +0 -1
- package/dist/context/TriaflyContext/index.d.ts +0 -3
- package/dist/context/TriaflyContext/index.d.ts.map +0 -1
- package/dist/tsconfig.build.tsbuildinfo +0 -1
@@ -3,19 +3,19 @@ import { useState as u } from "react";
|
|
3
3
|
import '../../../assets/ButtonsArray.css';const p = ({
|
4
4
|
tabs: i,
|
5
5
|
label: a,
|
6
|
-
initialActiveTab:
|
6
|
+
initialActiveTab: l = 0,
|
7
7
|
onChange: c
|
8
8
|
}) => {
|
9
|
-
const [n, o] = u(
|
9
|
+
const [n, o] = u(l), r = (s, t) => {
|
10
10
|
o(s), c && c(t);
|
11
11
|
};
|
12
12
|
return /* @__PURE__ */ d("div", { className: "buttons", children: [
|
13
|
-
a && /* @__PURE__ */ e("span", { children: a }),
|
13
|
+
a && /* @__PURE__ */ e("span", { className: "buttons-label", children: a }),
|
14
14
|
/* @__PURE__ */ e("div", { className: "buttons-bar", children: i.map((s, t) => /* @__PURE__ */ e(
|
15
15
|
"button",
|
16
16
|
{
|
17
17
|
disabled: s.disabled,
|
18
|
-
onClick: () =>
|
18
|
+
onClick: () => r(t, s.key),
|
19
19
|
className: `button ${t === n ? "active" : ""} status-${s.status}`,
|
20
20
|
children: s.label
|
21
21
|
},
|
@@ -0,0 +1,78 @@
|
|
1
|
+
import { ButtonsArray as e } from "./ButtonsArray.js";
|
2
|
+
const a = {
|
3
|
+
title: "UIKit/ButtonsArray",
|
4
|
+
component: e,
|
5
|
+
tags: ["autodocs"],
|
6
|
+
argTypes: {
|
7
|
+
initialActiveTab: {
|
8
|
+
control: { type: "number", min: 0 }
|
9
|
+
},
|
10
|
+
onChange: { action: "tabChanged" }
|
11
|
+
}
|
12
|
+
}, l = {
|
13
|
+
args: {
|
14
|
+
tabs: [
|
15
|
+
{ label: "All", key: "all" },
|
16
|
+
{ label: "Active", key: "active" },
|
17
|
+
{ label: "Completed", key: "completed" }
|
18
|
+
],
|
19
|
+
label: "Filter tasks:"
|
20
|
+
}
|
21
|
+
}, s = {
|
22
|
+
args: {
|
23
|
+
label: "Document status:",
|
24
|
+
tabs: [
|
25
|
+
{ label: "Draft", key: "draft", status: "none" },
|
26
|
+
{ label: "In Review", key: "review", status: "warning" },
|
27
|
+
{ label: "Rejected", key: "rejected", status: "error" },
|
28
|
+
{ label: "Approved", key: "approved", status: "success" }
|
29
|
+
]
|
30
|
+
}
|
31
|
+
}, o = {
|
32
|
+
args: {
|
33
|
+
tabs: [
|
34
|
+
{ label: "First", key: "first" },
|
35
|
+
{ label: "Second", key: "second" },
|
36
|
+
{ label: "Third", key: "third" }
|
37
|
+
],
|
38
|
+
initialActiveTab: 1
|
39
|
+
}
|
40
|
+
}, b = {
|
41
|
+
args: {
|
42
|
+
label: "Account type:",
|
43
|
+
tabs: [
|
44
|
+
{ label: "Basic", key: "basic" },
|
45
|
+
{ label: "Premium", key: "premium", disabled: !0 },
|
46
|
+
{ label: "Enterprise", key: "enterprise" }
|
47
|
+
]
|
48
|
+
}
|
49
|
+
}, r = {
|
50
|
+
args: {
|
51
|
+
tabs: [
|
52
|
+
{ label: "Yes", key: "yes" },
|
53
|
+
{ label: "No", key: "no" }
|
54
|
+
]
|
55
|
+
}
|
56
|
+
}, i = {
|
57
|
+
args: {
|
58
|
+
label: "Categories:",
|
59
|
+
tabs: [
|
60
|
+
{ label: "Electronics", key: "electronics" },
|
61
|
+
{ label: "Clothing", key: "clothing" },
|
62
|
+
{ label: "Home", key: "home" },
|
63
|
+
{ label: "Sports", key: "sports" },
|
64
|
+
{ label: "Books", key: "books" },
|
65
|
+
{ label: "Toys", key: "toys" },
|
66
|
+
{ label: "Beauty", key: "beauty" }
|
67
|
+
]
|
68
|
+
}
|
69
|
+
};
|
70
|
+
export {
|
71
|
+
l as Default,
|
72
|
+
b as DisabledTabs,
|
73
|
+
i as ManyTabs,
|
74
|
+
r as SmallSelection,
|
75
|
+
o as WithInitialActiveTab,
|
76
|
+
s as WithStatusIndicators,
|
77
|
+
a as default
|
78
|
+
};
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
2
|
-
import { useMemo as
|
3
|
-
import { FormContext as
|
4
|
-
import { FormItem as
|
5
|
-
import { useForm as
|
6
|
-
import {
|
7
|
-
|
8
|
-
const n = v()[0], s = f(() => {
|
2
|
+
import { useMemo as l } from "react";
|
3
|
+
import { FormContext as f } from "../FormContext/FormContext.js";
|
4
|
+
import { FormItem as i } from "../FormItem/FormItem.js";
|
5
|
+
import { useForm as p } from "../useForm/useForm.js";
|
6
|
+
import '../../../../assets/FormRoot.css';const v = ({ form: m, children: c, onFinish: o, disabled: t = !1 }) => {
|
7
|
+
const n = p()[0], s = l(() => {
|
9
8
|
const r = m || n;
|
10
9
|
return r.disabled = t, r;
|
11
10
|
}, [m, n, t]), u = async (r) => {
|
@@ -18,10 +17,9 @@ import '../../../../assets/FormRoot.css';const c = ({ form: m, children: l, onFi
|
|
18
17
|
console.error("Form submission error:", e);
|
19
18
|
}
|
20
19
|
};
|
21
|
-
return /* @__PURE__ */ a(
|
20
|
+
return /* @__PURE__ */ a(f.Provider, { value: s || null, children: /* @__PURE__ */ a("form", { onSubmit: u, children: c }) });
|
22
21
|
};
|
23
|
-
|
24
|
-
c.FormControls = F;
|
22
|
+
v.Item = i;
|
25
23
|
export {
|
26
|
-
|
24
|
+
v as Form
|
27
25
|
};
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { jsx as s, Fragment as h, jsxs as l } from "react/jsx-runtime";
|
2
|
+
import { createElement as f } from "react";
|
3
|
+
import { createPortal as u } from "react-dom";
|
4
|
+
import { Button as v } from "../Button/Button.js";
|
5
|
+
import { IconX as N } from "../Icons/Icons.js";
|
6
|
+
import '../../../assets/ModalWindow.css';const k = ({
|
7
|
+
isOpen: m,
|
8
|
+
onClose: n,
|
9
|
+
width: a,
|
10
|
+
size: r = "md",
|
11
|
+
iconHeader: o,
|
12
|
+
title: t,
|
13
|
+
children: d,
|
14
|
+
usePortal: e = !1,
|
15
|
+
foolHeight: c,
|
16
|
+
position: w = "center"
|
17
|
+
}) => {
|
18
|
+
if (!m) return null;
|
19
|
+
const p = (o == null ? void 0 : o.size) ?? 20, i = /* @__PURE__ */ s(h, { children: /* @__PURE__ */ s("div", { className: `modal-window overlay position-${w}`, onClick: () => n(!1), children: /* @__PURE__ */ l(
|
20
|
+
"div",
|
21
|
+
{
|
22
|
+
className: `modal-window__body size-${r} ${c ? "foolHeight" : ""}`,
|
23
|
+
onClick: (_) => _.stopPropagation(),
|
24
|
+
style: {
|
25
|
+
width: `${a}`,
|
26
|
+
pointerEvents: "auto"
|
27
|
+
},
|
28
|
+
children: [
|
29
|
+
/* @__PURE__ */ l("div", { className: "modal-window__header", children: [
|
30
|
+
(o == null ? void 0 : o.view) && /* @__PURE__ */ s("div", { className: `modal-window__header__icon status-${o.status}`, children: f(o.icon, { size: p }) }),
|
31
|
+
t != null && t.toString() ? /* @__PURE__ */ s("span", { className: "modal-window__header__title", children: t }) : t,
|
32
|
+
/* @__PURE__ */ s(
|
33
|
+
v,
|
34
|
+
{
|
35
|
+
type: "button",
|
36
|
+
icon: /* @__PURE__ */ s(N, { size: 24 }),
|
37
|
+
className: "icon-button",
|
38
|
+
onClick: () => n(!1)
|
39
|
+
}
|
40
|
+
)
|
41
|
+
] }),
|
42
|
+
d
|
43
|
+
]
|
44
|
+
}
|
45
|
+
) }) });
|
46
|
+
return e ? u(i, document.body) : i;
|
47
|
+
};
|
48
|
+
export {
|
49
|
+
k as ModalWindow
|
50
|
+
};
|
package/dist/main.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { ComponentType } from 'react';
|
1
2
|
import { Context } from 'react';
|
2
3
|
import { default as default_2 } from 'react';
|
3
4
|
import { FC } from 'react';
|
@@ -6,6 +7,7 @@ import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
6
7
|
import { ReactElement } from 'react';
|
7
8
|
import { ReactNode } from 'react';
|
8
9
|
import { RefAttributes } from 'react';
|
10
|
+
import { SetStateAction } from 'react';
|
9
11
|
|
10
12
|
export declare const Accordeon: React.FC<AccordeonProps>;
|
11
13
|
|
@@ -38,7 +40,7 @@ export declare const Badge: default_2.FC<BadgeProps>;
|
|
38
40
|
declare type BadgeProps = {
|
39
41
|
children: default_2.ReactNode;
|
40
42
|
variant?: "outline" | "solid" | "subtle";
|
41
|
-
status?:
|
43
|
+
status?: StatusType_2;
|
42
44
|
iconLeft?: default_2.ReactNode;
|
43
45
|
iconRight?: default_2.ReactNode;
|
44
46
|
isClickable?: boolean;
|
@@ -82,7 +84,7 @@ export declare interface ButtonsArrayProps {
|
|
82
84
|
|
83
85
|
declare interface ButtonTab {
|
84
86
|
label: string;
|
85
|
-
status?:
|
87
|
+
status?: StatusType_3;
|
86
88
|
key: string | number;
|
87
89
|
disabled?: boolean;
|
88
90
|
}
|
@@ -190,15 +192,8 @@ export declare const Form: FormComponent;
|
|
190
192
|
|
191
193
|
declare interface FormComponent extends React.FC<FormProps> {
|
192
194
|
Item: typeof FormItem;
|
193
|
-
FormControls: typeof FormControls;
|
194
195
|
}
|
195
196
|
|
196
|
-
declare const FormControls: default_2.FC<FormControlsProps>;
|
197
|
-
|
198
|
-
declare type FormControlsProps = {
|
199
|
-
children: default_2.ReactNode;
|
200
|
-
};
|
201
|
-
|
202
197
|
declare interface FormInstance {
|
203
198
|
/**
|
204
199
|
* Сбрасывает все значения формы и ошибки
|
@@ -985,6 +980,28 @@ export declare type MenuContent = {
|
|
985
980
|
onClick?: () => void;
|
986
981
|
};
|
987
982
|
|
983
|
+
export declare const ModalWindow: React.FC<ModalWindowProps>;
|
984
|
+
|
985
|
+
declare type ModalWindowProps = {
|
986
|
+
isOpen: boolean;
|
987
|
+
onClose: React.Dispatch<SetStateAction<boolean | null>>;
|
988
|
+
width?: string;
|
989
|
+
position?: RositionModal;
|
990
|
+
size?: SizeModal;
|
991
|
+
iconHeader?: {
|
992
|
+
view: boolean;
|
993
|
+
status: StatusType;
|
994
|
+
icon: ComponentType<{
|
995
|
+
size?: number;
|
996
|
+
}>;
|
997
|
+
size?: number;
|
998
|
+
};
|
999
|
+
title?: string | ReactNode;
|
1000
|
+
children: React.ReactNode;
|
1001
|
+
usePortal?: boolean;
|
1002
|
+
foolHeight?: boolean;
|
1003
|
+
};
|
1004
|
+
|
988
1005
|
declare type Option_2 = {
|
989
1006
|
value: string;
|
990
1007
|
label: string;
|
@@ -1015,6 +1032,8 @@ declare type RadioProps = {
|
|
1015
1032
|
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
1016
1033
|
};
|
1017
1034
|
|
1035
|
+
declare type RositionModal = "center" | "right" | "left" | "top" | "bottom";
|
1036
|
+
|
1018
1037
|
declare type Rule = {
|
1019
1038
|
required?: boolean;
|
1020
1039
|
message?: string;
|
@@ -1044,6 +1063,8 @@ declare type SearchInputProps = {
|
|
1044
1063
|
onChange?: (value: string) => void;
|
1045
1064
|
};
|
1046
1065
|
|
1066
|
+
declare type SizeModal = "sm" | "md" | "lg" | "full";
|
1067
|
+
|
1047
1068
|
declare type SizeUnit = "B" | "KB" | "MB" | "GB";
|
1048
1069
|
|
1049
1070
|
export declare const Skeleton: default_2.FC<SkeletonProps>;
|
@@ -1058,9 +1079,11 @@ declare type SkeletonProps = {
|
|
1058
1079
|
style?: default_2.CSSProperties;
|
1059
1080
|
};
|
1060
1081
|
|
1061
|
-
declare type StatusType = "
|
1082
|
+
declare type StatusType = "error" | "warning" | "success" | "info";
|
1083
|
+
|
1084
|
+
declare type StatusType_2 = "default" | "success" | "warning" | "error" | "active" | "blocked" | "done" | "loading" | (string & {});
|
1062
1085
|
|
1063
|
-
declare type
|
1086
|
+
declare type StatusType_3 = "none" | "error" | "warning" | "success";
|
1064
1087
|
|
1065
1088
|
export declare const Switch: default_2.FC<SwitchProps>;
|
1066
1089
|
|
package/dist/main.js
CHANGED
@@ -1,160 +1,162 @@
|
|
1
1
|
import { Accordeon as e } from "./components/Ui/Accordeon/Accordeon.js";
|
2
2
|
import { Alert as I } from "./components/Ui/Alert/Alert.js";
|
3
3
|
import { Avatar as i } from "./components/Ui/Avatar/Avatar.js";
|
4
|
-
import {
|
5
|
-
import {
|
6
|
-
import {
|
7
|
-
import {
|
8
|
-
import {
|
4
|
+
import { ModalWindow as p } from "./components/Ui/ModalWindow/ModalWindow.js";
|
5
|
+
import { Badge as f } from "./components/Ui/Badge/Badge.js";
|
6
|
+
import { Button as x } from "./components/Ui/Button/Button.js";
|
7
|
+
import { ButtonsArray as u } from "./components/Ui/ButtonsArray/ButtonsArray.js";
|
8
|
+
import { Checkbox as C } from "./components/Ui/Checkbox/Checkbox.js";
|
9
|
+
import { CliTextareaInput as h } from "./components/Ui/CliTextareaInput/CliTextareaInput.js";
|
9
10
|
import "react";
|
10
|
-
import { CustomLink as
|
11
|
-
import { DropdownInput as
|
12
|
-
import { DropdownMenu as
|
13
|
-
import { FileUpload as
|
14
|
-
import { Form as
|
15
|
-
import { useForm as
|
16
|
-
import { Loader as
|
17
|
-
import { Pagination as
|
18
|
-
import { Radio as
|
19
|
-
import { SearchInput as
|
20
|
-
import { Skeleton as
|
21
|
-
import { Switch as
|
22
|
-
import { Table as
|
23
|
-
import { TextInput as
|
24
|
-
import { TextareaInput as
|
25
|
-
import { Tooltip as
|
26
|
-
import { Tabs as
|
27
|
-
import { IconArrowBendUpRight as
|
28
|
-
import { ToastProvider as
|
29
|
-
import { TriaflyContext as
|
30
|
-
import { useBreakpointValueTriafly as
|
31
|
-
import { useThemeLogic as
|
32
|
-
import { useModalState as
|
11
|
+
import { CustomLink as T } from "./components/Ui/CustomLink/CustomLink.js";
|
12
|
+
import { DropdownInput as A } from "./components/Ui/DropdownInput/DropdownInput.js";
|
13
|
+
import { DropdownMenu as k } from "./components/Ui/DropdownMenu/DropdownMenu.js";
|
14
|
+
import { FileUpload as P } from "./components/Ui/FileUpload/FileUpload.js";
|
15
|
+
import { Form as U } from "./components/Ui/Form/FormRoot/FormRoot.js";
|
16
|
+
import { useForm as F } from "./components/Ui/Form/useForm/useForm.js";
|
17
|
+
import { Loader as v } from "./components/Ui/Loader/Loader.js";
|
18
|
+
import { Pagination as X } from "./components/Ui/Pagination/Pagination.js";
|
19
|
+
import { Radio as H } from "./components/Ui/Radio/Radio.js";
|
20
|
+
import { SearchInput as O } from "./components/Ui/SearchInput/SearchInput.js";
|
21
|
+
import { Skeleton as E } from "./components/Ui/Skeleton/Skeleton.js";
|
22
|
+
import { Switch as W } from "./components/Ui/Switch/Switch.js";
|
23
|
+
import { Table as z } from "./components/Ui/Table/Table.js";
|
24
|
+
import { TextInput as Y } from "./components/Ui/TextInput/TextInput.js";
|
25
|
+
import { TextareaInput as q } from "./components/Ui/TextareaInput/TextareaInput.js";
|
26
|
+
import { Tooltip as Z } from "./components/Ui/Tooltip/Tooltip.js";
|
27
|
+
import { Tabs as $ } from "./components/Ui/Tabs/Tabs.js";
|
28
|
+
import { IconArrowBendUpRight as no, IconArrowClockwise as ro, IconArrowDown as eo, IconArrowLeft as co, IconArrowLineDown as Io, IconArrowLineLeft as to, IconArrowLineRight as io, IconArrowLineUp as ao, IconArrowRight as po, IconArrowUp as lo, IconArrowsOut as fo, IconArticle as mo, IconAt as xo, IconBellSimple as so, IconBookOpenText as uo, IconCalendarBlank as Co, IconCaretDown as wo, IconCaretLeft as ho, IconCaretRight as So, IconCaretUp as To, IconCaretUpDown as go, IconChartPieSlice as Ao, IconChatText as Lo, IconCheck as ko, IconCheckCircle as Do, IconChecks as Po, IconCircleNotch as yo, IconCopy as Uo, IconCornersOut as Bo, IconCsv as Fo, IconCube as Mo, IconDatabase as vo, IconDotsNine as Ro, IconDotsThreeVertical as Xo, IconExport as bo, IconEye as Ho, IconEyeSlash as No, IconFile as Oo, IconFiles as Qo, IconFloppyDisk as Eo, IconFolderSimple as Go, IconFolderSimpleX as Wo, IconFunnel as Vo, IconGauge as zo, IconGear as Jo, IconGoogleDrive as Yo, IconHand as jo, IconHeadCircuit as qo, IconHouse as Ko, IconIcon as Zo, IconInfo as _o, IconJoin as $o, IconLanguage as on, IconLink as nn, IconList as rn, IconLock as en, IconLockOpen as cn, IconMariaDB as In, IconMinus as tn, IconMongoDB as an, IconMoon as pn, IconMySQL as ln, IconNavigationArrow as fn, IconNotePencil as mn, IconPassword as xn, IconPen as sn, IconPlay as un, IconPlugsX as dn, IconPlus as Cn, IconPorsgteSQL as wn, IconPresentationChart as hn, IconQuestion as Sn, IconQuestionFullfilled as Tn, IconRedo as gn, IconRoleX as An, IconSearch as Ln, IconSearchX as kn, IconSelection as Dn, IconServer as Pn, IconSlidersHorizontal as yn, IconSticker as Un, IconSun as Bn, IconThreeDot as Fn, IconTrash as Mn, IconTriangleDown as vn, IconTriangleUp as Rn, IconUndo as Xn, IconUploadSimple as bn, IconUser as Hn, IconUserX as Nn, IconWarningCircle as On, IconWrench as Qn, IconX as En, IconYandexDisk as Gn } from "./components/Ui/Icons/Icons.js";
|
29
|
+
import { ToastProvider as Vn } from "./context/ToastContext/ToastContext.js";
|
30
|
+
import { TriaflyContext as Jn, TriaflyProvider as Yn, useTriafly as jn } from "./context/TriaflyContext/TriaflyProvider.js";
|
31
|
+
import { useBreakpointValueTriafly as Kn } from "./context/TriaflyContext/hooks/useBreakpointValue/useBreakpointValue.js";
|
32
|
+
import { useThemeLogic as _n } from "./context/TriaflyContext/hooks/useTheme/useTheme.js";
|
33
|
+
import { useModalState as or } from "./context/TriaflyContext/hooks/useModal/useModal.js";
|
33
34
|
export {
|
34
35
|
e as Accordeon,
|
35
36
|
I as Alert,
|
36
37
|
i as Avatar,
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
X as
|
144
|
-
H as
|
145
|
-
O as
|
146
|
-
E as
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
Y as
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
38
|
+
f as Badge,
|
39
|
+
x as Button,
|
40
|
+
u as ButtonsArray,
|
41
|
+
C as Checkbox,
|
42
|
+
h as CliTextareaInput,
|
43
|
+
T as CustomLink,
|
44
|
+
A as DropdownInput,
|
45
|
+
k as DropdownMenu,
|
46
|
+
P as FileUpload,
|
47
|
+
U as Form,
|
48
|
+
no as IconArrowBendUpRight,
|
49
|
+
ro as IconArrowClockwise,
|
50
|
+
eo as IconArrowDown,
|
51
|
+
co as IconArrowLeft,
|
52
|
+
Io as IconArrowLineDown,
|
53
|
+
to as IconArrowLineLeft,
|
54
|
+
io as IconArrowLineRight,
|
55
|
+
ao as IconArrowLineUp,
|
56
|
+
po as IconArrowRight,
|
57
|
+
lo as IconArrowUp,
|
58
|
+
fo as IconArrowsOut,
|
59
|
+
mo as IconArticle,
|
60
|
+
xo as IconAt,
|
61
|
+
so as IconBellSimple,
|
62
|
+
uo as IconBookOpenText,
|
63
|
+
Co as IconCalendarBlank,
|
64
|
+
wo as IconCaretDown,
|
65
|
+
ho as IconCaretLeft,
|
66
|
+
So as IconCaretRight,
|
67
|
+
To as IconCaretUp,
|
68
|
+
go as IconCaretUpDown,
|
69
|
+
Ao as IconChartPieSlice,
|
70
|
+
Lo as IconChatText,
|
71
|
+
ko as IconCheck,
|
72
|
+
Do as IconCheckCircle,
|
73
|
+
Po as IconChecks,
|
74
|
+
yo as IconCircleNotch,
|
75
|
+
Uo as IconCopy,
|
76
|
+
Bo as IconCornersOut,
|
77
|
+
Fo as IconCsv,
|
78
|
+
Mo as IconCube,
|
79
|
+
vo as IconDatabase,
|
80
|
+
Ro as IconDotsNine,
|
81
|
+
Xo as IconDotsThreeVertical,
|
82
|
+
bo as IconExport,
|
83
|
+
Ho as IconEye,
|
84
|
+
No as IconEyeSlash,
|
85
|
+
Oo as IconFile,
|
86
|
+
Qo as IconFiles,
|
87
|
+
Eo as IconFloppyDisk,
|
88
|
+
Go as IconFolderSimple,
|
89
|
+
Wo as IconFolderSimpleX,
|
90
|
+
Vo as IconFunnel,
|
91
|
+
zo as IconGauge,
|
92
|
+
Jo as IconGear,
|
93
|
+
Yo as IconGoogleDrive,
|
94
|
+
jo as IconHand,
|
95
|
+
qo as IconHeadCircuit,
|
96
|
+
Ko as IconHouse,
|
97
|
+
Zo as IconIcon,
|
98
|
+
_o as IconInfo,
|
99
|
+
$o as IconJoin,
|
100
|
+
on as IconLanguage,
|
101
|
+
nn as IconLink,
|
102
|
+
rn as IconList,
|
103
|
+
en as IconLock,
|
104
|
+
cn as IconLockOpen,
|
105
|
+
In as IconMariaDB,
|
106
|
+
tn as IconMinus,
|
107
|
+
an as IconMongoDB,
|
108
|
+
pn as IconMoon,
|
109
|
+
ln as IconMySQL,
|
110
|
+
fn as IconNavigationArrow,
|
111
|
+
mn as IconNotePencil,
|
112
|
+
xn as IconPassword,
|
113
|
+
sn as IconPen,
|
114
|
+
un as IconPlay,
|
115
|
+
dn as IconPlugsX,
|
116
|
+
Cn as IconPlus,
|
117
|
+
wn as IconPorsgteSQL,
|
118
|
+
hn as IconPresentationChart,
|
119
|
+
Sn as IconQuestion,
|
120
|
+
Tn as IconQuestionFullfilled,
|
121
|
+
gn as IconRedo,
|
122
|
+
An as IconRoleX,
|
123
|
+
Ln as IconSearch,
|
124
|
+
kn as IconSearchX,
|
125
|
+
Dn as IconSelection,
|
126
|
+
Pn as IconServer,
|
127
|
+
yn as IconSlidersHorizontal,
|
128
|
+
Un as IconSticker,
|
129
|
+
Bn as IconSun,
|
130
|
+
Fn as IconThreeDot,
|
131
|
+
Mn as IconTrash,
|
132
|
+
vn as IconTriangleDown,
|
133
|
+
Rn as IconTriangleUp,
|
134
|
+
Xn as IconUndo,
|
135
|
+
bn as IconUploadSimple,
|
136
|
+
Hn as IconUser,
|
137
|
+
Nn as IconUserX,
|
138
|
+
On as IconWarningCircle,
|
139
|
+
Qn as IconWrench,
|
140
|
+
En as IconX,
|
141
|
+
Gn as IconYandexDisk,
|
142
|
+
v as Loader,
|
143
|
+
p as ModalWindow,
|
144
|
+
X as Pagination,
|
145
|
+
H as Radio,
|
146
|
+
O as SearchInput,
|
147
|
+
E as Skeleton,
|
148
|
+
W as Switch,
|
149
|
+
z as Table,
|
150
|
+
$ as Tabs,
|
151
|
+
Y as TextInput,
|
152
|
+
q as TextareaInput,
|
153
|
+
Vn as ToastProvider,
|
154
|
+
Z as Tooltip,
|
155
|
+
Jn as TriaflyContext,
|
156
|
+
Yn as TriaflyProvider,
|
157
|
+
Kn as useBreakpointValueTriafly,
|
158
|
+
F as useForm,
|
159
|
+
or as useModalState,
|
160
|
+
_n as useThemeLogic,
|
161
|
+
jn as useTriafly
|
160
162
|
};
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
form .form-controls{margin:28px 0 0;display:flex;gap:12px}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import "./Accordeon.scss";
|
2
|
-
type AccordeonProps = {
|
3
|
-
title?: string;
|
4
|
-
content: React.ReactNode;
|
5
|
-
openTitle?: React.ReactNode;
|
6
|
-
closeTitle?: React.ReactNode;
|
7
|
-
};
|
8
|
-
export declare const Accordeon: React.FC<AccordeonProps>;
|
9
|
-
export {};
|
10
|
-
//# sourceMappingURL=Accordeon.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Accordeon.d.ts","sourceRoot":"","sources":["../../../../src/components/Ui/Accordeon/Accordeon.tsx"],"names":[],"mappings":"AACA,OAAO,kBAAkB,CAAC;AAE1B,KAAK,cAAc,GAAG;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAgC9C,CAAC"}
|