@ceed/ads 0.0.20 → 0.0.21

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,11 @@
1
+ import React from "react";
2
+ import { ModalDialog } from "../Modal";
3
+ declare function DialogFrame(props: {
4
+ title: React.ReactNode;
5
+ children: React.ReactNode;
6
+ actions: React.ReactNode;
7
+ } & React.ComponentProps<typeof ModalDialog>): React.JSX.Element;
8
+ declare namespace DialogFrame {
9
+ var displayName: string;
10
+ }
11
+ export { DialogFrame };
@@ -0,0 +1,44 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import React from "react";
24
+ import DialogTitle from "../DialogTitle";
25
+ import DialogContent from "../DialogContent";
26
+ import { ModalDialog } from "../Modal";
27
+ import DialogActions from "../DialogActions";
28
+ function DialogFrame(props) {
29
+ // prop destruction
30
+ var title = props.title, children = props.children, actions = props.actions, innerProps = __rest(props, ["title", "children", "actions"]);
31
+ // lib hooks
32
+ // state, ref, querystring hooks
33
+ // form hooks
34
+ // query hooks
35
+ // calculated values
36
+ // effects
37
+ // handlers
38
+ return (React.createElement(ModalDialog, __assign({}, innerProps),
39
+ React.createElement(DialogTitle, null, title),
40
+ React.createElement(DialogContent, null, children),
41
+ React.createElement(DialogActions, null, actions)));
42
+ }
43
+ export { DialogFrame };
44
+ DialogFrame.displayName = "DialogFrame";
@@ -0,0 +1,3 @@
1
+ import { DialogFrame } from "./DialogFrame";
2
+ export * from "./DialogFrame";
3
+ export default DialogFrame;
@@ -0,0 +1,3 @@
1
+ import { DialogFrame } from "./DialogFrame";
2
+ export * from "./DialogFrame";
3
+ export default DialogFrame;
@@ -7,6 +7,7 @@ export { DataTable } from "./DataTable";
7
7
  export { DialogActions } from "./DialogActions";
8
8
  export { DialogContent } from "./DialogContent";
9
9
  export { DialogTitle } from "./DialogTitle";
10
+ export { DialogFrame } from "./DialogFrame";
10
11
  export { Divider } from "./Divider";
11
12
  export { InsetDrawer } from "./InsetDrawer";
12
13
  export { Dropdown } from "./Dropdown";
@@ -7,6 +7,7 @@ export { DataTable } from "./DataTable";
7
7
  export { DialogActions } from "./DialogActions";
8
8
  export { DialogContent } from "./DialogContent";
9
9
  export { DialogTitle } from "./DialogTitle";
10
+ export { DialogFrame } from "./DialogFrame";
10
11
  export { Divider } from "./Divider";
11
12
  export { InsetDrawer } from "./InsetDrawer";
12
13
  export { Dropdown } from "./Dropdown";
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
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";
2
+ export { Accordion, Accordions, AccordionDetails, AccordionSummary, Box, Button, Checkbox, Container, DataTable, DialogActions, DialogContent, DialogTitle, DialogFrame, 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
@@ -3,4 +3,4 @@ export {
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
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";
6
+ export { Accordion, Accordions, AccordionDetails, AccordionSummary, Box, Button, Checkbox, Container, DataTable, DialogActions, DialogContent, DialogTitle, DialogFrame, 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
@@ -32521,6 +32521,9 @@ var MotionDialogActions = motion8(DialogActions_default);
32521
32521
  var DialogActions3 = MotionDialogActions;
32522
32522
  DialogActions3.displayName = "DialogActions";
32523
32523
 
32524
+ // src/components/DialogActions/index.ts
32525
+ var DialogActions_default2 = DialogActions3;
32526
+
32524
32527
  // src/components/DialogContent/DialogContent.tsx
32525
32528
  import { motion as motion9 } from "framer-motion";
32526
32529
  var MotionDialogContent = motion9(DialogContent_default);
@@ -32539,17 +32542,52 @@ DialogTitle3.displayName = "DialogTitle";
32539
32542
  // src/components/DialogTitle/index.ts
32540
32543
  var DialogTitle_default2 = DialogTitle3;
32541
32544
 
32542
- // src/components/Divider/Divider.tsx
32545
+ // src/components/Modal/Modal.tsx
32543
32546
  import { motion as motion11 } from "framer-motion";
32544
- var MotionDivider = motion11(Divider_default);
32547
+ var MotionModal = motion11(Modal_default);
32548
+ var Modal3 = MotionModal;
32549
+ Modal3.displayName = "Modal";
32550
+ var MotionModalDialog = motion11(ModalDialog_default);
32551
+ var ModalDialog3 = MotionModalDialog;
32552
+ ModalDialog3.displayName = "ModalDialog";
32553
+ var MotionModalClose = motion11(ModalClose_default);
32554
+ var ModalClose3 = MotionModalClose;
32555
+ ModalClose3.displayName = "ModalClose";
32556
+ var MotionModalOverflow = motion11(ModalOverflow_default);
32557
+ var ModalOverflow3 = MotionModalOverflow;
32558
+ ModalOverflow3.displayName = "ModalOverflow";
32559
+ function ModalFrame(props) {
32560
+ const { title, children, ...innerProps } = props;
32561
+ return /* @__PURE__ */ jsxs2(ModalDialog3, { ...innerProps, children: [
32562
+ /* @__PURE__ */ jsx2(ModalClose3, {}),
32563
+ /* @__PURE__ */ jsx2(DialogTitle_default2, { children: title }),
32564
+ /* @__PURE__ */ jsx2(DialogContent_default2, { children })
32565
+ ] });
32566
+ }
32567
+ ModalFrame.displayName = "ModalFrame";
32568
+
32569
+ // src/components/DialogFrame/DialogFrame.tsx
32570
+ function DialogFrame(props) {
32571
+ const { title, children, actions, ...innerProps } = props;
32572
+ return /* @__PURE__ */ jsxs2(ModalDialog3, { ...innerProps, children: [
32573
+ /* @__PURE__ */ jsx2(DialogTitle_default2, { children: title }),
32574
+ /* @__PURE__ */ jsx2(DialogContent_default2, { children }),
32575
+ /* @__PURE__ */ jsx2(DialogActions_default2, { children: actions })
32576
+ ] });
32577
+ }
32578
+ DialogFrame.displayName = "DialogFrame";
32579
+
32580
+ // src/components/Divider/Divider.tsx
32581
+ import { motion as motion12 } from "framer-motion";
32582
+ var MotionDivider = motion12(Divider_default);
32545
32583
  var Divider3 = (props) => {
32546
32584
  return /* @__PURE__ */ jsx2(MotionDivider, { ...props });
32547
32585
  };
32548
32586
  Divider3.displayName = "Divider";
32549
32587
 
32550
32588
  // src/components/InsetDrawer/InsetDrawer.tsx
32551
- import { motion as motion12 } from "framer-motion";
32552
- var MotionDrawer = motion12(Drawer_default);
32589
+ import { motion as motion13 } from "framer-motion";
32590
+ var MotionDrawer = motion13(Drawer_default);
32553
32591
  var InsetDrawer = (props) => {
32554
32592
  const { children, ...innerProps } = props;
32555
32593
  return /* @__PURE__ */ jsx2(
@@ -32574,93 +32612,69 @@ var InsetDrawer = (props) => {
32574
32612
  InsetDrawer.displayName = "InsetDrawer";
32575
32613
 
32576
32614
  // src/components/Dropdown/Dropdown.tsx
32577
- import { motion as motion13 } from "framer-motion";
32578
- var MotionDropdown = motion13(Dropdown);
32615
+ import { motion as motion14 } from "framer-motion";
32616
+ var MotionDropdown = motion14(Dropdown);
32579
32617
  var Dropdown2 = MotionDropdown;
32580
32618
  Dropdown2.displayName = "Dropdown";
32581
32619
 
32582
32620
  // src/components/FormControl/FormControl.tsx
32583
- import { motion as motion14 } from "framer-motion";
32584
- var MotionFormControl = motion14(FormControl_default);
32621
+ import { motion as motion15 } from "framer-motion";
32622
+ var MotionFormControl = motion15(FormControl_default);
32585
32623
  var FormControl3 = MotionFormControl;
32586
32624
  FormControl3.displayName = "FormControl";
32587
32625
 
32588
32626
  // src/components/FormHelperText/FormHelperText.tsx
32589
- import { motion as motion15 } from "framer-motion";
32590
- var MotionFormHelperText = motion15(FormHelperText_default);
32627
+ import { motion as motion16 } from "framer-motion";
32628
+ var MotionFormHelperText = motion16(FormHelperText_default);
32591
32629
  var FormHelperText3 = MotionFormHelperText;
32592
32630
  FormHelperText3.displayName = "FormHelperText";
32593
32631
 
32594
32632
  // src/components/FormLabel/FormLabel.tsx
32595
- import { motion as motion16 } from "framer-motion";
32596
- var MotionFormLabel = motion16(FormLabel_default);
32633
+ import { motion as motion17 } from "framer-motion";
32634
+ var MotionFormLabel = motion17(FormLabel_default);
32597
32635
  var FormLabel3 = MotionFormLabel;
32598
32636
  FormLabel3.displayName = "FormLabel";
32599
32637
 
32600
32638
  // src/components/Grid/Grid.tsx
32601
- import { motion as motion17 } from "framer-motion";
32602
- var MotionGrid = motion17(Grid_default);
32639
+ import { motion as motion18 } from "framer-motion";
32640
+ var MotionGrid = motion18(Grid_default);
32603
32641
  var Grid2 = MotionGrid;
32604
32642
  Grid2.displayName = "Grid";
32605
32643
 
32606
32644
  // src/components/IconButton/IconButton.tsx
32607
- import { motion as motion18 } from "framer-motion";
32608
- var MotionIconButton = motion18(IconButton_default);
32645
+ import { motion as motion19 } from "framer-motion";
32646
+ var MotionIconButton = motion19(IconButton_default);
32609
32647
  var IconButton3 = (props) => {
32610
32648
  return /* @__PURE__ */ jsx2(MotionIconButton, { ...props });
32611
32649
  };
32612
32650
  IconButton3.displayName = "IconButton";
32613
32651
 
32614
32652
  // src/components/Input/Input.tsx
32615
- import { motion as motion19 } from "framer-motion";
32616
- var MotionInput = motion19(Input_default);
32653
+ import { motion as motion20 } from "framer-motion";
32654
+ var MotionInput = motion20(Input_default);
32617
32655
  var Input3 = (props) => {
32618
32656
  return /* @__PURE__ */ jsx2(MotionInput, { ...props });
32619
32657
  };
32620
32658
  Input3.displayName = "Input";
32621
32659
 
32622
32660
  // src/components/Menu/Menu.tsx
32623
- import { motion as motion20 } from "framer-motion";
32624
- var MotionMenu = motion20(Menu_default);
32661
+ import { motion as motion21 } from "framer-motion";
32662
+ var MotionMenu = motion21(Menu_default);
32625
32663
  var Menu3 = (props) => {
32626
32664
  return /* @__PURE__ */ jsx2(MotionMenu, { ...props });
32627
32665
  };
32628
32666
  Menu3.displayName = "Menu";
32629
- var MotionMenuButton = motion20(MenuButton_default);
32667
+ var MotionMenuButton = motion21(MenuButton_default);
32630
32668
  var MenuButton3 = (props) => {
32631
32669
  return /* @__PURE__ */ jsx2(MotionMenuButton, { ...props });
32632
32670
  };
32633
32671
  MenuButton3.displayName = "MenuButton";
32634
- var MotionMenuItem = motion20(MenuItem_default);
32672
+ var MotionMenuItem = motion21(MenuItem_default);
32635
32673
  var MenuItem3 = (props) => {
32636
32674
  return /* @__PURE__ */ jsx2(MotionMenuItem, { ...props });
32637
32675
  };
32638
32676
  MenuItem3.displayName = "MenuItem";
32639
32677
 
32640
- // src/components/Modal/Modal.tsx
32641
- import { motion as motion21 } from "framer-motion";
32642
- var MotionModal = motion21(Modal_default);
32643
- var Modal3 = MotionModal;
32644
- Modal3.displayName = "Modal";
32645
- var MotionModalDialog = motion21(ModalDialog_default);
32646
- var ModalDialog3 = MotionModalDialog;
32647
- ModalDialog3.displayName = "ModalDialog";
32648
- var MotionModalClose = motion21(ModalClose_default);
32649
- var ModalClose3 = MotionModalClose;
32650
- ModalClose3.displayName = "ModalClose";
32651
- var MotionModalOverflow = motion21(ModalOverflow_default);
32652
- var ModalOverflow3 = MotionModalOverflow;
32653
- ModalOverflow3.displayName = "ModalOverflow";
32654
- function ModalFrame(props) {
32655
- const { title, children, ...innerProps } = props;
32656
- return /* @__PURE__ */ jsxs2(ModalDialog3, { ...innerProps, children: [
32657
- /* @__PURE__ */ jsx2(ModalClose3, {}),
32658
- /* @__PURE__ */ jsx2(DialogTitle_default2, { children: title }),
32659
- /* @__PURE__ */ jsx2(DialogContent_default2, { children })
32660
- ] });
32661
- }
32662
- ModalFrame.displayName = "ModalFrame";
32663
-
32664
32678
  // src/components/Radio/Radio.tsx
32665
32679
  import { motion as motion22 } from "framer-motion";
32666
32680
  var MotionRadio = motion22(Radio_default);
@@ -33107,125 +33121,148 @@ var dataTablePropertyControls = {
33107
33121
  }
33108
33122
  };
33109
33123
 
33110
- // src/components/Divider/Divider.framer.ts
33124
+ // src/components/DialogFrame/DialogFrame.framer.ts
33111
33125
  import { ControlType as ControlType8 } from "framer";
33126
+ var dialogFramePropertyControls = {
33127
+ title: {
33128
+ type: ControlType8.String,
33129
+ defaultValue: "Title"
33130
+ },
33131
+ content: {
33132
+ title: "Content",
33133
+ type: ControlType8.ComponentInstance
33134
+ },
33135
+ actions: {
33136
+ title: "Actions",
33137
+ type: ControlType8.ComponentInstance
33138
+ },
33139
+ size: {
33140
+ title: "Size",
33141
+ type: ControlType8.Enum,
33142
+ options: ["sm", "md", "lg"],
33143
+ defaultValue: "md"
33144
+ }
33145
+ };
33146
+
33147
+ // src/components/Divider/Divider.framer.ts
33148
+ import { ControlType as ControlType9 } from "framer";
33112
33149
  var dividerPropertyControls = {
33113
33150
  text: {
33114
- type: ControlType8.String,
33151
+ type: ControlType9.String,
33115
33152
  defaultValue: void 0
33116
33153
  },
33117
33154
  orientation: {
33118
33155
  title: "Orientation",
33119
- type: ControlType8.Enum,
33156
+ type: ControlType9.Enum,
33120
33157
  options: ["horizontal", "vertical"]
33121
33158
  }
33122
33159
  };
33123
33160
 
33124
33161
  // src/components/IconButton/IconButton.framer.ts
33125
- import { ControlType as ControlType9 } from "framer";
33162
+ import { ControlType as ControlType10 } from "framer";
33126
33163
  var iconButtonPropertyControls = {
33127
33164
  icon: {
33128
33165
  title: "Icon",
33129
- type: ControlType9.ComponentInstance
33166
+ type: ControlType10.ComponentInstance
33130
33167
  },
33131
33168
  onClick: {
33132
33169
  title: "onClick",
33133
- type: ControlType9.EventHandler
33170
+ type: ControlType10.EventHandler
33134
33171
  },
33135
33172
  disabled: {
33136
33173
  title: "Disabled",
33137
- type: ControlType9.Boolean,
33174
+ type: ControlType10.Boolean,
33138
33175
  defaultValue: false
33139
33176
  },
33140
33177
  color: {
33141
33178
  title: "Color",
33142
- type: ControlType9.Enum,
33179
+ type: ControlType10.Enum,
33143
33180
  options: ["primary", "neutral", "danger", "success", "warning"],
33144
33181
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
33145
33182
  },
33146
33183
  variant: {
33147
33184
  title: "Variant",
33148
- type: ControlType9.Enum,
33185
+ type: ControlType10.Enum,
33149
33186
  options: ["solid", "outlined", "soft", "plain"]
33150
33187
  },
33151
33188
  size: {
33152
33189
  title: "Size",
33153
- type: ControlType9.Enum,
33190
+ type: ControlType10.Enum,
33154
33191
  options: ["sm", "md", "lg"],
33155
33192
  defaultValue: "md"
33156
33193
  }
33157
33194
  };
33158
33195
 
33159
33196
  // src/components/Input/Input.framer.ts
33160
- import { ControlType as ControlType10 } from "framer";
33197
+ import { ControlType as ControlType11 } from "framer";
33161
33198
  var inputPropertyControls = {
33162
33199
  onChange: {
33163
- type: ControlType10.EventHandler
33200
+ type: ControlType11.EventHandler
33164
33201
  },
33165
33202
  disabled: {
33166
33203
  title: "Disabled",
33167
- type: ControlType10.Boolean,
33204
+ type: ControlType11.Boolean,
33168
33205
  defaultValue: false
33169
33206
  },
33170
33207
  color: {
33171
33208
  title: "Color",
33172
- type: ControlType10.Enum,
33209
+ type: ControlType11.Enum,
33173
33210
  options: ["primary", "neutral", "danger", "success", "warning"],
33174
33211
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"],
33175
33212
  defaultValue: "neutral"
33176
33213
  },
33177
33214
  variant: {
33178
33215
  title: "Variant",
33179
- type: ControlType10.Enum,
33216
+ type: ControlType11.Enum,
33180
33217
  options: ["solid", "outlined", "soft", "plain"],
33181
33218
  defaultValue: "outlined"
33182
33219
  },
33183
33220
  defaultValue: {
33184
33221
  title: "Value",
33185
- type: ControlType10.String,
33222
+ type: ControlType11.String,
33186
33223
  defaultValue: ""
33187
33224
  },
33188
33225
  placeholder: {
33189
33226
  title: "Placeholder",
33190
- type: ControlType10.String,
33227
+ type: ControlType11.String,
33191
33228
  defaultValue: "Type in here..."
33192
33229
  },
33193
33230
  endDecorator: {
33194
33231
  title: "End Decorator",
33195
- type: ControlType10.ComponentInstance
33232
+ type: ControlType11.ComponentInstance
33196
33233
  },
33197
33234
  startDecorator: {
33198
33235
  title: "Start Decorator",
33199
- type: ControlType10.ComponentInstance
33236
+ type: ControlType11.ComponentInstance
33200
33237
  },
33201
33238
  size: {
33202
33239
  title: "Size",
33203
- type: ControlType10.Enum,
33240
+ type: ControlType11.Enum,
33204
33241
  options: ["sm", "md", "lg"],
33205
33242
  defaultValue: "md"
33206
33243
  }
33207
33244
  };
33208
33245
 
33209
33246
  // src/components/MenuButton/MenuButton.framer.ts
33210
- import { ControlType as ControlType11 } from "framer";
33247
+ import { ControlType as ControlType12 } from "framer";
33211
33248
  var menuButtonPropertyControls = {
33212
33249
  buttonText: {
33213
33250
  title: "Button Text",
33214
- type: ControlType11.String,
33251
+ type: ControlType12.String,
33215
33252
  defaultValue: "text"
33216
33253
  },
33217
33254
  showIcon: {
33218
- type: ControlType11.Boolean,
33255
+ type: ControlType12.Boolean,
33219
33256
  defaultValue: false
33220
33257
  },
33221
33258
  items: {
33222
33259
  title: "Items",
33223
- type: ControlType11.Array,
33260
+ type: ControlType12.Array,
33224
33261
  control: {
33225
- type: ControlType11.Object,
33262
+ type: ControlType12.Object,
33226
33263
  controls: {
33227
33264
  text: {
33228
- type: ControlType11.String
33265
+ type: ControlType12.String
33229
33266
  }
33230
33267
  }
33231
33268
  },
@@ -33234,52 +33271,52 @@ var menuButtonPropertyControls = {
33234
33271
  };
33235
33272
 
33236
33273
  // src/components/Modal/Modal.framer.ts
33237
- import { ControlType as ControlType12 } from "framer";
33274
+ import { ControlType as ControlType13 } from "framer";
33238
33275
  var modalFramePropertyControls = {
33239
33276
  title: {
33240
- type: ControlType12.String,
33277
+ type: ControlType13.String,
33241
33278
  defaultValue: "Title"
33242
33279
  },
33243
33280
  content: {
33244
33281
  title: "Content",
33245
- type: ControlType12.ComponentInstance
33282
+ type: ControlType13.ComponentInstance
33246
33283
  },
33247
33284
  size: {
33248
33285
  title: "Size",
33249
- type: ControlType12.Enum,
33286
+ type: ControlType13.Enum,
33250
33287
  options: ["sm", "md", "lg"],
33251
33288
  defaultValue: "md"
33252
33289
  }
33253
33290
  };
33254
33291
 
33255
33292
  // src/components/RadioList/RadioList.framer.ts
33256
- import { ControlType as ControlType13 } from "framer";
33293
+ import { ControlType as ControlType14 } from "framer";
33257
33294
  var radioListPropertyControls = {
33258
33295
  orientation: {
33259
33296
  title: "Orientation",
33260
- type: ControlType13.Enum,
33297
+ type: ControlType14.Enum,
33261
33298
  options: ["vertical", "horizontal"],
33262
33299
  defaultValue: "vertical"
33263
33300
  },
33264
33301
  defaultValue: {
33265
33302
  title: "Checked Value",
33266
- type: ControlType13.String,
33303
+ type: ControlType14.String,
33267
33304
  defaultValue: "value1"
33268
33305
  },
33269
33306
  items: {
33270
33307
  title: "Items",
33271
- type: ControlType13.Array,
33308
+ type: ControlType14.Array,
33272
33309
  control: {
33273
- type: ControlType13.Object,
33310
+ type: ControlType14.Object,
33274
33311
  controls: {
33275
33312
  displayName: {
33276
33313
  title: "Display Name",
33277
- type: ControlType13.String
33314
+ type: ControlType14.String
33278
33315
  },
33279
- value: { title: "Value", type: ControlType13.String },
33316
+ value: { title: "Value", type: ControlType14.String },
33280
33317
  color: {
33281
33318
  title: "Color",
33282
- type: ControlType13.Enum,
33319
+ type: ControlType14.Enum,
33283
33320
  options: ["primary", "neutral", "danger", "success", "warning"],
33284
33321
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
33285
33322
  }
@@ -33297,60 +33334,60 @@ var radioListPropertyControls = {
33297
33334
  };
33298
33335
 
33299
33336
  // src/components/Select/Select.framer.ts
33300
- import { ControlType as ControlType14 } from "framer";
33337
+ import { ControlType as ControlType15 } from "framer";
33301
33338
  var selectPropertyControls = {
33302
33339
  onChange: {
33303
33340
  title: "onChange",
33304
- type: ControlType14.EventHandler
33341
+ type: ControlType15.EventHandler
33305
33342
  },
33306
33343
  defaultListboxOpen: {
33307
33344
  title: "Opened",
33308
- type: ControlType14.Boolean,
33345
+ type: ControlType15.Boolean,
33309
33346
  defaultValue: false
33310
33347
  },
33311
33348
  defaultValue: {
33312
33349
  title: "Selected Option",
33313
- type: ControlType14.String
33350
+ type: ControlType15.String
33314
33351
  },
33315
33352
  disabled: {
33316
33353
  title: "Disabled",
33317
- type: ControlType14.Boolean,
33354
+ type: ControlType15.Boolean,
33318
33355
  defaultValue: false
33319
33356
  },
33320
33357
  placeholder: {
33321
33358
  title: "Placeholder",
33322
- type: ControlType14.String,
33359
+ type: ControlType15.String,
33323
33360
  defaultValue: "Choose one..."
33324
33361
  },
33325
33362
  color: {
33326
33363
  title: "Color",
33327
- type: ControlType14.Enum,
33364
+ type: ControlType15.Enum,
33328
33365
  options: ["primary", "neutral", "danger", "success", "warning"],
33329
33366
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
33330
33367
  },
33331
33368
  size: {
33332
33369
  title: "Size",
33333
- type: ControlType14.Enum,
33370
+ type: ControlType15.Enum,
33334
33371
  options: ["sm", "md", "lg"],
33335
33372
  defaultValue: "md"
33336
33373
  },
33337
33374
  variant: {
33338
33375
  title: "Variant",
33339
- type: ControlType14.Enum,
33376
+ type: ControlType15.Enum,
33340
33377
  options: ["outlined", "plain", "solid", "soft"],
33341
33378
  defaultValue: void 0
33342
33379
  },
33343
33380
  options: {
33344
33381
  title: "Options",
33345
- type: ControlType14.Array,
33382
+ type: ControlType15.Array,
33346
33383
  control: {
33347
- type: ControlType14.Object,
33384
+ type: ControlType15.Object,
33348
33385
  controls: {
33349
33386
  text: {
33350
33387
  title: "Text",
33351
- type: ControlType14.String
33388
+ type: ControlType15.String
33352
33389
  },
33353
- value: { title: "Value", type: ControlType14.String }
33390
+ value: { title: "Value", type: ControlType15.String }
33354
33391
  }
33355
33392
  },
33356
33393
  defaultValue: [
@@ -33361,101 +33398,101 @@ var selectPropertyControls = {
33361
33398
  };
33362
33399
 
33363
33400
  // src/components/Sheet/Sheet.framer.ts
33364
- import { ControlType as ControlType15 } from "framer";
33401
+ import { ControlType as ControlType16 } from "framer";
33365
33402
  var sheetPropertyControls = {
33366
33403
  color: {
33367
33404
  title: "Color",
33368
- type: ControlType15.Enum,
33405
+ type: ControlType16.Enum,
33369
33406
  options: ["primary", "neutral", "danger", "success", "warning"],
33370
33407
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
33371
33408
  },
33372
33409
  variant: {
33373
33410
  title: "Variant",
33374
- type: ControlType15.Enum,
33411
+ type: ControlType16.Enum,
33375
33412
  options: ["solid", "outlined", "soft", "plain"],
33376
33413
  defaultValue: "outlined"
33377
33414
  }
33378
33415
  };
33379
33416
 
33380
33417
  // src/components/Switch/Switch.framer.ts
33381
- import { ControlType as ControlType16 } from "framer";
33418
+ import { ControlType as ControlType17 } from "framer";
33382
33419
  var switchPropertyControls = {
33383
33420
  onChange: {
33384
33421
  title: "onChange",
33385
- type: ControlType16.EventHandler
33422
+ type: ControlType17.EventHandler
33386
33423
  },
33387
33424
  disabled: {
33388
33425
  title: "Disabled",
33389
- type: ControlType16.Boolean,
33426
+ type: ControlType17.Boolean,
33390
33427
  defaultValue: false
33391
33428
  },
33392
33429
  color: {
33393
33430
  title: "Color",
33394
- type: ControlType16.Enum,
33431
+ type: ControlType17.Enum,
33395
33432
  options: ["primary", "neutral", "danger", "success", "warning"],
33396
33433
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
33397
33434
  },
33398
33435
  variant: {
33399
33436
  title: "Variant",
33400
- type: ControlType16.Enum,
33437
+ type: ControlType17.Enum,
33401
33438
  options: ["solid", "outlined", "soft", "plain"],
33402
33439
  defaultValue: void 0
33403
33440
  },
33404
33441
  size: {
33405
33442
  title: "Size",
33406
- type: ControlType16.Enum,
33443
+ type: ControlType17.Enum,
33407
33444
  options: ["sm", "md", "lg"],
33408
33445
  defaultValue: "md"
33409
33446
  }
33410
33447
  };
33411
33448
 
33412
33449
  // src/components/Tabs/Tabs.framer.ts
33413
- import { ControlType as ControlType17 } from "framer";
33450
+ import { ControlType as ControlType18 } from "framer";
33414
33451
  var tabsPropertyControls = {
33415
33452
  color: {
33416
33453
  title: "Color",
33417
- type: ControlType17.Enum,
33454
+ type: ControlType18.Enum,
33418
33455
  options: ["primary", "neutral", "danger", "success", "warning"],
33419
33456
  optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
33420
33457
  },
33421
33458
  size: {
33422
33459
  title: "Size",
33423
- type: ControlType17.Enum,
33460
+ type: ControlType18.Enum,
33424
33461
  options: ["sm", "md", "lg"],
33425
33462
  defaultValue: "md"
33426
33463
  },
33427
33464
  variant: {
33428
33465
  title: "Variant",
33429
- type: ControlType17.Enum,
33466
+ type: ControlType18.Enum,
33430
33467
  options: ["outlined", "plain", "solid", "soft"],
33431
33468
  defaultValue: "plain"
33432
33469
  },
33433
33470
  orientation: {
33434
- type: ControlType17.Enum,
33471
+ type: ControlType18.Enum,
33435
33472
  options: ["horizontal", "vertical"]
33436
33473
  },
33437
33474
  disableUnderline: {
33438
- type: ControlType17.Boolean,
33475
+ type: ControlType18.Boolean,
33439
33476
  defaultValue: false
33440
33477
  },
33441
33478
  disableIndicator: {
33442
- type: ControlType17.Boolean,
33479
+ type: ControlType18.Boolean,
33443
33480
  defaultValue: false
33444
33481
  },
33445
33482
  indicatorInset: {
33446
- type: ControlType17.Boolean,
33483
+ type: ControlType18.Boolean,
33447
33484
  defaultValue: false
33448
33485
  },
33449
33486
  tabs: {
33450
- type: ControlType17.Array,
33487
+ type: ControlType18.Array,
33451
33488
  control: {
33452
- type: ControlType17.Object,
33489
+ type: ControlType18.Object,
33453
33490
  controls: {
33454
33491
  title: {
33455
- type: ControlType17.String
33492
+ type: ControlType18.String
33456
33493
  },
33457
33494
  disabled: {
33458
- type: ControlType17.Boolean,
33495
+ type: ControlType18.Boolean,
33459
33496
  defaultValue: false
33460
33497
  }
33461
33498
  }
@@ -33463,15 +33500,15 @@ var tabsPropertyControls = {
33463
33500
  },
33464
33501
  contents: {
33465
33502
  title: "Contents",
33466
- type: ControlType17.Array,
33503
+ type: ControlType18.Array,
33467
33504
  control: {
33468
- type: ControlType17.ComponentInstance
33505
+ type: ControlType18.ComponentInstance
33469
33506
  }
33470
33507
  }
33471
33508
  };
33472
33509
 
33473
33510
  // src/components/Typography/Typography.framer.ts
33474
- import { ControlType as ControlType18 } from "framer";
33511
+ import { ControlType as ControlType19 } from "framer";
33475
33512
  var typographyPropertyControls = {
33476
33513
  // color: {
33477
33514
  // title: "Color",
@@ -33481,7 +33518,7 @@ var typographyPropertyControls = {
33481
33518
  // },
33482
33519
  level: {
33483
33520
  title: "Level",
33484
- type: ControlType18.Enum,
33521
+ type: ControlType19.Enum,
33485
33522
  options: [
33486
33523
  "h1",
33487
33524
  "h2",
@@ -33500,23 +33537,23 @@ var typographyPropertyControls = {
33500
33537
  },
33501
33538
  textColor: {
33502
33539
  title: "Text Color",
33503
- type: ControlType18.Enum,
33540
+ type: ControlType19.Enum,
33504
33541
  options: ["text.tertiary", "inherit"],
33505
33542
  defaultValue: "inherit"
33506
33543
  },
33507
33544
  text: {
33508
33545
  title: "Text",
33509
- type: ControlType18.String,
33546
+ type: ControlType19.String,
33510
33547
  defaultValue: "Typography",
33511
33548
  displayTextArea: true
33512
33549
  },
33513
33550
  endDecorator: {
33514
33551
  title: "End Decorator",
33515
- type: ControlType18.ComponentInstance
33552
+ type: ControlType19.ComponentInstance
33516
33553
  },
33517
33554
  startDecorator: {
33518
33555
  title: "Start Decorator",
33519
- type: ControlType18.ComponentInstance
33556
+ type: ControlType19.ComponentInstance
33520
33557
  }
33521
33558
  };
33522
33559
  export {
@@ -33543,6 +33580,7 @@ export {
33543
33580
  DataTable,
33544
33581
  DialogActions3 as DialogActions,
33545
33582
  DialogContent3 as DialogContent,
33583
+ DialogFrame,
33546
33584
  DialogTitle3 as DialogTitle,
33547
33585
  Divider3 as Divider,
33548
33586
  Drawer_default as Drawer,
@@ -33624,6 +33662,7 @@ export {
33624
33662
  dataTablePropertyControls,
33625
33663
  dialogActionsClasses_default as dialogActionsClasses,
33626
33664
  dialogContentClasses_default as dialogContentClasses,
33665
+ dialogFramePropertyControls,
33627
33666
  dialogTitleClasses_default as dialogTitleClasses,
33628
33667
  dividerClasses_default as dividerClasses,
33629
33668
  dividerPropertyControls,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ceed/ads",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "description": "UI tool for Ecube Labs front-end developers",