@quen-ui/components 0.0.14
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 +43 -0
- package/dist/Alert/Alert.cjs.js +54 -0
- package/dist/Alert/Alert.d.ts +4 -0
- package/dist/Alert/Alert.es.js +55 -0
- package/dist/Alert/index.d.ts +2 -0
- package/dist/Alert/styles.cjs.js +90 -0
- package/dist/Alert/styles.d.ts +10 -0
- package/dist/Alert/styles.es.js +90 -0
- package/dist/Alert/types.d.ts +25 -0
- package/dist/Avatar/Avatar.cjs.js +65 -0
- package/dist/Avatar/Avatar.d.ts +4 -0
- package/dist/Avatar/Avatar.es.js +66 -0
- package/dist/Avatar/AvatarIcon.svg.cjs.js +21 -0
- package/dist/Avatar/AvatarIcon.svg.es.js +5 -0
- package/dist/Avatar/helpers.cjs.js +18 -0
- package/dist/Avatar/helpers.d.ts +1 -0
- package/dist/Avatar/helpers.es.js +18 -0
- package/dist/Avatar/index.d.ts +2 -0
- package/dist/Avatar/styles.cjs.js +31 -0
- package/dist/Avatar/styles.d.ts +9 -0
- package/dist/Avatar/styles.es.js +31 -0
- package/dist/Avatar/types.d.ts +31 -0
- package/dist/Badge/Badge.cjs.js +53 -0
- package/dist/Badge/Badge.d.ts +4 -0
- package/dist/Badge/Badge.es.js +54 -0
- package/dist/Badge/index.d.ts +3 -0
- package/dist/Badge/styles.cjs.js +70 -0
- package/dist/Badge/styles.d.ts +7 -0
- package/dist/Badge/styles.es.js +70 -0
- package/dist/Badge/types.cjs.js +10 -0
- package/dist/Badge/types.d.ts +22 -0
- package/dist/Badge/types.es.js +10 -0
- package/dist/Breadcrumbs/BreadcrumbItem.cjs.js +42 -0
- package/dist/Breadcrumbs/BreadcrumbItem.d.ts +4 -0
- package/dist/Breadcrumbs/BreadcrumbItem.es.js +43 -0
- package/dist/Breadcrumbs/Breadcrumbs.cjs.js +48 -0
- package/dist/Breadcrumbs/Breadcrumbs.d.ts +4 -0
- package/dist/Breadcrumbs/Breadcrumbs.es.js +49 -0
- package/dist/Breadcrumbs/helpers.cjs.js +18 -0
- package/dist/Breadcrumbs/helpers.d.ts +16 -0
- package/dist/Breadcrumbs/helpers.es.js +18 -0
- package/dist/Breadcrumbs/index.d.ts +2 -0
- package/dist/Breadcrumbs/styles.cjs.js +50 -0
- package/dist/Breadcrumbs/styles.d.ts +4 -0
- package/dist/Breadcrumbs/styles.es.js +50 -0
- package/dist/Breadcrumbs/types.d.ts +56 -0
- package/dist/Button/Button.cjs.js +66 -0
- package/dist/Button/Button.d.ts +4 -0
- package/dist/Button/Button.es.js +67 -0
- package/dist/Button/index.d.ts +2 -0
- package/dist/Button/styles.cjs.js +177 -0
- package/dist/Button/styles.d.ts +7 -0
- package/dist/Button/styles.es.js +177 -0
- package/dist/Button/types.d.ts +38 -0
- package/dist/Card/Card.cjs.js +38 -0
- package/dist/Card/Card.d.ts +3 -0
- package/dist/Card/Card.es.js +39 -0
- package/dist/Card/index.d.ts +2 -0
- package/dist/Card/styles.cjs.js +55 -0
- package/dist/Card/styles.d.ts +11 -0
- package/dist/Card/styles.es.js +55 -0
- package/dist/Card/types.d.ts +26 -0
- package/dist/Checkbox/Checkbox.cjs.js +39 -0
- package/dist/Checkbox/Checkbox.d.ts +4 -0
- package/dist/Checkbox/Checkbox.es.js +40 -0
- package/dist/Checkbox/CheckboxGroup.cjs.js +82 -0
- package/dist/Checkbox/CheckboxGroup.d.ts +4 -0
- package/dist/Checkbox/CheckboxGroup.es.js +83 -0
- package/dist/Checkbox/helpers.cjs.js +14 -0
- package/dist/Checkbox/helpers.d.ts +18 -0
- package/dist/Checkbox/helpers.es.js +14 -0
- package/dist/Checkbox/index.cjs.js +7 -0
- package/dist/Checkbox/index.d.ts +8 -0
- package/dist/Checkbox/index.es.js +7 -0
- package/dist/Checkbox/styles.cjs.js +147 -0
- package/dist/Checkbox/styles.d.ts +13 -0
- package/dist/Checkbox/styles.es.js +147 -0
- package/dist/Checkbox/types.d.ts +67 -0
- package/dist/Divider/Divider.cjs.js +27 -0
- package/dist/Divider/Divider.d.ts +4 -0
- package/dist/Divider/Divider.es.js +28 -0
- package/dist/Divider/index.d.ts +2 -0
- package/dist/Divider/styles.cjs.js +121 -0
- package/dist/Divider/styles.d.ts +3 -0
- package/dist/Divider/styles.es.js +121 -0
- package/dist/Divider/types.d.ts +17 -0
- package/dist/Drawer/Drawer.cjs.js +67 -0
- package/dist/Drawer/Drawer.d.ts +4 -0
- package/dist/Drawer/Drawer.es.js +68 -0
- package/dist/Drawer/index.d.ts +2 -0
- package/dist/Drawer/styles.cjs.js +85 -0
- package/dist/Drawer/styles.d.ts +18 -0
- package/dist/Drawer/styles.es.js +85 -0
- package/dist/Drawer/types.d.ts +24 -0
- package/dist/Dropdown/Dropdown.cjs.js +65 -0
- package/dist/Dropdown/Dropdown.d.ts +4 -0
- package/dist/Dropdown/Dropdown.es.js +66 -0
- package/dist/Dropdown/DropdownItem.cjs.js +32 -0
- package/dist/Dropdown/DropdownItem.d.ts +4 -0
- package/dist/Dropdown/DropdownItem.es.js +33 -0
- package/dist/Dropdown/DropdownList.cjs.js +85 -0
- package/dist/Dropdown/DropdownList.d.ts +6 -0
- package/dist/Dropdown/DropdownList.es.js +86 -0
- package/dist/Dropdown/DropdownPortal.cjs.js +41 -0
- package/dist/Dropdown/DropdownPortal.d.ts +4 -0
- package/dist/Dropdown/DropdownPortal.es.js +42 -0
- package/dist/Dropdown/helpers.cjs.js +112 -0
- package/dist/Dropdown/helpers.d.ts +35 -0
- package/dist/Dropdown/helpers.es.js +112 -0
- package/dist/Dropdown/index.d.ts +2 -0
- package/dist/Dropdown/styles.cjs.js +150 -0
- package/dist/Dropdown/styles.d.ts +33 -0
- package/dist/Dropdown/styles.es.js +150 -0
- package/dist/Dropdown/types.d.ts +81 -0
- package/dist/Flex/Flex.cjs.js +10 -0
- package/dist/Flex/Flex.d.ts +4 -0
- package/dist/Flex/Flex.es.js +11 -0
- package/dist/Flex/index.d.ts +2 -0
- package/dist/Flex/styles.cjs.js +32 -0
- package/dist/Flex/styles.d.ts +2 -0
- package/dist/Flex/styles.es.js +32 -0
- package/dist/Flex/types.d.ts +23 -0
- package/dist/Image/Image.cjs.js +79 -0
- package/dist/Image/Image.d.ts +4 -0
- package/dist/Image/Image.es.js +80 -0
- package/dist/Image/index.d.ts +2 -0
- package/dist/Image/styles.cjs.js +87 -0
- package/dist/Image/styles.d.ts +13 -0
- package/dist/Image/styles.es.js +87 -0
- package/dist/Image/types.d.ts +20 -0
- package/dist/InputNumber/InputNumber.cjs.js +145 -0
- package/dist/InputNumber/InputNumber.d.ts +4 -0
- package/dist/InputNumber/InputNumber.es.js +146 -0
- package/dist/InputNumber/index.d.ts +2 -0
- package/dist/InputNumber/styles.cjs.js +136 -0
- package/dist/InputNumber/styles.d.ts +21 -0
- package/dist/InputNumber/styles.es.js +136 -0
- package/dist/InputNumber/types.d.ts +61 -0
- package/dist/Layout/Content.cjs.js +7 -0
- package/dist/Layout/Content.d.ts +4 -0
- package/dist/Layout/Content.es.js +8 -0
- package/dist/Layout/Footer.cjs.js +7 -0
- package/dist/Layout/Footer.d.ts +4 -0
- package/dist/Layout/Footer.es.js +8 -0
- package/dist/Layout/Header.cjs.js +47 -0
- package/dist/Layout/Header.d.ts +4 -0
- package/dist/Layout/Header.es.js +48 -0
- package/dist/Layout/Layout.cjs.js +49 -0
- package/dist/Layout/Layout.d.ts +5 -0
- package/dist/Layout/Layout.es.js +49 -0
- package/dist/Layout/Sidebar.cjs.js +57 -0
- package/dist/Layout/Sidebar.d.ts +4 -0
- package/dist/Layout/Sidebar.es.js +58 -0
- package/dist/Layout/index.cjs.js +13 -0
- package/dist/Layout/index.d.ts +14 -0
- package/dist/Layout/index.es.js +13 -0
- package/dist/Layout/styles.cjs.js +150 -0
- package/dist/Layout/styles.d.ts +32 -0
- package/dist/Layout/styles.es.js +150 -0
- package/dist/Layout/types.d.ts +75 -0
- package/dist/Loader/Loader.cjs.js +34 -0
- package/dist/Loader/Loader.d.ts +4 -0
- package/dist/Loader/Loader.es.js +35 -0
- package/dist/Loader/index.d.ts +2 -0
- package/dist/Loader/loaders/Bars.cjs.js +12 -0
- package/dist/Loader/loaders/Bars.d.ts +6 -0
- package/dist/Loader/loaders/Bars.es.js +13 -0
- package/dist/Loader/loaders/Dots.cjs.js +12 -0
- package/dist/Loader/loaders/Dots.d.ts +6 -0
- package/dist/Loader/loaders/Dots.es.js +13 -0
- package/dist/Loader/loaders/Oval.cjs.js +8 -0
- package/dist/Loader/loaders/Oval.d.ts +6 -0
- package/dist/Loader/loaders/Oval.es.js +9 -0
- package/dist/Loader/styles.cjs.js +95 -0
- package/dist/Loader/styles.d.ts +9 -0
- package/dist/Loader/styles.es.js +95 -0
- package/dist/Loader/types.d.ts +11 -0
- package/dist/Modal/Modal.cjs.js +67 -0
- package/dist/Modal/Modal.d.ts +4 -0
- package/dist/Modal/Modal.es.js +68 -0
- package/dist/Modal/index.d.ts +2 -0
- package/dist/Modal/styles.cjs.js +52 -0
- package/dist/Modal/styles.d.ts +14 -0
- package/dist/Modal/styles.es.js +52 -0
- package/dist/Modal/types.d.ts +31 -0
- package/dist/Notification/Notification.cjs.js +73 -0
- package/dist/Notification/Notification.d.ts +4 -0
- package/dist/Notification/Notification.es.js +74 -0
- package/dist/Notification/NotificationInstance.cjs.js +244 -0
- package/dist/Notification/NotificationInstance.d.ts +8 -0
- package/dist/Notification/NotificationInstance.es.js +244 -0
- package/dist/Notification/NotificationsStore.cjs.js +30 -0
- package/dist/Notification/NotificationsStore.d.ts +13 -0
- package/dist/Notification/NotificationsStore.es.js +31 -0
- package/dist/Notification/index.d.ts +3 -0
- package/dist/Notification/styles.cjs.js +90 -0
- package/dist/Notification/styles.d.ts +8 -0
- package/dist/Notification/styles.es.js +90 -0
- package/dist/Notification/types.cjs.js +9 -0
- package/dist/Notification/types.d.ts +41 -0
- package/dist/Notification/types.es.js +9 -0
- package/dist/Progress/Progress.cjs.js +43 -0
- package/dist/Progress/Progress.d.ts +4 -0
- package/dist/Progress/Progress.es.js +44 -0
- package/dist/Progress/index.d.ts +2 -0
- package/dist/Progress/styles.cjs.js +82 -0
- package/dist/Progress/styles.d.ts +13 -0
- package/dist/Progress/styles.es.js +82 -0
- package/dist/Progress/types.d.ts +20 -0
- package/dist/RadioButton/RadioButton.cjs.js +45 -0
- package/dist/RadioButton/RadioButton.d.ts +4 -0
- package/dist/RadioButton/RadioButton.es.js +46 -0
- package/dist/RadioButton/RadioButtonGroup.cjs.js +68 -0
- package/dist/RadioButton/RadioButtonGroup.d.ts +4 -0
- package/dist/RadioButton/RadioButtonGroup.es.js +69 -0
- package/dist/RadioButton/helpers.cjs.js +14 -0
- package/dist/RadioButton/helpers.d.ts +18 -0
- package/dist/RadioButton/helpers.es.js +14 -0
- package/dist/RadioButton/index.cjs.js +7 -0
- package/dist/RadioButton/index.d.ts +8 -0
- package/dist/RadioButton/index.es.js +7 -0
- package/dist/RadioButton/styles.cjs.js +84 -0
- package/dist/RadioButton/styles.d.ts +12 -0
- package/dist/RadioButton/styles.es.js +84 -0
- package/dist/RadioButton/types.d.ts +65 -0
- package/dist/Select/Select.cjs.js +114 -0
- package/dist/Select/Select.d.ts +4 -0
- package/dist/Select/Select.es.js +115 -0
- package/dist/Select/helpers.cjs.js +16 -0
- package/dist/Select/helpers.d.ts +138 -0
- package/dist/Select/helpers.es.js +16 -0
- package/dist/Select/index.d.ts +2 -0
- package/dist/Select/styles.cjs.js +415 -0
- package/dist/Select/styles.d.ts +9 -0
- package/dist/Select/styles.es.js +415 -0
- package/dist/Select/types.d.ts +116 -0
- package/dist/Select/useSelect.cjs.js +72 -0
- package/dist/Select/useSelect.d.ts +150 -0
- package/dist/Select/useSelect.es.js +72 -0
- package/dist/Switch/Switch.cjs.js +53 -0
- package/dist/Switch/Switch.d.ts +4 -0
- package/dist/Switch/Switch.es.js +54 -0
- package/dist/Switch/index.d.ts +2 -0
- package/dist/Switch/styles.cjs.js +78 -0
- package/dist/Switch/styles.d.ts +7 -0
- package/dist/Switch/styles.es.js +78 -0
- package/dist/Switch/types.d.ts +25 -0
- package/dist/Tabs/Tab.cjs.js +42 -0
- package/dist/Tabs/Tab.d.ts +4 -0
- package/dist/Tabs/Tab.es.js +43 -0
- package/dist/Tabs/TabPanel.cjs.js +14 -0
- package/dist/Tabs/TabPanel.d.ts +4 -0
- package/dist/Tabs/TabPanel.es.js +15 -0
- package/dist/Tabs/Tabs.cjs.js +21 -0
- package/dist/Tabs/Tabs.d.ts +5 -0
- package/dist/Tabs/Tabs.es.js +21 -0
- package/dist/Tabs/TabsList.cjs.js +12 -0
- package/dist/Tabs/TabsList.d.ts +4 -0
- package/dist/Tabs/TabsList.es.js +13 -0
- package/dist/Tabs/index.cjs.js +10 -0
- package/dist/Tabs/index.d.ts +12 -0
- package/dist/Tabs/index.es.js +11 -0
- package/dist/Tabs/styles.cjs.js +74 -0
- package/dist/Tabs/styles.d.ts +9 -0
- package/dist/Tabs/styles.es.js +74 -0
- package/dist/Tabs/types.d.ts +51 -0
- package/dist/Tag/Tag.cjs.js +39 -0
- package/dist/Tag/Tag.d.ts +4 -0
- package/dist/Tag/Tag.es.js +40 -0
- package/dist/Tag/index.d.ts +2 -0
- package/dist/Tag/styles.cjs.js +51 -0
- package/dist/Tag/styles.d.ts +6 -0
- package/dist/Tag/styles.es.js +51 -0
- package/dist/Tag/types.d.ts +18 -0
- package/dist/TextField/TextField.cjs.js +100 -0
- package/dist/TextField/TextField.d.ts +4 -0
- package/dist/TextField/TextField.es.js +101 -0
- package/dist/TextField/index.d.ts +2 -0
- package/dist/TextField/styles.cjs.js +65 -0
- package/dist/TextField/styles.d.ts +9 -0
- package/dist/TextField/styles.es.js +65 -0
- package/dist/TextField/types.d.ts +41 -0
- package/dist/Textarea/Textarea.cjs.js +103 -0
- package/dist/Textarea/Textarea.d.ts +4 -0
- package/dist/Textarea/Textarea.es.js +104 -0
- package/dist/Textarea/index.d.ts +2 -0
- package/dist/Textarea/styles.cjs.js +80 -0
- package/dist/Textarea/styles.d.ts +9 -0
- package/dist/Textarea/styles.es.js +80 -0
- package/dist/Textarea/types.d.ts +47 -0
- package/dist/Tooltip/Tooltip.cjs.js +69 -0
- package/dist/Tooltip/Tooltip.d.ts +4 -0
- package/dist/Tooltip/Tooltip.es.js +70 -0
- package/dist/Tooltip/index.d.ts +2 -0
- package/dist/Tooltip/styles.cjs.js +232 -0
- package/dist/Tooltip/styles.d.ts +13 -0
- package/dist/Tooltip/styles.es.js +232 -0
- package/dist/Tooltip/types.d.ts +22 -0
- package/dist/assets/icon-arrow-bottom.svg.cjs.js +21 -0
- package/dist/assets/icon-arrow-bottom.svg.es.js +5 -0
- package/dist/assets/icon-close.svg.cjs.js +21 -0
- package/dist/assets/icon-close.svg.es.js +5 -0
- package/dist/assets/icon-error.svg.cjs.js +21 -0
- package/dist/assets/icon-error.svg.es.js +5 -0
- package/dist/assets/icon-info.svg.cjs.js +21 -0
- package/dist/assets/icon-info.svg.es.js +5 -0
- package/dist/assets/icon-lines.svg.cjs.js +21 -0
- package/dist/assets/icon-lines.svg.es.js +5 -0
- package/dist/assets/icon-success.svg.cjs.js +21 -0
- package/dist/assets/icon-success.svg.es.js +5 -0
- package/dist/assets/icon-warning.svg.cjs.js +21 -0
- package/dist/assets/icon-warning.svg.es.js +5 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/index.cjs.js +63 -0
- package/dist/index.d.ts +50 -0
- package/dist/index.es.js +63 -0
- package/dist/types/propsWithAttributes.d.ts +2 -0
- package/dist/types/size.d.ts +2 -0
- package/dist/typography/Text/Text.cjs.js +31 -0
- package/dist/typography/Text/Text.d.ts +4 -0
- package/dist/typography/Text/Text.es.js +32 -0
- package/dist/typography/Text/__stories__/Text.stories.d.ts +9 -0
- package/dist/typography/Text/index.d.ts +2 -0
- package/dist/typography/Text/styles.cjs.js +69 -0
- package/dist/typography/Text/styles.d.ts +2 -0
- package/dist/typography/Text/styles.es.js +69 -0
- package/dist/typography/Text/types.d.ts +22 -0
- package/dist/typography/Title/Title.cjs.js +26 -0
- package/dist/typography/Title/Title.d.ts +4 -0
- package/dist/typography/Title/Title.es.js +27 -0
- package/dist/typography/Title/__stories__/Title.stories.d.ts +9 -0
- package/dist/typography/Title/index.d.ts +2 -0
- package/dist/typography/Title/styles.cjs.js +75 -0
- package/dist/typography/Title/styles.d.ts +2 -0
- package/dist/typography/Title/styles.es.js +75 -0
- package/dist/typography/Title/types.d.ts +22 -0
- package/package.json +71 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const React = require("react");
|
|
3
|
+
function _interopNamespaceDefault(e) {
|
|
4
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
5
|
+
if (e) {
|
|
6
|
+
for (const k in e) {
|
|
7
|
+
if (k !== "default") {
|
|
8
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
9
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: () => e[k]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
n.default = e;
|
|
17
|
+
return Object.freeze(n);
|
|
18
|
+
}
|
|
19
|
+
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
20
|
+
const SvgIconArrowBottom = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M6 9l6 6 6-6", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
21
|
+
module.exports = SvgIconArrowBottom;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgIconArrowBottom = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M6 9l6 6 6-6", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgIconArrowBottom as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const React = require("react");
|
|
3
|
+
function _interopNamespaceDefault(e) {
|
|
4
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
5
|
+
if (e) {
|
|
6
|
+
for (const k in e) {
|
|
7
|
+
if (k !== "default") {
|
|
8
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
9
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: () => e[k]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
n.default = e;
|
|
17
|
+
return Object.freeze(n);
|
|
18
|
+
}
|
|
19
|
+
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
20
|
+
const SvgIconClose = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("line", { x1: 4.5, y1: 4.5, x2: 19.5, y2: 19.5, stroke: "currentColor", strokeWidth: 2 }), /* @__PURE__ */ React__namespace.createElement("line", { x1: 4.5, y1: 19.5, x2: 19.5, y2: 4.5, stroke: "currentColor", strokeWidth: 2 }));
|
|
21
|
+
module.exports = SvgIconClose;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgIconClose = (props) => /* @__PURE__ */ React.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("line", { x1: 4.5, y1: 4.5, x2: 19.5, y2: 19.5, stroke: "currentColor", strokeWidth: 2 }), /* @__PURE__ */ React.createElement("line", { x1: 4.5, y1: 19.5, x2: 19.5, y2: 4.5, stroke: "currentColor", strokeWidth: 2 }));
|
|
3
|
+
export {
|
|
4
|
+
SvgIconClose as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const React = require("react");
|
|
3
|
+
function _interopNamespaceDefault(e) {
|
|
4
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
5
|
+
if (e) {
|
|
6
|
+
for (const k in e) {
|
|
7
|
+
if (k !== "default") {
|
|
8
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
9
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: () => e[k]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
n.default = e;
|
|
17
|
+
return Object.freeze(n);
|
|
18
|
+
}
|
|
19
|
+
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
20
|
+
const SvgIconError = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", stroke: "currentColor", strokeWidth: 1.5, viewBox: "0 0 16 16", ...props }, /* @__PURE__ */ React__namespace.createElement("circle", { cx: 8, cy: 8, r: 7 }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M5.5 5.5l5 5M10.5 5.5l-5 5", strokeLinecap: "round" }));
|
|
21
|
+
module.exports = SvgIconError;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgIconError = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", stroke: "currentColor", strokeWidth: 1.5, viewBox: "0 0 16 16", ...props }, /* @__PURE__ */ React.createElement("circle", { cx: 8, cy: 8, r: 7 }), /* @__PURE__ */ React.createElement("path", { d: "M5.5 5.5l5 5M10.5 5.5l-5 5", strokeLinecap: "round" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgIconError as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const React = require("react");
|
|
3
|
+
function _interopNamespaceDefault(e) {
|
|
4
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
5
|
+
if (e) {
|
|
6
|
+
for (const k in e) {
|
|
7
|
+
if (k !== "default") {
|
|
8
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
9
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: () => e[k]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
n.default = e;
|
|
17
|
+
return Object.freeze(n);
|
|
18
|
+
}
|
|
19
|
+
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
20
|
+
const SvgIconInfo = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", stroke: "currentColor", strokeWidth: 1.5, viewBox: "0 0 16 16", ...props }, /* @__PURE__ */ React__namespace.createElement("circle", { cx: 8, cy: 8, r: 7 }), /* @__PURE__ */ React__namespace.createElement("circle", { cx: 8, cy: 4.5, r: 0.75, fill: "blue" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M8 7.5v3.5", strokeLinecap: "round" }));
|
|
21
|
+
module.exports = SvgIconInfo;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgIconInfo = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", stroke: "currentColor", strokeWidth: 1.5, viewBox: "0 0 16 16", ...props }, /* @__PURE__ */ React.createElement("circle", { cx: 8, cy: 8, r: 7 }), /* @__PURE__ */ React.createElement("circle", { cx: 8, cy: 4.5, r: 0.75, fill: "blue" }), /* @__PURE__ */ React.createElement("path", { d: "M8 7.5v3.5", strokeLinecap: "round" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgIconInfo as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const React = require("react");
|
|
3
|
+
function _interopNamespaceDefault(e) {
|
|
4
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
5
|
+
if (e) {
|
|
6
|
+
for (const k in e) {
|
|
7
|
+
if (k !== "default") {
|
|
8
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
9
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: () => e[k]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
n.default = e;
|
|
17
|
+
return Object.freeze(n);
|
|
18
|
+
}
|
|
19
|
+
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
20
|
+
const SvgIconLines = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("rect", { x: 3, y: 6, width: 18, height: 2, fill: "currentColor" }), /* @__PURE__ */ React__namespace.createElement("rect", { x: 3, y: 11, width: 18, height: 2, fill: "currentColor" }), /* @__PURE__ */ React__namespace.createElement("rect", { x: 3, y: 16, width: 18, height: 2, fill: "currentColor" }));
|
|
21
|
+
module.exports = SvgIconLines;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgIconLines = (props) => /* @__PURE__ */ React.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("rect", { x: 3, y: 6, width: 18, height: 2, fill: "currentColor" }), /* @__PURE__ */ React.createElement("rect", { x: 3, y: 11, width: 18, height: 2, fill: "currentColor" }), /* @__PURE__ */ React.createElement("rect", { x: 3, y: 16, width: 18, height: 2, fill: "currentColor" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgIconLines as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const React = require("react");
|
|
3
|
+
function _interopNamespaceDefault(e) {
|
|
4
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
5
|
+
if (e) {
|
|
6
|
+
for (const k in e) {
|
|
7
|
+
if (k !== "default") {
|
|
8
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
9
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: () => e[k]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
n.default = e;
|
|
17
|
+
return Object.freeze(n);
|
|
18
|
+
}
|
|
19
|
+
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
20
|
+
const SvgIconSuccess = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", stroke: "currentColor", strokeWidth: 1.5, viewBox: "0 0 16 16", ...props }, /* @__PURE__ */ React__namespace.createElement("circle", { cx: 8, cy: 8, r: 7 }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M5 8l2 2 4-4", strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
21
|
+
module.exports = SvgIconSuccess;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgIconSuccess = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", stroke: "currentColor", strokeWidth: 1.5, viewBox: "0 0 16 16", ...props }, /* @__PURE__ */ React.createElement("circle", { cx: 8, cy: 8, r: 7 }), /* @__PURE__ */ React.createElement("path", { d: "M5 8l2 2 4-4", strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgIconSuccess as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const React = require("react");
|
|
3
|
+
function _interopNamespaceDefault(e) {
|
|
4
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
5
|
+
if (e) {
|
|
6
|
+
for (const k in e) {
|
|
7
|
+
if (k !== "default") {
|
|
8
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
9
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: () => e[k]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
n.default = e;
|
|
17
|
+
return Object.freeze(n);
|
|
18
|
+
}
|
|
19
|
+
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
20
|
+
const SvgIconWarning = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", stroke: "currentColor", strokeWidth: 1.5, viewBox: "0 0 16 16", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M8 2l6 11H2L8 2z", strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M8 5.5v3.5", strokeLinecap: "round" }), /* @__PURE__ */ React__namespace.createElement("circle", { cx: 8, cy: 11.5, r: 0.75, fill: "orange" }));
|
|
21
|
+
module.exports = SvgIconWarning;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgIconWarning = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "none", stroke: "currentColor", strokeWidth: 1.5, viewBox: "0 0 16 16", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M8 2l6 11H2L8 2z", strokeLinejoin: "round" }), /* @__PURE__ */ React.createElement("path", { d: "M8 5.5v3.5", strokeLinecap: "round" }), /* @__PURE__ */ React.createElement("circle", { cx: 8, cy: 11.5, r: 0.75, fill: "orange" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgIconWarning as default
|
|
5
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const QUEN_SIZE: readonly ["l", "m", "s", "xs"];
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const Title = require("./typography/Title/Title.cjs.js");
|
|
4
|
+
const Text = require("./typography/Text/Text.cjs.js");
|
|
5
|
+
const Button = require("./Button/Button.cjs.js");
|
|
6
|
+
const Card = require("./Card/Card.cjs.js");
|
|
7
|
+
const Flex = require("./Flex/Flex.cjs.js");
|
|
8
|
+
const index = require("./Layout/index.cjs.js");
|
|
9
|
+
const index$1 = require("./Tabs/index.cjs.js");
|
|
10
|
+
const Alert = require("./Alert/Alert.cjs.js");
|
|
11
|
+
const Avatar = require("./Avatar/Avatar.cjs.js");
|
|
12
|
+
const Badge = require("./Badge/Badge.cjs.js");
|
|
13
|
+
const types = require("./Badge/types.cjs.js");
|
|
14
|
+
const Breadcrumbs = require("./Breadcrumbs/Breadcrumbs.cjs.js");
|
|
15
|
+
const index$2 = require("./Checkbox/index.cjs.js");
|
|
16
|
+
const Divider = require("./Divider/Divider.cjs.js");
|
|
17
|
+
const Drawer = require("./Drawer/Drawer.cjs.js");
|
|
18
|
+
const Dropdown = require("./Dropdown/Dropdown.cjs.js");
|
|
19
|
+
const TextField = require("./TextField/TextField.cjs.js");
|
|
20
|
+
const Image = require("./Image/Image.cjs.js");
|
|
21
|
+
const Loader = require("./Loader/Loader.cjs.js");
|
|
22
|
+
const InputNumber = require("./InputNumber/InputNumber.cjs.js");
|
|
23
|
+
const Select = require("./Select/Select.cjs.js");
|
|
24
|
+
const Modal = require("./Modal/Modal.cjs.js");
|
|
25
|
+
const NotificationInstance = require("./Notification/NotificationInstance.cjs.js");
|
|
26
|
+
const types$1 = require("./Notification/types.cjs.js");
|
|
27
|
+
const Progress = require("./Progress/Progress.cjs.js");
|
|
28
|
+
const index$3 = require("./RadioButton/index.cjs.js");
|
|
29
|
+
const Switch = require("./Switch/Switch.cjs.js");
|
|
30
|
+
const Tag = require("./Tag/Tag.cjs.js");
|
|
31
|
+
const Textarea = require("./Textarea/Textarea.cjs.js");
|
|
32
|
+
const Tooltip = require("./Tooltip/Tooltip.cjs.js");
|
|
33
|
+
exports.Title = Title;
|
|
34
|
+
exports.Text = Text;
|
|
35
|
+
exports.Button = Button;
|
|
36
|
+
exports.Card = Card;
|
|
37
|
+
exports.Flex = Flex;
|
|
38
|
+
exports.Layout = index.Layout;
|
|
39
|
+
exports.Tabs = index$1;
|
|
40
|
+
exports.Alert = Alert;
|
|
41
|
+
exports.Avatar = Avatar;
|
|
42
|
+
exports.Badge = Badge;
|
|
43
|
+
exports.BADGE_COLOR = types.BADGE_COLOR;
|
|
44
|
+
exports.Breadcrumbs = Breadcrumbs;
|
|
45
|
+
exports.Checkbox = index$2.Checkbox;
|
|
46
|
+
exports.Divider = Divider;
|
|
47
|
+
exports.Drawer = Drawer;
|
|
48
|
+
exports.Dropdown = Dropdown;
|
|
49
|
+
exports.TextField = TextField;
|
|
50
|
+
exports.Image = Image;
|
|
51
|
+
exports.Loader = Loader;
|
|
52
|
+
exports.InputNumber = InputNumber;
|
|
53
|
+
exports.Select = Select;
|
|
54
|
+
exports.Modal = Modal;
|
|
55
|
+
exports.NotificationInstance = NotificationInstance.NotificationInstance;
|
|
56
|
+
exports.notifications = NotificationInstance.notifications;
|
|
57
|
+
exports.NOTIFICATION_STATUSES = types$1.NOTIFICATION_STATUSES;
|
|
58
|
+
exports.Progress = Progress;
|
|
59
|
+
exports.RadioButton = index$3.RadioButton;
|
|
60
|
+
exports.Switch = Switch;
|
|
61
|
+
exports.Tag = Tag;
|
|
62
|
+
exports.Textarea = Textarea;
|
|
63
|
+
exports.Tooltip = Tooltip;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export { Title } from './typography/Title';
|
|
2
|
+
export type { ITitleProps, TTitleType, TTitleSize } from './typography/Title';
|
|
3
|
+
export { Text } from './typography/Text';
|
|
4
|
+
export type { ITextProps, TTextType, TTextSize } from './typography/Text';
|
|
5
|
+
export { Button } from './Button';
|
|
6
|
+
export type { TButtonSize, IButtonProps, TButtonView } from './Button';
|
|
7
|
+
export { Card } from './Card';
|
|
8
|
+
export type { ICardProps } from './Card';
|
|
9
|
+
export { Flex } from './Flex';
|
|
10
|
+
export type { IFlexProps } from './Flex';
|
|
11
|
+
export { Layout } from './Layout';
|
|
12
|
+
export type { ILayoutProps, ILayoutSidebarProps, ILayoutHeaderProps, ILayoutMenuItem } from './Layout';
|
|
13
|
+
export { default as Tabs } from './Tabs';
|
|
14
|
+
export { Alert } from './Alert';
|
|
15
|
+
export type { IAlertProps } from './Alert';
|
|
16
|
+
export { Avatar } from './Avatar';
|
|
17
|
+
export type { IAvatarProps } from './Avatar';
|
|
18
|
+
export { Badge, BADGE_COLOR } from './Badge';
|
|
19
|
+
export type { TBadgeColor, IBadgeProps } from './Badge';
|
|
20
|
+
export { Breadcrumbs } from './Breadcrumbs';
|
|
21
|
+
export type { IBreadcrumbItemProps, IBreadcrumbItemDefault, IBreadcrumbsProps, TBreadcrumbPropGetItemIcon, TBreadcrumbPropGetItemOnClick, TBreadcrumbsPropOnItemClick, TBreadcrumbPropGetItemHref, TBreadcrumbPropGetItemLabel, TBreadcrumbsPropGetItemClassname } from './Breadcrumbs';
|
|
22
|
+
export { Checkbox } from './Checkbox';
|
|
23
|
+
export type { ICheckboxGroupProps, ICheckboxProps, TCheckboxGroupPropGetItemKey, TCheckboxGroupPropGetItemValue, TCheckboxGroupPropGetItemLabel, ICheckboxGroupDefaultItem, TCheckboxGroupPropGetItemDisabled } from './Checkbox';
|
|
24
|
+
export { Divider } from './Divider';
|
|
25
|
+
export type { IDividerProps } from './Divider';
|
|
26
|
+
export { Drawer } from './Drawer';
|
|
27
|
+
export type { IDrawerProps } from './Drawer';
|
|
28
|
+
export { Dropdown } from './Dropdown';
|
|
29
|
+
export type { IDropdownMappersItem, IDropdownProps, TDropdownListProps, TDropdownGetItemKey, TDropdownGetItemDisabled, IDropdownDefaultItem, TDropdownDirection, TDropdownOnClick, TDropdownPortalProps, TDropdownSortGroup, TDropdownItemProps, TDropdownGetItemLeftContent, TDropdownGetItemGroupId, TDropdownGetItemLabel, TDropdownGetItemOnClick } from './Dropdown';
|
|
30
|
+
export { TextField, type ITextFieldProps } from './TextField';
|
|
31
|
+
export { Image } from './Image';
|
|
32
|
+
export type { IImageProps } from './Image';
|
|
33
|
+
export { Loader } from './Loader';
|
|
34
|
+
export type { ILoaderProps } from './Loader';
|
|
35
|
+
export { InputNumber } from './InputNumber';
|
|
36
|
+
export type { IInputNumberProps } from './InputNumber';
|
|
37
|
+
export { Select } from './Select';
|
|
38
|
+
export type { ISelectDefaultItem, TSelectGetItemValue, TSelectSingleValue, TSelectGetItemLabel, TMultiSelectItemOnChange, TMultiSelectProps, TSelectGetItemDisabled, TSingleSelectProps, TSelectProps, TMultiSelectValueOnChange, TSingleSelectValueOnChange, TSingleSelectItemOnChange } from './Select';
|
|
39
|
+
export { Modal } from './Modal';
|
|
40
|
+
export type { IModalProps } from './Modal';
|
|
41
|
+
export { NotificationInstance, notifications, NOTIFICATION_STATUSES, type INotificationParams, type INotificationsContext } from './Notification';
|
|
42
|
+
export { Progress } from './Progress';
|
|
43
|
+
export type { IProgressProps } from './Progress';
|
|
44
|
+
export { RadioButton, type IRadioGroupDefaultItem, type TRadioGroupPropGetItemValue, type IRadioButtonProps, type TRadioGroupPropGetItemDisabled, type TRadioGroupPropGetItemLabel, type TRadioGroupPropGetItemKey, type IRadioGroupProps } from './RadioButton';
|
|
45
|
+
export { Switch } from './Switch';
|
|
46
|
+
export type { ISwitchProps } from './Switch';
|
|
47
|
+
export { Tag, type ITagProps } from './Tag';
|
|
48
|
+
export { Textarea, type ITextareaProps } from './Textarea';
|
|
49
|
+
export type { TQuenSize } from './types/size';
|
|
50
|
+
export { Tooltip, type ITooltipProps } from './Tooltip';
|
package/dist/index.es.js
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { default as default2 } from "./typography/Title/Title.es.js";
|
|
2
|
+
import { default as default3 } from "./typography/Text/Text.es.js";
|
|
3
|
+
import { default as default4 } from "./Button/Button.es.js";
|
|
4
|
+
import { default as default5 } from "./Card/Card.es.js";
|
|
5
|
+
import { default as default6 } from "./Flex/Flex.es.js";
|
|
6
|
+
import { Layout } from "./Layout/index.es.js";
|
|
7
|
+
import { default as default7 } from "./Tabs/index.es.js";
|
|
8
|
+
import { default as default8 } from "./Alert/Alert.es.js";
|
|
9
|
+
import { default as default9 } from "./Avatar/Avatar.es.js";
|
|
10
|
+
import { default as default10 } from "./Badge/Badge.es.js";
|
|
11
|
+
import { BADGE_COLOR } from "./Badge/types.es.js";
|
|
12
|
+
import { default as default11 } from "./Breadcrumbs/Breadcrumbs.es.js";
|
|
13
|
+
import { Checkbox } from "./Checkbox/index.es.js";
|
|
14
|
+
import { default as default12 } from "./Divider/Divider.es.js";
|
|
15
|
+
import { default as default13 } from "./Drawer/Drawer.es.js";
|
|
16
|
+
import { default as default14 } from "./Dropdown/Dropdown.es.js";
|
|
17
|
+
import { default as default15 } from "./TextField/TextField.es.js";
|
|
18
|
+
import { default as default16 } from "./Image/Image.es.js";
|
|
19
|
+
import { default as default17 } from "./Loader/Loader.es.js";
|
|
20
|
+
import { default as default18 } from "./InputNumber/InputNumber.es.js";
|
|
21
|
+
import { default as default19 } from "./Select/Select.es.js";
|
|
22
|
+
import { default as default20 } from "./Modal/Modal.es.js";
|
|
23
|
+
import { NotificationInstance, notifications } from "./Notification/NotificationInstance.es.js";
|
|
24
|
+
import { NOTIFICATION_STATUSES } from "./Notification/types.es.js";
|
|
25
|
+
import { default as default21 } from "./Progress/Progress.es.js";
|
|
26
|
+
import { RadioButton } from "./RadioButton/index.es.js";
|
|
27
|
+
import { default as default22 } from "./Switch/Switch.es.js";
|
|
28
|
+
import { default as default23 } from "./Tag/Tag.es.js";
|
|
29
|
+
import { default as default24 } from "./Textarea/Textarea.es.js";
|
|
30
|
+
import { default as default25 } from "./Tooltip/Tooltip.es.js";
|
|
31
|
+
export {
|
|
32
|
+
default8 as Alert,
|
|
33
|
+
default9 as Avatar,
|
|
34
|
+
BADGE_COLOR,
|
|
35
|
+
default10 as Badge,
|
|
36
|
+
default11 as Breadcrumbs,
|
|
37
|
+
default4 as Button,
|
|
38
|
+
default5 as Card,
|
|
39
|
+
Checkbox,
|
|
40
|
+
default12 as Divider,
|
|
41
|
+
default13 as Drawer,
|
|
42
|
+
default14 as Dropdown,
|
|
43
|
+
default6 as Flex,
|
|
44
|
+
default16 as Image,
|
|
45
|
+
default18 as InputNumber,
|
|
46
|
+
Layout,
|
|
47
|
+
default17 as Loader,
|
|
48
|
+
default20 as Modal,
|
|
49
|
+
NOTIFICATION_STATUSES,
|
|
50
|
+
NotificationInstance,
|
|
51
|
+
default21 as Progress,
|
|
52
|
+
RadioButton,
|
|
53
|
+
default19 as Select,
|
|
54
|
+
default22 as Switch,
|
|
55
|
+
default7 as Tabs,
|
|
56
|
+
default23 as Tag,
|
|
57
|
+
default3 as Text,
|
|
58
|
+
default15 as TextField,
|
|
59
|
+
default24 as Textarea,
|
|
60
|
+
default2 as Title,
|
|
61
|
+
default25 as Tooltip,
|
|
62
|
+
notifications
|
|
63
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
+
const React = require("react");
|
|
4
|
+
const styles = require("./styles.cjs.js");
|
|
5
|
+
const Text = ({
|
|
6
|
+
children,
|
|
7
|
+
size = "m",
|
|
8
|
+
color,
|
|
9
|
+
onClick,
|
|
10
|
+
type,
|
|
11
|
+
as,
|
|
12
|
+
className,
|
|
13
|
+
styles: styles$1,
|
|
14
|
+
...props
|
|
15
|
+
}, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
16
|
+
styles.TextStyled,
|
|
17
|
+
{
|
|
18
|
+
ref,
|
|
19
|
+
size,
|
|
20
|
+
color,
|
|
21
|
+
onClick,
|
|
22
|
+
type,
|
|
23
|
+
as,
|
|
24
|
+
styles: styles$1,
|
|
25
|
+
className,
|
|
26
|
+
...props,
|
|
27
|
+
children
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
const Text$1 = React.forwardRef(Text);
|
|
31
|
+
module.exports = Text$1;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { TextStyled } from "./styles.es.js";
|
|
4
|
+
const Text = ({
|
|
5
|
+
children,
|
|
6
|
+
size = "m",
|
|
7
|
+
color,
|
|
8
|
+
onClick,
|
|
9
|
+
type,
|
|
10
|
+
as,
|
|
11
|
+
className,
|
|
12
|
+
styles,
|
|
13
|
+
...props
|
|
14
|
+
}, ref) => /* @__PURE__ */ jsx(
|
|
15
|
+
TextStyled,
|
|
16
|
+
{
|
|
17
|
+
ref,
|
|
18
|
+
size,
|
|
19
|
+
color,
|
|
20
|
+
onClick,
|
|
21
|
+
type,
|
|
22
|
+
as,
|
|
23
|
+
styles,
|
|
24
|
+
className,
|
|
25
|
+
...props,
|
|
26
|
+
children
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
const Text$1 = forwardRef(Text);
|
|
30
|
+
export {
|
|
31
|
+
Text$1 as default
|
|
32
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const styled = require("styled-components");
|
|
4
|
+
const getFonts = (size, theme) => {
|
|
5
|
+
switch (size) {
|
|
6
|
+
case "xl":
|
|
7
|
+
return styled.css`
|
|
8
|
+
font-size: ${theme.fonts.text.size["xl"]};
|
|
9
|
+
line-height: ${theme.fonts.text.lineHeight["xl"]};
|
|
10
|
+
font-weight: ${theme.fonts.text.weight};
|
|
11
|
+
`;
|
|
12
|
+
case "l":
|
|
13
|
+
return styled.css`
|
|
14
|
+
font-size: ${theme.fonts.text.size["l"]};
|
|
15
|
+
line-height: ${theme.fonts.text.lineHeight["l"]};
|
|
16
|
+
font-weight: ${theme.fonts.text.weight};
|
|
17
|
+
`;
|
|
18
|
+
case "m":
|
|
19
|
+
return styled.css`
|
|
20
|
+
font-size: ${theme.fonts.text.size["m"]};
|
|
21
|
+
line-height: ${theme.fonts.text.lineHeight["m"]};
|
|
22
|
+
font-weight: ${theme.fonts.text.weight};
|
|
23
|
+
`;
|
|
24
|
+
case "s":
|
|
25
|
+
return styled.css`
|
|
26
|
+
font-size: ${theme.fonts.text.size["s"]};
|
|
27
|
+
line-height: ${theme.fonts.text.lineHeight["s"]};
|
|
28
|
+
font-weight: ${theme.fonts.text.weight};
|
|
29
|
+
`;
|
|
30
|
+
case "xs":
|
|
31
|
+
return styled.css`
|
|
32
|
+
font-size: ${theme.fonts.text.size["xs"]};
|
|
33
|
+
line-height: ${theme.fonts.text.lineHeight["xs"]};
|
|
34
|
+
font-weight: ${theme.fonts.text.weight};
|
|
35
|
+
`;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
const getColor = ({
|
|
39
|
+
type,
|
|
40
|
+
color,
|
|
41
|
+
theme
|
|
42
|
+
}) => {
|
|
43
|
+
if (color) {
|
|
44
|
+
return color;
|
|
45
|
+
} else {
|
|
46
|
+
switch (type) {
|
|
47
|
+
case "secondary":
|
|
48
|
+
return theme.colors.gray["5"];
|
|
49
|
+
case "success":
|
|
50
|
+
return theme.colors.green["6"];
|
|
51
|
+
case "warning":
|
|
52
|
+
return theme.colors.orange["6"];
|
|
53
|
+
case "danger":
|
|
54
|
+
return theme.colors.red["6"];
|
|
55
|
+
case "disabled":
|
|
56
|
+
return theme.colors.gray["4"];
|
|
57
|
+
default:
|
|
58
|
+
return theme.textColor;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
const TextStyled = styled.span.attrs({
|
|
63
|
+
className: "quen-ui__text"
|
|
64
|
+
})`
|
|
65
|
+
margin: 0;
|
|
66
|
+
${({ theme, size = "m" }) => getFonts(size, theme)};
|
|
67
|
+
color: ${({ color, type, theme }) => getColor({ color, theme, type })};
|
|
68
|
+
`;
|
|
69
|
+
exports.TextStyled = TextStyled;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { ITextProps } from './types';
|
|
2
|
+
export declare const TextStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>, never>, ITextProps>> & string;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import styled, { css } from "styled-components";
|
|
2
|
+
const getFonts = (size, theme) => {
|
|
3
|
+
switch (size) {
|
|
4
|
+
case "xl":
|
|
5
|
+
return css`
|
|
6
|
+
font-size: ${theme.fonts.text.size["xl"]};
|
|
7
|
+
line-height: ${theme.fonts.text.lineHeight["xl"]};
|
|
8
|
+
font-weight: ${theme.fonts.text.weight};
|
|
9
|
+
`;
|
|
10
|
+
case "l":
|
|
11
|
+
return css`
|
|
12
|
+
font-size: ${theme.fonts.text.size["l"]};
|
|
13
|
+
line-height: ${theme.fonts.text.lineHeight["l"]};
|
|
14
|
+
font-weight: ${theme.fonts.text.weight};
|
|
15
|
+
`;
|
|
16
|
+
case "m":
|
|
17
|
+
return css`
|
|
18
|
+
font-size: ${theme.fonts.text.size["m"]};
|
|
19
|
+
line-height: ${theme.fonts.text.lineHeight["m"]};
|
|
20
|
+
font-weight: ${theme.fonts.text.weight};
|
|
21
|
+
`;
|
|
22
|
+
case "s":
|
|
23
|
+
return css`
|
|
24
|
+
font-size: ${theme.fonts.text.size["s"]};
|
|
25
|
+
line-height: ${theme.fonts.text.lineHeight["s"]};
|
|
26
|
+
font-weight: ${theme.fonts.text.weight};
|
|
27
|
+
`;
|
|
28
|
+
case "xs":
|
|
29
|
+
return css`
|
|
30
|
+
font-size: ${theme.fonts.text.size["xs"]};
|
|
31
|
+
line-height: ${theme.fonts.text.lineHeight["xs"]};
|
|
32
|
+
font-weight: ${theme.fonts.text.weight};
|
|
33
|
+
`;
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
const getColor = ({
|
|
37
|
+
type,
|
|
38
|
+
color,
|
|
39
|
+
theme
|
|
40
|
+
}) => {
|
|
41
|
+
if (color) {
|
|
42
|
+
return color;
|
|
43
|
+
} else {
|
|
44
|
+
switch (type) {
|
|
45
|
+
case "secondary":
|
|
46
|
+
return theme.colors.gray["5"];
|
|
47
|
+
case "success":
|
|
48
|
+
return theme.colors.green["6"];
|
|
49
|
+
case "warning":
|
|
50
|
+
return theme.colors.orange["6"];
|
|
51
|
+
case "danger":
|
|
52
|
+
return theme.colors.red["6"];
|
|
53
|
+
case "disabled":
|
|
54
|
+
return theme.colors.gray["4"];
|
|
55
|
+
default:
|
|
56
|
+
return theme.textColor;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
const TextStyled = styled.span.attrs({
|
|
61
|
+
className: "quen-ui__text"
|
|
62
|
+
})`
|
|
63
|
+
margin: 0;
|
|
64
|
+
${({ theme, size = "m" }) => getFonts(size, theme)};
|
|
65
|
+
color: ${({ color, type, theme }) => getColor({ color, theme, type })};
|
|
66
|
+
`;
|
|
67
|
+
export {
|
|
68
|
+
TextStyled
|
|
69
|
+
};
|