@ceed/ads 0.0.16 → 0.0.17

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,12 @@
1
+ import React, { ComponentProps, ReactNode } from "react";
2
+ import { RadioGroup } from "../Radio/Radio";
3
+ declare function RadioList(props: {
4
+ items: {
5
+ label: ReactNode;
6
+ value: string;
7
+ }[];
8
+ } & ComponentProps<typeof RadioGroup>): React.JSX.Element;
9
+ declare namespace RadioList {
10
+ var displayName: string;
11
+ }
12
+ export { RadioList };
@@ -0,0 +1,38 @@
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 { Radio, RadioGroup } from "../Radio/Radio";
25
+ function RadioList(props) {
26
+ // prop destruction
27
+ var items = props.items, innerProps = __rest(props, ["items"]);
28
+ // lib hooks
29
+ // state, ref, querystring hooks
30
+ // form hooks
31
+ // query hooks
32
+ // calculated values
33
+ // effects
34
+ // handlers
35
+ return (React.createElement(RadioGroup, __assign({}, innerProps), items.map(function (item) { return (React.createElement(Radio, { key: "".concat(item.value), value: item.value, label: item.label })); })));
36
+ }
37
+ export { RadioList };
38
+ RadioList.displayName = "RadioList";
@@ -0,0 +1,3 @@
1
+ import { RadioList } from "./RadioList";
2
+ export * from "./RadioList";
3
+ export default RadioList;
@@ -0,0 +1,3 @@
1
+ import { RadioList } from "./RadioList";
2
+ export * from "./RadioList";
3
+ export default RadioList;
@@ -18,6 +18,7 @@ export { Input } from "./Input";
18
18
  export { Menu, MenuButton, MenuItem } from "./Menu";
19
19
  export { Modal, ModalClose, ModalDialog, ModalOverflow, ModalFrame } from "./Modal";
20
20
  export { Radio, RadioGroup } from "./Radio";
21
+ export { RadioList } from "./RadioList";
21
22
  export { Select, Option } from "./Select";
22
23
  export { Sheet } from "./Sheet";
23
24
  export { Stack } from "./Stack";
@@ -18,6 +18,7 @@ export { Input } from "./Input";
18
18
  export { Menu, MenuButton, MenuItem } from "./Menu";
19
19
  export { Modal, ModalClose, ModalDialog, ModalOverflow, ModalFrame } from "./Modal";
20
20
  export { Radio, RadioGroup } from "./Radio";
21
+ export { RadioList } from "./RadioList";
21
22
  export { Select, Option } from "./Select";
22
23
  export { Sheet } from "./Sheet";
23
24
  export { Stack } from "./Stack";
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, Accordion, accordionClasses, AccordionDetails, accordionDetailsClasses, AccordionGroup, accordionGroupClasses, AccordionSummary, 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 { 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, Select, Option, Sheet, Stack, Switch, Table, TableHead, TableBody, Tabs, Tab, TabList, TabPanel, Textarea, ThemeProvider, Tooltip, Typography, } from "./components";
2
+ export { 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
@@ -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
  Accordion, accordionClasses, AccordionDetails, accordionDetailsClasses, AccordionGroup, accordionGroupClasses, AccordionSummary, 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 { 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, Select, Option, Sheet, Stack, Switch, Table, TableHead, TableBody, Tabs, Tab, TabList, TabPanel, Textarea, ThemeProvider, Tooltip, Typography, } from "./components";
6
+ export { 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
@@ -32182,6 +32182,13 @@ var MotionRadioGroup = motion19(RadioGroup_default);
32182
32182
  var RadioGroup3 = MotionRadioGroup;
32183
32183
  RadioGroup3.displayName = "RadioGroup";
32184
32184
 
32185
+ // src/components/RadioList/RadioList.tsx
32186
+ function RadioList(props) {
32187
+ const { items, ...innerProps } = props;
32188
+ return /* @__PURE__ */ jsx2(RadioGroup3, { ...innerProps, children: items.map((item) => /* @__PURE__ */ jsx2(Radio3, { value: item.value, label: item.label }, `${item.value}`)) });
32189
+ }
32190
+ RadioList.displayName = "RadioList";
32191
+
32185
32192
  // src/components/Select/Select.tsx
32186
32193
  import { motion as motion20 } from "framer-motion";
32187
32194
  var MotionSelect = motion20(Select_default);
@@ -32345,6 +32352,624 @@ var avatarPropertyControls = {
32345
32352
  defaultValue: void 0
32346
32353
  }
32347
32354
  };
32355
+
32356
+ // src/components/Badge/Badge.framer.ts
32357
+ import { ControlType as ControlType2 } from "framer";
32358
+ var badgePropertyControls = {
32359
+ badgeContent: {
32360
+ type: ControlType2.String
32361
+ },
32362
+ color: {
32363
+ title: "Color",
32364
+ type: ControlType2.Enum,
32365
+ options: ["primary", "neutral", "danger", "success", "warning"],
32366
+ optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32367
+ },
32368
+ variant: {
32369
+ title: "Variant",
32370
+ type: ControlType2.Enum,
32371
+ options: ["solid", "outlined", "soft", "plain"],
32372
+ defaultValue: "outlined"
32373
+ },
32374
+ size: {
32375
+ title: "Size",
32376
+ type: ControlType2.Enum,
32377
+ options: ["sm", "md", "lg"],
32378
+ defaultValue: "md"
32379
+ }
32380
+ };
32381
+
32382
+ // src/components/Button/Button.framer.ts
32383
+ import { ControlType as ControlType3 } from "framer";
32384
+ var buttonPropertyControls = {
32385
+ // NOT working
32386
+ // children: {
32387
+ // type: ControlType.ComponentInstance,
32388
+ // },
32389
+ text: {
32390
+ title: "Text",
32391
+ type: ControlType3.String,
32392
+ defaultValue: "Press me"
32393
+ },
32394
+ onTap: {
32395
+ type: ControlType3.EventHandler
32396
+ },
32397
+ disabled: {
32398
+ title: "Disabled",
32399
+ type: ControlType3.Boolean,
32400
+ defaultValue: false
32401
+ },
32402
+ color: {
32403
+ title: "Color",
32404
+ type: ControlType3.Enum,
32405
+ options: ["primary", "neutral", "danger", "success", "warning"],
32406
+ optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32407
+ },
32408
+ variant: {
32409
+ title: "Variant",
32410
+ type: ControlType3.Enum,
32411
+ options: ["solid", "outlined", "soft", "plain"]
32412
+ },
32413
+ loading: {
32414
+ title: "Loading",
32415
+ type: ControlType3.Boolean,
32416
+ defaultValue: false
32417
+ },
32418
+ endDecorator: {
32419
+ title: "End Decorator",
32420
+ type: ControlType3.ComponentInstance
32421
+ },
32422
+ startDecorator: {
32423
+ title: "Start Decorator",
32424
+ type: ControlType3.ComponentInstance
32425
+ },
32426
+ size: {
32427
+ title: "Size",
32428
+ type: ControlType3.Enum,
32429
+ options: ["sm", "md", "lg"],
32430
+ defaultValue: "md"
32431
+ },
32432
+ // for withModal
32433
+ modalContents: {
32434
+ title: "Modal Contents",
32435
+ type: ControlType3.Array,
32436
+ control: {
32437
+ type: ControlType3.ComponentInstance
32438
+ }
32439
+ }
32440
+ };
32441
+
32442
+ // src/components/Checkbox/Checkbox.framer.ts
32443
+ import { ControlType as ControlType4 } from "framer";
32444
+ var checkboxPropertyControls = {
32445
+ onChange: {
32446
+ title: "onChange",
32447
+ type: ControlType4.EventHandler
32448
+ },
32449
+ defaultChecked: {
32450
+ title: "Checked",
32451
+ type: ControlType4.Boolean,
32452
+ defaultValue: false
32453
+ },
32454
+ disabled: {
32455
+ title: "Disabled",
32456
+ type: ControlType4.Boolean,
32457
+ defaultValue: false
32458
+ },
32459
+ label: {
32460
+ title: "Label",
32461
+ type: ControlType4.String,
32462
+ defaultValue: "Label"
32463
+ },
32464
+ color: {
32465
+ title: "Color",
32466
+ type: ControlType4.Enum,
32467
+ options: ["primary", "neutral", "danger", "success", "warning"],
32468
+ optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32469
+ },
32470
+ size: {
32471
+ title: "Size",
32472
+ type: ControlType4.Enum,
32473
+ options: ["sm", "md", "lg"],
32474
+ defaultValue: "md"
32475
+ },
32476
+ variant: {
32477
+ title: "Variant",
32478
+ type: ControlType4.Enum,
32479
+ options: ["outlined", "plain", "solid", "soft"],
32480
+ defaultValue: void 0
32481
+ }
32482
+ };
32483
+
32484
+ // src/components/Chip/Chip.framer.ts
32485
+ import { ControlType as ControlType5 } from "framer";
32486
+ var chipPropertyControls = {
32487
+ text: {
32488
+ title: "Text",
32489
+ type: ControlType5.String,
32490
+ defaultValue: "Chip"
32491
+ },
32492
+ color: {
32493
+ title: "Color",
32494
+ type: ControlType5.Enum,
32495
+ options: ["primary", "neutral", "danger", "success", "warning"],
32496
+ optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32497
+ },
32498
+ variant: {
32499
+ title: "Variant",
32500
+ type: ControlType5.Enum,
32501
+ options: ["solid", "outlined", "soft", "plain"]
32502
+ },
32503
+ size: {
32504
+ title: "Size",
32505
+ type: ControlType5.Enum,
32506
+ options: ["sm", "md", "lg"],
32507
+ defaultValue: "md"
32508
+ }
32509
+ };
32510
+
32511
+ // src/components/DataTable/DataTable.framer.ts
32512
+ import { ControlType as ControlType6 } from "framer";
32513
+ var dataTablePropertyControls = {
32514
+ csvUrl: {
32515
+ title: "CSV Data",
32516
+ type: ControlType6.File,
32517
+ allowedFileTypes: ["csv"]
32518
+ // NOT WORKING
32519
+ // defaultValue:
32520
+ // "https://sharadcodes.github.io/noob-cms/data/MOCK_DATA.csv",
32521
+ },
32522
+ showCheckbox: {
32523
+ type: ControlType6.Boolean,
32524
+ defaultValue: true
32525
+ },
32526
+ noWrap: {
32527
+ type: ControlType6.Boolean,
32528
+ defaultValue: false
32529
+ },
32530
+ hoverRow: {
32531
+ type: ControlType6.Boolean,
32532
+ defaultValue: true
32533
+ },
32534
+ stripe: {
32535
+ type: ControlType6.Enum,
32536
+ options: [void 0, "odd", "even"],
32537
+ optionTitles: ["None", "Odd", "Even"],
32538
+ defaultValue: void 0
32539
+ },
32540
+ headCells: {
32541
+ type: ControlType6.Array,
32542
+ control: {
32543
+ type: ControlType6.Object,
32544
+ controls: {
32545
+ label: {
32546
+ type: ControlType6.String
32547
+ },
32548
+ width: {
32549
+ type: ControlType6.String
32550
+ }
32551
+ // numeric: {
32552
+ // type: ControlType.Boolean,
32553
+ // defaultValue: false,
32554
+ // },
32555
+ }
32556
+ },
32557
+ defaultValue: []
32558
+ }
32559
+ };
32560
+
32561
+ // src/components/Divider/Divider.framer.ts
32562
+ import { ControlType as ControlType7 } from "framer";
32563
+ var dividerPropertyControls = {
32564
+ text: {
32565
+ type: ControlType7.String,
32566
+ defaultValue: void 0
32567
+ },
32568
+ orientation: {
32569
+ title: "Orientation",
32570
+ type: ControlType7.Enum,
32571
+ options: ["horizontal", "vertical"]
32572
+ }
32573
+ };
32574
+
32575
+ // src/components/IconButton/IconButton.framer.ts
32576
+ import { ControlType as ControlType8 } from "framer";
32577
+ var iconButtonPropertyControls = {
32578
+ icon: {
32579
+ title: "Icon",
32580
+ type: ControlType8.ComponentInstance
32581
+ },
32582
+ onClick: {
32583
+ title: "onClick",
32584
+ type: ControlType8.EventHandler
32585
+ },
32586
+ disabled: {
32587
+ title: "Disabled",
32588
+ type: ControlType8.Boolean,
32589
+ defaultValue: false
32590
+ },
32591
+ color: {
32592
+ title: "Color",
32593
+ type: ControlType8.Enum,
32594
+ options: ["primary", "neutral", "danger", "success", "warning"],
32595
+ optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32596
+ },
32597
+ variant: {
32598
+ title: "Variant",
32599
+ type: ControlType8.Enum,
32600
+ options: ["solid", "outlined", "soft", "plain"]
32601
+ },
32602
+ size: {
32603
+ title: "Size",
32604
+ type: ControlType8.Enum,
32605
+ options: ["sm", "md", "lg"],
32606
+ defaultValue: "md"
32607
+ }
32608
+ };
32609
+
32610
+ // src/components/Input/Input.framer.ts
32611
+ import { ControlType as ControlType9 } from "framer";
32612
+ var inputPropertyControls = {
32613
+ onChange: {
32614
+ type: ControlType9.EventHandler
32615
+ },
32616
+ disabled: {
32617
+ title: "Disabled",
32618
+ type: ControlType9.Boolean,
32619
+ defaultValue: false
32620
+ },
32621
+ color: {
32622
+ title: "Color",
32623
+ type: ControlType9.Enum,
32624
+ options: ["primary", "neutral", "danger", "success", "warning"],
32625
+ optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"],
32626
+ defaultValue: "neutral"
32627
+ },
32628
+ variant: {
32629
+ title: "Variant",
32630
+ type: ControlType9.Enum,
32631
+ options: ["solid", "outlined", "soft", "plain"],
32632
+ defaultValue: "outlined"
32633
+ },
32634
+ defaultValue: {
32635
+ title: "Value",
32636
+ type: ControlType9.String,
32637
+ defaultValue: ""
32638
+ },
32639
+ placeholder: {
32640
+ title: "Placeholder",
32641
+ type: ControlType9.String,
32642
+ defaultValue: "Type in here..."
32643
+ },
32644
+ endDecorator: {
32645
+ title: "End Decorator",
32646
+ type: ControlType9.ComponentInstance
32647
+ },
32648
+ startDecorator: {
32649
+ title: "Start Decorator",
32650
+ type: ControlType9.ComponentInstance
32651
+ },
32652
+ size: {
32653
+ title: "Size",
32654
+ type: ControlType9.Enum,
32655
+ options: ["sm", "md", "lg"],
32656
+ defaultValue: "md"
32657
+ }
32658
+ };
32659
+
32660
+ // src/components/MenuButton/MenuButton.framer.ts
32661
+ import { ControlType as ControlType10 } from "framer";
32662
+ var menuButtonPropertyControls = {
32663
+ buttonText: {
32664
+ title: "Button Text",
32665
+ type: ControlType10.String,
32666
+ defaultValue: "text"
32667
+ },
32668
+ showIcon: {
32669
+ type: ControlType10.Boolean,
32670
+ defaultValue: false
32671
+ },
32672
+ items: {
32673
+ title: "Items",
32674
+ type: ControlType10.Array,
32675
+ control: {
32676
+ type: ControlType10.Object,
32677
+ controls: {
32678
+ text: {
32679
+ type: ControlType10.String
32680
+ }
32681
+ }
32682
+ },
32683
+ defaultValue: []
32684
+ }
32685
+ };
32686
+
32687
+ // src/components/Modal/Modal.framer.ts
32688
+ import { ControlType as ControlType11 } from "framer";
32689
+ var modalFramePropertyControls = {
32690
+ title: {
32691
+ type: ControlType11.String,
32692
+ defaultValue: "Title"
32693
+ },
32694
+ content: {
32695
+ title: "Content",
32696
+ type: ControlType11.ComponentInstance
32697
+ },
32698
+ size: {
32699
+ title: "Size",
32700
+ type: ControlType11.Enum,
32701
+ options: ["sm", "md", "lg"],
32702
+ defaultValue: "md"
32703
+ }
32704
+ };
32705
+
32706
+ // src/components/RadioList/RadioList.framer.ts
32707
+ import { ControlType as ControlType12 } from "framer";
32708
+ var radioListPropertyControls = {
32709
+ orientation: {
32710
+ title: "Orientation",
32711
+ type: ControlType12.Enum,
32712
+ options: ["vertical", "horizontal"],
32713
+ defaultValue: "vertical"
32714
+ },
32715
+ defaultValue: {
32716
+ title: "Checked Value",
32717
+ type: ControlType12.String,
32718
+ defaultValue: "value1"
32719
+ },
32720
+ items: {
32721
+ title: "Items",
32722
+ type: ControlType12.Array,
32723
+ control: {
32724
+ type: ControlType12.Object,
32725
+ controls: {
32726
+ displayName: {
32727
+ title: "Display Name",
32728
+ type: ControlType12.String
32729
+ },
32730
+ value: { title: "Value", type: ControlType12.String },
32731
+ color: {
32732
+ title: "Color",
32733
+ type: ControlType12.Enum,
32734
+ options: ["primary", "neutral", "danger", "success", "warning"],
32735
+ optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32736
+ }
32737
+ }
32738
+ },
32739
+ defaultValue: [
32740
+ { displayName: "Value 1", value: "value1", color: "primary" },
32741
+ { displayName: "Value 2", value: "value2", color: "primary" },
32742
+ { displayName: "Value 3", value: "value3", color: "primary" },
32743
+ { displayName: "Value 4", value: "value4", color: "primary" },
32744
+ { displayName: "Value 5", value: "value5", color: "primary" },
32745
+ { displayName: "Value 6", value: "value6", color: "primary" }
32746
+ ]
32747
+ }
32748
+ };
32749
+
32750
+ // src/components/Select/Select.framer.ts
32751
+ import { ControlType as ControlType13 } from "framer";
32752
+ var selectPropertyControls = {
32753
+ onChange: {
32754
+ title: "onChange",
32755
+ type: ControlType13.EventHandler
32756
+ },
32757
+ defaultListboxOpen: {
32758
+ title: "Opened",
32759
+ type: ControlType13.Boolean,
32760
+ defaultValue: false
32761
+ },
32762
+ defaultValue: {
32763
+ title: "Selected Option",
32764
+ type: ControlType13.String
32765
+ },
32766
+ disabled: {
32767
+ title: "Disabled",
32768
+ type: ControlType13.Boolean,
32769
+ defaultValue: false
32770
+ },
32771
+ placeholder: {
32772
+ title: "Placeholder",
32773
+ type: ControlType13.String,
32774
+ defaultValue: "Choose one..."
32775
+ },
32776
+ color: {
32777
+ title: "Color",
32778
+ type: ControlType13.Enum,
32779
+ options: ["primary", "neutral", "danger", "success", "warning"],
32780
+ optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32781
+ },
32782
+ size: {
32783
+ title: "Size",
32784
+ type: ControlType13.Enum,
32785
+ options: ["sm", "md", "lg"],
32786
+ defaultValue: "md"
32787
+ },
32788
+ variant: {
32789
+ title: "Variant",
32790
+ type: ControlType13.Enum,
32791
+ options: ["outlined", "plain", "solid", "soft"],
32792
+ defaultValue: void 0
32793
+ },
32794
+ options: {
32795
+ title: "Options",
32796
+ type: ControlType13.Array,
32797
+ control: {
32798
+ type: ControlType13.Object,
32799
+ controls: {
32800
+ text: {
32801
+ title: "Text",
32802
+ type: ControlType13.String
32803
+ },
32804
+ value: { title: "Value", type: ControlType13.String }
32805
+ }
32806
+ },
32807
+ defaultValue: [
32808
+ { text: "Option 1", value: "option1" },
32809
+ { text: "Option 2", value: "option2" }
32810
+ ]
32811
+ }
32812
+ };
32813
+
32814
+ // src/components/Sheet/Sheet.framer.ts
32815
+ import { ControlType as ControlType14 } from "framer";
32816
+ var sheetPropertyControls = {
32817
+ color: {
32818
+ title: "Color",
32819
+ type: ControlType14.Enum,
32820
+ options: ["primary", "neutral", "danger", "success", "warning"],
32821
+ optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32822
+ },
32823
+ variant: {
32824
+ title: "Variant",
32825
+ type: ControlType14.Enum,
32826
+ options: ["solid", "outlined", "soft", "plain"],
32827
+ defaultValue: "outlined"
32828
+ }
32829
+ };
32830
+
32831
+ // src/components/Switch/Switch.framer.ts
32832
+ import { ControlType as ControlType15 } from "framer";
32833
+ var switchPropertyControls = {
32834
+ onChange: {
32835
+ title: "onChange",
32836
+ type: ControlType15.EventHandler
32837
+ },
32838
+ disabled: {
32839
+ title: "Disabled",
32840
+ type: ControlType15.Boolean,
32841
+ defaultValue: false
32842
+ },
32843
+ color: {
32844
+ title: "Color",
32845
+ type: ControlType15.Enum,
32846
+ options: ["primary", "neutral", "danger", "success", "warning"],
32847
+ optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32848
+ },
32849
+ variant: {
32850
+ title: "Variant",
32851
+ type: ControlType15.Enum,
32852
+ options: ["solid", "outlined", "soft", "plain"],
32853
+ defaultValue: void 0
32854
+ },
32855
+ size: {
32856
+ title: "Size",
32857
+ type: ControlType15.Enum,
32858
+ options: ["sm", "md", "lg"],
32859
+ defaultValue: "md"
32860
+ }
32861
+ };
32862
+
32863
+ // src/components/Tabs/Tabs.framer.ts
32864
+ import { ControlType as ControlType16 } from "framer";
32865
+ var tabsPropertyControls = {
32866
+ color: {
32867
+ title: "Color",
32868
+ type: ControlType16.Enum,
32869
+ options: ["primary", "neutral", "danger", "success", "warning"],
32870
+ optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"]
32871
+ },
32872
+ size: {
32873
+ title: "Size",
32874
+ type: ControlType16.Enum,
32875
+ options: ["sm", "md", "lg"],
32876
+ defaultValue: "md"
32877
+ },
32878
+ variant: {
32879
+ title: "Variant",
32880
+ type: ControlType16.Enum,
32881
+ options: ["outlined", "plain", "solid", "soft"],
32882
+ defaultValue: "plain"
32883
+ },
32884
+ orientation: {
32885
+ type: ControlType16.Enum,
32886
+ options: ["horizontal", "vertical"]
32887
+ },
32888
+ disableUnderline: {
32889
+ type: ControlType16.Boolean,
32890
+ defaultValue: false
32891
+ },
32892
+ disableIndicator: {
32893
+ type: ControlType16.Boolean,
32894
+ defaultValue: false
32895
+ },
32896
+ indicatorInset: {
32897
+ type: ControlType16.Boolean,
32898
+ defaultValue: false
32899
+ },
32900
+ tabs: {
32901
+ type: ControlType16.Array,
32902
+ control: {
32903
+ type: ControlType16.Object,
32904
+ controls: {
32905
+ title: {
32906
+ type: ControlType16.String
32907
+ },
32908
+ disabled: {
32909
+ type: ControlType16.Boolean,
32910
+ defaultValue: false
32911
+ }
32912
+ }
32913
+ }
32914
+ },
32915
+ contents: {
32916
+ title: "Contents",
32917
+ type: ControlType16.Array,
32918
+ control: {
32919
+ type: ControlType16.ComponentInstance
32920
+ }
32921
+ }
32922
+ };
32923
+
32924
+ // src/components/Typography/Typography.framer.ts
32925
+ import { ControlType as ControlType17 } from "framer";
32926
+ var typographyPropertyControls = {
32927
+ // color: {
32928
+ // title: "Color",
32929
+ // type: ControlType.Enum,
32930
+ // options: ["primary", "neutral", "danger", "success", "warning"],
32931
+ // optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"],
32932
+ // },
32933
+ level: {
32934
+ title: "Level",
32935
+ type: ControlType17.Enum,
32936
+ options: [
32937
+ "h1",
32938
+ "h2",
32939
+ "h3",
32940
+ "h4",
32941
+ "title-lg",
32942
+ "title-md",
32943
+ "title-sm",
32944
+ "body-lg",
32945
+ "body-md",
32946
+ "body-sm",
32947
+ "body-xs",
32948
+ "inherit"
32949
+ ],
32950
+ defaultValue: "body-md"
32951
+ },
32952
+ textColor: {
32953
+ title: "Text Color",
32954
+ type: ControlType17.Enum,
32955
+ options: ["text.tertiary", "inherit"],
32956
+ defaultValue: "inherit"
32957
+ },
32958
+ text: {
32959
+ title: "Text",
32960
+ type: ControlType17.String,
32961
+ defaultValue: "Typography",
32962
+ displayTextArea: true
32963
+ },
32964
+ endDecorator: {
32965
+ title: "End Decorator",
32966
+ type: ControlType17.ComponentInstance
32967
+ },
32968
+ startDecorator: {
32969
+ title: "Start Decorator",
32970
+ type: ControlType17.ComponentInstance
32971
+ }
32972
+ };
32348
32973
  export {
32349
32974
  Accordion_default as Accordion,
32350
32975
  AccordionDetails_default as AccordionDetails,
@@ -32400,6 +33025,7 @@ export {
32400
33025
  Option3 as Option,
32401
33026
  Radio3 as Radio,
32402
33027
  RadioGroup3 as RadioGroup,
33028
+ RadioList,
32403
33029
  Select3 as Select,
32404
33030
  Sheet3 as Sheet,
32405
33031
  Skeleton_default as Skeleton,
@@ -32430,28 +33056,36 @@ export {
32430
33056
  avatarGroupClasses_default as avatarGroupClasses,
32431
33057
  avatarPropertyControls,
32432
33058
  badgeClasses_default as badgeClasses,
33059
+ badgePropertyControls,
32433
33060
  boxClasses_default as boxClasses,
32434
33061
  breadcrumbsClasses_default as breadcrumbsClasses,
32435
33062
  buttonClasses_default as buttonClasses,
33063
+ buttonPropertyControls,
32436
33064
  cardActionsClasses_default as cardActionsClasses,
32437
33065
  cardClasses_default as cardClasses,
32438
33066
  cardContentClasses_default as cardContentClasses,
32439
33067
  cardCoverClasses_default as cardCoverClasses,
32440
33068
  cardOverflowClasses_default as cardOverflowClasses,
32441
33069
  checkboxClasses_default as checkboxClasses,
33070
+ checkboxPropertyControls,
32442
33071
  chipClasses_default as chipClasses,
33072
+ chipPropertyControls,
32443
33073
  circularProgressClasses_default as circularProgressClasses,
33074
+ dataTablePropertyControls,
32444
33075
  dialogActionsClasses_default as dialogActionsClasses,
32445
33076
  dialogContentClasses_default as dialogContentClasses,
32446
33077
  dialogTitleClasses_default as dialogTitleClasses,
32447
33078
  dividerClasses_default as dividerClasses,
33079
+ dividerPropertyControls,
32448
33080
  drawerClasses_default as drawerClasses,
32449
33081
  formControlClasses_default as formControlClasses,
32450
33082
  formHelperTextClasses_default as formHelperTextClasses,
32451
33083
  formLabelClasses_default as formLabelClasses,
32452
33084
  gridClasses_default as gridClasses,
32453
33085
  iconButtonClasses_default as iconButtonClasses,
33086
+ iconButtonPropertyControls,
32454
33087
  inputClasses_default as inputClasses,
33088
+ inputPropertyControls,
32455
33089
  linearProgressClasses_default as linearProgressClasses,
32456
33090
  linkClasses_default as linkClasses,
32457
33091
  listClasses_default as listClasses,
@@ -32462,17 +33096,22 @@ export {
32462
33096
  listItemDecoratorClasses_default as listItemDecoratorClasses,
32463
33097
  listSubheaderClasses_default as listSubheaderClasses,
32464
33098
  menuButtonClasses_default as menuButtonClasses,
33099
+ menuButtonPropertyControls,
32465
33100
  menuClasses_default as menuClasses,
32466
33101
  menuItemClasses_default as menuItemClasses,
32467
33102
  modalClasses_default as modalClasses,
32468
33103
  modalCloseClasses_default as modalCloseClasses,
32469
33104
  modalDialogClasses_default as modalDialogClasses,
33105
+ modalFramePropertyControls,
32470
33106
  modalOverflowClasses_default as modalOverflowClasses,
32471
33107
  optionClasses_default as optionClasses,
32472
33108
  radioClasses_default as radioClasses,
32473
33109
  radioGroupClasses_default as radioGroupClasses,
33110
+ radioListPropertyControls,
32474
33111
  selectClasses_default as selectClasses,
33112
+ selectPropertyControls,
32475
33113
  sheetClasses_default as sheetClasses,
33114
+ sheetPropertyControls,
32476
33115
  skeletonClasses_default as skeletonClasses,
32477
33116
  sliderClasses_default as sliderClasses,
32478
33117
  stackClasses_default as stackClasses,
@@ -32480,13 +33119,16 @@ export {
32480
33119
  stepClasses_default as stepClasses,
32481
33120
  stepperClasses_default as stepperClasses,
32482
33121
  switchClasses_default as switchClasses,
33122
+ switchPropertyControls,
32483
33123
  tabListClasses_default as tabListClasses,
32484
33124
  tabPanelClasses_default as tabPanelClasses,
32485
33125
  tableClasses_default as tableClasses,
32486
33126
  tabsClasses_default as tabsClasses,
33127
+ tabsPropertyControls,
32487
33128
  textareaClasses_default as textareaClasses,
32488
33129
  tooltipClasses_default as tooltipClasses,
32489
- typographyClasses_default as typographyClasses
33130
+ typographyClasses_default as typographyClasses,
33131
+ typographyPropertyControls
32490
33132
  };
32491
33133
  /*! Bundled license information:
32492
33134
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ceed/ads",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "description": "UI tool for Ecube Labs front-end developers",
@@ -1,2 +0,0 @@
1
- import { type PropertyControls } from 'framer';
2
- export declare const avatarPropertyControls: PropertyControls;
@@ -1,31 +0,0 @@
1
- import { ControlType } from 'framer';
2
- export var avatarPropertyControls = {
3
- text: {
4
- title: "Text",
5
- type: ControlType.String,
6
- defaultValue: "Tim",
7
- },
8
- image: {
9
- title: "Image",
10
- type: ControlType.ResponsiveImage,
11
- },
12
- color: {
13
- title: "Color",
14
- type: ControlType.Enum,
15
- options: ["primary", "neutral", "danger", "success", "warning"],
16
- optionTitles: ["Primary", "Neutral", "Danger", "Success", "Warning"],
17
- defaultValue: "neutral",
18
- },
19
- size: {
20
- title: "Size",
21
- type: ControlType.Enum,
22
- options: ["sm", "md", "lg"],
23
- defaultValue: "md",
24
- },
25
- variant: {
26
- title: "Variant",
27
- type: ControlType.Enum,
28
- options: ["outlined", "plain", "solid", "soft"],
29
- defaultValue: undefined,
30
- },
31
- };
@@ -1,2 +0,0 @@
1
- export * from "./index";
2
- export { avatarPropertyControls } from "./components/Avatar/Avatar.framer";
@@ -1,2 +0,0 @@
1
- export * from "./index";
2
- export { avatarPropertyControls } from "./components/Avatar/Avatar.framer";