@algolia/satellite 2.2.3 → 2.3.0-rc.2

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.
Files changed (158) hide show
  1. package/dist/cjs/Actions/Accordion/Accordion.d.ts +8 -0
  2. package/dist/cjs/Actions/Accordion/Accordion.js +5 -3
  3. package/dist/cjs/Fields/TextArea/TextArea.d.ts +5 -1
  4. package/dist/cjs/Fields/TextArea/TextArea.js +3 -2
  5. package/dist/cjs/Fields/TextArea/TextArea.tailwind.js +1 -1
  6. package/dist/cjs/Fields/TextAreaAutoSize/TextAreaAutoSize.d.ts +18 -0
  7. package/dist/cjs/Fields/TextAreaAutoSize/TextAreaAutoSize.js +82 -0
  8. package/dist/cjs/Fields/TextAreaAutoSize/TextAreaAutoSize.styles.d.ts +25 -0
  9. package/dist/cjs/Fields/TextAreaAutoSize/TextAreaAutoSize.styles.js +16 -0
  10. package/dist/cjs/Fields/TextAreaAutoSize/index.d.ts +2 -0
  11. package/dist/cjs/Fields/TextAreaAutoSize/index.js +12 -0
  12. package/dist/cjs/Fields/index.d.ts +2 -1
  13. package/dist/cjs/Fields/index.js +15 -4
  14. package/dist/cjs/Helpers/ShimmerText/ShimmerText.d.ts +3 -0
  15. package/dist/cjs/Helpers/ShimmerText/ShimmerText.js +28 -0
  16. package/dist/cjs/Helpers/ShimmerText/ShimmerText.tailwind.d.ts +5 -0
  17. package/dist/cjs/Helpers/ShimmerText/ShimmerText.tailwind.js +37 -0
  18. package/dist/cjs/Helpers/ShimmerText/index.d.ts +2 -0
  19. package/dist/cjs/Helpers/ShimmerText/index.js +12 -0
  20. package/dist/cjs/Helpers/index.d.ts +1 -0
  21. package/dist/cjs/Helpers/index.js +11 -0
  22. package/dist/cjs/Helpers/utilities/utilities.tailwind.js +6 -1
  23. package/dist/cjs/Indicators/Skeleton/Skeleton.d.ts +2 -2
  24. package/dist/cjs/Layout/Chat/ChatContextAccordion/ChatContextAccordion.d.ts +8 -0
  25. package/dist/cjs/Layout/Chat/ChatContextAccordion/ChatContextAccordion.js +44 -0
  26. package/dist/cjs/Layout/Chat/ChatContextAccordion/ChatContextAccordion.styles.d.ts +67 -0
  27. package/dist/cjs/Layout/Chat/ChatContextAccordion/ChatContextAccordion.styles.js +23 -0
  28. package/dist/cjs/Layout/Chat/ChatContextAccordion/index.d.ts +1 -0
  29. package/dist/cjs/Layout/Chat/ChatContextAccordion/index.js +16 -0
  30. package/dist/cjs/Layout/Chat/ChatMessage/ChatMessage.d.ts +40 -0
  31. package/dist/cjs/Layout/Chat/ChatMessage/ChatMessage.js +83 -0
  32. package/dist/cjs/Layout/Chat/ChatMessage/ChatMessage.styles.d.ts +100 -0
  33. package/dist/cjs/Layout/Chat/ChatMessage/ChatMessage.styles.js +77 -0
  34. package/dist/cjs/Layout/Chat/ChatMessage/index.d.ts +1 -0
  35. package/dist/cjs/Layout/Chat/ChatMessage/index.js +16 -0
  36. package/dist/cjs/Layout/Chat/ChatMessageError/ChatMessageError.d.ts +57 -0
  37. package/dist/cjs/Layout/Chat/ChatMessageError/ChatMessageError.js +68 -0
  38. package/dist/cjs/Layout/Chat/ChatMessageError/ChatMessageError.styles.d.ts +173 -0
  39. package/dist/cjs/Layout/Chat/ChatMessageError/ChatMessageError.styles.js +18 -0
  40. package/dist/cjs/Layout/Chat/ChatMessageError/index.d.ts +1 -0
  41. package/dist/cjs/Layout/Chat/ChatMessageError/index.js +16 -0
  42. package/dist/cjs/Layout/Chat/ChatMessageLoader/ChatMessageLoader.d.ts +18 -0
  43. package/dist/cjs/Layout/Chat/ChatMessageLoader/ChatMessageLoader.js +63 -0
  44. package/dist/cjs/Layout/Chat/ChatMessageLoader/ChatMessageLoader.styles.d.ts +200 -0
  45. package/dist/cjs/Layout/Chat/ChatMessageLoader/ChatMessageLoader.styles.js +21 -0
  46. package/dist/cjs/Layout/Chat/ChatMessageLoader/index.d.ts +1 -0
  47. package/dist/cjs/Layout/Chat/ChatMessageLoader/index.js +16 -0
  48. package/dist/cjs/Layout/Chat/ChatMessages/ChatMessages.d.ts +44 -0
  49. package/dist/cjs/Layout/Chat/ChatMessages/ChatMessages.js +152 -0
  50. package/dist/cjs/Layout/Chat/ChatMessages/ChatMessages.styles.d.ts +43 -0
  51. package/dist/cjs/Layout/Chat/ChatMessages/ChatMessages.styles.js +29 -0
  52. package/dist/cjs/Layout/Chat/ChatMessages/index.d.ts +1 -0
  53. package/dist/cjs/Layout/Chat/ChatMessages/index.js +16 -0
  54. package/dist/cjs/Layout/Chat/ChatMessages/useLastMessageHeight.d.ts +8 -0
  55. package/dist/cjs/Layout/Chat/ChatMessages/useLastMessageHeight.js +48 -0
  56. package/dist/cjs/Layout/Chat/ChatPrompt/ChatPrompt.d.ts +91 -0
  57. package/dist/cjs/Layout/Chat/ChatPrompt/ChatPrompt.js +142 -0
  58. package/dist/cjs/Layout/Chat/ChatPrompt/ChatPrompt.styles.d.ts +61 -0
  59. package/dist/cjs/Layout/Chat/ChatPrompt/ChatPrompt.styles.js +22 -0
  60. package/dist/cjs/Layout/Chat/ChatPrompt/index.d.ts +1 -0
  61. package/dist/cjs/Layout/Chat/ChatPrompt/index.js +16 -0
  62. package/dist/cjs/Layout/Chat/ChatPrompt/useFocusTyping.d.ts +12 -0
  63. package/dist/cjs/Layout/Chat/ChatPrompt/useFocusTyping.js +60 -0
  64. package/dist/cjs/Layout/Chat/ChatPrompt/useTypewriter.d.ts +18 -0
  65. package/dist/cjs/Layout/Chat/ChatPrompt/useTypewriter.js +78 -0
  66. package/dist/cjs/Layout/Chat/index.d.ts +15 -0
  67. package/dist/cjs/Layout/Chat/index.js +47 -0
  68. package/dist/cjs/Layout/Chat/types.d.ts +7 -0
  69. package/dist/cjs/Layout/Chat/types.js +5 -0
  70. package/dist/cjs/Layout/index.d.ts +1 -0
  71. package/dist/cjs/Layout/index.js +11 -0
  72. package/dist/cjs/Satellite/locale.d.ts +7 -1
  73. package/dist/cjs/styles/helpers/tv.d.ts +1 -0
  74. package/dist/cjs/styles/helpers/tv.js +13 -0
  75. package/dist/cjs/styles/tailwind.config.js +1 -1
  76. package/dist/cjs/utils/getTextFromReactNode.d.ts +2 -1
  77. package/dist/cjs/utils/getTextFromReactNode.js +12 -7
  78. package/dist/cjs/utils/isCssPropertySupported.d.ts +1 -1
  79. package/dist/esm/Actions/Accordion/Accordion.d.ts +8 -0
  80. package/dist/esm/Actions/Accordion/Accordion.js +5 -3
  81. package/dist/esm/Fields/TextArea/TextArea.d.ts +5 -1
  82. package/dist/esm/Fields/TextArea/TextArea.js +3 -2
  83. package/dist/esm/Fields/TextArea/TextArea.tailwind.js +1 -1
  84. package/dist/esm/Fields/TextAreaAutoSize/TextAreaAutoSize.d.ts +18 -0
  85. package/dist/esm/Fields/TextAreaAutoSize/TextAreaAutoSize.js +75 -0
  86. package/dist/esm/Fields/TextAreaAutoSize/TextAreaAutoSize.styles.d.ts +25 -0
  87. package/dist/esm/Fields/TextAreaAutoSize/TextAreaAutoSize.styles.js +9 -0
  88. package/dist/esm/Fields/TextAreaAutoSize/index.d.ts +2 -0
  89. package/dist/esm/Fields/TextAreaAutoSize/index.js +1 -0
  90. package/dist/esm/Fields/index.d.ts +2 -1
  91. package/dist/esm/Fields/index.js +2 -1
  92. package/dist/esm/Helpers/ShimmerText/ShimmerText.d.ts +3 -0
  93. package/dist/esm/Helpers/ShimmerText/ShimmerText.js +21 -0
  94. package/dist/esm/Helpers/ShimmerText/ShimmerText.tailwind.d.ts +5 -0
  95. package/dist/esm/Helpers/ShimmerText/ShimmerText.tailwind.js +36 -0
  96. package/dist/esm/Helpers/ShimmerText/index.d.ts +2 -0
  97. package/dist/esm/Helpers/ShimmerText/index.js +1 -0
  98. package/dist/esm/Helpers/index.d.ts +1 -0
  99. package/dist/esm/Helpers/index.js +2 -1
  100. package/dist/esm/Helpers/utilities/utilities.tailwind.js +6 -1
  101. package/dist/esm/Indicators/Skeleton/Skeleton.d.ts +2 -2
  102. package/dist/esm/Layout/Chat/ChatContextAccordion/ChatContextAccordion.d.ts +8 -0
  103. package/dist/esm/Layout/Chat/ChatContextAccordion/ChatContextAccordion.js +37 -0
  104. package/dist/esm/Layout/Chat/ChatContextAccordion/ChatContextAccordion.styles.d.ts +67 -0
  105. package/dist/esm/Layout/Chat/ChatContextAccordion/ChatContextAccordion.styles.js +16 -0
  106. package/dist/esm/Layout/Chat/ChatContextAccordion/index.d.ts +1 -0
  107. package/dist/esm/Layout/Chat/ChatContextAccordion/index.js +1 -0
  108. package/dist/esm/Layout/Chat/ChatMessage/ChatMessage.d.ts +40 -0
  109. package/dist/esm/Layout/Chat/ChatMessage/ChatMessage.js +77 -0
  110. package/dist/esm/Layout/Chat/ChatMessage/ChatMessage.styles.d.ts +100 -0
  111. package/dist/esm/Layout/Chat/ChatMessage/ChatMessage.styles.js +70 -0
  112. package/dist/esm/Layout/Chat/ChatMessage/index.d.ts +1 -0
  113. package/dist/esm/Layout/Chat/ChatMessage/index.js +1 -0
  114. package/dist/esm/Layout/Chat/ChatMessageError/ChatMessageError.d.ts +57 -0
  115. package/dist/esm/Layout/Chat/ChatMessageError/ChatMessageError.js +61 -0
  116. package/dist/esm/Layout/Chat/ChatMessageError/ChatMessageError.styles.d.ts +173 -0
  117. package/dist/esm/Layout/Chat/ChatMessageError/ChatMessageError.styles.js +11 -0
  118. package/dist/esm/Layout/Chat/ChatMessageError/index.d.ts +1 -0
  119. package/dist/esm/Layout/Chat/ChatMessageError/index.js +1 -0
  120. package/dist/esm/Layout/Chat/ChatMessageLoader/ChatMessageLoader.d.ts +18 -0
  121. package/dist/esm/Layout/Chat/ChatMessageLoader/ChatMessageLoader.js +56 -0
  122. package/dist/esm/Layout/Chat/ChatMessageLoader/ChatMessageLoader.styles.d.ts +200 -0
  123. package/dist/esm/Layout/Chat/ChatMessageLoader/ChatMessageLoader.styles.js +14 -0
  124. package/dist/esm/Layout/Chat/ChatMessageLoader/index.d.ts +1 -0
  125. package/dist/esm/Layout/Chat/ChatMessageLoader/index.js +1 -0
  126. package/dist/esm/Layout/Chat/ChatMessages/ChatMessages.d.ts +44 -0
  127. package/dist/esm/Layout/Chat/ChatMessages/ChatMessages.js +145 -0
  128. package/dist/esm/Layout/Chat/ChatMessages/ChatMessages.styles.d.ts +43 -0
  129. package/dist/esm/Layout/Chat/ChatMessages/ChatMessages.styles.js +22 -0
  130. package/dist/esm/Layout/Chat/ChatMessages/index.d.ts +1 -0
  131. package/dist/esm/Layout/Chat/ChatMessages/index.js +1 -0
  132. package/dist/esm/Layout/Chat/ChatMessages/useLastMessageHeight.d.ts +8 -0
  133. package/dist/esm/Layout/Chat/ChatMessages/useLastMessageHeight.js +42 -0
  134. package/dist/esm/Layout/Chat/ChatPrompt/ChatPrompt.d.ts +91 -0
  135. package/dist/esm/Layout/Chat/ChatPrompt/ChatPrompt.js +137 -0
  136. package/dist/esm/Layout/Chat/ChatPrompt/ChatPrompt.styles.d.ts +61 -0
  137. package/dist/esm/Layout/Chat/ChatPrompt/ChatPrompt.styles.js +15 -0
  138. package/dist/esm/Layout/Chat/ChatPrompt/index.d.ts +1 -0
  139. package/dist/esm/Layout/Chat/ChatPrompt/index.js +1 -0
  140. package/dist/esm/Layout/Chat/ChatPrompt/useFocusTyping.d.ts +12 -0
  141. package/dist/esm/Layout/Chat/ChatPrompt/useFocusTyping.js +54 -0
  142. package/dist/esm/Layout/Chat/ChatPrompt/useTypewriter.d.ts +18 -0
  143. package/dist/esm/Layout/Chat/ChatPrompt/useTypewriter.js +71 -0
  144. package/dist/esm/Layout/Chat/index.d.ts +15 -0
  145. package/dist/esm/Layout/Chat/index.js +6 -0
  146. package/dist/esm/Layout/Chat/types.d.ts +7 -0
  147. package/dist/esm/Layout/Chat/types.js +1 -0
  148. package/dist/esm/Layout/index.d.ts +1 -0
  149. package/dist/esm/Layout/index.js +1 -0
  150. package/dist/esm/Satellite/locale.d.ts +7 -1
  151. package/dist/esm/styles/helpers/tv.d.ts +1 -0
  152. package/dist/esm/styles/helpers/tv.js +7 -0
  153. package/dist/esm/styles/tailwind.config.js +1 -1
  154. package/dist/esm/utils/getTextFromReactNode.d.ts +2 -1
  155. package/dist/esm/utils/getTextFromReactNode.js +13 -8
  156. package/dist/esm/utils/isCssPropertySupported.d.ts +1 -1
  157. package/dist/satellite.min.css +1 -1
  158. package/package.json +12 -3
@@ -94,6 +94,14 @@ export declare type AccordionHeaderProps = {
94
94
  * Defines a class name for the `AccordionHeader`.
95
95
  */
96
96
  className?: string;
97
+ /**
98
+ * Defines a class name for the title wrapper.
99
+ */
100
+ titleWrapperClassName?: string;
101
+ /**
102
+ * Defines a class name for the title.
103
+ */
104
+ titleClassName?: string;
97
105
  /**
98
106
  * Defines an icon to display next to the title and description.
99
107
  */
@@ -86,7 +86,9 @@ var AccordionHeader = /*#__PURE__*/(0, _react.forwardRef)(function (_ref3, ref)
86
86
  meta = _ref3.meta,
87
87
  triggerIcon = _ref3.triggerIcon,
88
88
  triggerClassName = _ref3.triggerClassName,
89
- className = _ref3.className;
89
+ className = _ref3.className,
90
+ titleWrapperClassName = _ref3.titleWrapperClassName,
91
+ titleClassName = _ref3.titleClassName;
90
92
  var TriggerIcon = triggerIcon || _Icons.ChevronDownIcon;
91
93
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(RadixAccordion.Header, {
92
94
  className: className,
@@ -94,7 +96,7 @@ var AccordionHeader = /*#__PURE__*/(0, _react.forwardRef)(function (_ref3, ref)
94
96
  ref: ref,
95
97
  className: (0, _clsx["default"])((0, _satellitePrefixer["default"])(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["group/accordion-trigger flex gap-x-3 items-center w-full justify-between px-3.5 py-2.5 group-first/accordion-item:rounded-t group-last/accordion-item:rounded-b bg-white border-2 border-transparent focus-visible:outline-none focus-visible:border-accent-600 enabled:hover:bg-grey-50 motion-safe:transition-colors"]))), triggerClassName),
96
98
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
97
- className: (0, _satellitePrefixer["default"])(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2["default"])(["flex items-center gap-x-3 grow"]))),
99
+ className: (0, _clsx["default"])((0, _satellitePrefixer["default"])(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2["default"])(["flex items-center gap-x-3 grow"]))), titleWrapperClassName),
98
100
  children: [Icon && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
99
101
  className: (0, _clsx["default"])((0, _satellitePrefixer["default"])(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2["default"])(["rounded-full w-8 h-8 flex items-center justify-center shrink-0"]))), iconBgClassName),
100
102
  "aria-hidden": true,
@@ -106,7 +108,7 @@ var AccordionHeader = /*#__PURE__*/(0, _react.forwardRef)(function (_ref3, ref)
106
108
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
107
109
  className: (0, _satellitePrefixer["default"])(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2["default"])(["flex flex-col gap-y-1 text-left grow"]))),
108
110
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
109
- className: (0, _satellitePrefixer["default"])(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2["default"])(["typo-display-heading line-clamp-2 group-disabled/accordion-trigger:text-grey-300"]))),
111
+ className: (0, _clsx["default"])((0, _satellitePrefixer["default"])(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2["default"])(["typo-display-heading line-clamp-2 group-disabled/accordion-trigger:text-grey-300"]))), titleClassName),
110
112
  children: children
111
113
  }), typeof description !== "undefined" && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
112
114
  className: (0, _satellitePrefixer["default"])(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2["default"])(["typo-display-body typo-subdued line-clamp-3 group-disabled/accordion-trigger:text-grey-300"]))),
@@ -7,7 +7,11 @@ export interface TextAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElemen
7
7
  /**
8
8
  * The value of the `TextArea`.
9
9
  */
10
- value?: string;
10
+ value?: string | number | readonly string[];
11
+ /**
12
+ * The default value of the `TextArea`.
13
+ */
14
+ defaultValue?: string | number | readonly string[];
11
15
  /**
12
16
  * The placeholder of the `TextArea`.
13
17
  */
@@ -14,7 +14,7 @@ var _Field = require("./../Field");
14
14
  var _Icons = require("./../../Icons");
15
15
  var _satellitePrefixer = _interopRequireDefault(require("./../../styles/helpers/satellitePrefixer"));
16
16
  var _jsxRuntime = require("react/jsx-runtime");
17
- var _excluded = ["className", "placeholder", "required"];
17
+ var _excluded = ["className", "placeholder", "required", "children"];
18
18
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
19
19
  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; }
20
20
  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) { (0, _defineProperty2["default"])(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; }
@@ -44,6 +44,7 @@ var TextArea = exports.TextArea = /*#__PURE__*/(0, _react.forwardRef)(function (
44
44
  var className = _ref.className,
45
45
  placeholder = _ref.placeholder,
46
46
  required = _ref.required,
47
+ children = _ref.children,
47
48
  textareaProps = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
48
49
  var _useField = (0, _Field.useField)({
49
50
  required: required
@@ -65,7 +66,7 @@ var TextArea = exports.TextArea = /*#__PURE__*/(0, _react.forwardRef)(function (
65
66
  "aria-invalid": isInvalid,
66
67
  ref: ref,
67
68
  placeholder: placeholder
68
- })), /*#__PURE__*/(0, _jsxRuntime.jsx)(StatusIcon, {})]
69
+ })), /*#__PURE__*/(0, _jsxRuntime.jsx)(StatusIcon, {}), children]
69
70
  });
70
71
  });
71
72
  TextArea.displayName = "TextArea";
@@ -8,6 +8,7 @@ var textAreaPlugin = plugin(function (_ref) {
8
8
  addComponents({
9
9
  ".text-area": {
10
10
  display: "flex",
11
+ flexDirection: "column",
11
12
  width: "100%",
12
13
  backgroundColor: theme("colors.white"),
13
14
  border: "1px solid ".concat(theme("colors.grey.500")),
@@ -44,7 +45,6 @@ var textAreaPlugin = plugin(function (_ref) {
44
45
  paddingRight: theme("spacing.6")
45
46
  },
46
47
  textarea: {
47
- flex: "1",
48
48
  minWidth: "0px",
49
49
  caretColor: theme("colors.grey.600"),
50
50
  color: theme("colors.grey.900"),
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import type { TextAreaProps } from "../../Fields/TextArea";
3
+ export declare type TextAreaAutoSizeProps = TextAreaProps & {
4
+ /**
5
+ * The maximum number of rows the `TextArea` can expand to when `autoResize` is enabled.
6
+ * If set to 0, the `TextArea` will expand indefinitely.
7
+ * @default 0
8
+ */
9
+ maxRows?: number;
10
+ };
11
+ export declare const TextAreaAutoSize: import("react").ForwardRefExoticComponent<TextAreaProps & {
12
+ /**
13
+ * The maximum number of rows the `TextArea` can expand to when `autoResize` is enabled.
14
+ * If set to 0, the `TextArea` will expand indefinitely.
15
+ * @default 0
16
+ */
17
+ maxRows?: number | undefined;
18
+ } & import("react").RefAttributes<HTMLTextAreaElement>>;
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.TextAreaAutoSize = void 0;
8
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
10
+ var _react = require("react");
11
+ var _TextAreaAutoSize = require("./TextAreaAutoSize.styles");
12
+ var _TextArea = require("./../TextArea");
13
+ var _jsxRuntime = require("react/jsx-runtime");
14
+ var _excluded = ["maxRows", "className"];
15
+ 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; }
16
+ 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) { (0, _defineProperty2["default"])(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; }
17
+ var TextAreaAutoSize = exports.TextAreaAutoSize = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, forwardedRef) {
18
+ var _ref$maxRows = _ref.maxRows,
19
+ maxRows = _ref$maxRows === void 0 ? 0 : _ref$maxRows,
20
+ className = _ref.className,
21
+ props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
22
+ var styles = (0, _TextAreaAutoSize.textAreaAutoSizeStyles)();
23
+ var internalRef = (0, _react.useRef)(null);
24
+ (0, _react.useImperativeHandle)(forwardedRef, function () {
25
+ return internalRef.current;
26
+ });
27
+ var lineHeightRef = (0, _react.useRef)(0);
28
+ var paddingRef = (0, _react.useRef)(0);
29
+ (0, _react.useLayoutEffect)(function () {
30
+ if (!internalRef.current) return;
31
+ var textArea = internalRef.current;
32
+ var styles = getComputedStyle(textArea);
33
+ lineHeightRef.current = parseFloat(styles.lineHeight);
34
+ var pt = parseFloat(styles.paddingTop);
35
+ var pb = parseFloat(styles.paddingBottom);
36
+ paddingRef.current = pt + pb;
37
+ // eslint-disable-next-line react-hooks/exhaustive-deps
38
+ }, []);
39
+ (0, _react.useLayoutEffect)(function () {
40
+ adjustHeight();
41
+ // eslint-disable-next-line react-hooks/exhaustive-deps
42
+ }, [props.value, props.placeholder, props.rows, maxRows]);
43
+ var adjustHeight = function adjustHeight() {
44
+ if (!internalRef.current) return;
45
+ var textArea = internalRef.current;
46
+ textArea.style.height = "auto";
47
+ var fullHeight = textArea.scrollHeight;
48
+ if (maxRows > 0) {
49
+ var maxHeight = maxRows * lineHeightRef.current + paddingRef.current;
50
+ textArea.style.overflowY = fullHeight > maxHeight ? "auto" : "hidden";
51
+ textArea.style.height = "".concat(Math.min(fullHeight, maxHeight), "px");
52
+ } else {
53
+ textArea.style.overflowY = "hidden";
54
+ textArea.style.height = "".concat(fullHeight, "px");
55
+ }
56
+ };
57
+ (0, _react.useLayoutEffect)(function () {
58
+ if (!internalRef.current) return;
59
+ var ro = new ResizeObserver(function () {
60
+ return adjustHeight();
61
+ });
62
+ var textArea = internalRef.current;
63
+ ro.observe(textArea);
64
+ return function () {
65
+ return ro.disconnect();
66
+ };
67
+ // eslint-disable-next-line react-hooks/exhaustive-deps
68
+ }, []);
69
+ var onInput = function onInput(e) {
70
+ var _props$onInput;
71
+ adjustHeight();
72
+ (_props$onInput = props.onInput) === null || _props$onInput === void 0 || _props$onInput.call(props, e);
73
+ };
74
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_TextArea.TextArea, _objectSpread(_objectSpread({}, props), {}, {
75
+ className: styles.base({
76
+ className: className
77
+ }),
78
+ ref: internalRef,
79
+ onInput: onInput
80
+ }));
81
+ });
82
+ TextAreaAutoSize.displayName = "TextAreaAutoSize";
@@ -0,0 +1,25 @@
1
+ export declare const textAreaAutoSizeStyles: import("tailwind-variants").TVReturnType<{
2
+ [key: string]: {
3
+ [key: string]: import("tailwind-merge").ClassNameValue | {
4
+ base?: import("tailwind-merge").ClassNameValue;
5
+ };
6
+ };
7
+ } | {
8
+ [x: string]: {
9
+ [x: string]: import("tailwind-merge").ClassNameValue | {
10
+ base?: import("tailwind-merge").ClassNameValue;
11
+ };
12
+ };
13
+ } | {}, {
14
+ base: string;
15
+ }, undefined, {
16
+ [key: string]: {
17
+ [key: string]: import("tailwind-merge").ClassNameValue | {
18
+ base?: import("tailwind-merge").ClassNameValue;
19
+ };
20
+ };
21
+ } | {}, {
22
+ base: string;
23
+ }, import("tailwind-variants").TVReturnType<unknown, {
24
+ base: string;
25
+ }, undefined, unknown, unknown, undefined>>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.textAreaAutoSizeStyles = void 0;
8
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
9
+ var _satellitePrefixer = _interopRequireDefault(require("./../../styles/helpers/satellitePrefixer"));
10
+ var _tv = require("./../../styles/helpers/tv");
11
+ var _templateObject;
12
+ var textAreaAutoSizeStyles = exports.textAreaAutoSizeStyles = (0, _tv.tv)({
13
+ slots: {
14
+ base: (0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["[&>textarea]:resize-none [&>textarea]:overflow-y-hidden"])))
15
+ }
16
+ });
@@ -0,0 +1,2 @@
1
+ export type { TextAreaAutoSizeProps as ExperimentalTextAreaAutoSizeProps } from "./TextAreaAutoSize";
2
+ export { TextAreaAutoSize as ExperimentalTextAreaAutoSize } from "./TextAreaAutoSize";
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "ExperimentalTextAreaAutoSize", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _TextAreaAutoSize.TextAreaAutoSize;
10
+ }
11
+ });
12
+ var _TextAreaAutoSize = require("./TextAreaAutoSize");
@@ -11,5 +11,6 @@ export * from "./Input";
11
11
  export * from "./RadioGroup";
12
12
  export * from "./RangeSlider";
13
13
  export * from "./Select";
14
- export * from "./TextArea";
15
14
  export * from "./Switch";
15
+ export * from "./TextArea";
16
+ export * from "./TextAreaAutoSize";
@@ -146,6 +146,17 @@ Object.keys(_Select).forEach(function (key) {
146
146
  }
147
147
  });
148
148
  });
149
+ var _Switch = require("./Switch");
150
+ Object.keys(_Switch).forEach(function (key) {
151
+ if (key === "default" || key === "__esModule") return;
152
+ if (key in exports && exports[key] === _Switch[key]) return;
153
+ Object.defineProperty(exports, key, {
154
+ enumerable: true,
155
+ get: function get() {
156
+ return _Switch[key];
157
+ }
158
+ });
159
+ });
149
160
  var _TextArea = require("./TextArea");
150
161
  Object.keys(_TextArea).forEach(function (key) {
151
162
  if (key === "default" || key === "__esModule") return;
@@ -157,14 +168,14 @@ Object.keys(_TextArea).forEach(function (key) {
157
168
  }
158
169
  });
159
170
  });
160
- var _Switch = require("./Switch");
161
- Object.keys(_Switch).forEach(function (key) {
171
+ var _TextAreaAutoSize = require("./TextAreaAutoSize");
172
+ Object.keys(_TextAreaAutoSize).forEach(function (key) {
162
173
  if (key === "default" || key === "__esModule") return;
163
- if (key in exports && exports[key] === _Switch[key]) return;
174
+ if (key in exports && exports[key] === _TextAreaAutoSize[key]) return;
164
175
  Object.defineProperty(exports, key, {
165
176
  enumerable: true,
166
177
  get: function get() {
167
- return _Switch[key];
178
+ return _TextAreaAutoSize[key];
168
179
  }
169
180
  });
170
181
  });
@@ -0,0 +1,3 @@
1
+ import type { HTMLAttributes } from "react";
2
+ export declare type ShimmerTextProps = HTMLAttributes<HTMLDivElement>;
3
+ export declare const ShimmerText: import("react").ForwardRefExoticComponent<ShimmerTextProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.ShimmerText = void 0;
8
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
10
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
+ var _clsx = _interopRequireDefault(require("clsx"));
12
+ var _react = require("react");
13
+ var _satellitePrefixer = _interopRequireDefault(require("./../../styles/helpers/satellitePrefixer"));
14
+ var _jsxRuntime = require("react/jsx-runtime");
15
+ var _templateObject;
16
+ var _excluded = ["className"];
17
+ 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; }
18
+ 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) { (0, _defineProperty2["default"])(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; }
19
+ var ShimmerText = exports.ShimmerText = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
20
+ var className = _ref.className,
21
+ props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
22
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", _objectSpread(_objectSpread({
23
+ ref: ref
24
+ }, props), {}, {
25
+ className: (0, _clsx["default"])((0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["shimmer-text"]))), className)
26
+ }));
27
+ });
28
+ ShimmerText.displayName = "ShimmerText";
@@ -0,0 +1,5 @@
1
+ export = shimmerTextPlugin;
2
+ declare const shimmerTextPlugin: {
3
+ handler: import("tailwindcss/types/config").PluginCreator;
4
+ config?: Partial<import("tailwindcss/types/config").Config> | undefined;
5
+ };
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+
3
+ // @ts-check
4
+ var plugin = require("tailwindcss/plugin");
5
+ var shimmerTextPlugin = plugin(function (_ref) {
6
+ var addComponents = _ref.addComponents,
7
+ addUtilities = _ref.addUtilities,
8
+ theme = _ref.theme;
9
+ addComponents({
10
+ ".shimmer-text": {
11
+ "text-fill-color": "transparent",
12
+ "-webkit-text-fill-color": "transparent",
13
+ "animation-delay": "0.5s",
14
+ "animation-duration": "3s",
15
+ "animation-iteration-count": "infinite",
16
+ "animation-name": "shimmer-text",
17
+ background: "".concat(theme("colors.grey.600"), " linear-gradient(to right, ").concat(theme("colors.grey.600"), " 0%, #ffffffbf 40%, #ffffffbf 60%, ").concat(theme("colors.grey.600"), " 100%)"),
18
+ "-webkit-background-clip": "text",
19
+ "background-clip": "text",
20
+ "background-repeat": "no-repeat",
21
+ "background-size": "50% 200%",
22
+ display: "inline-block",
23
+ "background-position": "-100% 0"
24
+ }
25
+ });
26
+ addUtilities({
27
+ "@keyframes shimmer-text": {
28
+ from: {
29
+ "background-position": "-100% 0%"
30
+ },
31
+ to: {
32
+ "background-position": "250% 0%"
33
+ }
34
+ }
35
+ });
36
+ });
37
+ module.exports = shimmerTextPlugin;
@@ -0,0 +1,2 @@
1
+ export type { ShimmerTextProps as ExperimentalShimmerTextProps } from "./ShimmerText";
2
+ export { ShimmerText as ExperimentalShimmerText } from "./ShimmerText";
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "ExperimentalShimmerText", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _ShimmerText.ShimmerText;
10
+ }
11
+ });
12
+ var _ShimmerText = require("./ShimmerText");
@@ -3,3 +3,4 @@ export * from "./CodeEditor";
3
3
  export * from "./HelpUnderline";
4
4
  export * from "./TextWrap";
5
5
  export * from "./UserContent";
6
+ export * from "./ShimmerText";
@@ -57,4 +57,15 @@ Object.keys(_UserContent).forEach(function (key) {
57
57
  return _UserContent[key];
58
58
  }
59
59
  });
60
+ });
61
+ var _ShimmerText = require("./ShimmerText");
62
+ Object.keys(_ShimmerText).forEach(function (key) {
63
+ if (key === "default" || key === "__esModule") return;
64
+ if (key in exports && exports[key] === _ShimmerText[key]) return;
65
+ Object.defineProperty(exports, key, {
66
+ enumerable: true,
67
+ get: function get() {
68
+ return _ShimmerText[key];
69
+ }
70
+ });
60
71
  });
@@ -5,7 +5,8 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
5
5
  // @ts-check
6
6
  var plugin = require("tailwindcss/plugin");
7
7
  module.exports = plugin(function (_ref) {
8
- var addUtilities = _ref.addUtilities;
8
+ var addUtilities = _ref.addUtilities,
9
+ theme = _ref.theme;
9
10
  addUtilities({
10
11
  ".no-scrollbar": {
11
12
  // for Firefox
@@ -18,6 +19,10 @@ module.exports = plugin(function (_ref) {
18
19
  width: "0px"
19
20
  }
20
21
  },
22
+ ".thin-scrollbar": {
23
+ "scrollbar-width": "8px",
24
+ "scrollbar-color": "".concat(theme("colors.grey.200"), " ").concat(theme("colors.transparent"))
25
+ },
21
26
  ".no-search-input-decoration": {
22
27
  "&[type='search']": (0, _defineProperty2["default"])({}, "&::-webkit-search-decoration,\n &::-webkit-search-cancel-button,\n &::-webkit-search-results-button,\n &::-webkit-search-results-decoration", {
23
28
  display: "none"
@@ -1,5 +1,5 @@
1
- import type { FC, PropsWithChildren } from "react";
2
- export interface SkeletonProps {
1
+ import type { FC, HTMLAttributes, PropsWithChildren } from "react";
2
+ export interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /**
4
4
  * The className to apply to the skeleton element.
5
5
  */
@@ -0,0 +1,8 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ import type { AccordionProps } from "../../../Actions";
3
+ import type { IconComponentType } from "../../../Icons";
4
+ export declare type ChatContextAccordionProps = HTMLAttributes<HTMLDivElement> & AccordionProps & {
5
+ header: ReactNode;
6
+ icon?: IconComponentType;
7
+ };
8
+ export declare const ChatContextAccordion: ({ header, icon, children, className, ...props }: ChatContextAccordionProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.ChatContextAccordion = void 0;
8
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
10
+ var _ChatContextAccordion = require("./ChatContextAccordion.styles");
11
+ var _Actions = require("./../../../Actions");
12
+ var _jsxRuntime = require("react/jsx-runtime");
13
+ var _excluded = ["header", "icon", "children", "className"];
14
+ 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; }
15
+ 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) { (0, _defineProperty2["default"])(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; }
16
+ var ChatContextAccordion = exports.ChatContextAccordion = function ChatContextAccordion(_ref) {
17
+ var header = _ref.header,
18
+ icon = _ref.icon,
19
+ children = _ref.children,
20
+ className = _ref.className,
21
+ props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
22
+ var styles = (0, _ChatContextAccordion.chatContextAccordionStyles)();
23
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Actions.Accordion, _objectSpread(_objectSpread({}, props), {}, {
24
+ className: styles.base({
25
+ className: className
26
+ }),
27
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Actions.Accordion.Item, {
28
+ value: "default",
29
+ className: styles.item(),
30
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Actions.Accordion.Header, {
31
+ className: styles.header(),
32
+ triggerClassName: styles.trigger(),
33
+ titleWrapperClassName: styles.titleWrapper(),
34
+ titleClassName: styles.title(),
35
+ icon: icon,
36
+ iconBgClassName: styles.iconBg(),
37
+ children: header
38
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Actions.Accordion.Content, {
39
+ className: styles.content(),
40
+ children: children
41
+ })]
42
+ })
43
+ }));
44
+ };
@@ -0,0 +1,67 @@
1
+ export declare const chatContextAccordionStyles: import("tailwind-variants").TVReturnType<{
2
+ [key: string]: {
3
+ [key: string]: import("tailwind-merge").ClassNameValue | {
4
+ base?: import("tailwind-merge").ClassNameValue;
5
+ header?: import("tailwind-merge").ClassNameValue;
6
+ title?: import("tailwind-merge").ClassNameValue;
7
+ content?: import("tailwind-merge").ClassNameValue;
8
+ item?: import("tailwind-merge").ClassNameValue;
9
+ iconBg?: import("tailwind-merge").ClassNameValue;
10
+ trigger?: import("tailwind-merge").ClassNameValue;
11
+ titleWrapper?: import("tailwind-merge").ClassNameValue;
12
+ };
13
+ };
14
+ } | {
15
+ [x: string]: {
16
+ [x: string]: import("tailwind-merge").ClassNameValue | {
17
+ base?: import("tailwind-merge").ClassNameValue;
18
+ header?: import("tailwind-merge").ClassNameValue;
19
+ title?: import("tailwind-merge").ClassNameValue;
20
+ content?: import("tailwind-merge").ClassNameValue;
21
+ item?: import("tailwind-merge").ClassNameValue;
22
+ iconBg?: import("tailwind-merge").ClassNameValue;
23
+ trigger?: import("tailwind-merge").ClassNameValue;
24
+ titleWrapper?: import("tailwind-merge").ClassNameValue;
25
+ };
26
+ };
27
+ } | {}, {
28
+ base: string;
29
+ item: string;
30
+ header: string;
31
+ iconBg: string;
32
+ trigger: string;
33
+ titleWrapper: string;
34
+ title: string;
35
+ content: string;
36
+ }, undefined, {
37
+ [key: string]: {
38
+ [key: string]: import("tailwind-merge").ClassNameValue | {
39
+ base?: import("tailwind-merge").ClassNameValue;
40
+ header?: import("tailwind-merge").ClassNameValue;
41
+ title?: import("tailwind-merge").ClassNameValue;
42
+ content?: import("tailwind-merge").ClassNameValue;
43
+ item?: import("tailwind-merge").ClassNameValue;
44
+ iconBg?: import("tailwind-merge").ClassNameValue;
45
+ trigger?: import("tailwind-merge").ClassNameValue;
46
+ titleWrapper?: import("tailwind-merge").ClassNameValue;
47
+ };
48
+ };
49
+ } | {}, {
50
+ base: string;
51
+ item: string;
52
+ header: string;
53
+ iconBg: string;
54
+ trigger: string;
55
+ titleWrapper: string;
56
+ title: string;
57
+ content: string;
58
+ }, import("tailwind-variants").TVReturnType<unknown, {
59
+ base: string;
60
+ item: string;
61
+ header: string;
62
+ iconBg: string;
63
+ trigger: string;
64
+ titleWrapper: string;
65
+ title: string;
66
+ content: string;
67
+ }, undefined, unknown, unknown, undefined>>;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.chatContextAccordionStyles = void 0;
8
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
9
+ var _satellitePrefixer = _interopRequireDefault(require("./../../../styles/helpers/satellitePrefixer"));
10
+ var _tv = require("./../../../styles/helpers/tv");
11
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
12
+ var chatContextAccordionStyles = exports.chatContextAccordionStyles = (0, _tv.tv)({
13
+ slots: {
14
+ base: (0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["w-full"]))),
15
+ item: (0, _satellitePrefixer["default"])(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["border border-grey-200 rounded-[4px] overflow-hidden"]))),
16
+ header: (0, _satellitePrefixer["default"])(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["border-b border-grey-200 transition-colors duration-500 data-[state=closed]:border-b-transparent [&>div]:px-2"]))),
17
+ iconBg: (0, _satellitePrefixer["default"])(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2["default"])(["bg-none !size-auto"]))),
18
+ trigger: (0, _satellitePrefixer["default"])(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["!px-2 !py-0.5"]))),
19
+ titleWrapper: (0, _satellitePrefixer["default"])(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2["default"])(["gap-x-1"]))),
20
+ title: (0, _satellitePrefixer["default"])(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2["default"])(["typo-subdued typo-display-caption"]))),
21
+ content: (0, _satellitePrefixer["default"])(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2["default"])(["bg-grey-100 [&>div]:px-3 [&>div]:py-2 overflow-y-auto max-h-36"])))
22
+ }
23
+ });
@@ -0,0 +1 @@
1
+ export * from "./ChatContextAccordion";
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _ChatContextAccordion = require("./ChatContextAccordion");
7
+ Object.keys(_ChatContextAccordion).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _ChatContextAccordion[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function get() {
13
+ return _ChatContextAccordion[key];
14
+ }
15
+ });
16
+ });