@chayns-components/core 5.0.0-beta.635 → 5.0.0-beta.637

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.
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _framerMotion = require("framer-motion");
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _ExpandableContent = require("./ExpandableContent.styles");
10
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
12
+ const ExpandableContent = ({
13
+ children,
14
+ id,
15
+ exit,
16
+ type = 'tween',
17
+ initial,
18
+ animate,
19
+ style,
20
+ duration = 0.2
21
+ }) => (0, _react.useMemo)(() => /*#__PURE__*/_react.default.createElement(_framerMotion.AnimatePresence, {
22
+ initial: false
23
+ }, /*#__PURE__*/_react.default.createElement(_ExpandableContent.StyledMotionExpandableContent, {
24
+ animate: animate,
25
+ initial: initial,
26
+ exit: exit,
27
+ transition: {
28
+ duration,
29
+ type
30
+ },
31
+ key: id,
32
+ style: {
33
+ ...style
34
+ }
35
+ }, children)), [animate, children, duration, exit, id, initial, style, type]);
36
+ ExpandableContent.displayName = 'ExpandableContent';
37
+ var _default = exports.default = ExpandableContent;
38
+ //# sourceMappingURL=ExpandableContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExpandableContent.js","names":["_framerMotion","require","_react","_interopRequireWildcard","_ExpandableContent","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ExpandableContent","children","id","exit","type","initial","animate","style","duration","useMemo","createElement","AnimatePresence","StyledMotionExpandableContent","transition","key","displayName","_default","exports"],"sources":["../../../../src/components/expandable-content/ExpandableContent.tsx"],"sourcesContent":["import {\n AnimatePresence,\n type AnimationControls,\n type TargetAndTransition,\n type VariantLabels,\n} from 'framer-motion';\nimport React, { CSSProperties, FC, ReactNode, useMemo } from 'react';\nimport { StyledMotionExpandableContent } from './ExpandableContent.styles';\n\nexport type ExpandableContentProps = {\n /**\n * The styles that should be animated.\n */\n animate?: boolean | AnimationControls | TargetAndTransition | VariantLabels;\n /**\n * The children that should be animated.\n */\n children: ReactNode;\n /**\n * How long the animation last.\n */\n duration?: number;\n /**\n * the exit animation.\n */\n exit?: TargetAndTransition | VariantLabels;\n /**\n * the id of the element.\n */\n id: string;\n /**\n * the initial animation.\n */\n initial?: boolean | VariantLabels;\n /**\n * The style of the wrapper.\n */\n style?: CSSProperties;\n /**\n * The type of the animation.\n */\n type?: 'just' | 'inertia' | 'tween' | 'spring' | 'keyframes';\n};\n\nconst ExpandableContent: FC<ExpandableContentProps> = ({\n children,\n id,\n exit,\n type = 'tween',\n initial,\n animate,\n style,\n duration = 0.2,\n}) =>\n useMemo(\n () => (\n <AnimatePresence initial={false}>\n <StyledMotionExpandableContent\n animate={animate}\n initial={initial}\n exit={exit}\n transition={{ duration, type }}\n key={id}\n style={{ ...style }}\n >\n {children}\n </StyledMotionExpandableContent>\n </AnimatePresence>\n ),\n [animate, children, duration, exit, id, initial, style, type],\n );\n\nExpandableContent.displayName = 'ExpandableContent';\n\nexport default ExpandableContent;\n"],"mappings":";;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AAMA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IAAI,GAAG,OAAO;EACdC,OAAO;EACPC,OAAO;EACPC,KAAK;EACLC,QAAQ,GAAG;AACf,CAAC,KACG,IAAAC,cAAO,EACH,mBACIhC,MAAA,CAAAS,OAAA,CAAAwB,aAAA,CAACnC,aAAA,CAAAoC,eAAe;EAACN,OAAO,EAAE;AAAM,gBAC5B5B,MAAA,CAAAS,OAAA,CAAAwB,aAAA,CAAC/B,kBAAA,CAAAiC,6BAA6B;EAC1BN,OAAO,EAAEA,OAAQ;EACjBD,OAAO,EAAEA,OAAQ;EACjBF,IAAI,EAAEA,IAAK;EACXU,UAAU,EAAE;IAAEL,QAAQ;IAAEJ;EAAK,CAAE;EAC/BU,GAAG,EAAEZ,EAAG;EACRK,KAAK,EAAE;IAAE,GAAGA;EAAM;AAAE,GAEnBN,QAC0B,CAClB,CACpB,EACD,CAACK,OAAO,EAAEL,QAAQ,EAAEO,QAAQ,EAAEL,IAAI,EAAED,EAAE,EAAEG,OAAO,EAAEE,KAAK,EAAEH,IAAI,CAChE,CAAC;AAELJ,iBAAiB,CAACe,WAAW,GAAG,mBAAmB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAA/B,OAAA,GAErCc,iBAAiB","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.StyledMotionExpandableContent = void 0;
7
+ var _framerMotion = require("framer-motion");
8
+ var _styledComponents = _interopRequireDefault(require("styled-components"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
+ const StyledMotionExpandableContent = exports.StyledMotionExpandableContent = (0, _styledComponents.default)(_framerMotion.motion.div)``;
11
+ //# sourceMappingURL=ExpandableContent.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExpandableContent.styles.js","names":["_framerMotion","require","_styledComponents","_interopRequireDefault","e","__esModule","default","StyledMotionExpandableContent","exports","styled","motion","div"],"sources":["../../../../src/components/expandable-content/ExpandableContent.styles.ts"],"sourcesContent":["import { motion } from 'framer-motion';\nimport styled from 'styled-components';\n\nexport const StyledMotionExpandableContent = styled(motion.div)``;\n"],"mappings":";;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAuC,SAAAE,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEhC,MAAMG,6BAA6B,GAAAC,OAAA,CAAAD,6BAAA,GAAG,IAAAE,yBAAM,EAACC,oBAAM,CAACC,GAAG,CAAC,EAAE","ignoreList":[]}
package/lib/cjs/index.js CHANGED
@@ -117,6 +117,12 @@ Object.defineProperty(exports, "ContextMenuAlignment", {
117
117
  return _contextMenu.ContextMenuAlignment;
118
118
  }
119
119
  });
120
+ Object.defineProperty(exports, "ExpandableContent", {
121
+ enumerable: true,
122
+ get: function () {
123
+ return _ExpandableContent.default;
124
+ }
125
+ });
120
126
  Object.defineProperty(exports, "FileInput", {
121
127
  enumerable: true,
122
128
  get: function () {
@@ -371,6 +377,7 @@ var _ColorSchemeProvider = _interopRequireDefault(require("./components/color-sc
371
377
  var _ComboBox = _interopRequireDefault(require("./components/combobox/ComboBox"));
372
378
  var _ContentCard = _interopRequireDefault(require("./components/content-card/ContentCard"));
373
379
  var _ContextMenu = _interopRequireDefault(require("./components/context-menu/ContextMenu"));
380
+ var _ExpandableContent = _interopRequireDefault(require("./components/expandable-content/ExpandableContent"));
374
381
  var _FileInput = _interopRequireDefault(require("./components/file-input/FileInput"));
375
382
  var _FilterButtons = _interopRequireDefault(require("./components/filter-buttons/FilterButtons"));
376
383
  var _GridImage = _interopRequireDefault(require("./components/grid-image/GridImage"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_Accordion","_interopRequireDefault","require","_AccordionContent","_AccordionGroup","_AccordionIntro","_AccordionItem","_AmountControl","_AreaContextProvider","_interopRequireWildcard","_Badge","_Button","_Checkbox","_ColorSchemeProvider","_ComboBox","_ContentCard","_ContextMenu","_FileInput","_FilterButtons","_GridImage","_Icon","_Input","_List","_ListItemContent","_ListItem","_MentionFinder","_NumberInput","_Popup","_PopupContent","_ProgressBar","_RadioButtonGroup","_RadioButton","_ScrollView","_SearchBox","_SearchInput","_SelectButton","_SetupWizardItem","_SetupWizard","_SharingBar","_Signature","_SliderButton","_Slider","_SmallWaitCursor","_TagInput","_TextArea","_Tooltip","_Truncation","_mentionFinder","_useElementSize","_comboBox","_contentCard","_contextMenu","_filterButtons","_truncation","_fileDialog","_isTobitEmployee","_uploadFile","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set"],"sources":["../../src/index.ts"],"sourcesContent":["// noinspection JSUnusedGlobalSymbols\nexport { default as Accordion } from './components/accordion/Accordion';\nexport { default as AccordionContent } from './components/accordion/accordion-content/AccordionContent';\nexport { default as AccordionGroup } from './components/accordion/accordion-group/AccordionGroup';\nexport { default as AccordionIntro } from './components/accordion/accordion-intro/AccordionIntro';\nexport { default as AccordionItem } from './components/accordion/accordion-item/AccordionItem';\nexport { default as AmountControl } from './components/amount-control/AmountControl';\nexport {\n AreaContext,\n default as AreaProvider,\n} from './components/area-provider/AreaContextProvider';\nexport { default as Badge } from './components/badge/Badge';\nexport { default as Button } from './components/button/Button';\nexport { default as Checkbox } from './components/checkbox/Checkbox';\nexport { default as ColorSchemeProvider } from './components/color-scheme-provider/ColorSchemeProvider';\nexport type {\n FramerMotionBugFix,\n WithTheme,\n} from './components/color-scheme-provider/ColorSchemeProvider';\nexport { default as ComboBox } from './components/combobox/ComboBox';\nexport type { IComboBoxItem as ComboBoxItem } from './components/combobox/ComboBox';\nexport { default as ContentCard } from './components/content-card/ContentCard';\nexport { default as ContextMenu } from './components/context-menu/ContextMenu';\nexport { default as FileInput } from './components/file-input/FileInput';\nexport { default as FilterButtons } from './components/filter-buttons/FilterButtons';\nexport { default as GridImage } from './components/grid-image/GridImage';\nexport { default as Icon } from './components/icon/Icon';\nexport { default as Input } from './components/input/Input';\nexport { default as List } from './components/list/List';\nexport { default as ListItemContent } from './components/list/list-item/list-item-content/ListItemContent';\nexport { default as ListItem, type ListItemProps } from './components/list/list-item/ListItem';\nexport { default as MentionFinder } from './components/mention-finder/MentionFinder';\nexport type { MentionMember } from './components/mention-finder/MentionFinder';\nexport { default as NumberInput } from './components/number-input/NumberInput';\nexport { default as Popup } from './components/popup/Popup';\nexport { default as PopupContent } from './components/popup/popup-content/PopupContent';\nexport { default as ProgressBar } from './components/progress-bar/ProgressBar';\nexport { default as RadioButtonGroup } from './components/radio-button/radio-button-group/RadioButtonGroup';\nexport { default as RadioButton } from './components/radio-button/RadioButton';\nexport { default as ScrollView } from './components/scroll-view/ScrollView';\nexport { default as SearchBox } from './components/search-box/SearchBox';\nexport { default as SearchInput } from './components/search-input/SearchInput';\nexport { default as SelectButton } from './components/select-button/SelectButton';\nexport { default as SetupWizardItem } from './components/setup-wizard/setup-wizard-item/SetupWizardItem';\nexport { default as SetupWizard } from './components/setup-wizard/SetupWizard';\nexport type { SetupWizardRef } from './components/setup-wizard/SetupWizard';\nexport { default as SharingBar } from './components/sharing-bar/SharingBar';\nexport { default as Signature } from './components/signature/Signature';\nexport type { SignatureRef } from './components/signature/Signature';\nexport { default as SliderButton } from './components/slider-button/SliderButton';\nexport { default as Slider } from './components/slider/Slider';\nexport {\n default as SmallWaitCursor,\n SmallWaitCursorSize,\n SmallWaitCursorSpeed,\n} from './components/small-wait-cursor/SmallWaitCursor';\nexport { default as TagInput } from './components/tag-input/TagInput';\nexport { default as TextArea } from './components/text-area/TextArea';\nexport { default as Tooltip } from './components/tooltip/Tooltip';\nexport { default as Truncation } from './components/truncation/Truncation';\nexport { MentionFinderPopupAlignment } from './constants/mentionFinder';\nexport { useElementSize } from './hooks/useElementSize';\nexport { ComboBoxDirection } from './types/comboBox';\nexport { ContentCardType } from './types/contentCard';\nexport { ContextMenuAlignment } from './types/contextMenu';\nexport type { FileItem, Image, InternalFileItem, Meta, Video } from './types/file';\nexport type { FileInputFileItem } from './types/fileInput';\nexport { FilterButtonItemShape, FilterButtonSize } from './types/filterButtons';\nexport type { IFilterButtonItem as FilterButtonItem } from './types/filterButtons';\nexport type { PopupRef } from './types/popup';\nexport type { RadioButtonItem } from './types/radioButton';\nexport type {\n ISearchBoxItem as SearchBoxItem,\n ISearchBoxItems as SearchBoxItems,\n} from './types/searchBox';\nexport type { SelectButtonItem } from './types/selectButton';\nexport type { SliderButtonItem } from './types/slider-button';\nexport { ClampPosition } from './types/truncation';\nexport { getFileAsArrayBuffer, selectFiles } from './utils/fileDialog';\nexport { isTobitEmployee } from './utils/isTobitEmployee';\nexport { uploadFile } from './utils/uploadFile';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,eAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,eAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,cAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,cAAA,GAAAN,sBAAA,CAAAC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eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,CAAA,SAAAG,CAAA,GAAAP,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAG,CAAA,KAAAA,CAAA,CAAAV,GAAA,IAAAU,CAAA,CAAAC,GAAA,IAAAP,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAG,CAAA,IAAAT,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAe,GAAA,CAAAlB,CAAA,EAAAQ,CAAA,GAAAA,CAAA;AAAA,SAAAjE,uBAAAyD,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAI,UAAA,GAAAJ,CAAA,KAAAK,OAAA,EAAAL,CAAA","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_Accordion","_interopRequireDefault","require","_AccordionContent","_AccordionGroup","_AccordionIntro","_AccordionItem","_AmountControl","_AreaContextProvider","_interopRequireWildcard","_Badge","_Button","_Checkbox","_ColorSchemeProvider","_ComboBox","_ContentCard","_ContextMenu","_ExpandableContent","_FileInput","_FilterButtons","_GridImage","_Icon","_Input","_List","_ListItemContent","_ListItem","_MentionFinder","_NumberInput","_Popup","_PopupContent","_ProgressBar","_RadioButtonGroup","_RadioButton","_ScrollView","_SearchBox","_SearchInput","_SelectButton","_SetupWizardItem","_SetupWizard","_SharingBar","_Signature","_SliderButton","_Slider","_SmallWaitCursor","_TagInput","_TextArea","_Tooltip","_Truncation","_mentionFinder","_useElementSize","_comboBox","_contentCard","_contextMenu","_filterButtons","_truncation","_fileDialog","_isTobitEmployee","_uploadFile","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set"],"sources":["../../src/index.ts"],"sourcesContent":["// noinspection JSUnusedGlobalSymbols\nexport { default as Accordion } from './components/accordion/Accordion';\nexport { default as AccordionContent } from './components/accordion/accordion-content/AccordionContent';\nexport { default as AccordionGroup } from './components/accordion/accordion-group/AccordionGroup';\nexport { default as AccordionIntro } from './components/accordion/accordion-intro/AccordionIntro';\nexport { default as AccordionItem } from './components/accordion/accordion-item/AccordionItem';\nexport { default as AmountControl } from './components/amount-control/AmountControl';\nexport {\n AreaContext,\n default as AreaProvider,\n} from './components/area-provider/AreaContextProvider';\nexport { default as Badge } from './components/badge/Badge';\nexport { default as Button } from './components/button/Button';\nexport { default as Checkbox } from './components/checkbox/Checkbox';\nexport { default as ColorSchemeProvider } from './components/color-scheme-provider/ColorSchemeProvider';\nexport type {\n FramerMotionBugFix,\n WithTheme,\n} from './components/color-scheme-provider/ColorSchemeProvider';\nexport { default as ComboBox } from './components/combobox/ComboBox';\nexport type { IComboBoxItem as ComboBoxItem } from './components/combobox/ComboBox';\nexport { default as ContentCard } from './components/content-card/ContentCard';\nexport { default as ContextMenu } from './components/context-menu/ContextMenu';\nexport { default as ExpandableContent } from './components/expandable-content/ExpandableContent';\nexport { default as FileInput } from './components/file-input/FileInput';\nexport { default as FilterButtons } from './components/filter-buttons/FilterButtons';\nexport { default as GridImage } from './components/grid-image/GridImage';\nexport { default as Icon } from './components/icon/Icon';\nexport { default as Input } from './components/input/Input';\nexport { default as List } from './components/list/List';\nexport { default as ListItemContent } from './components/list/list-item/list-item-content/ListItemContent';\nexport { default as ListItem, type ListItemProps } from './components/list/list-item/ListItem';\nexport { default as MentionFinder } from './components/mention-finder/MentionFinder';\nexport type { MentionMember } from './components/mention-finder/MentionFinder';\nexport { default as NumberInput } from './components/number-input/NumberInput';\nexport { default as Popup } from './components/popup/Popup';\nexport { default as PopupContent } from './components/popup/popup-content/PopupContent';\nexport { default as ProgressBar } from './components/progress-bar/ProgressBar';\nexport { default as RadioButtonGroup } from './components/radio-button/radio-button-group/RadioButtonGroup';\nexport { default as RadioButton } from './components/radio-button/RadioButton';\nexport { default as ScrollView } from './components/scroll-view/ScrollView';\nexport { default as SearchBox } from './components/search-box/SearchBox';\nexport { default as SearchInput } from './components/search-input/SearchInput';\nexport { default as SelectButton } from './components/select-button/SelectButton';\nexport { default as SetupWizardItem } from './components/setup-wizard/setup-wizard-item/SetupWizardItem';\nexport { default as SetupWizard } from './components/setup-wizard/SetupWizard';\nexport type { SetupWizardRef } from './components/setup-wizard/SetupWizard';\nexport { default as SharingBar } from './components/sharing-bar/SharingBar';\nexport { default as Signature } from './components/signature/Signature';\nexport type { SignatureRef } from './components/signature/Signature';\nexport { default as SliderButton } from './components/slider-button/SliderButton';\nexport { default as Slider } from './components/slider/Slider';\nexport {\n default as SmallWaitCursor,\n SmallWaitCursorSize,\n SmallWaitCursorSpeed,\n} from './components/small-wait-cursor/SmallWaitCursor';\nexport { default as TagInput } from './components/tag-input/TagInput';\nexport { default as TextArea } from './components/text-area/TextArea';\nexport { default as Tooltip } from './components/tooltip/Tooltip';\nexport { default as Truncation } from './components/truncation/Truncation';\nexport { MentionFinderPopupAlignment } from './constants/mentionFinder';\nexport { useElementSize } from './hooks/useElementSize';\nexport { ComboBoxDirection } from './types/comboBox';\nexport { ContentCardType } from './types/contentCard';\nexport { ContextMenuAlignment } from './types/contextMenu';\nexport type { FileItem, Image, InternalFileItem, Meta, Video } from './types/file';\nexport type { FileInputFileItem } from './types/fileInput';\nexport { FilterButtonItemShape, FilterButtonSize } from './types/filterButtons';\nexport type { IFilterButtonItem as FilterButtonItem } from './types/filterButtons';\nexport type { PopupRef } from './types/popup';\nexport type { RadioButtonItem } from './types/radioButton';\nexport type {\n ISearchBoxItem as SearchBoxItem,\n ISearchBoxItems as SearchBoxItems,\n} from './types/searchBox';\nexport type { SelectButtonItem } from './types/selectButton';\nexport type { SliderButtonItem } from './types/slider-button';\nexport { ClampPosition } from './types/truncation';\nexport { getFileAsArrayBuffer, selectFiles } from './utils/fileDialog';\nexport { isTobitEmployee } from './utils/isTobitEmployee';\nexport { uploadFile } from './utils/uploadFile';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,eAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,eAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,cAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,cAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,oBAAA,GAAAC,uBAAA,CAAAP,OAAA;AAIA,IAAAQ,MAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,OAAA,GAAAV,sBAAA,CAAAC,OAAA;AACA,IAA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AA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,CAAA,SAAAG,CAAA,GAAAP,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAG,CAAA,KAAAA,CAAA,CAAAV,GAAA,IAAAU,CAAA,CAAAC,GAAA,IAAAP,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAG,CAAA,IAAAT,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAe,GAAA,CAAAlB,CAAA,EAAAQ,CAAA,GAAAA,CAAA;AAAA,SAAAlE,uBAAA0D,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAI,UAAA,GAAAJ,CAAA,KAAAK,OAAA,EAAAL,CAAA","ignoreList":[]}
@@ -0,0 +1,33 @@
1
+ import { AnimatePresence } from 'framer-motion';
2
+ import React, { useMemo } from 'react';
3
+ import { StyledMotionExpandableContent } from './ExpandableContent.styles';
4
+ const ExpandableContent = _ref => {
5
+ let {
6
+ children,
7
+ id,
8
+ exit,
9
+ type = 'tween',
10
+ initial,
11
+ animate,
12
+ style,
13
+ duration = 0.2
14
+ } = _ref;
15
+ return useMemo(() => /*#__PURE__*/React.createElement(AnimatePresence, {
16
+ initial: false
17
+ }, /*#__PURE__*/React.createElement(StyledMotionExpandableContent, {
18
+ animate: animate,
19
+ initial: initial,
20
+ exit: exit,
21
+ transition: {
22
+ duration,
23
+ type
24
+ },
25
+ key: id,
26
+ style: {
27
+ ...style
28
+ }
29
+ }, children)), [animate, children, duration, exit, id, initial, style, type]);
30
+ };
31
+ ExpandableContent.displayName = 'ExpandableContent';
32
+ export default ExpandableContent;
33
+ //# sourceMappingURL=ExpandableContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExpandableContent.js","names":["AnimatePresence","React","useMemo","StyledMotionExpandableContent","ExpandableContent","_ref","children","id","exit","type","initial","animate","style","duration","createElement","transition","key","displayName"],"sources":["../../../../src/components/expandable-content/ExpandableContent.tsx"],"sourcesContent":["import {\n AnimatePresence,\n type AnimationControls,\n type TargetAndTransition,\n type VariantLabels,\n} from 'framer-motion';\nimport React, { CSSProperties, FC, ReactNode, useMemo } from 'react';\nimport { StyledMotionExpandableContent } from './ExpandableContent.styles';\n\nexport type ExpandableContentProps = {\n /**\n * The styles that should be animated.\n */\n animate?: boolean | AnimationControls | TargetAndTransition | VariantLabels;\n /**\n * The children that should be animated.\n */\n children: ReactNode;\n /**\n * How long the animation last.\n */\n duration?: number;\n /**\n * the exit animation.\n */\n exit?: TargetAndTransition | VariantLabels;\n /**\n * the id of the element.\n */\n id: string;\n /**\n * the initial animation.\n */\n initial?: boolean | VariantLabels;\n /**\n * The style of the wrapper.\n */\n style?: CSSProperties;\n /**\n * The type of the animation.\n */\n type?: 'just' | 'inertia' | 'tween' | 'spring' | 'keyframes';\n};\n\nconst ExpandableContent: FC<ExpandableContentProps> = ({\n children,\n id,\n exit,\n type = 'tween',\n initial,\n animate,\n style,\n duration = 0.2,\n}) =>\n useMemo(\n () => (\n <AnimatePresence initial={false}>\n <StyledMotionExpandableContent\n animate={animate}\n initial={initial}\n exit={exit}\n transition={{ duration, type }}\n key={id}\n style={{ ...style }}\n >\n {children}\n </StyledMotionExpandableContent>\n </AnimatePresence>\n ),\n [animate, children, duration, exit, id, initial, style, type],\n );\n\nExpandableContent.displayName = 'ExpandableContent';\n\nexport default ExpandableContent;\n"],"mappings":"AAAA,SACIA,eAAe,QAIZ,eAAe;AACtB,OAAOC,KAAK,IAAkCC,OAAO,QAAQ,OAAO;AACpE,SAASC,6BAA6B,QAAQ,4BAA4B;AAqC1E,MAAMC,iBAA6C,GAAGC,IAAA;EAAA,IAAC;IACnDC,QAAQ;IACRC,EAAE;IACFC,IAAI;IACJC,IAAI,GAAG,OAAO;IACdC,OAAO;IACPC,OAAO;IACPC,KAAK;IACLC,QAAQ,GAAG;EACf,CAAC,GAAAR,IAAA;EAAA,OACGH,OAAO,CACH,mBACID,KAAA,CAAAa,aAAA,CAACd,eAAe;IAACU,OAAO,EAAE;EAAM,gBAC5BT,KAAA,CAAAa,aAAA,CAACX,6BAA6B;IAC1BQ,OAAO,EAAEA,OAAQ;IACjBD,OAAO,EAAEA,OAAQ;IACjBF,IAAI,EAAEA,IAAK;IACXO,UAAU,EAAE;MAAEF,QAAQ;MAAEJ;IAAK,CAAE;IAC/BO,GAAG,EAAET,EAAG;IACRK,KAAK,EAAE;MAAE,GAAGA;IAAM;EAAE,GAEnBN,QAC0B,CAClB,CACpB,EACD,CAACK,OAAO,EAAEL,QAAQ,EAAEO,QAAQ,EAAEL,IAAI,EAAED,EAAE,EAAEG,OAAO,EAAEE,KAAK,EAAEH,IAAI,CAChE,CAAC;AAAA;AAELL,iBAAiB,CAACa,WAAW,GAAG,mBAAmB;AAEnD,eAAeb,iBAAiB","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ import { motion } from 'framer-motion';
2
+ import styled from 'styled-components';
3
+ export const StyledMotionExpandableContent = styled(motion.div)``;
4
+ //# sourceMappingURL=ExpandableContent.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExpandableContent.styles.js","names":["motion","styled","StyledMotionExpandableContent","div"],"sources":["../../../../src/components/expandable-content/ExpandableContent.styles.ts"],"sourcesContent":["import { motion } from 'framer-motion';\nimport styled from 'styled-components';\n\nexport const StyledMotionExpandableContent = styled(motion.div)``;\n"],"mappings":"AAAA,SAASA,MAAM,QAAQ,eAAe;AACtC,OAAOC,MAAM,MAAM,mBAAmB;AAEtC,OAAO,MAAMC,6BAA6B,GAAGD,MAAM,CAACD,MAAM,CAACG,GAAG,CAAC,EAAE","ignoreList":[]}
package/lib/esm/index.js CHANGED
@@ -13,6 +13,7 @@ export { default as ColorSchemeProvider } from './components/color-scheme-provid
13
13
  export { default as ComboBox } from './components/combobox/ComboBox';
14
14
  export { default as ContentCard } from './components/content-card/ContentCard';
15
15
  export { default as ContextMenu } from './components/context-menu/ContextMenu';
16
+ export { default as ExpandableContent } from './components/expandable-content/ExpandableContent';
16
17
  export { default as FileInput } from './components/file-input/FileInput';
17
18
  export { default as FilterButtons } from './components/filter-buttons/FilterButtons';
18
19
  export { default as GridImage } from './components/grid-image/GridImage';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["default","Accordion","AccordionContent","AccordionGroup","AccordionIntro","AccordionItem","AmountControl","AreaContext","AreaProvider","Badge","Button","Checkbox","ColorSchemeProvider","ComboBox","ContentCard","ContextMenu","FileInput","FilterButtons","GridImage","Icon","Input","List","ListItemContent","ListItem","MentionFinder","NumberInput","Popup","PopupContent","ProgressBar","RadioButtonGroup","RadioButton","ScrollView","SearchBox","SearchInput","SelectButton","SetupWizardItem","SetupWizard","SharingBar","Signature","SliderButton","Slider","SmallWaitCursor","SmallWaitCursorSize","SmallWaitCursorSpeed","TagInput","TextArea","Tooltip","Truncation","MentionFinderPopupAlignment","useElementSize","ComboBoxDirection","ContentCardType","ContextMenuAlignment","FilterButtonItemShape","FilterButtonSize","ClampPosition","getFileAsArrayBuffer","selectFiles","isTobitEmployee","uploadFile"],"sources":["../../src/index.ts"],"sourcesContent":["// noinspection JSUnusedGlobalSymbols\nexport { default as Accordion } from './components/accordion/Accordion';\nexport { default as AccordionContent } from './components/accordion/accordion-content/AccordionContent';\nexport { default as AccordionGroup } from './components/accordion/accordion-group/AccordionGroup';\nexport { default as AccordionIntro } from './components/accordion/accordion-intro/AccordionIntro';\nexport { default as AccordionItem } from './components/accordion/accordion-item/AccordionItem';\nexport { default as AmountControl } from './components/amount-control/AmountControl';\nexport {\n AreaContext,\n default as AreaProvider,\n} from './components/area-provider/AreaContextProvider';\nexport { default as Badge } from './components/badge/Badge';\nexport { default as Button } from './components/button/Button';\nexport { default as Checkbox } from './components/checkbox/Checkbox';\nexport { default as ColorSchemeProvider } from './components/color-scheme-provider/ColorSchemeProvider';\nexport type {\n FramerMotionBugFix,\n WithTheme,\n} from './components/color-scheme-provider/ColorSchemeProvider';\nexport { default as ComboBox } from './components/combobox/ComboBox';\nexport type { IComboBoxItem as ComboBoxItem } from './components/combobox/ComboBox';\nexport { default as ContentCard } from './components/content-card/ContentCard';\nexport { default as ContextMenu } from './components/context-menu/ContextMenu';\nexport { default as FileInput } from './components/file-input/FileInput';\nexport { default as FilterButtons } from './components/filter-buttons/FilterButtons';\nexport { default as GridImage } from './components/grid-image/GridImage';\nexport { default as Icon } from './components/icon/Icon';\nexport { default as Input } from './components/input/Input';\nexport { default as List } from './components/list/List';\nexport { default as ListItemContent } from './components/list/list-item/list-item-content/ListItemContent';\nexport { default as ListItem, type ListItemProps } from './components/list/list-item/ListItem';\nexport { default as MentionFinder } from './components/mention-finder/MentionFinder';\nexport type { MentionMember } from './components/mention-finder/MentionFinder';\nexport { default as NumberInput } from './components/number-input/NumberInput';\nexport { default as Popup } from './components/popup/Popup';\nexport { default as PopupContent } from './components/popup/popup-content/PopupContent';\nexport { default as ProgressBar } from './components/progress-bar/ProgressBar';\nexport { default as RadioButtonGroup } from './components/radio-button/radio-button-group/RadioButtonGroup';\nexport { default as RadioButton } from './components/radio-button/RadioButton';\nexport { default as ScrollView } from './components/scroll-view/ScrollView';\nexport { default as SearchBox } from './components/search-box/SearchBox';\nexport { default as SearchInput } from './components/search-input/SearchInput';\nexport { default as SelectButton } from './components/select-button/SelectButton';\nexport { default as SetupWizardItem } from './components/setup-wizard/setup-wizard-item/SetupWizardItem';\nexport { default as SetupWizard } from './components/setup-wizard/SetupWizard';\nexport type { SetupWizardRef } from './components/setup-wizard/SetupWizard';\nexport { default as SharingBar } from './components/sharing-bar/SharingBar';\nexport { default as Signature } from './components/signature/Signature';\nexport type { SignatureRef } from './components/signature/Signature';\nexport { default as SliderButton } from './components/slider-button/SliderButton';\nexport { default as Slider } from './components/slider/Slider';\nexport {\n default as SmallWaitCursor,\n SmallWaitCursorSize,\n SmallWaitCursorSpeed,\n} from './components/small-wait-cursor/SmallWaitCursor';\nexport { default as TagInput } from './components/tag-input/TagInput';\nexport { default as TextArea } from './components/text-area/TextArea';\nexport { default as Tooltip } from './components/tooltip/Tooltip';\nexport { default as Truncation } from './components/truncation/Truncation';\nexport { MentionFinderPopupAlignment } from './constants/mentionFinder';\nexport { useElementSize } from './hooks/useElementSize';\nexport { ComboBoxDirection } from './types/comboBox';\nexport { ContentCardType } from './types/contentCard';\nexport { ContextMenuAlignment } from './types/contextMenu';\nexport type { FileItem, Image, InternalFileItem, Meta, Video } from './types/file';\nexport type { FileInputFileItem } from './types/fileInput';\nexport { FilterButtonItemShape, FilterButtonSize } from './types/filterButtons';\nexport type { IFilterButtonItem as FilterButtonItem } from './types/filterButtons';\nexport type { PopupRef } from './types/popup';\nexport type { RadioButtonItem } from './types/radioButton';\nexport type {\n ISearchBoxItem as SearchBoxItem,\n ISearchBoxItems as SearchBoxItems,\n} from './types/searchBox';\nexport type { SelectButtonItem } from './types/selectButton';\nexport type { SliderButtonItem } from './types/slider-button';\nexport { ClampPosition } from './types/truncation';\nexport { getFileAsArrayBuffer, selectFiles } from './utils/fileDialog';\nexport { isTobitEmployee } from './utils/isTobitEmployee';\nexport { uploadFile } from './utils/uploadFile';\n"],"mappings":"AAAA;AACA,SAASA,OAAO,IAAIC,SAAS,QAAQ,kCAAkC;AACvE,SAASD,OAAO,IAAIE,gBAAgB,QAAQ,2DAA2D;AACvG,SAASF,OAAO,IAAIG,cAAc,QAAQ,uDAAuD;AACjG,SAASH,OAAO,IAAII,cAAc,QAAQ,uDAAuD;AACjG,SAASJ,OAAO,IAAIK,aAAa,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ccordionItem","AmountControl","AreaContext","AreaProvider","Badge","Button","Checkbox","ColorSchemeProvider","ComboBox","ContentCard","ContextMenu","ExpandableContent","FileInput","FilterButtons","GridImage","Icon","Input","List","ListItemContent","ListItem","MentionFinder","NumberInput","Popup","PopupContent","ProgressBar","RadioButtonGroup","RadioButton","ScrollView","SearchBox","SearchInput","SelectButton","SetupWizardItem","SetupWizard","SharingBar","Signature","SliderButton","Slider","SmallWaitCursor","SmallWaitCursorSize","SmallWaitCursorSpeed","TagInput","TextArea","Tooltip","Truncation","MentionFinderPopupAlignment","useElementSize","ComboBoxDirection","ContentCardType","ContextMenuAlignment","FilterButtonItemShape","FilterButtonSize","ClampPosition","getFileAsArrayBuffer","selectFiles","isTobitEmployee","uploadFile"],"sources":["../../src/index.ts"],"sourcesContent":["// noinspection JSUnusedGlobalSymbols\nexport { default as Accordion } from './components/accordion/Accordion';\nexport { default as AccordionContent } from './components/accordion/accordion-content/AccordionContent';\nexport { default as AccordionGroup } from './components/accordion/accordion-group/AccordionGroup';\nexport { default as AccordionIntro } from './components/accordion/accordion-intro/AccordionIntro';\nexport { default as AccordionItem } from './components/accordion/accordion-item/AccordionItem';\nexport { default as AmountControl } from './components/amount-control/AmountControl';\nexport {\n AreaContext,\n default as AreaProvider,\n} from './components/area-provider/AreaContextProvider';\nexport { default as Badge } from './components/badge/Badge';\nexport { default as Button } from './components/button/Button';\nexport { default as Checkbox } from './components/checkbox/Checkbox';\nexport { default as ColorSchemeProvider } from './components/color-scheme-provider/ColorSchemeProvider';\nexport type {\n FramerMotionBugFix,\n WithTheme,\n} from './components/color-scheme-provider/ColorSchemeProvider';\nexport { default as ComboBox } from './components/combobox/ComboBox';\nexport type { IComboBoxItem as ComboBoxItem } from './components/combobox/ComboBox';\nexport { default as ContentCard } from './components/content-card/ContentCard';\nexport { default as ContextMenu } from './components/context-menu/ContextMenu';\nexport { default as ExpandableContent } from './components/expandable-content/ExpandableContent';\nexport { default as FileInput } from './components/file-input/FileInput';\nexport { default as FilterButtons } from './components/filter-buttons/FilterButtons';\nexport { default as GridImage } from './components/grid-image/GridImage';\nexport { default as Icon } from './components/icon/Icon';\nexport { default as Input } from './components/input/Input';\nexport { default as List } from './components/list/List';\nexport { default as ListItemContent } from './components/list/list-item/list-item-content/ListItemContent';\nexport { default as ListItem, type ListItemProps } from './components/list/list-item/ListItem';\nexport { default as MentionFinder } from './components/mention-finder/MentionFinder';\nexport type { MentionMember } from './components/mention-finder/MentionFinder';\nexport { default as NumberInput } from './components/number-input/NumberInput';\nexport { default as Popup } from './components/popup/Popup';\nexport { default as PopupContent } from './components/popup/popup-content/PopupContent';\nexport { default as ProgressBar } from './components/progress-bar/ProgressBar';\nexport { default as RadioButtonGroup } from './components/radio-button/radio-button-group/RadioButtonGroup';\nexport { default as RadioButton } from './components/radio-button/RadioButton';\nexport { default as ScrollView } from './components/scroll-view/ScrollView';\nexport { default as SearchBox } from './components/search-box/SearchBox';\nexport { default as SearchInput } from './components/search-input/SearchInput';\nexport { default as SelectButton } from './components/select-button/SelectButton';\nexport { default as SetupWizardItem } from './components/setup-wizard/setup-wizard-item/SetupWizardItem';\nexport { default as SetupWizard } from './components/setup-wizard/SetupWizard';\nexport type { SetupWizardRef } from './components/setup-wizard/SetupWizard';\nexport { default as SharingBar } from './components/sharing-bar/SharingBar';\nexport { default as Signature } from './components/signature/Signature';\nexport type { SignatureRef } from './components/signature/Signature';\nexport { default as SliderButton } from './components/slider-button/SliderButton';\nexport { default as Slider } from './components/slider/Slider';\nexport {\n default as SmallWaitCursor,\n SmallWaitCursorSize,\n SmallWaitCursorSpeed,\n} from './components/small-wait-cursor/SmallWaitCursor';\nexport { default as TagInput } from './components/tag-input/TagInput';\nexport { default as TextArea } from './components/text-area/TextArea';\nexport { default as Tooltip } from './components/tooltip/Tooltip';\nexport { default as Truncation } from './components/truncation/Truncation';\nexport { MentionFinderPopupAlignment } from './constants/mentionFinder';\nexport { useElementSize } from './hooks/useElementSize';\nexport { ComboBoxDirection } from './types/comboBox';\nexport { ContentCardType } from './types/contentCard';\nexport { ContextMenuAlignment } from './types/contextMenu';\nexport type { FileItem, Image, InternalFileItem, Meta, Video } from './types/file';\nexport type { FileInputFileItem } from './types/fileInput';\nexport { FilterButtonItemShape, FilterButtonSize } from './types/filterButtons';\nexport type { IFilterButtonItem as FilterButtonItem } from './types/filterButtons';\nexport type { PopupRef } from './types/popup';\nexport type { RadioButtonItem } from './types/radioButton';\nexport type {\n ISearchBoxItem as SearchBoxItem,\n ISearchBoxItems as SearchBoxItems,\n} from './types/searchBox';\nexport type { SelectButtonItem } from './types/selectButton';\nexport type { SliderButtonItem } from './types/slider-button';\nexport { ClampPosition } from './types/truncation';\nexport { getFileAsArrayBuffer, selectFiles } from './utils/fileDialog';\nexport { isTobitEmployee } from './utils/isTobitEmployee';\nexport { uploadFile } from './utils/uploadFile';\n"],"mappings":"AAAA;AACA,SAASA,OAAO,IAAIC,SAAS,QAAQ,kCAAkC;AACvE,SAASD,OAAO,IAAIE,gBAAgB,QAAQ,2DAA2D;AACvG,SAASF,OAAO,IAAIG,cAAc,QAAQ,uDAAuD;AACjG,SAASH,OAAO,IAAII,cAAc,QAAQ,uDAAuD;AACjG,SAASJ,OAAO,IAAIK,aAAa,QAAQ,qDAAqD;AAC9F,SAASL,OAAO,IAAIM,aAAa,QAAQ,2CAA2C;AACpF,SACIC,WAAW,EACXP,OAAO,IAAIQ,YAAY,QACpB,gDAAgD;AACvD,SAASR,OAAO,IAAIS,KAAK,QAAQ,0BAA0B;AAC3D,SAAST,OAAO,IAAIU,MAAM,QAAQ,4BAA4B;AAC9D,SAASV,OAAO,IAAIW,QAAQ,QAAQ,gCAAgC;AACpE,SAASX,OAAO,IAAIY,mBAAmB,QAAQ,wDAAwD;AAKvG,SAASZ,OAAO,IAAIa,QAAQ,QAAQ,gCAAgC;AAEpE,SAASb,OAAO,IAAIc,WAAW,QAAQ,uCAAuC;AAC9E,SAASd,OAAO,IAAIe,WAAW,QAAQ,uCAAuC;AAC9E,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YAAY,QAAQ,yCAAyC;AACjF,SAASxC,OAAO,IAAIyC,MAAM,QAAQ,4BAA4B;AAC9D,SACIzC,OAAO,IAAI0C,eAAe,EAC1BC,mBAAmB,EACnBC,oBAAoB,QACjB,gDAAgD;AACvD,SAAS5C,OAAO,IAAI6C,QAAQ,QAAQ,iCAAiC;AACrE,SAAS7C,OAAO,IAAI8C,QAAQ,QAAQ,iCAAiC;AACrE,SAAS9C,OAAO,IAAI+C,OAAO,QAAQ,8BAA8B;AACjE,SAAS/C,OAAO,IAAIgD,UAAU,QAAQ,oCAAoC;AAC1E,SAASC,2BAA2B,QAAQ,2BAA2B;AACvE,SAASC,cAAc,QAAQ,wBAAwB;AACvD,SAASC,iBAAiB,QAAQ,kBAAkB;AACpD,SAASC,eAAe,QAAQ,qBAAqB;AACrD,SAASC,oBAAoB,QAAQ,qBAAqB;AAG1D,SAASC,qBAAqB,EAAEC,gBAAgB,QAAQ,uBAAuB;AAU/E,SAASC,aAAa,QAAQ,oBAAoB;AAClD,SAASC,oBAAoB,EAAEC,WAAW,QAAQ,oBAAoB;AACtE,SAASC,eAAe,QAAQ,yBAAyB;AACzD,SAASC,UAAU,QAAQ,oBAAoB","ignoreList":[]}
@@ -0,0 +1,38 @@
1
+ import { type AnimationControls, type TargetAndTransition, type VariantLabels } from 'framer-motion';
2
+ import { CSSProperties, FC, ReactNode } from 'react';
3
+ export type ExpandableContentProps = {
4
+ /**
5
+ * The styles that should be animated.
6
+ */
7
+ animate?: boolean | AnimationControls | TargetAndTransition | VariantLabels;
8
+ /**
9
+ * The children that should be animated.
10
+ */
11
+ children: ReactNode;
12
+ /**
13
+ * How long the animation last.
14
+ */
15
+ duration?: number;
16
+ /**
17
+ * the exit animation.
18
+ */
19
+ exit?: TargetAndTransition | VariantLabels;
20
+ /**
21
+ * the id of the element.
22
+ */
23
+ id: string;
24
+ /**
25
+ * the initial animation.
26
+ */
27
+ initial?: boolean | VariantLabels;
28
+ /**
29
+ * The style of the wrapper.
30
+ */
31
+ style?: CSSProperties;
32
+ /**
33
+ * The type of the animation.
34
+ */
35
+ type?: 'just' | 'inertia' | 'tween' | 'spring' | 'keyframes';
36
+ };
37
+ declare const ExpandableContent: FC<ExpandableContentProps>;
38
+ export default ExpandableContent;
@@ -0,0 +1,265 @@
1
+ /// <reference types="react" />
2
+ /// <reference types="react" />
3
+ export declare const StyledMotionExpandableContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<{
4
+ slot?: string | undefined;
5
+ title?: string | undefined;
6
+ id?: string | undefined;
7
+ color?: string | undefined;
8
+ rel?: string | undefined;
9
+ defaultChecked?: boolean | undefined;
10
+ defaultValue?: string | number | readonly string[] | undefined;
11
+ suppressContentEditableWarning?: boolean | undefined;
12
+ suppressHydrationWarning?: boolean | undefined;
13
+ accessKey?: string | undefined;
14
+ autoFocus?: boolean | undefined;
15
+ className?: string | undefined;
16
+ contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
17
+ contextMenu?: string | undefined;
18
+ dir?: string | undefined;
19
+ draggable?: (boolean | "true" | "false") | undefined;
20
+ hidden?: boolean | undefined;
21
+ lang?: string | undefined;
22
+ nonce?: string | undefined;
23
+ spellCheck?: (boolean | "true" | "false") | undefined;
24
+ tabIndex?: number | undefined;
25
+ translate?: "yes" | "no" | undefined;
26
+ radioGroup?: string | undefined;
27
+ role?: import("react").AriaRole | undefined;
28
+ about?: string | undefined;
29
+ content?: string | undefined;
30
+ datatype?: string | undefined;
31
+ inlist?: any;
32
+ prefix?: string | undefined;
33
+ property?: string | undefined;
34
+ resource?: string | undefined;
35
+ rev?: string | undefined;
36
+ typeof?: string | undefined;
37
+ vocab?: string | undefined;
38
+ autoCapitalize?: string | undefined;
39
+ autoCorrect?: string | undefined;
40
+ autoSave?: string | undefined;
41
+ itemProp?: string | undefined;
42
+ itemScope?: boolean | undefined;
43
+ itemType?: string | undefined;
44
+ itemID?: string | undefined;
45
+ itemRef?: string | undefined;
46
+ results?: number | undefined;
47
+ security?: string | undefined;
48
+ unselectable?: "on" | "off" | undefined;
49
+ inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
50
+ is?: string | undefined;
51
+ "aria-activedescendant"?: string | undefined;
52
+ "aria-atomic"?: (boolean | "true" | "false") | undefined;
53
+ "aria-autocomplete"?: "none" | "list" | "both" | "inline" | undefined;
54
+ "aria-braillelabel"?: string | undefined;
55
+ "aria-brailleroledescription"?: string | undefined;
56
+ "aria-busy"?: (boolean | "true" | "false") | undefined;
57
+ "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
58
+ "aria-colcount"?: number | undefined;
59
+ "aria-colindex"?: number | undefined;
60
+ "aria-colindextext"?: string | undefined;
61
+ "aria-colspan"?: number | undefined;
62
+ "aria-controls"?: string | undefined;
63
+ "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
64
+ "aria-describedby"?: string | undefined;
65
+ "aria-description"?: string | undefined;
66
+ "aria-details"?: string | undefined;
67
+ "aria-disabled"?: (boolean | "true" | "false") | undefined;
68
+ "aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
69
+ "aria-errormessage"?: string | undefined;
70
+ "aria-expanded"?: (boolean | "true" | "false") | undefined;
71
+ "aria-flowto"?: string | undefined;
72
+ "aria-grabbed"?: (boolean | "true" | "false") | undefined;
73
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
74
+ "aria-hidden"?: (boolean | "true" | "false") | undefined;
75
+ "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
76
+ "aria-keyshortcuts"?: string | undefined;
77
+ "aria-label"?: string | undefined;
78
+ "aria-labelledby"?: string | undefined;
79
+ "aria-level"?: number | undefined;
80
+ "aria-live"?: "off" | "assertive" | "polite" | undefined;
81
+ "aria-modal"?: (boolean | "true" | "false") | undefined;
82
+ "aria-multiline"?: (boolean | "true" | "false") | undefined;
83
+ "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
84
+ "aria-orientation"?: "horizontal" | "vertical" | undefined;
85
+ "aria-owns"?: string | undefined;
86
+ "aria-placeholder"?: string | undefined;
87
+ "aria-posinset"?: number | undefined;
88
+ "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
89
+ "aria-readonly"?: (boolean | "true" | "false") | undefined;
90
+ "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
91
+ "aria-required"?: (boolean | "true" | "false") | undefined;
92
+ "aria-roledescription"?: string | undefined;
93
+ "aria-rowcount"?: number | undefined;
94
+ "aria-rowindex"?: number | undefined;
95
+ "aria-rowindextext"?: string | undefined;
96
+ "aria-rowspan"?: number | undefined;
97
+ "aria-selected"?: (boolean | "true" | "false") | undefined;
98
+ "aria-setsize"?: number | undefined;
99
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
100
+ "aria-valuemax"?: number | undefined;
101
+ "aria-valuemin"?: number | undefined;
102
+ "aria-valuenow"?: number | undefined;
103
+ "aria-valuetext"?: string | undefined;
104
+ dangerouslySetInnerHTML?: {
105
+ __html: string | TrustedHTML;
106
+ } | undefined;
107
+ onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
108
+ onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
109
+ onCut?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
110
+ onCutCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
111
+ onPaste?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
112
+ onPasteCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
113
+ onCompositionEnd?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
114
+ onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
115
+ onCompositionStart?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
116
+ onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
117
+ onCompositionUpdate?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
118
+ onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
119
+ onFocus?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
120
+ onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
121
+ onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
122
+ onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
123
+ onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
124
+ onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
125
+ onBeforeInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
126
+ onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
127
+ onInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
128
+ onInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
129
+ onReset?: import("react").FormEventHandler<HTMLDivElement> | undefined;
130
+ onResetCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
131
+ onSubmit?: import("react").FormEventHandler<HTMLDivElement> | undefined;
132
+ onSubmitCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
133
+ onInvalid?: import("react").FormEventHandler<HTMLDivElement> | undefined;
134
+ onInvalidCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
135
+ onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
136
+ onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
137
+ onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
138
+ onErrorCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
139
+ onKeyDown?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
140
+ onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
141
+ onKeyPress?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
142
+ onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
143
+ onKeyUp?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
144
+ onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
145
+ onAbort?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
146
+ onAbortCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
147
+ onCanPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
148
+ onCanPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
149
+ onCanPlayThrough?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
150
+ onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
151
+ onDurationChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
152
+ onDurationChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
153
+ onEmptied?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
154
+ onEmptiedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
155
+ onEncrypted?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
156
+ onEncryptedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
157
+ onEnded?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
158
+ onEndedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
159
+ onLoadedData?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
160
+ onLoadedDataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
161
+ onLoadedMetadata?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
162
+ onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
163
+ onLoadStart?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
164
+ onLoadStartCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
165
+ onPause?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
166
+ onPauseCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
167
+ onPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
168
+ onPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
169
+ onPlaying?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
170
+ onPlayingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
171
+ onProgress?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
172
+ onProgressCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
173
+ onRateChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
174
+ onRateChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
175
+ onResize?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
176
+ onResizeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
177
+ onSeeked?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
178
+ onSeekedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
179
+ onSeeking?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
180
+ onSeekingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
181
+ onStalled?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
182
+ onStalledCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
183
+ onSuspend?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
184
+ onSuspendCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
185
+ onTimeUpdate?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
186
+ onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
187
+ onVolumeChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
188
+ onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
189
+ onWaiting?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
190
+ onWaitingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
191
+ onAuxClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
192
+ onAuxClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
193
+ onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
194
+ onClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
195
+ onContextMenu?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
196
+ onContextMenuCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
197
+ onDoubleClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
198
+ onDoubleClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
199
+ onDragCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
200
+ onDragEndCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
201
+ onDragEnter?: import("react").DragEventHandler<HTMLDivElement> | undefined;
202
+ onDragEnterCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
203
+ onDragExit?: import("react").DragEventHandler<HTMLDivElement> | undefined;
204
+ onDragExitCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
205
+ onDragLeave?: import("react").DragEventHandler<HTMLDivElement> | undefined;
206
+ onDragLeaveCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
207
+ onDragOver?: import("react").DragEventHandler<HTMLDivElement> | undefined;
208
+ onDragOverCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
209
+ onDragStartCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
210
+ onDrop?: import("react").DragEventHandler<HTMLDivElement> | undefined;
211
+ onDropCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
212
+ onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
213
+ onMouseDownCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
214
+ onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
215
+ onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
216
+ onMouseMove?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
217
+ onMouseMoveCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
218
+ onMouseOut?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
219
+ onMouseOutCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
220
+ onMouseOver?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
221
+ onMouseOverCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
222
+ onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
223
+ onMouseUpCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
224
+ onSelect?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
225
+ onSelectCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
226
+ onTouchCancel?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
227
+ onTouchCancelCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
228
+ onTouchEnd?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
229
+ onTouchEndCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
230
+ onTouchMove?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
231
+ onTouchMoveCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
232
+ onTouchStart?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
233
+ onTouchStartCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
234
+ onPointerDown?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
235
+ onPointerDownCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
236
+ onPointerMove?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
237
+ onPointerMoveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
238
+ onPointerUp?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
239
+ onPointerUpCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
240
+ onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
241
+ onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
242
+ onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
243
+ onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
244
+ onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
245
+ onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
246
+ onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
247
+ onPointerOutCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
248
+ onGotPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
249
+ onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
250
+ onLostPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
251
+ onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
252
+ onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
253
+ onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
254
+ onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
255
+ onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
256
+ onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
257
+ onAnimationEnd?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
258
+ onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
259
+ onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
260
+ onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
261
+ onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
262
+ onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
263
+ } & import("framer-motion").MotionProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
264
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
265
+ }, never>> & string & Omit<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, keyof import("react").Component<any, {}, any>>;
@@ -14,6 +14,7 @@ export { default as ComboBox } from './components/combobox/ComboBox';
14
14
  export type { IComboBoxItem as ComboBoxItem } from './components/combobox/ComboBox';
15
15
  export { default as ContentCard } from './components/content-card/ContentCard';
16
16
  export { default as ContextMenu } from './components/context-menu/ContextMenu';
17
+ export { default as ExpandableContent } from './components/expandable-content/ExpandableContent';
17
18
  export { default as FileInput } from './components/file-input/FileInput';
18
19
  export { default as FilterButtons } from './components/filter-buttons/FilterButtons';
19
20
  export { default as GridImage } from './components/grid-image/GridImage';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chayns-components/core",
3
- "version": "5.0.0-beta.635",
3
+ "version": "5.0.0-beta.637",
4
4
  "description": "A set of beautiful React components for developing your own applications with chayns.",
5
5
  "sideEffects": false,
6
6
  "browserslist": [
@@ -85,5 +85,5 @@
85
85
  "publishConfig": {
86
86
  "access": "public"
87
87
  },
88
- "gitHead": "eca69dc9b3b2185f2b12c95ec88b4df4390ffcb8"
88
+ "gitHead": "75d0800867ab02ad03be863f3cb6c430c7835403"
89
89
  }