@max-ts/kit 0.15.0 → 0.15.1

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.
package/lib/index.mjs CHANGED
@@ -602,39 +602,44 @@ var theme = {
602
602
  lg: 'var(--borderRadius-lg)'
603
603
  }
604
604
  };
605
- var card = 'style__oyalw00';
606
- var cardContent = 'style__oyalw04';
607
- var cardDescription = 'style__oyalw03';
608
- var cardFooter = 'style__oyalw05';
609
- var cardHeader = 'style__oyalw01';
610
- var cardTitle = 'style__oyalw02';
605
+ var card_css_content = 'style__oyalw04';
606
+ var card_css_description = 'style__oyalw03';
607
+ var card_css_footer = 'style__oyalw05';
608
+ var card_css_header = 'style__oyalw01';
609
+ var card_css_root = 'style__oyalw00';
610
+ var card_css_title = 'style__oyalw02';
611
611
  const Card = ({ className, elevation = 2, ...props })=>/*#__PURE__*/ jsx("div", {
612
612
  style: {
613
613
  boxShadow: theme.elevation[elevation]
614
614
  },
615
- className: clsx(card, className),
615
+ className: clsx(card_css_root, className),
616
616
  ...props
617
617
  });
618
- const CardHeader = ({ className, ...props })=>/*#__PURE__*/ jsx("div", {
619
- className: clsx(cardHeader, className),
618
+ const Card_Header = ({ className, ...props })=>/*#__PURE__*/ jsx("div", {
619
+ className: clsx(card_css_header, className),
620
620
  ...props
621
621
  });
622
- const CardTitle = ({ className, ...props })=>/*#__PURE__*/ jsx("h3", {
623
- className: clsx(cardTitle, className),
622
+ const Card_Title = ({ className, ...props })=>/*#__PURE__*/ jsx("h3", {
623
+ className: clsx(card_css_title, className),
624
624
  ...props
625
625
  });
626
- const CardDescription = ({ className, ...props })=>/*#__PURE__*/ jsx("p", {
627
- className: clsx(cardDescription, className),
626
+ const Card_Description = ({ className, ...props })=>/*#__PURE__*/ jsx("p", {
627
+ className: clsx(card_css_description, className),
628
628
  ...props
629
629
  });
630
- const CardContent = ({ className, ...props })=>/*#__PURE__*/ jsx("div", {
631
- className: clsx(cardContent, className),
630
+ const Card_Content = ({ className, ...props })=>/*#__PURE__*/ jsx("div", {
631
+ className: clsx(card_css_content, className),
632
632
  ...props
633
633
  });
634
- const CardFooter = ({ className, ...props })=>/*#__PURE__*/ jsx("div", {
635
- className: clsx(cardFooter, className),
634
+ const Card_Footer = ({ className, ...props })=>/*#__PURE__*/ jsx("div", {
635
+ className: clsx(card_css_footer, className),
636
636
  ...props
637
637
  });
638
+ Card.Footer = Card_Footer;
639
+ Card.Header = Card_Header;
640
+ Card.Title = Card_Title;
641
+ Card.Description = Card_Description;
642
+ Card.Content = Card_Content;
638
643
  const CarouselContext = react.createContext(null);
639
644
  function useCarousel() {
640
645
  const context = react.useContext(CarouselContext);
@@ -3294,4 +3299,4 @@ function FormTextField({ name, control, gridArea, ...props }) {
3294
3299
  var src_DEFAULT_SEPARATOR = ":";
3295
3300
  var src_DEFAULT_SYMBOL = "—";
3296
3301
  var src_NOTIFY_CLASSNAME = "notify";
3297
- export { Accordion_Accordion as Accordion, AlertDialog_AlertDialog as AlertDialog, Badge, Button, ButtonGroup, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, Checkbox_Checkbox as Checkbox, CircularProgress, ConfirmAction, ContentState, Controller as FormController, CopyTypography, DESCRIPTION_ROOT_CLASSNAME, DashboardLayout, DataGrid, DataGridActionCell, DataGridSortHeader, DataList, DatePicker, Description_Description as Description, Dialog, Drawer_Drawer as Drawer, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormMaskField, FormProvider, FormSubmitButton, FormTextField, Image, ImageCarousel, Input, InputOTP, Label, MaskField, NOTIFICATION_POSITIONS, Notification, NotificationContainer, PageLayout, Pagination, PeriodPicker, Placeholder, Popover, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, RangeInput, ScrollTopButton, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Slider, Tabs_Tabs as Tabs, TextField, Tooltip, Typography, alignments, badgeVariants, buttonSizes, buttonVariants, colors, constants_NotificationVariantTypes as NotificationVariantTypes, displays, notification, src_DEFAULT_SEPARATOR as DEFAULT_SEPARATOR, src_DEFAULT_SYMBOL as DEFAULT_SYMBOL, src_NOTIFY_CLASSNAME as NOTIFY_CLASSNAME, theme, transforms, useController as useFormController, useDashboard, useFieldArray as useFormFieldArray, useFormContext, useForm_useForm as useForm, useWatch as useFormWatch, variants, weights };
3302
+ export { Accordion_Accordion as Accordion, AlertDialog_AlertDialog as AlertDialog, Badge, Button, ButtonGroup, Calendar, Card, Carousel, Checkbox_Checkbox as Checkbox, CircularProgress, ConfirmAction, ContentState, Controller as FormController, CopyTypography, DESCRIPTION_ROOT_CLASSNAME, DashboardLayout, DataGrid, DataGridActionCell, DataGridSortHeader, DataList, DatePicker, Description_Description as Description, Dialog, Drawer_Drawer as Drawer, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormMaskField, FormProvider, FormSubmitButton, FormTextField, Image, ImageCarousel, Input, InputOTP, Label, MaskField, NOTIFICATION_POSITIONS, Notification, NotificationContainer, PageLayout, Pagination, PeriodPicker, Placeholder, Popover, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, RangeInput, ScrollTopButton, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Slider, Tabs_Tabs as Tabs, TextField, Tooltip, Typography, alignments, badgeVariants, buttonSizes, buttonVariants, colors, constants_NotificationVariantTypes as NotificationVariantTypes, displays, notification, src_DEFAULT_SEPARATOR as DEFAULT_SEPARATOR, src_DEFAULT_SYMBOL as DEFAULT_SYMBOL, src_NOTIFY_CLASSNAME as NOTIFY_CLASSNAME, theme, transforms, useController as useFormController, useDashboard, useFieldArray as useFormFieldArray, useFormContext, useForm_useForm as useForm, useWatch as useFormWatch, variants, weights };
@@ -1,12 +1,14 @@
1
1
  import type { HTMLAttributes } from 'react';
2
2
  import { theme } from '../../theme/index.ts';
3
- declare const Card: ({ className, elevation, ...props }: HTMLAttributes<HTMLDivElement> & {
4
- elevation?: keyof typeof theme.elevation;
5
- }) => import("react/jsx-runtime").JSX.Element;
6
- declare const CardHeader: ({ className, ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
7
- declare const CardTitle: ({ className, ...props }: HTMLAttributes<HTMLHeadingElement>) => import("react/jsx-runtime").JSX.Element;
8
- declare const CardDescription: ({ className, ...props }: HTMLAttributes<HTMLParagraphElement>) => import("react/jsx-runtime").JSX.Element;
9
- declare const CardContent: ({ className, ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
10
- declare const CardFooter: ({ className, ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
11
- export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, };
3
+ declare const Card: {
4
+ ({ className, elevation, ...props }: HTMLAttributes<HTMLDivElement> & {
5
+ elevation?: keyof typeof theme.elevation;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ Footer: ({ className, ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
8
+ Header: ({ className, ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
9
+ Title: ({ className, ...props }: HTMLAttributes<HTMLHeadingElement>) => import("react/jsx-runtime").JSX.Element;
10
+ Description: ({ className, ...props }: HTMLAttributes<HTMLParagraphElement>) => import("react/jsx-runtime").JSX.Element;
11
+ Content: ({ className, ...props }: HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
12
+ };
13
+ export { Card };
12
14
  //# sourceMappingURL=Card.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAUhC,QAAA,MAAM,IAAI,GAAI,oCAIX,cAAc,CAAC,cAAc,CAAC,GAAG;IACnC,SAAS,CAAC,EAAE,MAAM,OAAO,KAAK,CAAC,SAAS,CAAC;CACzC,4CAMA,CAAC;AAEF,QAAA,MAAM,UAAU,GAAI,yBAGjB,cAAc,CAAC,cAAc,CAAC,4CAEhC,CAAC;AAEF,QAAA,MAAM,SAAS,GAAI,yBAGhB,cAAc,CAAC,kBAAkB,CAAC,4CAEpC,CAAC;AAEF,QAAA,MAAM,eAAe,GAAI,yBAGtB,cAAc,CAAC,oBAAoB,CAAC,4CAEtC,CAAC;AAEF,QAAA,MAAM,WAAW,GAAI,yBAGlB,cAAc,CAAC,cAAc,CAAC,4CAEhC,CAAC;AAEF,QAAA,MAAM,UAAU,GAAI,yBAGjB,cAAc,CAAC,cAAc,CAAC,4CAEhC,CAAC;AAEF,OAAO,EACN,IAAI,EACJ,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACT,CAAC"}
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,QAAA,MAAM,IAAI;yCAIP,cAAc,CAAC,cAAc,CAAC,GAAG;QACnC,SAAS,CAAC,EAAE,MAAM,OAAO,KAAK,CAAC,SAAS,CAAC;KACzC;sCA2BwC,cAAc,CAAC,cAAc,CAAC;sCAnB9B,cAAc,CAAC,cAAc,CAAC;qCAI/B,cAAc,CAAC,kBAAkB,CAAC;2CAOvE,cAAc,CAAC,oBAAoB,CAAC;uCAIG,cAAc,CAAC,cAAc,CAAC;CAjBvE,CAAC;AA+BF,OAAO,EAAE,IAAI,EAAE,CAAC"}
@@ -1,7 +1,7 @@
1
- export declare const card: string;
2
- export declare const cardHeader: string;
3
- export declare const cardTitle: string;
4
- export declare const cardDescription: string;
5
- export declare const cardContent: string;
6
- export declare const cardFooter: string;
1
+ export declare const root: string;
2
+ export declare const header: string;
3
+ export declare const title: string;
4
+ export declare const description: string;
5
+ export declare const content: string;
6
+ export declare const footer: string;
7
7
  //# sourceMappingURL=card.css.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"card.css.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/card.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,QAGf,CAAC;AAEH,eAAO,MAAM,UAAU,QAMrB,CAAC;AAEH,eAAO,MAAM,SAAS,QAKpB,CAAC;AAEH,eAAO,MAAM,eAAe,QAG1B,CAAC;AAEH,eAAO,MAAM,WAAW,QAGtB,CAAC;AAEH,eAAO,MAAM,UAAU,QAKrB,CAAC"}
1
+ {"version":3,"file":"card.css.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/card.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,QAGf,CAAC;AAEH,eAAO,MAAM,MAAM,QAMjB,CAAC;AAEH,eAAO,MAAM,KAAK,QAKhB,CAAC;AAEH,eAAO,MAAM,WAAW,QAGtB,CAAC;AAEH,eAAO,MAAM,OAAO,QAGlB,CAAC;AAEH,eAAO,MAAM,MAAM,QAKjB,CAAC"}
@@ -1,8 +1,15 @@
1
1
  declare const _default: {
2
2
  title: string;
3
- component: ({ className, elevation, ...props }: import("react").HTMLAttributes<HTMLDivElement> & {
4
- elevation?: 1 | 2 | 3 | 4 | 6;
5
- }) => import("react/jsx-runtime").JSX.Element;
3
+ component: {
4
+ ({ className, elevation, ...props }: import("react").HTMLAttributes<HTMLDivElement> & {
5
+ elevation?: 1 | 2 | 3 | 4 | 6;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ Footer: ({ className, ...props }: import("react").HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
8
+ Header: ({ className, ...props }: import("react").HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
9
+ Title: ({ className, ...props }: import("react").HTMLAttributes<HTMLHeadingElement>) => import("react/jsx-runtime").JSX.Element;
10
+ Description: ({ className, ...props }: import("react").HTMLAttributes<HTMLParagraphElement>) => import("react/jsx-runtime").JSX.Element;
11
+ Content: ({ className, ...props }: import("react").HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
12
+ };
6
13
  parameters: {
7
14
  layout: string;
8
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../stories/Card.stories.tsx"],"names":[],"mappings":";;;iBAcK,CAAC;;;;;;;AAHN,wBAO8B;AAG9B,eAAO,MAAM,OAAO,+CAoBnB,CAAC"}
1
+ {"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../stories/Card.stories.tsx"],"names":[],"mappings":";;;;qBAOQ,CAAC;;;;;;;;;;;;;AAHT,wBAO8B;AAG9B,eAAO,MAAM,OAAO,+CAsBnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Carousel.stories.d.ts","sourceRoot":"","sources":["../../stories/Carousel.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAqB,QAAQ,EAAE,MAAM,cAAc,CAAC;;;;;;;;;AAE3D,wBAOkC;AAElC,wBAAgB,IAAI,4CAiDnB;AAED,wBAAgB,QAAQ,4CAqDvB"}
1
+ {"version":3,"file":"Carousel.stories.d.ts","sourceRoot":"","sources":["../../stories/Carousel.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,QAAQ,EAAE,MAAM,cAAc,CAAC;;;;;;;;;AAE9C,wBAOkC;AAElC,wBAAgB,IAAI,4CAiDnB;AAED,wBAAgB,QAAQ,4CAqDvB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@max-ts/kit",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./lib/index.mjs",
6
6
  "types": "./lib/index.d.ts",