@algolia/satellite 2.3.0-rc.9 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Actions/Accordion/Accordion.d.ts +8 -0
- package/dist/cjs/Actions/Accordion/Accordion.js +104 -57
- package/dist/cjs/Actions/Accordion/Accordion.styles.d.ts +170 -0
- package/dist/cjs/Actions/Accordion/Accordion.styles.js +57 -0
- package/dist/cjs/Actions/Button/PolymorphicButton.js +5 -5
- package/dist/cjs/Actions/Button/PolymorphicIconButton.js +2 -2
- package/dist/cjs/Actions/Button/styles.d.ts +1 -0
- package/dist/cjs/Actions/Button/styles.js +15 -10
- package/dist/cjs/Actions/SegmentedControl/SegmentedControl.js +3 -2
- package/dist/cjs/Actions/SegmentedControl/SegmentedControlOption.js +6 -3
- package/dist/cjs/Actions/ToggleButton/ToggleButtonBase.js +3 -3
- package/dist/cjs/Chat/ChatContextAccordion/ChatContextAccordion.styles.d.ts +4 -4
- package/dist/cjs/Chat/ChatMessage/ChatMessage.d.ts +1 -1
- package/dist/cjs/Chat/ChatMessage/ChatMessage.styles.d.ts +1 -1
- package/dist/cjs/Chat/ChatMessageError/ChatMessageError.styles.d.ts +2 -2
- package/dist/cjs/Chat/ChatMessageLoader/ChatMessageLoader.styles.d.ts +2 -2
- package/dist/cjs/Fields/Field/Field.js +3 -3
- package/dist/cjs/Fields/Input/Input.js +10 -13
- package/dist/cjs/Fields/RadioGroup/RadioGroupContext.d.ts +2 -0
- package/dist/cjs/Fields/Switch/Switch.tailwind.js +9 -9
- package/dist/cjs/Fields/TextArea/TextArea.tailwind.js +3 -3
- package/dist/cjs/Helpers/MarkdownContent/MarkdownContent.d.ts +22 -0
- package/dist/cjs/Helpers/MarkdownContent/MarkdownContent.js +35 -0
- package/dist/cjs/Helpers/MarkdownContent/MarkdownContent.tailwind.d.ts +5 -0
- package/dist/cjs/Helpers/MarkdownContent/MarkdownContent.tailwind.js +138 -0
- package/dist/cjs/Helpers/MarkdownContent/index.d.ts +1 -0
- package/dist/cjs/Helpers/MarkdownContent/index.js +16 -0
- package/dist/cjs/Helpers/UserContent/UserContent.tailwind.js +1 -3
- package/dist/cjs/Helpers/index.d.ts +1 -0
- package/dist/cjs/Helpers/index.js +11 -0
- package/dist/cjs/Icons/index.d.ts +1 -1
- package/dist/cjs/Icons/index.js +6 -0
- package/dist/cjs/Illustrations/index.d.ts +7 -0
- package/dist/cjs/Illustrations/index.js +1254 -0
- package/dist/cjs/Indicators/EmptyState/EmptyState.js +35 -2
- package/dist/cjs/Indicators/EmptyState/types.d.ts +4 -3
- package/dist/cjs/Overlay/MenuButton/MenuButton.d.ts +23 -7
- package/dist/cjs/Overlay/Modal/Modal.js +8 -8
- package/dist/cjs/Overlay/Modal/components/ModalFooter.js +2 -7
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +12 -0
- package/dist/cjs/styles/helpers/prefixTailwindClassName.js +7 -1
- package/dist/cjs/styles/tailwind.config.js +1 -1
- package/dist/cjs/types.d.ts +7 -0
- package/dist/cjs/utils/isCssPropertySupported.d.ts +1 -1
- package/dist/esm/Actions/Accordion/Accordion.d.ts +8 -0
- package/dist/esm/Actions/Accordion/Accordion.js +105 -58
- package/dist/esm/Actions/Accordion/Accordion.styles.d.ts +170 -0
- package/dist/esm/Actions/Accordion/Accordion.styles.js +50 -0
- package/dist/esm/Actions/Button/PolymorphicButton.js +6 -6
- package/dist/esm/Actions/Button/PolymorphicIconButton.js +2 -2
- package/dist/esm/Actions/Button/styles.d.ts +1 -0
- package/dist/esm/Actions/Button/styles.js +14 -9
- package/dist/esm/Actions/SegmentedControl/SegmentedControl.js +3 -2
- package/dist/esm/Actions/SegmentedControl/SegmentedControlOption.js +6 -3
- package/dist/esm/Actions/ToggleButton/ToggleButtonBase.js +4 -4
- package/dist/esm/Chat/ChatContextAccordion/ChatContextAccordion.styles.d.ts +4 -4
- package/dist/esm/Chat/ChatMessage/ChatMessage.d.ts +1 -1
- package/dist/esm/Chat/ChatMessage/ChatMessage.styles.d.ts +1 -1
- package/dist/esm/Chat/ChatMessageError/ChatMessageError.styles.d.ts +2 -2
- package/dist/esm/Chat/ChatMessageLoader/ChatMessageLoader.styles.d.ts +2 -2
- package/dist/esm/Fields/Field/Field.js +3 -3
- package/dist/esm/Fields/Input/Input.js +10 -13
- package/dist/esm/Fields/RadioGroup/RadioGroupContext.d.ts +2 -0
- package/dist/esm/Fields/Switch/Switch.tailwind.js +9 -9
- package/dist/esm/Fields/TextArea/TextArea.tailwind.js +3 -3
- package/dist/esm/Helpers/MarkdownContent/MarkdownContent.d.ts +22 -0
- package/dist/esm/Helpers/MarkdownContent/MarkdownContent.js +28 -0
- package/dist/esm/Helpers/MarkdownContent/MarkdownContent.tailwind.d.ts +5 -0
- package/dist/esm/Helpers/MarkdownContent/MarkdownContent.tailwind.js +138 -0
- package/dist/esm/Helpers/MarkdownContent/index.d.ts +1 -0
- package/dist/esm/Helpers/MarkdownContent/index.js +1 -0
- package/dist/esm/Helpers/UserContent/UserContent.tailwind.js +1 -3
- package/dist/esm/Helpers/index.d.ts +1 -0
- package/dist/esm/Helpers/index.js +2 -1
- package/dist/esm/Icons/index.d.ts +1 -1
- package/dist/esm/Icons/index.js +1 -1
- package/dist/esm/Illustrations/index.d.ts +7 -0
- package/dist/esm/Illustrations/index.js +1248 -0
- package/dist/esm/Indicators/EmptyState/EmptyState.js +35 -2
- package/dist/esm/Indicators/EmptyState/types.d.ts +4 -3
- package/dist/esm/Overlay/MenuButton/MenuButton.d.ts +23 -7
- package/dist/esm/Overlay/Modal/Modal.js +8 -8
- package/dist/esm/Overlay/Modal/components/ModalFooter.js +2 -7
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/styles/helpers/prefixTailwindClassName.js +7 -1
- package/dist/esm/styles/tailwind.config.js +1 -1
- package/dist/esm/types.d.ts +7 -0
- package/dist/esm/utils/isCssPropertySupported.d.ts +1 -1
- package/dist/satellite.min.css +1 -1
- package/package.json +4 -4
@@ -2,12 +2,12 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
3
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
4
4
|
var _excluded = ["className", "size", "icon", "children", "label"];
|
5
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10
|
5
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10;
|
6
6
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
7
7
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
8
8
|
import cx from "clsx";
|
9
9
|
import { forwardRef } from "react";
|
10
|
-
import { BUTTON_SIZE_CLASSNAMES } from "./../Button/styles";
|
10
|
+
import { BUTTON_PADDING_CLASSNAMES, BUTTON_SIZE_CLASSNAMES } from "./../Button/styles";
|
11
11
|
import { TooltipWrapper } from "./../../Overlay";
|
12
12
|
import stl from "./../../styles/helpers/satellitePrefixer";
|
13
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -37,11 +37,11 @@ export var ToggleButtonBase = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
37
37
|
ref: ref,
|
38
38
|
type: "button",
|
39
39
|
"aria-label": label,
|
40
|
-
className: cx(stl(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["inline-flex items-center justify-center gap-1 min-w-min whitespace-nowrap typo-display-body"]))), stl(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["group/toggle-button rounded focusable-visible focus-visible:border-transparent disabled:cursor-not-allowed"]))), stl(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["data-[state=on]:text-accent-600 disabled:!text-grey-300"]))), stl(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["bg-white data-[state=off]:hover:bg-grey-100 data-[state=on]:bg-accent-100 disabled:!bg-grey-50"]))), stl(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["border border-grey-200 data-[state=on]:border-accent-600 disabled:!border-grey-200"]))), !isIconOnly &&
|
40
|
+
className: cx(stl(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["inline-flex items-center justify-center gap-1 min-w-min whitespace-nowrap typo-display-body"]))), stl(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["group/toggle-button rounded focusable-visible focus-visible:border-transparent disabled:cursor-not-allowed"]))), stl(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["data-[state=on]:text-accent-600 disabled:!text-grey-300"]))), stl(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["bg-white data-[state=off]:hover:bg-grey-100 data-[state=on]:bg-accent-100 disabled:!bg-grey-50"]))), stl(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["border border-grey-200 data-[state=on]:border-accent-600 disabled:!border-grey-200"]))), !isIconOnly && BUTTON_PADDING_CLASSNAMES[size], isIconOnly ? ICON_ONLY_CLASSNAMES[size] : BUTTON_SIZE_CLASSNAMES[size], className)
|
41
41
|
}, rest), {}, {
|
42
42
|
children: [!!Icon && /*#__PURE__*/_jsx(Icon, {
|
43
43
|
"aria-hidden": "true",
|
44
|
-
className: stl(
|
44
|
+
className: stl(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["shrink-0 h-4 w-4 text-grey-600 group-data-[state=on]/toggle-button:text-inherit group-disabled/toggle-button:text-inherit"])))
|
45
45
|
}), !!children && /*#__PURE__*/_jsx("div", {
|
46
46
|
children: children
|
47
47
|
})]
|
@@ -7,8 +7,8 @@ export declare const chatContextAccordionStyles: import("tailwind-variants").TVR
|
|
7
7
|
content?: import("tailwind-merge").ClassNameValue;
|
8
8
|
item?: import("tailwind-merge").ClassNameValue;
|
9
9
|
trigger?: import("tailwind-merge").ClassNameValue;
|
10
|
-
iconBg?: import("tailwind-merge").ClassNameValue;
|
11
10
|
titleWrapper?: import("tailwind-merge").ClassNameValue;
|
11
|
+
iconBg?: import("tailwind-merge").ClassNameValue;
|
12
12
|
};
|
13
13
|
};
|
14
14
|
} | {
|
@@ -20,8 +20,8 @@ export declare const chatContextAccordionStyles: import("tailwind-variants").TVR
|
|
20
20
|
content?: import("tailwind-merge").ClassNameValue;
|
21
21
|
item?: import("tailwind-merge").ClassNameValue;
|
22
22
|
trigger?: import("tailwind-merge").ClassNameValue;
|
23
|
-
iconBg?: import("tailwind-merge").ClassNameValue;
|
24
23
|
titleWrapper?: import("tailwind-merge").ClassNameValue;
|
24
|
+
iconBg?: import("tailwind-merge").ClassNameValue;
|
25
25
|
};
|
26
26
|
};
|
27
27
|
} | {}, {
|
@@ -48,8 +48,8 @@ export declare const chatContextAccordionStyles: import("tailwind-variants").TVR
|
|
48
48
|
content?: import("tailwind-merge").ClassNameValue;
|
49
49
|
item?: import("tailwind-merge").ClassNameValue;
|
50
50
|
trigger?: import("tailwind-merge").ClassNameValue;
|
51
|
-
iconBg?: import("tailwind-merge").ClassNameValue;
|
52
51
|
titleWrapper?: import("tailwind-merge").ClassNameValue;
|
52
|
+
iconBg?: import("tailwind-merge").ClassNameValue;
|
53
53
|
};
|
54
54
|
};
|
55
55
|
} | {}, {
|
@@ -79,8 +79,8 @@ export declare const chatContextAccordionStyles: import("tailwind-variants").TVR
|
|
79
79
|
content?: import("tailwind-merge").ClassNameValue;
|
80
80
|
item?: import("tailwind-merge").ClassNameValue;
|
81
81
|
trigger?: import("tailwind-merge").ClassNameValue;
|
82
|
-
iconBg?: import("tailwind-merge").ClassNameValue;
|
83
82
|
titleWrapper?: import("tailwind-merge").ClassNameValue;
|
83
|
+
iconBg?: import("tailwind-merge").ClassNameValue;
|
84
84
|
};
|
85
85
|
};
|
86
86
|
} | {}>, unknown, unknown, undefined>>;
|
@@ -62,7 +62,7 @@ export declare type ChatMessageProps<ActionsExtraData extends Record<string, any
|
|
62
62
|
*
|
63
63
|
* See the [ChatMessage documentation page](https://satellite.algolia.com/8261d6576/p/06f740-chat-message) for more information.
|
64
64
|
*/
|
65
|
-
export declare const ChatMessage: <ActionsExtraData extends Record<string, any> = Record<string, any>>(props: Omit<HTMLAttributes<HTMLElement>, "
|
65
|
+
export declare const ChatMessage: <ActionsExtraData extends Record<string, any> = Record<string, any>>(props: Omit<HTMLAttributes<HTMLElement>, "content" | "children"> & {
|
66
66
|
/**
|
67
67
|
* The content of the message.
|
68
68
|
*/
|
@@ -34,8 +34,8 @@ export declare const chatMessageStyles: import("tailwind-variants").TVReturnType
|
|
34
34
|
footer: string;
|
35
35
|
}, undefined, {
|
36
36
|
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
37
|
-
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
38
37
|
leading?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
38
|
+
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
39
39
|
side?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
40
40
|
actions?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
41
41
|
autoHideActions?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
@@ -40,8 +40,8 @@ export declare const chatMessageErrorStyles: import("tailwind-variants").TVRetur
|
|
40
40
|
content: string;
|
41
41
|
}, undefined, {
|
42
42
|
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
43
|
-
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
44
43
|
leading?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
44
|
+
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
45
45
|
side?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
46
46
|
actions?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
47
47
|
autoHideActions?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
@@ -120,8 +120,8 @@ export declare const chatMessageErrorStyles: import("tailwind-variants").TVRetur
|
|
120
120
|
footer: string;
|
121
121
|
}, undefined, {
|
122
122
|
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
123
|
-
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
124
123
|
leading?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
124
|
+
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
125
125
|
side?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
126
126
|
actions?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
127
127
|
autoHideActions?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
@@ -67,8 +67,8 @@ export declare const chatMessageLoaderStyles: import("tailwind-variants").TVRetu
|
|
67
67
|
skeleton: string;
|
68
68
|
}, undefined, {
|
69
69
|
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
70
|
-
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
71
70
|
leading?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
71
|
+
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
72
72
|
side?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
73
73
|
actions?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
74
74
|
autoHideActions?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
@@ -147,8 +147,8 @@ export declare const chatMessageLoaderStyles: import("tailwind-variants").TVRetu
|
|
147
147
|
footer: string;
|
148
148
|
}, undefined, {
|
149
149
|
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
150
|
-
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
151
150
|
leading?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
151
|
+
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
152
152
|
side?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
153
153
|
actions?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
154
154
|
autoHideActions?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
3
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8
|
3
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
4
4
|
import cx from "clsx";
|
5
5
|
import { useEffect, useMemo, useState } from "react";
|
6
6
|
import { DEFAULT_FIELD_STATE, FieldContext } from "./FieldContext";
|
@@ -104,7 +104,7 @@ export var Field = function Field(_ref) {
|
|
104
104
|
children: "*"
|
105
105
|
})]
|
106
106
|
}), /*#__PURE__*/_jsx("div", {
|
107
|
-
className: cx(inline && stl(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["ml-auto
|
107
|
+
className: cx(inline && stl(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["ml-auto flex items-center"])))),
|
108
108
|
children: children
|
109
109
|
})]
|
110
110
|
}), state.status === "invalid" && state.errors.length > 0 ? /*#__PURE__*/_jsx("ul", {
|
@@ -123,7 +123,7 @@ export var Field = function Field(_ref) {
|
|
123
123
|
})
|
124
124
|
}) : description ? /*#__PURE__*/_jsx("p", {
|
125
125
|
id: descriptionId,
|
126
|
-
className:
|
126
|
+
className: stl(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["display-caption text-grey-600 mt-1"]))),
|
127
127
|
children: description
|
128
128
|
}) : null]
|
129
129
|
})
|
@@ -3,7 +3,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
4
4
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
5
5
|
var _excluded = ["className", "style", "startIcon", "endItem", "disabled", "readOnly", "clearable", "type", "variant", "locale", "required"];
|
6
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
|
6
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18;
|
7
7
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
8
8
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
9
9
|
import cx from "clsx";
|
@@ -102,7 +102,6 @@ export var Input = /*#__PURE__*/forwardRef(function (_ref, externalRef) {
|
|
102
102
|
}
|
103
103
|
}, [inputProps.value, isControlled]);
|
104
104
|
var Icon = startIcon ? startIcon : type === "search" ? SearchIcon : undefined;
|
105
|
-
var iconSize = variant === "small" ? "1rem" : "1.5rem";
|
106
105
|
var isInvalid = status === "invalid";
|
107
106
|
var StatusIcon = isInvalid ? InvalidIcon : status === "validated" ? ValidatedIcon : Fragment;
|
108
107
|
var clearable = typeof clearableProp === "boolean" ? clearableProp : type === "search";
|
@@ -116,11 +115,9 @@ export var Input = /*#__PURE__*/forwardRef(function (_ref, externalRef) {
|
|
116
115
|
}
|
117
116
|
},
|
118
117
|
children: [Icon && /*#__PURE__*/_jsx(Icon, {
|
119
|
-
className: stl(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["ml-4 shrink-0 ", ""])), disabled ? "text-grey-300" : focused ? "text-accent-600" : "text-grey-500")
|
120
|
-
width: iconSize,
|
121
|
-
height: iconSize
|
118
|
+
className: stl(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["ml-4 shrink-0 size-4 ", ""])), disabled ? "text-grey-300" : focused ? "text-accent-600" : "text-grey-500")
|
122
119
|
}), /*#__PURE__*/_jsx("input", _objectSpread(_objectSpread({
|
123
|
-
className: stl(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["
|
120
|
+
className: cx(stl(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["no-search-input-decoration"]))), Icon ? stl(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["mx-2"]))) : stl(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["mx-4"])))),
|
124
121
|
ref: inputRefCallback,
|
125
122
|
type: type,
|
126
123
|
"aria-labelledby": labelId,
|
@@ -149,7 +146,7 @@ export var Input = /*#__PURE__*/forwardRef(function (_ref, externalRef) {
|
|
149
146
|
(_inputProps$onBlur = inputProps.onBlur) === null || _inputProps$onBlur === void 0 || _inputProps$onBlur.call(inputProps, evt);
|
150
147
|
}
|
151
148
|
})), clearable && !disabled && !readOnly && !isValueEmpty ? /*#__PURE__*/_jsx(IconButton, {
|
152
|
-
className: stl(
|
149
|
+
className: stl(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["mr-2 ", ""])), focused ? "visible" : "invisible group-hover:visible"),
|
153
150
|
title: locale.clearInput,
|
154
151
|
icon: XIcon,
|
155
152
|
variant: "subtle",
|
@@ -161,15 +158,15 @@ export var Input = /*#__PURE__*/forwardRef(function (_ref, externalRef) {
|
|
161
158
|
triggerInputChange("");
|
162
159
|
}
|
163
160
|
}) : null, !!endItem && /*#__PURE__*/_jsx("div", {
|
164
|
-
className: stl(
|
161
|
+
className: stl(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["mr-4"]))),
|
165
162
|
children: endItem
|
166
163
|
}), /*#__PURE__*/_jsx(StatusIcon, {}), type === "number" && !disabled && /*#__PURE__*/_jsxs("div", {
|
167
|
-
className: stl(
|
164
|
+
className: stl(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["input-spinner"]))),
|
168
165
|
children: [/*#__PURE__*/_jsx("button", {
|
169
166
|
tabIndex: -1,
|
170
167
|
type: "button",
|
171
168
|
disabled: readOnly,
|
172
|
-
className: stl(
|
169
|
+
className: stl(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["input-spinner-button ", ""])), readOnly && "cursor-not-allowed"),
|
173
170
|
"aria-label": locale.increment,
|
174
171
|
onClick: function onClick() {
|
175
172
|
var _inputRef$current$val, _inputRef$current2;
|
@@ -187,13 +184,13 @@ export var Input = /*#__PURE__*/forwardRef(function (_ref, externalRef) {
|
|
187
184
|
},
|
188
185
|
children: /*#__PURE__*/_jsx(ChevronUpIcon, {
|
189
186
|
size: 12,
|
190
|
-
className: cx(isInvalid && stl(
|
187
|
+
className: cx(isInvalid && stl(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["text-red-700"]))))
|
191
188
|
})
|
192
189
|
}), /*#__PURE__*/_jsx("button", {
|
193
190
|
tabIndex: -1,
|
194
191
|
type: "button",
|
195
192
|
disabled: readOnly,
|
196
|
-
className: stl(
|
193
|
+
className: stl(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["input-spinner-button ", ""])), readOnly && "cursor-not-allowed"),
|
197
194
|
"aria-label": locale.decrement,
|
198
195
|
onClick: function onClick() {
|
199
196
|
var _inputRef$current$val2, _inputRef$current3;
|
@@ -211,7 +208,7 @@ export var Input = /*#__PURE__*/forwardRef(function (_ref, externalRef) {
|
|
211
208
|
},
|
212
209
|
children: /*#__PURE__*/_jsx(ChevronDownIcon, {
|
213
210
|
size: 12,
|
214
|
-
className: cx(isInvalid && stl(
|
211
|
+
className: cx(isInvalid && stl(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["text-red-700"]))))
|
215
212
|
})
|
216
213
|
})]
|
217
214
|
})]
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import type { ForwardedRef } from "react";
|
2
|
+
import type { ButtonSize } from "../../Actions/Button/types";
|
2
3
|
import type { FieldState } from "../../Fields/Field";
|
3
4
|
export interface RadioGroupContextType {
|
4
5
|
id?: string;
|
@@ -13,6 +14,7 @@ export interface RadioGroupContextType {
|
|
13
14
|
descriptionId?: string;
|
14
15
|
state?: FieldState;
|
15
16
|
ref?: ForwardedRef<HTMLInputElement>;
|
17
|
+
size?: ButtonSize;
|
16
18
|
}
|
17
19
|
export declare const RadioGroupContext: import("react").Context<RadioGroupContextType | null>;
|
18
20
|
export declare const useRadioGroupContext: () => RadioGroupContextType;
|
@@ -11,8 +11,8 @@ var switchPlugin = plugin(function (_ref) {
|
|
11
11
|
".switch-container": {
|
12
12
|
position: "relative",
|
13
13
|
display: "block",
|
14
|
-
height: "
|
15
|
-
width: "
|
14
|
+
height: "24px",
|
15
|
+
width: "43px",
|
16
16
|
".switch-handle": {
|
17
17
|
position: "absolute",
|
18
18
|
top: "0px",
|
@@ -29,13 +29,13 @@ var switchPlugin = plugin(function (_ref) {
|
|
29
29
|
transform: "translateX(2px)"
|
30
30
|
},
|
31
31
|
"&:hover .switch-handle.switch-checked ~ .switch:after": {
|
32
|
-
transform: "translateX(
|
32
|
+
transform: "translateX(17px)"
|
33
33
|
},
|
34
34
|
"&:hover .switch-handle.switch-disabled ~ .switch:after": {
|
35
35
|
transform: "translateX(0px)"
|
36
36
|
},
|
37
37
|
"&:hover .switch-handle.switch-checked.switch-disabled ~ .switch:after": {
|
38
|
-
transform: "translateX(
|
38
|
+
transform: "translateX(19px)"
|
39
39
|
}
|
40
40
|
},
|
41
41
|
".switch": {
|
@@ -51,10 +51,10 @@ var switchPlugin = plugin(function (_ref) {
|
|
51
51
|
transition: transition,
|
52
52
|
"&::after": {
|
53
53
|
position: "absolute",
|
54
|
-
top: "
|
55
|
-
left: "
|
56
|
-
width: "
|
57
|
-
height: "
|
54
|
+
top: "2px",
|
55
|
+
left: "2px",
|
56
|
+
width: "20px",
|
57
|
+
height: "20px",
|
58
58
|
content: '" "',
|
59
59
|
borderRadius: "9999px",
|
60
60
|
background: "linear-gradient(-180deg, ".concat(theme("colors.white"), " 0%, ").concat(theme("colors.grey.50"), " 100%)"),
|
@@ -65,7 +65,7 @@ var switchPlugin = plugin(function (_ref) {
|
|
65
65
|
background: theme("colors.accent.600"),
|
66
66
|
boxShadow: "inset 0px 1px 4px 0px ".concat(rgba(theme("colors.grey.900"), 0.1)),
|
67
67
|
"&:after": {
|
68
|
-
transform: "translateX(
|
68
|
+
transform: "translateX(19px)"
|
69
69
|
}
|
70
70
|
},
|
71
71
|
".switch-handle.switch-disabled ~ &": {
|
@@ -15,9 +15,6 @@ var textAreaPlugin = plugin(function (_ref) {
|
|
15
15
|
transition: "all 100ms ease-in-out",
|
16
16
|
fontSize: theme("fontSize.base"),
|
17
17
|
lineHeight: theme("lineHeight.base"),
|
18
|
-
"&::placeholder": {
|
19
|
-
color: theme("colors.grey.600")
|
20
|
-
},
|
21
18
|
"&:hover": {
|
22
19
|
borderColor: theme("colors.grey.600")
|
23
20
|
},
|
@@ -49,6 +46,9 @@ var textAreaPlugin = plugin(function (_ref) {
|
|
49
46
|
color: theme("colors.grey.900"),
|
50
47
|
background: "transparent",
|
51
48
|
padding: theme("spacing.4"),
|
49
|
+
"&::placeholder": {
|
50
|
+
color: theme("colors.grey.600")
|
51
|
+
},
|
52
52
|
"&:focus": {
|
53
53
|
outline: "none"
|
54
54
|
},
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import type { FC } from "react";
|
2
|
+
import type { Components } from "react-markdown";
|
3
|
+
export interface MarkdownContentProps {
|
4
|
+
/**
|
5
|
+
* Additional classes to apply to the `MarkdownContent`.
|
6
|
+
*/
|
7
|
+
className?: string;
|
8
|
+
/**
|
9
|
+
* The content of the `MarkdownContent`.
|
10
|
+
*/
|
11
|
+
content?: string;
|
12
|
+
/**
|
13
|
+
* Custom components to override the default rendering of markdown elements.
|
14
|
+
*/
|
15
|
+
components?: Partial<Components>;
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* The `MarkdownContent` component is used to style user generated content that comes as Markdown.
|
19
|
+
*
|
20
|
+
* See the [Markdown Content documentation page](https://satellite.algolia.com/8261d6576/p/784293-markdown-content) for more information.
|
21
|
+
*/
|
22
|
+
export declare const MarkdownContent: FC<MarkdownContentProps>;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
2
|
+
var _templateObject;
|
3
|
+
import cx from "clsx";
|
4
|
+
import ReactMarkdown from "react-markdown";
|
5
|
+
import remarkGfm from "remark-gfm";
|
6
|
+
import stl from "./../../styles/helpers/satellitePrefixer";
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
8
|
+
/**
|
9
|
+
* The `MarkdownContent` component is used to style user generated content that comes as Markdown.
|
10
|
+
*
|
11
|
+
* See the [Markdown Content documentation page](https://satellite.algolia.com/8261d6576/p/784293-markdown-content) for more information.
|
12
|
+
*/
|
13
|
+
export var MarkdownContent = function MarkdownContent(_ref) {
|
14
|
+
var className = _ref.className,
|
15
|
+
content = _ref.content,
|
16
|
+
components = _ref.components;
|
17
|
+
if (!content) {
|
18
|
+
return null;
|
19
|
+
}
|
20
|
+
return /*#__PURE__*/_jsx("div", {
|
21
|
+
className: cx(stl(_templateObject || (_templateObject = _taggedTemplateLiteral(["markdown-content"]))), className),
|
22
|
+
children: /*#__PURE__*/_jsx(ReactMarkdown, {
|
23
|
+
components: components,
|
24
|
+
remarkPlugins: [remarkGfm],
|
25
|
+
children: content
|
26
|
+
})
|
27
|
+
});
|
28
|
+
};
|
@@ -0,0 +1,138 @@
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
4
|
+
import _rgba from "../../styles/rgba";
|
5
|
+
import _require2 from "../../styles/helpers/icons";
|
6
|
+
import _plugin from "tailwindcss/plugin";
|
7
|
+
// @ts-check
|
8
|
+
var plugin = _plugin;
|
9
|
+
var _require = _require2,
|
10
|
+
toBG = _require.toBG;
|
11
|
+
var rgba = _rgba;
|
12
|
+
export default plugin(function (_ref) {
|
13
|
+
var addComponents = _ref.addComponents,
|
14
|
+
theme = _ref.theme;
|
15
|
+
/** @type {any} */
|
16
|
+
var desktop = theme("stlTypography.desktop", {});
|
17
|
+
/** @type {any} */
|
18
|
+
var mobile = theme("stlTypography.mobile", {});
|
19
|
+
addComponents({
|
20
|
+
".markdown-content": {
|
21
|
+
"h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, table": {
|
22
|
+
"&:not(:first-child)": {
|
23
|
+
marginTop: theme("spacing.3")
|
24
|
+
},
|
25
|
+
"&:not(:last-child)": {
|
26
|
+
marginBottom: theme("spacing.2")
|
27
|
+
}
|
28
|
+
},
|
29
|
+
h1: desktop["display-medium"],
|
30
|
+
h2: desktop["display-small"],
|
31
|
+
h3: _objectSpread(_objectSpread({}, desktop["display-body"]), {}, {
|
32
|
+
fontWeight: theme("fontWeight.semibold")
|
33
|
+
}),
|
34
|
+
"h4, h5, h6": _objectSpread(_objectSpread({}, desktop["display-body"]), {}, {
|
35
|
+
fontWeight: theme("fontWeight.medium")
|
36
|
+
}),
|
37
|
+
"p, ul, ol, blockquote, table": _objectSpread(_objectSpread({}, mobile["display-body"]), {}, {
|
38
|
+
fontSize: theme("fontSize.base")
|
39
|
+
}),
|
40
|
+
code: {
|
41
|
+
display: "inline-block",
|
42
|
+
padding: "0 ".concat(theme("spacing.1")),
|
43
|
+
backgroundColor: theme("colors.grey.100"),
|
44
|
+
color: theme("colors.grey.700"),
|
45
|
+
fontFamily: theme("fontFamily.mono"),
|
46
|
+
fontSize: theme("fontSize.base")
|
47
|
+
},
|
48
|
+
ul: {
|
49
|
+
paddingLeft: theme("spacing.5"),
|
50
|
+
listStyleType: "disc"
|
51
|
+
},
|
52
|
+
ol: {
|
53
|
+
listStyleType: "decimal",
|
54
|
+
listStylePosition: "inside"
|
55
|
+
},
|
56
|
+
a: {
|
57
|
+
color: theme("colors.accent.600"),
|
58
|
+
"&:hover": {
|
59
|
+
textDecoration: "underline"
|
60
|
+
},
|
61
|
+
'&[target="_blank"], &[href^="http"]': {
|
62
|
+
position: "relative",
|
63
|
+
display: "inline-flex",
|
64
|
+
alignItems: "center",
|
65
|
+
whiteSpace: "nowrap",
|
66
|
+
"&:after": {
|
67
|
+
content: "''",
|
68
|
+
background: toBG("ExternalLink", {
|
69
|
+
stroke: theme("colors.accent.600"),
|
70
|
+
viewBox: "0 0 24 24",
|
71
|
+
width: "100%",
|
72
|
+
height: "100%"
|
73
|
+
}),
|
74
|
+
backgroundRepeat: "no-repeat",
|
75
|
+
width: "1em",
|
76
|
+
height: "1em",
|
77
|
+
marginLeft: theme("spacing.1")
|
78
|
+
}
|
79
|
+
}
|
80
|
+
},
|
81
|
+
blockquote: {
|
82
|
+
paddingLeft: theme("spacing.4"),
|
83
|
+
borderLeft: "2px solid ".concat(theme("colors.grey.200")),
|
84
|
+
color: theme("colors.grey.600")
|
85
|
+
},
|
86
|
+
pre: _objectSpread(_objectSpread({}, mobile["display-code"]), {}, {
|
87
|
+
overflow: "auto",
|
88
|
+
maxWidth: "100%",
|
89
|
+
maxHeight: theme("spacing.64"),
|
90
|
+
margin: "".concat(theme("spacing.2"), " 0"),
|
91
|
+
padding: "".concat(theme("spacing.2"), " ").concat(theme("spacing.4")),
|
92
|
+
borderRadius: theme("borderRadius.DEFAULT"),
|
93
|
+
backgroundColor: theme("colors.grey.100"),
|
94
|
+
color: theme("colors.grey.700"),
|
95
|
+
code: {
|
96
|
+
display: "inline",
|
97
|
+
backgroundColor: "transparent",
|
98
|
+
color: "inherit"
|
99
|
+
}
|
100
|
+
}),
|
101
|
+
img: {
|
102
|
+
display: "block",
|
103
|
+
maxWidth: "100%",
|
104
|
+
height: "auto",
|
105
|
+
margin: "auto"
|
106
|
+
},
|
107
|
+
hr: {
|
108
|
+
borderWidth: "0 0 1px 0",
|
109
|
+
borderStyle: "solid",
|
110
|
+
borderColor: theme("colors.grey.200"),
|
111
|
+
marginTop: theme("spacing.6"),
|
112
|
+
marginBottom: theme("spacing.6")
|
113
|
+
},
|
114
|
+
"b, strong, th": {
|
115
|
+
fontWeight: "600"
|
116
|
+
},
|
117
|
+
table: {
|
118
|
+
width: "100%",
|
119
|
+
borderCollapse: "collapse",
|
120
|
+
textAlign: "left",
|
121
|
+
"th, td": {
|
122
|
+
padding: "8px 12px",
|
123
|
+
fontSize: theme("fontSize.base")
|
124
|
+
},
|
125
|
+
th: {
|
126
|
+
borderBottom: "1px solid ".concat(theme("colors.grey.200")),
|
127
|
+
fontWeight: "normal"
|
128
|
+
},
|
129
|
+
"tr:not(:last-child) td": {
|
130
|
+
borderBottom: "1px solid ".concat(theme("colors.grey.100"))
|
131
|
+
},
|
132
|
+
"tr:hover td": {
|
133
|
+
backgroundColor: rgba(theme("colors.grey.100"), 0.6)
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
});
|
138
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./MarkdownContent";
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./MarkdownContent";
|
@@ -27,9 +27,7 @@ export default plugin(function (_ref) {
|
|
27
27
|
}
|
28
28
|
},
|
29
29
|
h1: mobile["display-xlarge"],
|
30
|
-
h2:
|
31
|
-
color: theme("colors.grey.600")
|
32
|
-
}),
|
30
|
+
h2: mobile["display-large"],
|
33
31
|
h3: mobile["display-medium"],
|
34
32
|
h4: mobile["display-small"],
|
35
33
|
h5: mobile["display-heading"],
|
@@ -17,4 +17,4 @@ export { QueryBreakdownIcon } from "./QueryBreakdownIcon";
|
|
17
17
|
export { BulbIcon } from "./BulbIcon";
|
18
18
|
export { TestingIcon } from "./TestingIcon";
|
19
19
|
export { RocketIcon } from "./RocketIcon";
|
20
|
-
export { ActivityIcon, AirplayIcon, AlertCircleIcon, AlertOctagonIcon, AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, AnchorIcon, ApertureIcon, ArchiveIcon, ArrowDownCircleIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftCircleIcon, ArrowLeftIcon, ArrowRightCircleIcon, ArrowRightIcon, ArrowUpCircleIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, AwardIcon, BanIcon, BarChart2Icon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BlocksIcon, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BookOpenIcon, BoxIcon, BriefcaseIcon, CalendarIcon, CameraIcon, CameraOffIcon, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, ChevronUpIcon, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, CodeIcon, CodepenIcon, CodesandboxIcon, CoffeeIcon, ColumnsIcon, CommandIcon, CompassIcon, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, DatabaseIcon, DeleteIcon, DiscIcon, DivideCircleIcon, DivideIcon, DivideSquareIcon, DollarSignIcon, DownloadCloudIcon, DownloadIcon, DribbbleIcon, DropletIcon, Edit2Icon, Edit3Icon, EditIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FigmaIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileSearchIcon, FileTextIcon, FilmIcon, FilterIcon, FlagIcon, FlaskConicalIcon, FolderIcon, FolderMinusIcon, FolderPlusIcon, FramerIcon, FrownIcon, GiftIcon, GitBranchIcon, GitCommitIcon, GithubIcon, GitlabIcon, GitMergeIcon, GitPullRequestIcon, GlobeIcon, HardDriveIcon, HashIcon, HeadphonesIcon, HeartIcon, HelpCircleIcon, HexagonIcon, HomeIcon, ImageIcon, ImageOffIcon, InboxIcon, InfoIcon, InstagramIcon, ItalicIcon, KeyIcon, Landmark, LayersIcon, LayoutGridIcon, LayoutIcon, LifeBuoyIcon, Link2Icon, LinkedinIcon, LinkIcon, ListIcon, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MapIcon, MapPinIcon, Maximize2Icon, MaximizeIcon, MehIcon, MenuIcon, MergeIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, Minimize2Icon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MousePointerIcon, MoveIcon, MusicIcon, Navigation2Icon, NavigationIcon, OctagonIcon, PackageIcon, PaperclipIcon, PauseCircleIcon, PauseIcon, PenToolIcon, PercentIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneOffIcon, PhoneOutgoingIcon, PieChartIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, PowerIcon, PrinterIcon, PuzzleIcon, RadioIcon, RefreshCcwIcon, RefreshCwIcon, RepeatIcon, RewindIcon, RotateCcwIcon, RotateCwIcon, RssIcon, SaveIcon, ScissorsIcon, SearchIcon, SearchXIcon, SendIcon, ServerCogIcon, ServerCrashIcon, ServerIcon, SettingsIcon, Share2Icon, ShareIcon, ShieldIcon, ShieldOffIcon, ShoppingBagIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, SkipBackIcon, SkipForwardIcon, SlackIcon, SlidersIcon, SmartphoneIcon, SmileIcon, SparklesIcon, SpeakerIcon, SquareIcon, StarIcon, StopCircleIcon, SunIcon, SunriseIcon, SunsetIcon, TableIcon, TabletIcon, TagIcon, TargetIcon, TerminalIcon, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, ToggleLeftIcon, ToggleRightIcon, Trash2Icon, TrashIcon, TrelloIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TruckIcon, TvIcon, TwitchIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UsersIcon, UserXIcon, VideoIcon, VideoOffIcon, VoicemailIcon, Volume1Icon, Volume2Icon, VolumeIcon, VolumeXIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, WrenchIcon, XCircleIcon, XIcon, XOctagonIcon, XSquareIcon, YoutubeIcon, ZapIcon, ZapOffIcon, ZoomInIcon, ZoomOutIcon, } from "lucide-react";
|
20
|
+
export { ActivityIcon, AirplayIcon, AlertCircleIcon, AlertOctagonIcon, AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, AnchorIcon, ApertureIcon, ArchiveIcon, ArrowDownCircleIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftCircleIcon, ArrowLeftIcon, ArrowRightCircleIcon, ArrowRightIcon, ArrowUpCircleIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, AwardIcon, BanIcon, BarChart2Icon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BlocksIcon, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BookOpenIcon, BoxIcon, BriefcaseIcon, CalendarIcon, CameraIcon, CameraOffIcon, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, ChevronUpIcon, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, CodeIcon, CodepenIcon, CodesandboxIcon, CoffeeIcon, ColumnsIcon, CommandIcon, CompassIcon, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, DatabaseIcon, DeleteIcon, DiscIcon, DivideCircleIcon, DivideIcon, DivideSquareIcon, DollarSignIcon, DownloadCloudIcon, DownloadIcon, DribbbleIcon, DropletIcon, Edit2Icon, Edit3Icon, EditIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FigmaIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileSearchIcon, FileTextIcon, FilmIcon, FilterIcon, FlagIcon, FlaskConicalIcon, FolderIcon, FolderMinusIcon, FolderPlusIcon, FramerIcon, FrownIcon, GiftIcon, GitBranchIcon, GitCommitIcon, GithubIcon, GitlabIcon, GitMergeIcon, GitPullRequestIcon, GlobeIcon, HardDriveIcon, HashIcon, HeadphonesIcon, HeartIcon, HelpCircleIcon, HexagonIcon, HomeIcon, ImageIcon, ImageOffIcon, InboxIcon, InfoIcon, InstagramIcon, ItalicIcon, KeyIcon, Landmark, LayersIcon, LayoutGridIcon, LayoutIcon, LifeBuoyIcon, Link2Icon, LinkedinIcon, LinkIcon, ListIcon, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MapIcon, MapPinIcon, Maximize2Icon, MaximizeIcon, MehIcon, MenuIcon, MergeIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, Minimize2Icon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MousePointerIcon, MoveIcon, MusicIcon, Navigation2Icon, NavigationIcon, OctagonIcon, PackageIcon, PaperclipIcon, PauseCircleIcon, PauseIcon, PenToolIcon, PercentIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneOffIcon, PhoneOutgoingIcon, PieChartIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, PowerIcon, PrinterIcon, PuzzleIcon, RadioIcon, RefreshCcwIcon, RefreshCwIcon, RepeatIcon, RewindIcon, RotateCcwIcon, RotateCwIcon, RssIcon, SaveIcon, ScissorsIcon, SearchIcon, SearchXIcon, SendIcon, ServerCogIcon, ServerCrashIcon, ServerIcon, SettingsIcon, Share2Icon, ShareIcon, ShieldIcon, ShieldOffIcon, ShoppingBagIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, SkipBackIcon, SkipForwardIcon, SlackIcon, SlidersIcon, SmartphoneIcon, SmileIcon, SparklesIcon, SpeakerIcon, SquareIcon, StarIcon, StopCircleIcon, SunIcon, SunriseIcon, SunsetIcon, TableIcon, TabletIcon, TagIcon, TargetIcon, TerminalIcon, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, ToggleLeftIcon, ToggleRightIcon, Trash2Icon, TrashIcon, TrelloIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TrophyIcon, TruckIcon, TvIcon, TwitchIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UsersIcon, UserXIcon, VideoIcon, VideoOffIcon, VoicemailIcon, Volume1Icon, Volume2Icon, VolumeIcon, VolumeXIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, WrenchIcon, XCircleIcon, XIcon, XOctagonIcon, XSquareIcon, YoutubeIcon, ZapIcon, ZapOffIcon, ZoomInIcon, ZoomOutIcon, } from "lucide-react";
|
package/dist/esm/Icons/index.js
CHANGED
@@ -18,4 +18,4 @@ export { QueryBreakdownIcon } from "./QueryBreakdownIcon";
|
|
18
18
|
export { BulbIcon } from "./BulbIcon";
|
19
19
|
export { TestingIcon } from "./TestingIcon";
|
20
20
|
export { RocketIcon } from "./RocketIcon";
|
21
|
-
export { ActivityIcon, AirplayIcon, AlertCircleIcon, AlertOctagonIcon, AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, AnchorIcon, ApertureIcon, ArchiveIcon, ArrowDownCircleIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftCircleIcon, ArrowLeftIcon, ArrowRightCircleIcon, ArrowRightIcon, ArrowUpCircleIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, AwardIcon, BanIcon, BarChart2Icon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BlocksIcon, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BookOpenIcon, BoxIcon, BriefcaseIcon, CalendarIcon, CameraIcon, CameraOffIcon, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, ChevronUpIcon, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, CodeIcon, CodepenIcon, CodesandboxIcon, CoffeeIcon, ColumnsIcon, CommandIcon, CompassIcon, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, DatabaseIcon, DeleteIcon, DiscIcon, DivideCircleIcon, DivideIcon, DivideSquareIcon, DollarSignIcon, DownloadCloudIcon, DownloadIcon, DribbbleIcon, DropletIcon, Edit2Icon, Edit3Icon, EditIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FigmaIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileSearchIcon, FileTextIcon, FilmIcon, FilterIcon, FlagIcon, FlaskConicalIcon, FolderIcon, FolderMinusIcon, FolderPlusIcon, FramerIcon, FrownIcon, GiftIcon, GitBranchIcon, GitCommitIcon, GithubIcon, GitlabIcon, GitMergeIcon, GitPullRequestIcon, GlobeIcon, HardDriveIcon, HashIcon, HeadphonesIcon, HeartIcon, HelpCircleIcon, HexagonIcon, HomeIcon, ImageIcon, ImageOffIcon, InboxIcon, InfoIcon, InstagramIcon, ItalicIcon, KeyIcon, Landmark, LayersIcon, LayoutGridIcon, LayoutIcon, LifeBuoyIcon, Link2Icon, LinkedinIcon, LinkIcon, ListIcon, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MapIcon, MapPinIcon, Maximize2Icon, MaximizeIcon, MehIcon, MenuIcon, MergeIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, Minimize2Icon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MousePointerIcon, MoveIcon, MusicIcon, Navigation2Icon, NavigationIcon, OctagonIcon, PackageIcon, PaperclipIcon, PauseCircleIcon, PauseIcon, PenToolIcon, PercentIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneOffIcon, PhoneOutgoingIcon, PieChartIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, PowerIcon, PrinterIcon, PuzzleIcon, RadioIcon, RefreshCcwIcon, RefreshCwIcon, RepeatIcon, RewindIcon, RotateCcwIcon, RotateCwIcon, RssIcon, SaveIcon, ScissorsIcon, SearchIcon, SearchXIcon, SendIcon, ServerCogIcon, ServerCrashIcon, ServerIcon, SettingsIcon, Share2Icon, ShareIcon, ShieldIcon, ShieldOffIcon, ShoppingBagIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, SkipBackIcon, SkipForwardIcon, SlackIcon, SlidersIcon, SmartphoneIcon, SmileIcon, SparklesIcon, SpeakerIcon, SquareIcon, StarIcon, StopCircleIcon, SunIcon, SunriseIcon, SunsetIcon, TableIcon, TabletIcon, TagIcon, TargetIcon, TerminalIcon, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, ToggleLeftIcon, ToggleRightIcon, Trash2Icon, TrashIcon, TrelloIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TruckIcon, TvIcon, TwitchIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UsersIcon, UserXIcon, VideoIcon, VideoOffIcon, VoicemailIcon, Volume1Icon, Volume2Icon, VolumeIcon, VolumeXIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, WrenchIcon, XCircleIcon, XIcon, XOctagonIcon, XSquareIcon, YoutubeIcon, ZapIcon, ZapOffIcon, ZoomInIcon, ZoomOutIcon } from "lucide-react";
|
21
|
+
export { ActivityIcon, AirplayIcon, AlertCircleIcon, AlertOctagonIcon, AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, AnchorIcon, ApertureIcon, ArchiveIcon, ArrowDownCircleIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftCircleIcon, ArrowLeftIcon, ArrowRightCircleIcon, ArrowRightIcon, ArrowUpCircleIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, AwardIcon, BanIcon, BarChart2Icon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BlocksIcon, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BookOpenIcon, BoxIcon, BriefcaseIcon, CalendarIcon, CameraIcon, CameraOffIcon, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, ChevronUpIcon, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, CodeIcon, CodepenIcon, CodesandboxIcon, CoffeeIcon, ColumnsIcon, CommandIcon, CompassIcon, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, DatabaseIcon, DeleteIcon, DiscIcon, DivideCircleIcon, DivideIcon, DivideSquareIcon, DollarSignIcon, DownloadCloudIcon, DownloadIcon, DribbbleIcon, DropletIcon, Edit2Icon, Edit3Icon, EditIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FigmaIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileSearchIcon, FileTextIcon, FilmIcon, FilterIcon, FlagIcon, FlaskConicalIcon, FolderIcon, FolderMinusIcon, FolderPlusIcon, FramerIcon, FrownIcon, GiftIcon, GitBranchIcon, GitCommitIcon, GithubIcon, GitlabIcon, GitMergeIcon, GitPullRequestIcon, GlobeIcon, HardDriveIcon, HashIcon, HeadphonesIcon, HeartIcon, HelpCircleIcon, HexagonIcon, HomeIcon, ImageIcon, ImageOffIcon, InboxIcon, InfoIcon, InstagramIcon, ItalicIcon, KeyIcon, Landmark, LayersIcon, LayoutGridIcon, LayoutIcon, LifeBuoyIcon, Link2Icon, LinkedinIcon, LinkIcon, ListIcon, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MapIcon, MapPinIcon, Maximize2Icon, MaximizeIcon, MehIcon, MenuIcon, MergeIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, Minimize2Icon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MousePointerIcon, MoveIcon, MusicIcon, Navigation2Icon, NavigationIcon, OctagonIcon, PackageIcon, PaperclipIcon, PauseCircleIcon, PauseIcon, PenToolIcon, PercentIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneOffIcon, PhoneOutgoingIcon, PieChartIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, PowerIcon, PrinterIcon, PuzzleIcon, RadioIcon, RefreshCcwIcon, RefreshCwIcon, RepeatIcon, RewindIcon, RotateCcwIcon, RotateCwIcon, RssIcon, SaveIcon, ScissorsIcon, SearchIcon, SearchXIcon, SendIcon, ServerCogIcon, ServerCrashIcon, ServerIcon, SettingsIcon, Share2Icon, ShareIcon, ShieldIcon, ShieldOffIcon, ShoppingBagIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, SkipBackIcon, SkipForwardIcon, SlackIcon, SlidersIcon, SmartphoneIcon, SmileIcon, SparklesIcon, SpeakerIcon, SquareIcon, StarIcon, StopCircleIcon, SunIcon, SunriseIcon, SunsetIcon, TableIcon, TabletIcon, TagIcon, TargetIcon, TerminalIcon, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, ToggleLeftIcon, ToggleRightIcon, Trash2Icon, TrashIcon, TrelloIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TrophyIcon, TruckIcon, TvIcon, TwitchIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UsersIcon, UserXIcon, VideoIcon, VideoOffIcon, VoicemailIcon, Volume1Icon, Volume2Icon, VolumeIcon, VolumeXIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, WrenchIcon, XCircleIcon, XIcon, XOctagonIcon, XSquareIcon, YoutubeIcon, ZapIcon, ZapOffIcon, ZoomInIcon, ZoomOutIcon } from "lucide-react";
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { SvgComponent } from "../types";
|
2
|
+
declare const FailIllustration: SvgComponent;
|
3
|
+
declare const FilterResultsIllustration: SvgComponent;
|
4
|
+
declare const GenericIllustration: SvgComponent;
|
5
|
+
declare const NoPermissionIllustration: SvgComponent;
|
6
|
+
declare const SuccessIllustration: SvgComponent;
|
7
|
+
export { FailIllustration, FilterResultsIllustration, GenericIllustration, NoPermissionIllustration, SuccessIllustration, };
|