@ceed/ads 0.0.17-8 → 0.0.17-9

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.
@@ -1,39 +1,4 @@
1
1
  import React from "react";
2
- declare const MotionAccordionGroup: import("framer-motion").CustomDomComponent<{
3
- children?: React.ReactNode;
4
- color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").AccordionGroupPropsColorOverrides> | undefined;
5
- disableDivider?: boolean | undefined;
6
- size?: import("@mui/types").OverridableStringUnion<"sm" | "md" | "lg", import("@mui/joy").AccordionGroupPropsSizeOverrides> | undefined;
7
- transition?: string | {
8
- initial: string;
9
- expanded: string;
10
- } | undefined;
11
- variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").AccordionGroupPropsVariantOverrides> | undefined;
12
- sx?: import("@mui/joy/styles/types").SxProps | undefined;
13
- } & import("@mui/joy").AccordionGroupSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
14
- ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
15
- }, "children" | "transition" | "color" | "disableDivider" | "size" | "variant" | "sx" | keyof import("@mui/joy").AccordionGroupSlotsAndSlotProps>>;
16
- declare function AccordionGroup(props: {
17
- controlled?: boolean;
18
- indicator?: React.ReactNode;
19
- } & React.ComponentProps<typeof MotionAccordionGroup>): React.JSX.Element;
20
- declare namespace AccordionGroup {
21
- var displayName: string;
22
- }
23
- export { AccordionGroup };
24
- declare const MotionAccordion: import("framer-motion").CustomDomComponent<{
25
- accordionId?: string | undefined;
26
- color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").AccordionPropsColorOverrides> | undefined;
27
- children?: React.ReactNode;
28
- defaultExpanded?: boolean | undefined;
29
- disabled?: boolean | undefined;
30
- expanded?: boolean | undefined;
31
- onChange?: ((event: React.SyntheticEvent<Element, Event>, expanded: boolean) => void) | undefined;
32
- variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").AccordionPropsVariantOverrides> | undefined;
33
- sx?: import("@mui/joy/styles/types").SxProps | undefined;
34
- } & import("@mui/joy").AccordionSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
35
- ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
36
- }, "children" | "color" | "onChange" | "variant" | "sx" | "accordionId" | "defaultExpanded" | "disabled" | "expanded" | keyof import("@mui/joy").AccordionSlotsAndSlotProps>>;
37
2
  declare const AccordionSummary: import("framer-motion").CustomDomComponent<{
38
3
  children?: React.ReactNode;
39
4
  color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").AccordionSummaryPropsColorOverrides> | undefined;
@@ -42,7 +7,7 @@ declare const AccordionSummary: import("framer-motion").CustomDomComponent<{
42
7
  sx?: import("@mui/joy/styles/types").SxProps | undefined;
43
8
  } & import("@mui/joy").AccordionSummarySlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
44
9
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
45
- }, "children" | "color" | "variant" | "sx" | "indicator" | keyof import("@mui/joy").AccordionSummarySlotsAndSlotProps>>;
10
+ }, "children" | "color" | "indicator" | "variant" | "sx" | keyof import("@mui/joy").AccordionSummarySlotsAndSlotProps>>;
46
11
  export { AccordionSummary };
47
12
  declare const AccordionDetails: import("framer-motion").CustomDomComponent<{
48
13
  children?: React.ReactNode;
@@ -53,13 +18,49 @@ declare const AccordionDetails: import("framer-motion").CustomDomComponent<{
53
18
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
54
19
  }, "children" | "color" | "variant" | "sx" | keyof import("@mui/joy").AccordionDetailsSlotsAndSlotProps>>;
55
20
  export { AccordionDetails };
21
+ declare const MotionAccordion: import("framer-motion").CustomDomComponent<{
22
+ accordionId?: string | undefined;
23
+ color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").AccordionPropsColorOverrides> | undefined;
24
+ children?: React.ReactNode;
25
+ defaultExpanded?: boolean | undefined;
26
+ disabled?: boolean | undefined;
27
+ expanded?: boolean | undefined;
28
+ onChange?: ((event: React.SyntheticEvent<Element, Event>, expanded: boolean) => void) | undefined;
29
+ variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").AccordionPropsVariantOverrides> | undefined;
30
+ sx?: import("@mui/joy/styles/types").SxProps | undefined;
31
+ } & import("@mui/joy").AccordionSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
32
+ ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
33
+ }, "children" | "color" | "onChange" | "variant" | "sx" | "accordionId" | "defaultExpanded" | "disabled" | "expanded" | keyof import("@mui/joy").AccordionSlotsAndSlotProps>>;
56
34
  declare function Accordion(props: {
57
35
  summary: React.ReactNode;
58
36
  details: React.ReactNode;
59
- indicator?: React.ReactNode;
60
- index?: number;
37
+ index: number;
61
38
  } & React.ComponentProps<typeof MotionAccordion>): React.JSX.Element;
62
39
  declare namespace Accordion {
63
40
  var displayName: string;
64
41
  }
65
42
  export { Accordion };
43
+ declare const MotionAccordions: import("framer-motion").CustomDomComponent<{
44
+ children?: React.ReactNode;
45
+ color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").AccordionGroupPropsColorOverrides> | undefined;
46
+ disableDivider?: boolean | undefined;
47
+ size?: import("@mui/types").OverridableStringUnion<"sm" | "md" | "lg", import("@mui/joy").AccordionGroupPropsSizeOverrides> | undefined;
48
+ transition?: string | {
49
+ initial: string;
50
+ expanded: string;
51
+ } | undefined;
52
+ variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").AccordionGroupPropsVariantOverrides> | undefined;
53
+ sx?: import("@mui/joy/styles/types").SxProps | undefined;
54
+ } & import("@mui/joy").AccordionGroupSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
55
+ ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
56
+ }, "children" | "transition" | "color" | "variant" | "sx" | "disableDivider" | "size" | keyof import("@mui/joy").AccordionGroupSlotsAndSlotProps>>;
57
+ declare function Accordions(props: {
58
+ items: {
59
+ summary: string;
60
+ details: React.ReactNode;
61
+ }[];
62
+ } & React.ComponentProps<typeof MotionAccordions>): React.JSX.Element;
63
+ declare namespace Accordions {
64
+ var displayName: string;
65
+ }
66
+ export { Accordions };
@@ -20,35 +20,9 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import React, { createContext, useContext, useState, } from "react";
23
+ import React from "react";
24
24
  import { AccordionGroup as JoyAccordionGroup, Accordion as JoyAccordion, AccordionSummary as JoyAccordionSummary, AccordionDetails as JoyAccordionDetails, } from "@mui/joy";
25
25
  import { motion } from "framer-motion";
26
- var AccordionContext = createContext({
27
- setExpandedIndex: function () { },
28
- });
29
- var MotionAccordionGroup = motion(JoyAccordionGroup);
30
- function AccordionGroup(props) {
31
- // prop destruction
32
- var controlled = props.controlled, indicator = props.indicator, innerProps = __rest(props, ["controlled", "indicator"]);
33
- // lib hooks
34
- // state, ref, querystring hooks
35
- var _a = useState(), expandedIndex = _a[0], setExpandedIndex = _a[1];
36
- // form hooks
37
- // query hooks
38
- // calculated values
39
- // effects
40
- // handlers
41
- return (React.createElement(AccordionContext.Provider, { value: {
42
- expandedIndex: expandedIndex,
43
- setExpandedIndex: setExpandedIndex,
44
- isControlled: controlled,
45
- indicator: indicator,
46
- } },
47
- React.createElement(MotionAccordionGroup, __assign({}, innerProps))));
48
- }
49
- export { AccordionGroup };
50
- AccordionGroup.displayName = "AccordionGroup";
51
- var MotionAccordion = motion(JoyAccordion);
52
26
  var MotionAccordionSummary = motion(JoyAccordionSummary);
53
27
  var AccordionSummary = MotionAccordionSummary;
54
28
  export { AccordionSummary };
@@ -57,27 +31,36 @@ var MotionAccordionDetails = motion(JoyAccordionDetails);
57
31
  var AccordionDetails = MotionAccordionDetails;
58
32
  export { AccordionDetails };
59
33
  AccordionDetails.displayName = "AccordionDetails";
34
+ var MotionAccordion = motion(JoyAccordion);
60
35
  function Accordion(props) {
61
36
  // prop destruction
62
- var summary = props.summary, details = props.details, indicator = props.indicator, index = props.index, innerProps = __rest(props, ["summary", "details", "indicator", "index"]);
37
+ var summary = props.summary, details = props.details, variant = props.variant, color = props.color, innerProps = __rest(props, ["summary", "details", "variant", "color"]);
63
38
  // lib hooks
64
39
  // state, ref, querystring hooks
65
- var _a = useContext(AccordionContext), expandedIndex = _a.expandedIndex, setExpandedIndex = _a.setExpandedIndex, isControlled = _a.isControlled, globalIndicator = _a.indicator;
66
40
  // form hooks
67
41
  // query hooks
68
42
  // calculated values
43
+ var inheritedVariant = variant === "solid" ? "solid" : undefined;
69
44
  // effects
70
45
  // handlers
71
- return (
72
- // NOTE: AccordionGroup없이 단일로 사용하면 animation 적용이 안된다.(joy ui)
73
- React.createElement(MotionAccordion, __assign({}, (isControlled && {
74
- expanded: expandedIndex === index,
75
- onChange: function (_, expanded) {
76
- setExpandedIndex(expanded ? index : undefined);
77
- },
78
- }), innerProps),
79
- React.createElement(AccordionSummary, { indicator: indicator || globalIndicator }, summary),
80
- React.createElement(AccordionDetails, null, details)));
46
+ return (React.createElement(MotionAccordion, __assign({ variant: inheritedVariant, color: color }, innerProps),
47
+ React.createElement(AccordionSummary, { variant: inheritedVariant, color: color }, summary),
48
+ React.createElement(AccordionDetails, { variant: inheritedVariant, color: color }, details)));
81
49
  }
82
50
  export { Accordion };
83
51
  Accordion.displayName = "Accordion";
52
+ var MotionAccordions = motion(JoyAccordionGroup);
53
+ function Accordions(props) {
54
+ // prop destruction
55
+ var variant = props.variant, color = props.color, items = props.items, innerProps = __rest(props, ["variant", "color", "items"]);
56
+ // lib hooks
57
+ // state, ref, querystring hooks
58
+ // form hooks
59
+ // query hooks
60
+ // calculated values
61
+ // effects
62
+ // handlers
63
+ return (React.createElement(MotionAccordions, __assign({ variant: variant, color: color }, innerProps), items.map(function (item, index) { return (React.createElement(Accordion, { summary: item.summary, details: item.details, index: index, variant: variant, color: color })); })));
64
+ }
65
+ export { Accordions };
66
+ Accordions.displayName = "Accordions";
@@ -0,0 +1,3 @@
1
+ import { Accordions } from "./Accordions";
2
+ export * from "./Accordions";
3
+ export default Accordions;
@@ -0,0 +1,3 @@
1
+ import { Accordions } from "./Accordions";
2
+ export * from "./Accordions";
3
+ export default Accordions;
@@ -10,5 +10,5 @@ declare const FormControl: import("framer-motion").CustomDomComponent<{
10
10
  sx?: import("@mui/joy/styles/types").SxProps | undefined;
11
11
  } & import("@mui/joy").FormControlSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
12
12
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
13
- }, "children" | "color" | "size" | "sx" | "disabled" | "required" | "orientation" | "error" | keyof import("@mui/joy").FormControlSlotsAndSlotProps>>;
13
+ }, "children" | "color" | "sx" | "disabled" | "size" | "required" | "orientation" | "error" | keyof import("@mui/joy").FormControlSlotsAndSlotProps>>;
14
14
  export { FormControl };
@@ -19,7 +19,7 @@ declare const ModalDialog: import("framer-motion").CustomDomComponent<{
19
19
  variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").ModalDialogPropsVariantOverrides> | undefined;
20
20
  } & import("@mui/joy").ModalDialogSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
21
21
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
22
- }, "children" | "layout" | "color" | "maxWidth" | "minWidth" | "size" | "variant" | "sx" | "invertedColors" | "orientation" | keyof import("@mui/joy").ModalDialogSlotsAndSlotProps>>;
22
+ }, "children" | "layout" | "color" | "maxWidth" | "minWidth" | "variant" | "sx" | "size" | "invertedColors" | "orientation" | keyof import("@mui/joy").ModalDialogSlotsAndSlotProps>>;
23
23
  export { ModalDialog };
24
24
  declare const ModalClose: import("framer-motion").CustomDomComponent<{
25
25
  color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").ModalClosePropsColorOverrides> | undefined;
@@ -28,7 +28,7 @@ declare const ModalClose: import("framer-motion").CustomDomComponent<{
28
28
  variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").ModalClosePropsVariantOverrides> | undefined;
29
29
  } & import("@mui/joy").ModalCloseSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
30
30
  ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
31
- }, "color" | "size" | "variant" | "sx" | keyof import("@mui/joy").ModalCloseSlotsAndSlotProps>>;
31
+ }, "color" | "variant" | "sx" | "size" | keyof import("@mui/joy").ModalCloseSlotsAndSlotProps>>;
32
32
  export { ModalClose };
33
33
  declare const ModalOverflow: import("framer-motion").CustomDomComponent<{
34
34
  sx?: import("@mui/joy/styles/types").SxProps | undefined;
@@ -14,7 +14,7 @@ declare const Radio: import("framer-motion").CustomDomComponent<import("@mui/bas
14
14
  value?: unknown;
15
15
  } & import("@mui/joy").RadioSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
16
16
  ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
17
- }, "label" | "color" | "overlay" | "className" | "size" | "variant" | "sx" | "value" | "name" | keyof import("@mui/base").UseSwitchParameters | "checkedIcon" | "disableIcon" | "uncheckedIcon" | keyof import("@mui/joy").RadioSlotsAndSlotProps>>;
17
+ }, "label" | "color" | "overlay" | "className" | "variant" | "sx" | "size" | "name" | "value" | keyof import("@mui/base").UseSwitchParameters | "checkedIcon" | "disableIcon" | "uncheckedIcon" | keyof import("@mui/joy").RadioSlotsAndSlotProps>>;
18
18
  export { Radio };
19
19
  declare const RadioGroup: import("framer-motion").CustomDomComponent<{
20
20
  className?: string | undefined;
@@ -32,5 +32,5 @@ declare const RadioGroup: import("framer-motion").CustomDomComponent<{
32
32
  variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").RadioPropsVariantOverrides> | undefined;
33
33
  } & import("@mui/joy").RadioGroupSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
34
34
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
35
- }, "color" | "overlay" | "defaultValue" | "className" | "onChange" | "size" | "variant" | "sx" | "value" | "component" | "name" | "disableIcon" | "orientation" | keyof import("@mui/joy").RadioGroupSlotsAndSlotProps>>;
35
+ }, "color" | "overlay" | "defaultValue" | "className" | "onChange" | "variant" | "sx" | "size" | "component" | "name" | "value" | "disableIcon" | "orientation" | keyof import("@mui/joy").RadioGroupSlotsAndSlotProps>>;
36
36
  export { RadioGroup };
@@ -6,7 +6,7 @@ declare const Tabs: import("framer-motion").CustomDomComponent<Omit<import("@mui
6
6
  variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").TabsPropsVariantOverrides> | undefined;
7
7
  } & import("@mui/joy").TabsSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
8
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
9
- }, "children" | "color" | "direction" | "defaultValue" | "className" | "onChange" | "size" | "variant" | "sx" | "value" | "orientation" | "selectionFollowsFocus" | keyof import("@mui/joy").TabsSlotsAndSlotProps>>;
9
+ }, "children" | "color" | "direction" | "defaultValue" | "className" | "onChange" | "variant" | "sx" | "size" | "value" | "orientation" | "selectionFollowsFocus" | keyof import("@mui/joy").TabsSlotsAndSlotProps>>;
10
10
  export { Tabs };
11
11
  declare const Tab: import("framer-motion").CustomDomComponent<{
12
12
  action?: React.Ref<{
@@ -24,7 +24,7 @@ declare const Tab: import("framer-motion").CustomDomComponent<{
24
24
  variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").TabPropsVariantOverrides> | undefined;
25
25
  } & import("@mui/joy").TabSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
26
26
  ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
27
- }, "color" | "onChange" | "variant" | "sx" | "disabled" | "value" | "action" | "orientation" | "disableIndicator" | "indicatorPlacement" | "indicatorInset" | keyof import("@mui/joy").TabSlotsAndSlotProps>>;
27
+ }, "color" | "onChange" | "variant" | "sx" | "disabled" | "action" | "value" | "orientation" | "disableIndicator" | "indicatorPlacement" | "indicatorInset" | keyof import("@mui/joy").TabSlotsAndSlotProps>>;
28
28
  export { Tab };
29
29
  declare const TabList: import("framer-motion").CustomDomComponent<{
30
30
  color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").TabListPropsColorOverrides> | undefined;
@@ -38,7 +38,7 @@ declare const TabList: import("framer-motion").CustomDomComponent<{
38
38
  variant?: import("@mui/types").OverridableStringUnion<import("@mui/joy").VariantProp, import("@mui/joy").TabListPropsVariantOverrides> | undefined;
39
39
  } & import("@mui/joy").TabListSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
40
40
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
41
- }, "children" | "color" | "size" | "variant" | "sx" | "sticky" | "disableUnderline" | "tabFlex" | "underlinePlacement" | keyof import("@mui/joy").TabListSlotsAndSlotProps>>;
41
+ }, "children" | "color" | "variant" | "sx" | "size" | "sticky" | "disableUnderline" | "tabFlex" | "underlinePlacement" | keyof import("@mui/joy").TabListSlotsAndSlotProps>>;
42
42
  export { TabList };
43
43
  declare const TabPanel: import("framer-motion").CustomDomComponent<Omit<import("@mui/base").TabPanelOwnProps, "slots" | "slotProps" | "value"> & {
44
44
  color?: import("@mui/types").OverridableStringUnion<import("@mui/joy").ColorPaletteProp, import("@mui/joy").TabPanelPropsColorOverrides> | undefined;
@@ -49,5 +49,5 @@ declare const TabPanel: import("framer-motion").CustomDomComponent<Omit<import("
49
49
  keepMounted?: boolean | undefined;
50
50
  } & import("@mui/joy").TabPanelSlotsAndSlotProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
51
51
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
52
- }, "children" | "color" | "className" | "size" | "variant" | "sx" | "value" | "keepMounted" | keyof import("@mui/joy").TabPanelSlotsAndSlotProps>>;
52
+ }, "children" | "color" | "className" | "variant" | "sx" | "size" | "value" | "keepMounted" | keyof import("@mui/joy").TabPanelSlotsAndSlotProps>>;
53
53
  export { TabPanel };
@@ -1,4 +1,4 @@
1
- export { Accordion, AccordionDetails, AccordionGroup, AccordionSummary } from './Accordion';
1
+ export { Accordion, AccordionDetails, Accordions, AccordionSummary } from './Accordions';
2
2
  export { Box } from "./Box";
3
3
  export { Button } from "./Button";
4
4
  export { Checkbox } from "./Checkbox";
@@ -1,4 +1,4 @@
1
- export { Accordion, AccordionDetails, AccordionGroup, AccordionSummary } from './Accordion';
1
+ export { Accordion, AccordionDetails, Accordions, AccordionSummary } from './Accordions';
2
2
  export { Box } from "./Box";
3
3
  export { Button } from "./Button";
4
4
  export { Checkbox } from "./Checkbox";
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { boxClasses, buttonClasses, checkboxClasses, dividerClasses, iconButtonClasses, inputClasses, menuClasses, menuButtonClasses, menuItemClasses, optionClasses, radioClasses, radioGroupClasses, selectClasses, switchClasses, tableClasses, textareaClasses, typographyClasses, formControlClasses, formLabelClasses, formHelperTextClasses, gridClasses, stackClasses, sheetClasses, modalClasses, modalCloseClasses, modalDialogClasses, modalOverflowClasses, dialogTitleClasses, dialogContentClasses, dialogActionsClasses, tooltipClasses, tabsClasses, tabListClasses, tabPanelClasses, accordionClasses, accordionDetailsClasses, accordionGroupClasses, accordionSummaryClasses, Avatar, avatarClasses, AvatarGroup, avatarGroupClasses, AspectRatio, aspectRatioClasses, Badge, badgeClasses, Breadcrumbs, breadcrumbsClasses, Card, cardClasses, CardActions, cardActionsClasses, CardContent, cardContentClasses, CardCover, cardCoverClasses, CardOverflow, cardOverflowClasses, Chip, chipClasses, CircularProgress, circularProgressClasses, Drawer, drawerClasses, LinearProgress, linearProgressClasses, List, listClasses, ListDivider, listDividerClasses, ListItem, listItemClasses, ListItemButton, listItemButtonClasses, ListItemContent, listItemContentClasses, ListItemDecorator, listItemDecoratorClasses, ListSubheader, listSubheaderClasses, Link, linkClasses, Slider, sliderClasses, Step, stepClasses, StepButton, stepButtonClasses, StepIndicator, Stepper, stepperClasses, Skeleton, skeletonClasses, } from "@mui/joy";
2
- export { Accordion, AccordionDetails, AccordionGroup, AccordionSummary, Box, Button, Checkbox, Container, DataTable, DialogActions, DialogContent, DialogTitle, Divider, Dropdown, InsetDrawer, FormControl, FormHelperText, FormLabel, Grid, IconButton, Input, Menu, MenuButton, MenuItem, Modal, ModalClose, ModalDialog, ModalOverflow, ModalFrame, Radio, RadioGroup, RadioList, Select, Option, Sheet, Stack, Switch, Table, TableHead, TableBody, Tabs, Tab, TabList, TabPanel, Textarea, ThemeProvider, Tooltip, Typography, } from "./components";
1
+ export { boxClasses, buttonClasses, checkboxClasses, dividerClasses, iconButtonClasses, inputClasses, menuClasses, menuButtonClasses, menuItemClasses, optionClasses, radioClasses, radioGroupClasses, selectClasses, switchClasses, tableClasses, textareaClasses, typographyClasses, formControlClasses, formLabelClasses, formHelperTextClasses, gridClasses, stackClasses, sheetClasses, modalClasses, modalCloseClasses, modalDialogClasses, modalOverflowClasses, dialogTitleClasses, dialogContentClasses, dialogActionsClasses, tooltipClasses, tabsClasses, tabListClasses, tabPanelClasses, accordionClasses, accordionDetailsClasses, accordionGroupClasses as accordionsClasses, accordionSummaryClasses, Avatar, avatarClasses, AvatarGroup, avatarGroupClasses, AspectRatio, aspectRatioClasses, Badge, badgeClasses, Breadcrumbs, breadcrumbsClasses, Card, cardClasses, CardActions, cardActionsClasses, CardContent, cardContentClasses, CardCover, cardCoverClasses, CardOverflow, cardOverflowClasses, Chip, chipClasses, CircularProgress, circularProgressClasses, Drawer, drawerClasses, LinearProgress, linearProgressClasses, List, listClasses, ListDivider, listDividerClasses, ListItem, listItemClasses, ListItemButton, listItemButtonClasses, ListItemContent, listItemContentClasses, ListItemDecorator, listItemDecoratorClasses, ListSubheader, listSubheaderClasses, Link, linkClasses, Slider, sliderClasses, Step, stepClasses, StepButton, stepButtonClasses, StepIndicator, Stepper, stepperClasses, Skeleton, skeletonClasses, } from "@mui/joy";
2
+ export { Accordion, Accordions, AccordionDetails, AccordionSummary, Box, Button, Checkbox, Container, DataTable, DialogActions, DialogContent, DialogTitle, Divider, Dropdown, InsetDrawer, FormControl, FormHelperText, FormLabel, Grid, IconButton, Input, Menu, MenuButton, MenuItem, Modal, ModalClose, ModalDialog, ModalOverflow, ModalFrame, Radio, RadioGroup, RadioList, Select, Option, Sheet, Stack, Switch, Table, TableHead, TableBody, Tabs, Tab, TabList, TabPanel, Textarea, ThemeProvider, Tooltip, Typography, } from "./components";
package/dist/index.js CHANGED
@@ -2,5 +2,5 @@ export {
2
2
  // Custom UI
3
3
  boxClasses, buttonClasses, checkboxClasses, dividerClasses, iconButtonClasses, inputClasses, menuClasses, menuButtonClasses, menuItemClasses, optionClasses, radioClasses, radioGroupClasses, selectClasses, switchClasses, tableClasses, textareaClasses, typographyClasses, formControlClasses, formLabelClasses, formHelperTextClasses, gridClasses, stackClasses, sheetClasses, modalClasses, modalCloseClasses, modalDialogClasses, modalOverflowClasses, dialogTitleClasses, dialogContentClasses, dialogActionsClasses, tooltipClasses, tabsClasses, tabListClasses, tabPanelClasses,
4
4
  // Pure JoyUI
5
- accordionClasses, accordionDetailsClasses, accordionGroupClasses, accordionSummaryClasses, Avatar, avatarClasses, AvatarGroup, avatarGroupClasses, AspectRatio, aspectRatioClasses, Badge, badgeClasses, Breadcrumbs, breadcrumbsClasses, Card, cardClasses, CardActions, cardActionsClasses, CardContent, cardContentClasses, CardCover, cardCoverClasses, CardOverflow, cardOverflowClasses, Chip, chipClasses, CircularProgress, circularProgressClasses, Drawer, drawerClasses, LinearProgress, linearProgressClasses, List, listClasses, ListDivider, listDividerClasses, ListItem, listItemClasses, ListItemButton, listItemButtonClasses, ListItemContent, listItemContentClasses, ListItemDecorator, listItemDecoratorClasses, ListSubheader, listSubheaderClasses, Link, linkClasses, Slider, sliderClasses, Step, stepClasses, StepButton, stepButtonClasses, StepIndicator, Stepper, stepperClasses, Skeleton, skeletonClasses, } from "@mui/joy";
6
- export { Accordion, AccordionDetails, AccordionGroup, AccordionSummary, Box, Button, Checkbox, Container, DataTable, DialogActions, DialogContent, DialogTitle, Divider, Dropdown, InsetDrawer, FormControl, FormHelperText, FormLabel, Grid, IconButton, Input, Menu, MenuButton, MenuItem, Modal, ModalClose, ModalDialog, ModalOverflow, ModalFrame, Radio, RadioGroup, RadioList, Select, Option, Sheet, Stack, Switch, Table, TableHead, TableBody, Tabs, Tab, TabList, TabPanel, Textarea, ThemeProvider, Tooltip, Typography, } from "./components";
5
+ accordionClasses, accordionDetailsClasses, accordionGroupClasses as accordionsClasses, accordionSummaryClasses, Avatar, avatarClasses, AvatarGroup, avatarGroupClasses, AspectRatio, aspectRatioClasses, Badge, badgeClasses, Breadcrumbs, breadcrumbsClasses, Card, cardClasses, CardActions, cardActionsClasses, CardContent, cardContentClasses, CardCover, cardCoverClasses, CardOverflow, cardOverflowClasses, Chip, chipClasses, CircularProgress, circularProgressClasses, Drawer, drawerClasses, LinearProgress, linearProgressClasses, List, listClasses, ListDivider, listDividerClasses, ListItem, listItemClasses, ListItemButton, listItemButtonClasses, ListItemContent, listItemContentClasses, ListItemDecorator, listItemDecoratorClasses, ListSubheader, listSubheaderClasses, Link, linkClasses, Slider, sliderClasses, Step, stepClasses, StepButton, stepButtonClasses, StepIndicator, Stepper, stepperClasses, Skeleton, skeletonClasses, } from "@mui/joy";
6
+ export { Accordion, Accordions, AccordionDetails, AccordionSummary, Box, Button, Checkbox, Container, DataTable, DialogActions, DialogContent, DialogTitle, Divider, Dropdown, InsetDrawer, FormControl, FormHelperText, FormLabel, Grid, IconButton, Input, Menu, MenuButton, MenuItem, Modal, ModalClose, ModalDialog, ModalOverflow, ModalFrame, Radio, RadioGroup, RadioList, Select, Option, Sheet, Stack, Switch, Table, TableHead, TableBody, Tabs, Tab, TabList, TabPanel, Textarea, ThemeProvider, Tooltip, Typography, } from "./components";
package/framer/index.js CHANGED
@@ -31747,12 +31747,7 @@ true ? Tooltip.propTypes = {
31747
31747
  } : void 0;
31748
31748
  var Tooltip_default = Tooltip;
31749
31749
 
31750
- // src/components/Accordion/Accordion.tsx
31751
- import {
31752
- createContext as createContext31,
31753
- useContext as useContext51,
31754
- useState as useState22
31755
- } from "react";
31750
+ // src/components/Accordions/Accordions.tsx
31756
31751
  import { motion } from "framer-motion";
31757
31752
 
31758
31753
  // ../../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js
@@ -31773,60 +31768,38 @@ function jsxs2(type, props, key) {
31773
31768
  return ReactJSXRuntime.jsxs(Emotion$1, createEmotionProps(type, props), key);
31774
31769
  }
31775
31770
 
31776
- // src/components/Accordion/Accordion.tsx
31777
- var AccordionContext2 = createContext31({
31778
- setExpandedIndex: () => {
31779
- }
31780
- });
31781
- var MotionAccordionGroup = motion(AccordionGroup_default);
31782
- function AccordionGroup3(props) {
31783
- const { controlled, indicator, ...innerProps } = props;
31784
- const [expandedIndex, setExpandedIndex] = useState22();
31785
- return /* @__PURE__ */ jsx2(
31786
- AccordionContext2.Provider,
31787
- {
31788
- value: {
31789
- expandedIndex,
31790
- setExpandedIndex,
31791
- isControlled: controlled,
31792
- indicator
31793
- },
31794
- children: /* @__PURE__ */ jsx2(MotionAccordionGroup, { ...innerProps })
31795
- }
31796
- );
31797
- }
31798
- AccordionGroup3.displayName = "AccordionGroup";
31799
- var MotionAccordion = motion(Accordion_default);
31771
+ // src/components/Accordions/Accordions.tsx
31800
31772
  var MotionAccordionSummary = motion(AccordionSummary_default);
31801
31773
  var AccordionSummary3 = MotionAccordionSummary;
31802
31774
  AccordionSummary3.displayName = "AccordionSummary";
31803
31775
  var MotionAccordionDetails = motion(AccordionDetails_default);
31804
31776
  var AccordionDetails3 = MotionAccordionDetails;
31805
31777
  AccordionDetails3.displayName = "AccordionDetails";
31778
+ var MotionAccordion = motion(Accordion_default);
31806
31779
  function Accordion3(props) {
31807
- const { summary, details, indicator, index, ...innerProps } = props;
31808
- const { expandedIndex, setExpandedIndex, isControlled, indicator: globalIndicator } = useContext51(AccordionContext2);
31809
- return (
31810
- // NOTE: AccordionGroup없이 단일로 사용하면 animation 적용이 안된다.(joy ui)
31811
- /* @__PURE__ */ jsxs2(
31812
- MotionAccordion,
31813
- {
31814
- ...isControlled && {
31815
- expanded: expandedIndex === index,
31816
- onChange: (_4, expanded) => {
31817
- setExpandedIndex(expanded ? index : void 0);
31818
- }
31819
- },
31820
- ...innerProps,
31821
- children: [
31822
- /* @__PURE__ */ jsx2(AccordionSummary3, { indicator: indicator || globalIndicator, children: summary }),
31823
- /* @__PURE__ */ jsx2(AccordionDetails3, { children: details })
31824
- ]
31825
- }
31826
- )
31827
- );
31780
+ const { summary, details, variant, color: color2, ...innerProps } = props;
31781
+ const inheritedVariant = variant === "solid" ? "solid" : void 0;
31782
+ return /* @__PURE__ */ jsxs2(MotionAccordion, { variant: inheritedVariant, color: color2, ...innerProps, children: [
31783
+ /* @__PURE__ */ jsx2(AccordionSummary3, { variant: inheritedVariant, color: color2, children: summary }),
31784
+ /* @__PURE__ */ jsx2(AccordionDetails3, { variant: inheritedVariant, color: color2, children: details })
31785
+ ] });
31828
31786
  }
31829
31787
  Accordion3.displayName = "Accordion";
31788
+ var MotionAccordions = motion(AccordionGroup_default);
31789
+ function Accordions(props) {
31790
+ const { variant, color: color2, items, ...innerProps } = props;
31791
+ return /* @__PURE__ */ jsx2(MotionAccordions, { variant, color: color2, ...innerProps, children: items.map((item, index) => /* @__PURE__ */ jsx2(
31792
+ Accordion3,
31793
+ {
31794
+ summary: item.summary,
31795
+ details: item.details,
31796
+ index,
31797
+ variant,
31798
+ color: color2
31799
+ }
31800
+ )) });
31801
+ }
31802
+ Accordions.displayName = "Accordions";
31830
31803
 
31831
31804
  // src/components/Box/Box.tsx
31832
31805
  import { motion as motion2 } from "framer-motion";
@@ -32381,130 +32354,112 @@ var Typography3 = (props) => {
32381
32354
  };
32382
32355
  Typography3.displayName = "Typography";
32383
32356
 
32384
- // src/components/Accordion/Accordion.framer.ts
32357
+ // src/components/Accordions/Accordions.framer.ts
32385
32358
  import { ControlType } from "framer";
32386
- var accordionPropertyControls = {
32387
- summary: {
32388
- title: "Summary",
32389
- // TODO: 디자이너와 합의 후 string으로 하든 componentInstance로 하든 결정
32390
- type: ControlType.String
32391
- },
32392
- details: {
32393
- title: "Details",
32394
- type: ControlType.ComponentInstance
32395
- },
32396
- indicator: {
32397
- title: "Indicator",
32398
- type: ControlType.ComponentInstance
32399
- }
32400
- };
32401
-
32402
- // src/components/AccordionGroup/AccordionGroup.framer.ts
32403
- import { ControlType as ControlType2 } from "framer";
32404
- var accordionGroupPropertyControls = {
32359
+ var accordionsPropertyControls = {
32405
32360
  variant: {
32406
32361
  title: "Variant",
32407
- type: ControlType2.Enum,
32362
+ type: ControlType.Enum,
32408
32363
  options: ["outlined", "plain", "solid", "soft"],
32409
32364
  defaultValue: "plain"
32410
32365
  },
32411
32366
  color: {
32412
32367
  title: "Color",
32413
- type: ControlType2.Enum,
32368
+ type: ControlType.Enum,
32414
32369
  options: ["primary", "neutral", "danger", "success", "warning"],
32415
32370
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"],
32416
32371
  defaultValue: "neutral"
32417
32372
  },
32418
32373
  size: {
32419
32374
  title: "Size",
32420
- type: ControlType2.Enum,
32375
+ type: ControlType.Enum,
32421
32376
  options: ["sm", "md", "lg"],
32422
32377
  defaultValue: "md"
32423
32378
  },
32424
32379
  disableDivider: {
32425
32380
  title: "Disable Divider",
32426
- type: ControlType2.Boolean,
32381
+ type: ControlType.Boolean,
32427
32382
  defaultValue: false
32428
32383
  },
32429
- indicator: {
32430
- title: "Indicator",
32431
- type: ControlType2.ComponentInstance
32432
- },
32433
- controlled: {
32434
- title: "Controlled",
32435
- type: ControlType2.Boolean,
32436
- defaultValue: false
32384
+ summaries: {
32385
+ title: "Summaries",
32386
+ type: ControlType.Array,
32387
+ control: {
32388
+ type: ControlType.String
32389
+ },
32390
+ defaultValue: []
32437
32391
  },
32438
- accordions: {
32439
- title: "Accordions",
32440
- type: ControlType2.Array,
32392
+ details: {
32393
+ title: "Details",
32394
+ type: ControlType.Array,
32441
32395
  control: {
32442
- type: ControlType2.ComponentInstance
32443
- }
32396
+ type: ControlType.ComponentInstance
32397
+ },
32398
+ defaultValue: []
32444
32399
  }
32445
32400
  };
32446
32401
 
32447
32402
  // src/components/Avatar/Avatar.framer.ts
32448
- import { ControlType as ControlType3 } from "framer";
32403
+ import { ControlType as ControlType2 } from "framer";
32449
32404
  var avatarPropertyControls = {
32450
32405
  text: {
32451
32406
  title: "Text",
32452
- type: ControlType3.String,
32407
+ type: ControlType2.String,
32453
32408
  defaultValue: "Tim"
32454
32409
  },
32455
32410
  image: {
32456
32411
  title: "Image",
32457
- type: ControlType3.ResponsiveImage
32412
+ type: ControlType2.ResponsiveImage
32458
32413
  },
32459
32414
  color: {
32460
32415
  title: "Color",
32461
- type: ControlType3.Enum,
32416
+ type: ControlType2.Enum,
32462
32417
  options: ["primary", "neutral", "danger", "success", "warning"],
32463
32418
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"],
32464
32419
  defaultValue: "neutral"
32465
32420
  },
32466
32421
  size: {
32467
32422
  title: "Size",
32468
- type: ControlType3.Enum,
32423
+ type: ControlType2.Enum,
32469
32424
  options: ["sm", "md", "lg"],
32470
32425
  defaultValue: "md"
32471
32426
  },
32472
32427
  variant: {
32473
32428
  title: "Variant",
32474
- type: ControlType3.Enum,
32429
+ type: ControlType2.Enum,
32475
32430
  options: ["outlined", "plain", "solid", "soft"],
32476
32431
  defaultValue: void 0
32477
32432
  }
32478
32433
  };
32479
32434
 
32480
32435
  // src/components/Badge/Badge.framer.ts
32481
- import { ControlType as ControlType4 } from "framer";
32436
+ import { ControlType as ControlType3 } from "framer";
32482
32437
  var badgePropertyControls = {
32483
32438
  badgeContent: {
32484
- type: ControlType4.String
32439
+ type: ControlType3.String
32485
32440
  },
32486
32441
  color: {
32487
32442
  title: "Color",
32488
- type: ControlType4.Enum,
32443
+ type: ControlType3.Enum,
32489
32444
  options: ["primary", "neutral", "danger", "success", "warning"],
32490
32445
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32491
32446
  },
32492
32447
  variant: {
32493
32448
  title: "Variant",
32494
- type: ControlType4.Enum,
32449
+ type: ControlType3.Enum,
32495
32450
  options: ["solid", "outlined", "soft", "plain"],
32496
32451
  defaultValue: "outlined"
32497
32452
  },
32498
32453
  size: {
32499
32454
  title: "Size",
32500
- type: ControlType4.Enum,
32455
+ type: ControlType3.Enum,
32501
32456
  options: ["sm", "md", "lg"],
32502
32457
  defaultValue: "md"
32503
32458
  }
32504
32459
  };
32505
32460
 
32506
32461
  // src/components/Button/Button.framer.ts
32507
- import { ControlType as ControlType5 } from "framer";
32462
+ import { ControlType as ControlType4 } from "framer";
32508
32463
  var buttonPropertyControls = {
32509
32464
  // NOT working
32510
32465
  // children: {
@@ -32512,165 +32467,165 @@ var buttonPropertyControls = {
32512
32467
  // },
32513
32468
  text: {
32514
32469
  title: "Text",
32515
- type: ControlType5.String,
32470
+ type: ControlType4.String,
32516
32471
  defaultValue: "Press me"
32517
32472
  },
32518
32473
  onTap: {
32519
- type: ControlType5.EventHandler
32474
+ type: ControlType4.EventHandler
32520
32475
  },
32521
32476
  disabled: {
32522
32477
  title: "Disabled",
32523
- type: ControlType5.Boolean,
32478
+ type: ControlType4.Boolean,
32524
32479
  defaultValue: false
32525
32480
  },
32526
32481
  color: {
32527
32482
  title: "Color",
32528
- type: ControlType5.Enum,
32483
+ type: ControlType4.Enum,
32529
32484
  options: ["primary", "neutral", "danger", "success", "warning"],
32530
32485
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32531
32486
  },
32532
32487
  variant: {
32533
32488
  title: "Variant",
32534
- type: ControlType5.Enum,
32489
+ type: ControlType4.Enum,
32535
32490
  options: ["solid", "outlined", "soft", "plain"]
32536
32491
  },
32537
32492
  loading: {
32538
32493
  title: "Loading",
32539
- type: ControlType5.Boolean,
32494
+ type: ControlType4.Boolean,
32540
32495
  defaultValue: false
32541
32496
  },
32542
32497
  endDecorator: {
32543
32498
  title: "End Decorator",
32544
- type: ControlType5.ComponentInstance
32499
+ type: ControlType4.ComponentInstance
32545
32500
  },
32546
32501
  startDecorator: {
32547
32502
  title: "Start Decorator",
32548
- type: ControlType5.ComponentInstance
32503
+ type: ControlType4.ComponentInstance
32549
32504
  },
32550
32505
  size: {
32551
32506
  title: "Size",
32552
- type: ControlType5.Enum,
32507
+ type: ControlType4.Enum,
32553
32508
  options: ["sm", "md", "lg"],
32554
32509
  defaultValue: "md"
32555
32510
  },
32556
32511
  // for withModal
32557
32512
  modalContents: {
32558
32513
  title: "Modal Contents",
32559
- type: ControlType5.Array,
32514
+ type: ControlType4.Array,
32560
32515
  control: {
32561
- type: ControlType5.ComponentInstance
32516
+ type: ControlType4.ComponentInstance
32562
32517
  }
32563
32518
  }
32564
32519
  };
32565
32520
 
32566
32521
  // src/components/Checkbox/Checkbox.framer.ts
32567
- import { ControlType as ControlType6 } from "framer";
32522
+ import { ControlType as ControlType5 } from "framer";
32568
32523
  var checkboxPropertyControls = {
32569
32524
  onChange: {
32570
32525
  title: "onChange",
32571
- type: ControlType6.EventHandler
32526
+ type: ControlType5.EventHandler
32572
32527
  },
32573
32528
  defaultChecked: {
32574
32529
  title: "Checked",
32575
- type: ControlType6.Boolean,
32530
+ type: ControlType5.Boolean,
32576
32531
  defaultValue: false
32577
32532
  },
32578
32533
  disabled: {
32579
32534
  title: "Disabled",
32580
- type: ControlType6.Boolean,
32535
+ type: ControlType5.Boolean,
32581
32536
  defaultValue: false
32582
32537
  },
32583
32538
  label: {
32584
32539
  title: "Label",
32585
- type: ControlType6.String,
32540
+ type: ControlType5.String,
32586
32541
  defaultValue: "Label"
32587
32542
  },
32588
32543
  color: {
32589
32544
  title: "Color",
32590
- type: ControlType6.Enum,
32545
+ type: ControlType5.Enum,
32591
32546
  options: ["primary", "neutral", "danger", "success", "warning"],
32592
32547
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32593
32548
  },
32594
32549
  size: {
32595
32550
  title: "Size",
32596
- type: ControlType6.Enum,
32551
+ type: ControlType5.Enum,
32597
32552
  options: ["sm", "md", "lg"],
32598
32553
  defaultValue: "md"
32599
32554
  },
32600
32555
  variant: {
32601
32556
  title: "Variant",
32602
- type: ControlType6.Enum,
32557
+ type: ControlType5.Enum,
32603
32558
  options: ["outlined", "plain", "solid", "soft"],
32604
32559
  defaultValue: void 0
32605
32560
  }
32606
32561
  };
32607
32562
 
32608
32563
  // src/components/Chip/Chip.framer.ts
32609
- import { ControlType as ControlType7 } from "framer";
32564
+ import { ControlType as ControlType6 } from "framer";
32610
32565
  var chipPropertyControls = {
32611
32566
  text: {
32612
32567
  title: "Text",
32613
- type: ControlType7.String,
32568
+ type: ControlType6.String,
32614
32569
  defaultValue: "Chip"
32615
32570
  },
32616
32571
  color: {
32617
32572
  title: "Color",
32618
- type: ControlType7.Enum,
32573
+ type: ControlType6.Enum,
32619
32574
  options: ["primary", "neutral", "danger", "success", "warning"],
32620
32575
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32621
32576
  },
32622
32577
  variant: {
32623
32578
  title: "Variant",
32624
- type: ControlType7.Enum,
32579
+ type: ControlType6.Enum,
32625
32580
  options: ["solid", "outlined", "soft", "plain"]
32626
32581
  },
32627
32582
  size: {
32628
32583
  title: "Size",
32629
- type: ControlType7.Enum,
32584
+ type: ControlType6.Enum,
32630
32585
  options: ["sm", "md", "lg"],
32631
32586
  defaultValue: "md"
32632
32587
  }
32633
32588
  };
32634
32589
 
32635
32590
  // src/components/DataTable/DataTable.framer.ts
32636
- import { ControlType as ControlType8 } from "framer";
32591
+ import { ControlType as ControlType7 } from "framer";
32637
32592
  var dataTablePropertyControls = {
32638
32593
  csvUrl: {
32639
32594
  title: "CSV Data",
32640
- type: ControlType8.File,
32595
+ type: ControlType7.File,
32641
32596
  allowedFileTypes: ["csv"]
32642
32597
  // NOT WORKING
32643
32598
  // defaultValue:
32644
32599
  // "https://sharadcodes.github.io/noob-cms/data/MOCK_DATA.csv",
32645
32600
  },
32646
32601
  showCheckbox: {
32647
- type: ControlType8.Boolean,
32602
+ type: ControlType7.Boolean,
32648
32603
  defaultValue: true
32649
32604
  },
32650
32605
  noWrap: {
32651
- type: ControlType8.Boolean,
32606
+ type: ControlType7.Boolean,
32652
32607
  defaultValue: false
32653
32608
  },
32654
32609
  hoverRow: {
32655
- type: ControlType8.Boolean,
32610
+ type: ControlType7.Boolean,
32656
32611
  defaultValue: true
32657
32612
  },
32658
32613
  stripe: {
32659
- type: ControlType8.Enum,
32614
+ type: ControlType7.Enum,
32660
32615
  options: [void 0, "odd", "even"],
32661
32616
  optionTitles: ["None", "Odd", "Even"],
32662
32617
  defaultValue: void 0
32663
32618
  },
32664
32619
  headCells: {
32665
- type: ControlType8.Array,
32620
+ type: ControlType7.Array,
32666
32621
  control: {
32667
- type: ControlType8.Object,
32622
+ type: ControlType7.Object,
32668
32623
  controls: {
32669
32624
  label: {
32670
- type: ControlType8.String
32625
+ type: ControlType7.String
32671
32626
  },
32672
32627
  width: {
32673
- type: ControlType8.String
32628
+ type: ControlType7.String
32674
32629
  }
32675
32630
  // numeric: {
32676
32631
  // type: ControlType.Boolean,
@@ -32683,124 +32638,124 @@ var dataTablePropertyControls = {
32683
32638
  };
32684
32639
 
32685
32640
  // src/components/Divider/Divider.framer.ts
32686
- import { ControlType as ControlType9 } from "framer";
32641
+ import { ControlType as ControlType8 } from "framer";
32687
32642
  var dividerPropertyControls = {
32688
32643
  text: {
32689
- type: ControlType9.String,
32644
+ type: ControlType8.String,
32690
32645
  defaultValue: void 0
32691
32646
  },
32692
32647
  orientation: {
32693
32648
  title: "Orientation",
32694
- type: ControlType9.Enum,
32649
+ type: ControlType8.Enum,
32695
32650
  options: ["horizontal", "vertical"]
32696
32651
  }
32697
32652
  };
32698
32653
 
32699
32654
  // src/components/IconButton/IconButton.framer.ts
32700
- import { ControlType as ControlType10 } from "framer";
32655
+ import { ControlType as ControlType9 } from "framer";
32701
32656
  var iconButtonPropertyControls = {
32702
32657
  icon: {
32703
32658
  title: "Icon",
32704
- type: ControlType10.ComponentInstance
32659
+ type: ControlType9.ComponentInstance
32705
32660
  },
32706
32661
  onClick: {
32707
32662
  title: "onClick",
32708
- type: ControlType10.EventHandler
32663
+ type: ControlType9.EventHandler
32709
32664
  },
32710
32665
  disabled: {
32711
32666
  title: "Disabled",
32712
- type: ControlType10.Boolean,
32667
+ type: ControlType9.Boolean,
32713
32668
  defaultValue: false
32714
32669
  },
32715
32670
  color: {
32716
32671
  title: "Color",
32717
- type: ControlType10.Enum,
32672
+ type: ControlType9.Enum,
32718
32673
  options: ["primary", "neutral", "danger", "success", "warning"],
32719
32674
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32720
32675
  },
32721
32676
  variant: {
32722
32677
  title: "Variant",
32723
- type: ControlType10.Enum,
32678
+ type: ControlType9.Enum,
32724
32679
  options: ["solid", "outlined", "soft", "plain"]
32725
32680
  },
32726
32681
  size: {
32727
32682
  title: "Size",
32728
- type: ControlType10.Enum,
32683
+ type: ControlType9.Enum,
32729
32684
  options: ["sm", "md", "lg"],
32730
32685
  defaultValue: "md"
32731
32686
  }
32732
32687
  };
32733
32688
 
32734
32689
  // src/components/Input/Input.framer.ts
32735
- import { ControlType as ControlType11 } from "framer";
32690
+ import { ControlType as ControlType10 } from "framer";
32736
32691
  var inputPropertyControls = {
32737
32692
  onChange: {
32738
- type: ControlType11.EventHandler
32693
+ type: ControlType10.EventHandler
32739
32694
  },
32740
32695
  disabled: {
32741
32696
  title: "Disabled",
32742
- type: ControlType11.Boolean,
32697
+ type: ControlType10.Boolean,
32743
32698
  defaultValue: false
32744
32699
  },
32745
32700
  color: {
32746
32701
  title: "Color",
32747
- type: ControlType11.Enum,
32702
+ type: ControlType10.Enum,
32748
32703
  options: ["primary", "neutral", "danger", "success", "warning"],
32749
32704
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"],
32750
32705
  defaultValue: "neutral"
32751
32706
  },
32752
32707
  variant: {
32753
32708
  title: "Variant",
32754
- type: ControlType11.Enum,
32709
+ type: ControlType10.Enum,
32755
32710
  options: ["solid", "outlined", "soft", "plain"],
32756
32711
  defaultValue: "outlined"
32757
32712
  },
32758
32713
  defaultValue: {
32759
32714
  title: "Value",
32760
- type: ControlType11.String,
32715
+ type: ControlType10.String,
32761
32716
  defaultValue: ""
32762
32717
  },
32763
32718
  placeholder: {
32764
32719
  title: "Placeholder",
32765
- type: ControlType11.String,
32720
+ type: ControlType10.String,
32766
32721
  defaultValue: "Type in here..."
32767
32722
  },
32768
32723
  endDecorator: {
32769
32724
  title: "End Decorator",
32770
- type: ControlType11.ComponentInstance
32725
+ type: ControlType10.ComponentInstance
32771
32726
  },
32772
32727
  startDecorator: {
32773
32728
  title: "Start Decorator",
32774
- type: ControlType11.ComponentInstance
32729
+ type: ControlType10.ComponentInstance
32775
32730
  },
32776
32731
  size: {
32777
32732
  title: "Size",
32778
- type: ControlType11.Enum,
32733
+ type: ControlType10.Enum,
32779
32734
  options: ["sm", "md", "lg"],
32780
32735
  defaultValue: "md"
32781
32736
  }
32782
32737
  };
32783
32738
 
32784
32739
  // src/components/MenuButton/MenuButton.framer.ts
32785
- import { ControlType as ControlType12 } from "framer";
32740
+ import { ControlType as ControlType11 } from "framer";
32786
32741
  var menuButtonPropertyControls = {
32787
32742
  buttonText: {
32788
32743
  title: "Button Text",
32789
- type: ControlType12.String,
32744
+ type: ControlType11.String,
32790
32745
  defaultValue: "text"
32791
32746
  },
32792
32747
  showIcon: {
32793
- type: ControlType12.Boolean,
32748
+ type: ControlType11.Boolean,
32794
32749
  defaultValue: false
32795
32750
  },
32796
32751
  items: {
32797
32752
  title: "Items",
32798
- type: ControlType12.Array,
32753
+ type: ControlType11.Array,
32799
32754
  control: {
32800
- type: ControlType12.Object,
32755
+ type: ControlType11.Object,
32801
32756
  controls: {
32802
32757
  text: {
32803
- type: ControlType12.String
32758
+ type: ControlType11.String
32804
32759
  }
32805
32760
  }
32806
32761
  },
@@ -32809,52 +32764,52 @@ var menuButtonPropertyControls = {
32809
32764
  };
32810
32765
 
32811
32766
  // src/components/Modal/Modal.framer.ts
32812
- import { ControlType as ControlType13 } from "framer";
32767
+ import { ControlType as ControlType12 } from "framer";
32813
32768
  var modalFramePropertyControls = {
32814
32769
  title: {
32815
- type: ControlType13.String,
32770
+ type: ControlType12.String,
32816
32771
  defaultValue: "Title"
32817
32772
  },
32818
32773
  content: {
32819
32774
  title: "Content",
32820
- type: ControlType13.ComponentInstance
32775
+ type: ControlType12.ComponentInstance
32821
32776
  },
32822
32777
  size: {
32823
32778
  title: "Size",
32824
- type: ControlType13.Enum,
32779
+ type: ControlType12.Enum,
32825
32780
  options: ["sm", "md", "lg"],
32826
32781
  defaultValue: "md"
32827
32782
  }
32828
32783
  };
32829
32784
 
32830
32785
  // src/components/RadioList/RadioList.framer.ts
32831
- import { ControlType as ControlType14 } from "framer";
32786
+ import { ControlType as ControlType13 } from "framer";
32832
32787
  var radioListPropertyControls = {
32833
32788
  orientation: {
32834
32789
  title: "Orientation",
32835
- type: ControlType14.Enum,
32790
+ type: ControlType13.Enum,
32836
32791
  options: ["vertical", "horizontal"],
32837
32792
  defaultValue: "vertical"
32838
32793
  },
32839
32794
  defaultValue: {
32840
32795
  title: "Checked Value",
32841
- type: ControlType14.String,
32796
+ type: ControlType13.String,
32842
32797
  defaultValue: "value1"
32843
32798
  },
32844
32799
  items: {
32845
32800
  title: "Items",
32846
- type: ControlType14.Array,
32801
+ type: ControlType13.Array,
32847
32802
  control: {
32848
- type: ControlType14.Object,
32803
+ type: ControlType13.Object,
32849
32804
  controls: {
32850
32805
  displayName: {
32851
32806
  title: "Display Name",
32852
- type: ControlType14.String
32807
+ type: ControlType13.String
32853
32808
  },
32854
- value: { title: "Value", type: ControlType14.String },
32809
+ value: { title: "Value", type: ControlType13.String },
32855
32810
  color: {
32856
32811
  title: "Color",
32857
- type: ControlType14.Enum,
32812
+ type: ControlType13.Enum,
32858
32813
  options: ["primary", "neutral", "danger", "success", "warning"],
32859
32814
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32860
32815
  }
@@ -32872,60 +32827,60 @@ var radioListPropertyControls = {
32872
32827
  };
32873
32828
 
32874
32829
  // src/components/Select/Select.framer.ts
32875
- import { ControlType as ControlType15 } from "framer";
32830
+ import { ControlType as ControlType14 } from "framer";
32876
32831
  var selectPropertyControls = {
32877
32832
  onChange: {
32878
32833
  title: "onChange",
32879
- type: ControlType15.EventHandler
32834
+ type: ControlType14.EventHandler
32880
32835
  },
32881
32836
  defaultListboxOpen: {
32882
32837
  title: "Opened",
32883
- type: ControlType15.Boolean,
32838
+ type: ControlType14.Boolean,
32884
32839
  defaultValue: false
32885
32840
  },
32886
32841
  defaultValue: {
32887
32842
  title: "Selected Option",
32888
- type: ControlType15.String
32843
+ type: ControlType14.String
32889
32844
  },
32890
32845
  disabled: {
32891
32846
  title: "Disabled",
32892
- type: ControlType15.Boolean,
32847
+ type: ControlType14.Boolean,
32893
32848
  defaultValue: false
32894
32849
  },
32895
32850
  placeholder: {
32896
32851
  title: "Placeholder",
32897
- type: ControlType15.String,
32852
+ type: ControlType14.String,
32898
32853
  defaultValue: "Choose one..."
32899
32854
  },
32900
32855
  color: {
32901
32856
  title: "Color",
32902
- type: ControlType15.Enum,
32857
+ type: ControlType14.Enum,
32903
32858
  options: ["primary", "neutral", "danger", "success", "warning"],
32904
32859
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32905
32860
  },
32906
32861
  size: {
32907
32862
  title: "Size",
32908
- type: ControlType15.Enum,
32863
+ type: ControlType14.Enum,
32909
32864
  options: ["sm", "md", "lg"],
32910
32865
  defaultValue: "md"
32911
32866
  },
32912
32867
  variant: {
32913
32868
  title: "Variant",
32914
- type: ControlType15.Enum,
32869
+ type: ControlType14.Enum,
32915
32870
  options: ["outlined", "plain", "solid", "soft"],
32916
32871
  defaultValue: void 0
32917
32872
  },
32918
32873
  options: {
32919
32874
  title: "Options",
32920
- type: ControlType15.Array,
32875
+ type: ControlType14.Array,
32921
32876
  control: {
32922
- type: ControlType15.Object,
32877
+ type: ControlType14.Object,
32923
32878
  controls: {
32924
32879
  text: {
32925
32880
  title: "Text",
32926
- type: ControlType15.String
32881
+ type: ControlType14.String
32927
32882
  },
32928
- value: { title: "Value", type: ControlType15.String }
32883
+ value: { title: "Value", type: ControlType14.String }
32929
32884
  }
32930
32885
  },
32931
32886
  defaultValue: [
@@ -32936,101 +32891,101 @@ var selectPropertyControls = {
32936
32891
  };
32937
32892
 
32938
32893
  // src/components/Sheet/Sheet.framer.ts
32939
- import { ControlType as ControlType16 } from "framer";
32894
+ import { ControlType as ControlType15 } from "framer";
32940
32895
  var sheetPropertyControls = {
32941
32896
  color: {
32942
32897
  title: "Color",
32943
- type: ControlType16.Enum,
32898
+ type: ControlType15.Enum,
32944
32899
  options: ["primary", "neutral", "danger", "success", "warning"],
32945
32900
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32946
32901
  },
32947
32902
  variant: {
32948
32903
  title: "Variant",
32949
- type: ControlType16.Enum,
32904
+ type: ControlType15.Enum,
32950
32905
  options: ["solid", "outlined", "soft", "plain"],
32951
32906
  defaultValue: "outlined"
32952
32907
  }
32953
32908
  };
32954
32909
 
32955
32910
  // src/components/Switch/Switch.framer.ts
32956
- import { ControlType as ControlType17 } from "framer";
32911
+ import { ControlType as ControlType16 } from "framer";
32957
32912
  var switchPropertyControls = {
32958
32913
  onChange: {
32959
32914
  title: "onChange",
32960
- type: ControlType17.EventHandler
32915
+ type: ControlType16.EventHandler
32961
32916
  },
32962
32917
  disabled: {
32963
32918
  title: "Disabled",
32964
- type: ControlType17.Boolean,
32919
+ type: ControlType16.Boolean,
32965
32920
  defaultValue: false
32966
32921
  },
32967
32922
  color: {
32968
32923
  title: "Color",
32969
- type: ControlType17.Enum,
32924
+ type: ControlType16.Enum,
32970
32925
  options: ["primary", "neutral", "danger", "success", "warning"],
32971
32926
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32972
32927
  },
32973
32928
  variant: {
32974
32929
  title: "Variant",
32975
- type: ControlType17.Enum,
32930
+ type: ControlType16.Enum,
32976
32931
  options: ["solid", "outlined", "soft", "plain"],
32977
32932
  defaultValue: void 0
32978
32933
  },
32979
32934
  size: {
32980
32935
  title: "Size",
32981
- type: ControlType17.Enum,
32936
+ type: ControlType16.Enum,
32982
32937
  options: ["sm", "md", "lg"],
32983
32938
  defaultValue: "md"
32984
32939
  }
32985
32940
  };
32986
32941
 
32987
32942
  // src/components/Tabs/Tabs.framer.ts
32988
- import { ControlType as ControlType18 } from "framer";
32943
+ import { ControlType as ControlType17 } from "framer";
32989
32944
  var tabsPropertyControls = {
32990
32945
  color: {
32991
32946
  title: "Color",
32992
- type: ControlType18.Enum,
32947
+ type: ControlType17.Enum,
32993
32948
  options: ["primary", "neutral", "danger", "success", "warning"],
32994
32949
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32995
32950
  },
32996
32951
  size: {
32997
32952
  title: "Size",
32998
- type: ControlType18.Enum,
32953
+ type: ControlType17.Enum,
32999
32954
  options: ["sm", "md", "lg"],
33000
32955
  defaultValue: "md"
33001
32956
  },
33002
32957
  variant: {
33003
32958
  title: "Variant",
33004
- type: ControlType18.Enum,
32959
+ type: ControlType17.Enum,
33005
32960
  options: ["outlined", "plain", "solid", "soft"],
33006
32961
  defaultValue: "plain"
33007
32962
  },
33008
32963
  orientation: {
33009
- type: ControlType18.Enum,
32964
+ type: ControlType17.Enum,
33010
32965
  options: ["horizontal", "vertical"]
33011
32966
  },
33012
32967
  disableUnderline: {
33013
- type: ControlType18.Boolean,
32968
+ type: ControlType17.Boolean,
33014
32969
  defaultValue: false
33015
32970
  },
33016
32971
  disableIndicator: {
33017
- type: ControlType18.Boolean,
32972
+ type: ControlType17.Boolean,
33018
32973
  defaultValue: false
33019
32974
  },
33020
32975
  indicatorInset: {
33021
- type: ControlType18.Boolean,
32976
+ type: ControlType17.Boolean,
33022
32977
  defaultValue: false
33023
32978
  },
33024
32979
  tabs: {
33025
- type: ControlType18.Array,
32980
+ type: ControlType17.Array,
33026
32981
  control: {
33027
- type: ControlType18.Object,
32982
+ type: ControlType17.Object,
33028
32983
  controls: {
33029
32984
  title: {
33030
- type: ControlType18.String
32985
+ type: ControlType17.String
33031
32986
  },
33032
32987
  disabled: {
33033
- type: ControlType18.Boolean,
32988
+ type: ControlType17.Boolean,
33034
32989
  defaultValue: false
33035
32990
  }
33036
32991
  }
@@ -33038,15 +32993,15 @@ var tabsPropertyControls = {
33038
32993
  },
33039
32994
  contents: {
33040
32995
  title: "Contents",
33041
- type: ControlType18.Array,
32996
+ type: ControlType17.Array,
33042
32997
  control: {
33043
- type: ControlType18.ComponentInstance
32998
+ type: ControlType17.ComponentInstance
33044
32999
  }
33045
33000
  }
33046
33001
  };
33047
33002
 
33048
33003
  // src/components/Typography/Typography.framer.ts
33049
- import { ControlType as ControlType19 } from "framer";
33004
+ import { ControlType as ControlType18 } from "framer";
33050
33005
  var typographyPropertyControls = {
33051
33006
  // color: {
33052
33007
  // title: "Color",
@@ -33056,7 +33011,7 @@ var typographyPropertyControls = {
33056
33011
  // },
33057
33012
  level: {
33058
33013
  title: "Level",
33059
- type: ControlType19.Enum,
33014
+ type: ControlType18.Enum,
33060
33015
  options: [
33061
33016
  "h1",
33062
33017
  "h2",
@@ -33075,30 +33030,30 @@ var typographyPropertyControls = {
33075
33030
  },
33076
33031
  textColor: {
33077
33032
  title: "Text Color",
33078
- type: ControlType19.Enum,
33033
+ type: ControlType18.Enum,
33079
33034
  options: ["text.tertiary", "inherit"],
33080
33035
  defaultValue: "inherit"
33081
33036
  },
33082
33037
  text: {
33083
33038
  title: "Text",
33084
- type: ControlType19.String,
33039
+ type: ControlType18.String,
33085
33040
  defaultValue: "Typography",
33086
33041
  displayTextArea: true
33087
33042
  },
33088
33043
  endDecorator: {
33089
33044
  title: "End Decorator",
33090
- type: ControlType19.ComponentInstance
33045
+ type: ControlType18.ComponentInstance
33091
33046
  },
33092
33047
  startDecorator: {
33093
33048
  title: "Start Decorator",
33094
- type: ControlType19.ComponentInstance
33049
+ type: ControlType18.ComponentInstance
33095
33050
  }
33096
33051
  };
33097
33052
  export {
33098
33053
  Accordion3 as Accordion,
33099
33054
  AccordionDetails3 as AccordionDetails,
33100
- AccordionGroup3 as AccordionGroup,
33101
33055
  AccordionSummary3 as AccordionSummary,
33056
+ Accordions,
33102
33057
  AspectRatio_default as AspectRatio,
33103
33058
  Avatar_default as Avatar,
33104
33059
  AvatarGroup_default as AvatarGroup,
@@ -33173,10 +33128,9 @@ export {
33173
33128
  Typography3 as Typography,
33174
33129
  accordionClasses_default as accordionClasses,
33175
33130
  accordionDetailsClasses_default as accordionDetailsClasses,
33176
- accordionGroupClasses_default as accordionGroupClasses,
33177
- accordionGroupPropertyControls,
33178
- accordionPropertyControls,
33179
33131
  accordionSummaryClasses_default as accordionSummaryClasses,
33132
+ accordionGroupClasses_default as accordionsClasses,
33133
+ accordionsPropertyControls,
33180
33134
  aspectRatioClasses_default as aspectRatioClasses,
33181
33135
  avatarClasses_default as avatarClasses,
33182
33136
  avatarGroupClasses_default as avatarGroupClasses,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ceed/ads",
3
- "version": "0.0.17-8",
3
+ "version": "0.0.17-9",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "description": "UI tool for Ecube Labs front-end developers",
@@ -1,3 +0,0 @@
1
- import { Accordion } from "./Accordion";
2
- export * from "./Accordion";
3
- export default Accordion;
@@ -1,3 +0,0 @@
1
- import { Accordion } from "./Accordion";
2
- export * from "./Accordion";
3
- export default Accordion;