@max-ts/kit 0.27.1 → 1.0.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.
Files changed (74) hide show
  1. package/lib/components/Calendar/Dropdown/Dropdown.d.ts.map +1 -1
  2. package/lib/components/ConfirmAction/ConfirmAction.d.ts +2 -2
  3. package/lib/components/ConfirmAction/ConfirmAction.d.ts.map +1 -1
  4. package/lib/components/Drawer/Drawer.d.ts +6 -5
  5. package/lib/components/Drawer/Drawer.d.ts.map +1 -1
  6. package/lib/components/Drawer/styles.css.d.ts +2 -0
  7. package/lib/components/Drawer/styles.css.d.ts.map +1 -1
  8. package/lib/components/Label/Label.d.ts +2 -3
  9. package/lib/components/Label/Label.d.ts.map +1 -1
  10. package/lib/components/OverflowTypography/OverflowTypography.d.ts.map +1 -1
  11. package/lib/components/OverflowTypography/useLogic.d.ts +8 -17
  12. package/lib/components/OverflowTypography/useLogic.d.ts.map +1 -1
  13. package/lib/components/RadioGroup/RadioGroup.d.ts +2 -2
  14. package/lib/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  15. package/lib/components/RadioGroup/RadioGroupItem.d.ts +2 -2
  16. package/lib/components/RadioGroup/RadioGroupItem.d.ts.map +1 -1
  17. package/lib/components/RadioGroup/styles.css.d.ts.map +1 -1
  18. package/lib/components/Select/Select.d.ts +17 -12
  19. package/lib/components/Select/Select.d.ts.map +1 -1
  20. package/lib/components/Select/styles.css.d.ts +1 -0
  21. package/lib/components/Select/styles.css.d.ts.map +1 -1
  22. package/lib/components/Tabs/Tabs.d.ts +6 -3
  23. package/lib/components/Tabs/Tabs.d.ts.map +1 -1
  24. package/lib/components/Tabs/TabsContent.d.ts +3 -2
  25. package/lib/components/Tabs/TabsContent.d.ts.map +1 -1
  26. package/lib/components/Tabs/TabsList.d.ts +2 -2
  27. package/lib/components/Tabs/TabsList.d.ts.map +1 -1
  28. package/lib/components/Tabs/TabsTrigger.d.ts +2 -2
  29. package/lib/components/Tabs/TabsTrigger.d.ts.map +1 -1
  30. package/lib/components/Tooltip/Tooltip.d.ts +7 -5
  31. package/lib/components/Tooltip/Tooltip.d.ts.map +1 -1
  32. package/lib/components/Tooltip/styles.css.d.ts +1 -0
  33. package/lib/components/Tooltip/styles.css.d.ts.map +1 -1
  34. package/lib/index.d.ts +0 -1
  35. package/lib/index.d.ts.map +1 -1
  36. package/lib/index.mjs +192 -207
  37. package/lib/stories/MaskField.stories.d.ts +0 -1
  38. package/lib/stories/MaskField.stories.d.ts.map +1 -1
  39. package/lib/styles.css +120 -51
  40. package/package.json +2 -10
  41. package/lib/form/Form/Form.d.ts +0 -46
  42. package/lib/form/Form/Form.d.ts.map +0 -1
  43. package/lib/form/Form/index.d.ts +0 -2
  44. package/lib/form/Form/index.d.ts.map +0 -1
  45. package/lib/form/FormMaskField/FormMaskField.d.ts +0 -5
  46. package/lib/form/FormMaskField/FormMaskField.d.ts.map +0 -1
  47. package/lib/form/FormMaskField/index.d.ts +0 -3
  48. package/lib/form/FormMaskField/index.d.ts.map +0 -1
  49. package/lib/form/FormMaskField/types.d.ts +0 -5
  50. package/lib/form/FormMaskField/types.d.ts.map +0 -1
  51. package/lib/form/FormSubmitButton/FormSubmitButton.d.ts +0 -7
  52. package/lib/form/FormSubmitButton/FormSubmitButton.d.ts.map +0 -1
  53. package/lib/form/FormSubmitButton/index.d.ts +0 -2
  54. package/lib/form/FormSubmitButton/index.d.ts.map +0 -1
  55. package/lib/form/FormTextField/FormTextField.d.ts +0 -8
  56. package/lib/form/FormTextField/FormTextField.d.ts.map +0 -1
  57. package/lib/form/FormTextField/index.d.ts +0 -3
  58. package/lib/form/FormTextField/index.d.ts.map +0 -1
  59. package/lib/form/FormTextField/types.d.ts +0 -5
  60. package/lib/form/FormTextField/types.d.ts.map +0 -1
  61. package/lib/form/external.d.ts +0 -2
  62. package/lib/form/external.d.ts.map +0 -1
  63. package/lib/form/hooks/index.d.ts +0 -3
  64. package/lib/form/hooks/index.d.ts.map +0 -1
  65. package/lib/form/hooks/useForm/index.d.ts +0 -2
  66. package/lib/form/hooks/useForm/index.d.ts.map +0 -1
  67. package/lib/form/hooks/useForm/useForm.d.ts +0 -5
  68. package/lib/form/hooks/useForm/useForm.d.ts.map +0 -1
  69. package/lib/form/hooks/useFormContext/index.d.ts +0 -2
  70. package/lib/form/hooks/useFormContext/index.d.ts.map +0 -1
  71. package/lib/form/index.d.ts +0 -8
  72. package/lib/form/index.d.ts.map +0 -1
  73. package/lib/form/types.d.ts +0 -8
  74. package/lib/form/types.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAWvD,wBAAgB,QAAQ,CACvB,KAAK,EAAE;IACN,OAAO,CAAC,EAAE,cAAc,EAAE,GAAG,SAAS,CAAC;CACvC,GAAG,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,CAAC,+BAsC7D"}
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAWvD,wBAAgB,QAAQ,CACvB,KAAK,EAAE;IACN,OAAO,CAAC,EAAE,cAAc,EAAE,GAAG,SAAS,CAAC;CACvC,GAAG,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,CAAC,+BA6C7D"}
@@ -1,4 +1,4 @@
1
- import type { ReactNode, SyntheticEvent } from 'react';
1
+ import type { ReactElement, SyntheticEvent } from 'react';
2
2
  import { type PopoverProps } from '../Popover';
3
3
  export type ActionComponentParams = {
4
4
  onClick: (event: SyntheticEvent) => void;
@@ -30,7 +30,7 @@ export type ConfirmActionProps = {
30
30
  /**
31
31
  * Кнопка, действие которой необходимо подтвердить
32
32
  */
33
- actionComponent: (params: ActionComponentParams) => ReactNode;
33
+ actionComponent: (params: ActionComponentParams) => ReactElement;
34
34
  /**
35
35
  * Целевое действие, которое должно произойти после подтверждения
36
36
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ConfirmAction.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmAction/ConfirmAction.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAUxD,MAAM,MAAM,qBAAqB,GAAG;IACnC,OAAO,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,kBAAkB,CAAC,EAAE;QACpB;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd;;;WAGG;QACH,UAAU,CAAC,EAAE,OAAO,CAAC;KACrB,CAAC;IAEF,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,YAAY,CAAC,EAAE;QACd,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACnC,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;KACrC,CAAC;IAEF;;OAEG;IACH,eAAe,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,SAAS,CAAC;IAE9D;;OAEG;IACH,SAAS,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,gCA6CtD,CAAC"}
1
+ {"version":3,"file":"ConfirmAction.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmAction/ConfirmAction.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAUxD,MAAM,MAAM,qBAAqB,GAAG;IACnC,OAAO,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,kBAAkB,CAAC,EAAE;QACpB;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd;;;WAGG;QACH,UAAU,CAAC,EAAE,OAAO,CAAC;KACrB,CAAC;IAEF,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,YAAY,CAAC,EAAE;QACd,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACnC,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;KACrC,CAAC;IAEF;;OAEG;IACH,eAAe,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,YAAY,CAAC;IAEjE;;OAEG;IACH,SAAS,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,gCA6CtD,CAAC"}
@@ -1,12 +1,13 @@
1
+ import { type DrawerRoot } from '@base-ui/react/drawer';
1
2
  import type * as React from 'react';
2
- import { type DialogProps } from 'vaul';
3
- export type DrawerProps = DialogProps & {
3
+ export type DrawerProps = Omit<DrawerRoot.Props, 'children'> & {
4
4
  title: string;
5
+ children?: React.ReactNode;
5
6
  description?: string;
6
- trigger?: React.ReactNode;
7
+ trigger?: React.ReactElement;
7
8
  className?: string;
8
9
  footer?: React.ReactNode;
9
- closeButton?: React.ReactNode;
10
+ closeButton?: React.ReactElement;
10
11
  };
11
- export declare const Drawer: ({ children, trigger, className, title, description, footer, closeButton, ...props }: DrawerProps) => React.JSX.Element;
12
+ export declare const Drawer: ({ children, trigger, className, title, description, footer, closeButton, swipeDirection, ...props }: DrawerProps) => React.JSX.Element;
12
13
  //# sourceMappingURL=Drawer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,KAAK,WAAW,EAAmC,MAAM,MAAM,CAAC;AAGzE,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,qFASpB,WAAW,sBA6Cb,CAAC"}
1
+ {"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEN,KAAK,UAAU,EACf,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,GAAG;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,qGAUpB,WAAW,sBAgDb,CAAC"}
@@ -1,5 +1,7 @@
1
1
  export declare const overlay: string;
2
+ export declare const viewport: string;
2
3
  export declare const content: string;
4
+ export declare const contentInner: string;
3
5
  export declare const dragHandle: string;
4
6
  export declare const header: string;
5
7
  export declare const footer: string;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/styles.css.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,OAAO,QAclB,CAAC;AAEH,eAAO,MAAM,OAAO,QA6DlB,CAAC;AAEH,eAAO,MAAM,UAAU,QAgBrB,CAAC;AAEH,eAAO,MAAM,MAAM,QAmBjB,CAAC;AAEH,eAAO,MAAM,MAAM,QAMjB,CAAC;AAEH,eAAO,MAAM,KAAK,QAIhB,CAAC;AAEH,eAAO,MAAM,WAAW,QAItB,CAAC"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/styles.css.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,OAAO,QAclB,CAAC;AAEH,eAAO,MAAM,QAAQ,QAInB,CAAC;AAEH,eAAO,MAAM,OAAO,QA2FlB,CAAC;AAEH,eAAO,MAAM,YAAY,QAKvB,CAAC;AAEH,eAAO,MAAM,UAAU,QAgBrB,CAAC;AAEH,eAAO,MAAM,MAAM,QAmBjB,CAAC;AAEH,eAAO,MAAM,MAAM,QAMjB,CAAC;AAEH,eAAO,MAAM,KAAK,QAIhB,CAAC;AAEH,eAAO,MAAM,WAAW,QAItB,CAAC"}
@@ -1,8 +1,7 @@
1
- import { type LabelProps as LabelPrimitiveProps } from '@radix-ui/react-label';
2
- export type LabelProps = LabelPrimitiveProps & {
1
+ export type LabelProps = React.ComponentProps<'label'> & {
3
2
  disabled?: boolean;
4
3
  error?: boolean;
5
4
  required?: boolean;
6
5
  };
7
- export declare const Label: ({ className, disabled, ...props }: LabelProps) => import("react").JSX.Element;
6
+ export declare const Label: ({ className, disabled, error, ...props }: LabelProps) => import("react").JSX.Element;
8
7
  //# sourceMappingURL=Label.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,UAAU,IAAI,mBAAmB,EAEtC,MAAM,uBAAuB,CAAC;AAI/B,MAAM,MAAM,UAAU,GAAG,mBAAmB,GAAG;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AACF,eAAO,MAAM,KAAK,GAAI,mCAAmC,UAAU,gCAalE,CAAC"}
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/Label/Label.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,GAAG;IACxD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,0CAA0C,UAAU,gCAezE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"OverflowTypography.d.ts","sourceRoot":"","sources":["../../../src/components/OverflowTypography/OverflowTypography.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAIvD,eAAO,MAAM,kBAAkB,GAAI,OAAO,uBAAuB,gCAwEhE,CAAC"}
1
+ {"version":3,"file":"OverflowTypography.d.ts","sourceRoot":"","sources":["../../../src/components/OverflowTypography/OverflowTypography.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAIvD,eAAO,MAAM,kBAAkB,GAAI,OAAO,uBAAuB,gCAyEhE,CAAC"}
@@ -1,24 +1,15 @@
1
- import type { OverflowTypographyProps } from './types';
2
- export declare const useLogic: ({ text, children, tooltipProps, visibleLastSymbolsCount, rowsCount, ref, style: styleProp, }: OverflowTypographyProps) => {
1
+ import type { OverflowTypographyProps, OverflowTypographyTooltipProps } from './types';
2
+ type UseLogicReturn = {
3
3
  label: string | undefined;
4
4
  hasVisibleLastSymbols: boolean;
5
5
  hasMultipleRows: boolean;
6
6
  overflowRef: (node: HTMLElement | null) => void;
7
- tooltipContent: string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | undefined;
8
- restTooltipProps: {
9
- open?: boolean | undefined;
10
- className?: string | undefined;
11
- onOpenChange?: ((open: boolean) => void) | undefined;
12
- defaultOpen?: boolean | undefined;
13
- align?: "center" | "end" | "start" | undefined;
14
- side?: "bottom" | "left" | "right" | "top" | undefined;
15
- sideOffset?: number | undefined;
16
- alignOffset?: number | undefined;
17
- delayDuration?: number | undefined;
18
- disableHoverableContent?: boolean | undefined;
19
- arrow?: boolean | undefined;
20
- };
21
- style: import("react").CSSProperties;
7
+ tooltipContent: React.ReactNode;
8
+ restTooltipProps: Omit<OverflowTypographyTooltipProps, 'content' | 'text'>;
22
9
  visibleLastSymbolsCount: number;
10
+ style: React.CSSProperties;
11
+ restProps: OverflowTypographyProps;
23
12
  };
13
+ export declare const useLogic: ({ text, children, tooltipProps, visibleLastSymbolsCount, rowsCount, ref, style: styleProp, ...restProps }: OverflowTypographyProps) => UseLogicReturn;
14
+ export {};
24
15
  //# sourceMappingURL=useLogic.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLogic.d.ts","sourceRoot":"","sources":["../../../src/components/OverflowTypography/useLogic.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAGvD,eAAO,MAAM,QAAQ,GAAI,8FAQtB,uBAAuB;;;;;;;;;;;;;;;;;;;;;CAuCzB,CAAC"}
1
+ {"version":3,"file":"useLogic.d.ts","sourceRoot":"","sources":["../../../src/components/OverflowTypography/useLogic.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACX,uBAAuB,EACvB,8BAA8B,EAC9B,MAAM,SAAS,CAAC;AAGjB,KAAK,cAAc,GAAG;IACrB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IAChD,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,gBAAgB,EAAE,IAAI,CAAC,8BAA8B,EAAE,SAAS,GAAG,MAAM,CAAC,CAAC;IAC3E,uBAAuB,EAAE,MAAM,CAAC;IAChC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC;IAC3B,SAAS,EAAE,uBAAuB,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,2GAStB,uBAAuB,KAAG,cAwC5B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { Root } from '@radix-ui/react-radio-group';
2
- export type RadioGroupProps = React.ComponentProps<typeof Root>;
1
+ import { RadioGroup as RadioGroupPrimitive } from '@base-ui/react/radio-group';
2
+ export type RadioGroupProps = RadioGroupPrimitive.Props;
3
3
  export declare const RadioGroup: ({ className, ...props }: RadioGroupProps) => import("react").JSX.Element;
4
4
  //# sourceMappingURL=RadioGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAInD,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC;AAEhE,eAAO,MAAM,UAAU,GAAI,yBAAyB,eAAe,gCAQlE,CAAC"}
1
+ {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAI/E,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC,KAAK,CAAC;AAExD,eAAO,MAAM,UAAU,GAAI,yBAAyB,eAAe,gCAQlE,CAAC"}
@@ -1,5 +1,5 @@
1
- import { Item } from '@radix-ui/react-radio-group';
2
- export type RadioGroupItemProps = React.ComponentProps<typeof Item> & {
1
+ import { Radio as RadioPrimitive } from '@base-ui/react/radio';
2
+ export type RadioGroupItemProps = RadioPrimitive.Root.Props & {
3
3
  label: string;
4
4
  };
5
5
  export declare const RadioGroupItem: ({ className, label, ...props }: RadioGroupItemProps) => import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroupItem.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/RadioGroupItem.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAa,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAW9D,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,GAAG;IACrE,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,gCAI5B,mBAAmB,gCAkBrB,CAAC"}
1
+ {"version":3,"file":"RadioGroupItem.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/RadioGroupItem.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAW/D,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,IAAI,CAAC,KAAK,GAAG;IAC7D,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,gCAI5B,mBAAmB,gCAqBrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,QAM3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAI3B,CAAC;AAEH,eAAO,MAAM,SAAS,QA6BpB,CAAC;AAEH,eAAO,MAAM,cAAc,QAKzB,CAAC;AAEH,eAAO,MAAM,SAAS,QAQpB,CAAC"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,QAM3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAI3B,CAAC;AAEH,eAAO,MAAM,SAAS,QAiCpB,CAAC;AAEH,eAAO,MAAM,cAAc,QAOzB,CAAC;AAEH,eAAO,MAAM,SAAS,QAIpB,CAAC"}
@@ -1,22 +1,27 @@
1
- import { Content, Item, Label, ScrollDownButton, ScrollUpButton, Separator, Trigger } from '@radix-ui/react-select';
2
- declare const Select: import("react").FC<import("@radix-ui/react-select").SelectProps>;
3
- declare const SelectGroup: import("react").ForwardRefExoticComponent<import("@radix-ui/react-select").SelectGroupProps & import("react").RefAttributes<HTMLDivElement>>;
4
- declare const SelectValue: import("react").ForwardRefExoticComponent<import("@radix-ui/react-select").SelectValueProps & import("react").RefAttributes<HTMLSpanElement>>;
5
- export type SelectTriggerProps = React.ComponentPropsWithoutRef<typeof Trigger> & {
1
+ import { type SelectPositioner, Select as SelectPrimitive, type SelectRoot } from '@base-ui/react/select';
2
+ export type SelectProps<Value = string> = Omit<SelectRoot.Props<Value>, 'onValueChange'> & {
3
+ onValueChange?: (value: Value, eventDetails: SelectRoot.ChangeEventDetails) => void;
4
+ };
5
+ declare const Select: <Value = string>({ onValueChange, ...props }: SelectProps<Value>) => import("react").JSX.Element;
6
+ declare const SelectGroup: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react").SelectGroupProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
7
+ declare const SelectValue: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react").SelectValueProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
8
+ export type SelectTriggerProps = SelectPrimitive.Trigger.Props & {
6
9
  size?: 'sm' | 'md' | 'lg';
7
10
  };
8
11
  declare const SelectTrigger: ({ className, children, size, ...props }: SelectTriggerProps) => import("react").JSX.Element;
9
- export type ScrollUpButtonProps = React.ComponentPropsWithoutRef<typeof ScrollUpButton>;
12
+ export type ScrollUpButtonProps = SelectPrimitive.ScrollUpArrow.Props;
10
13
  declare const SelectScrollUpButton: ({ className, ...props }: ScrollUpButtonProps) => import("react").JSX.Element;
11
- export type ScrollDownButtonProps = React.ComponentPropsWithoutRef<typeof ScrollDownButton>;
14
+ export type ScrollDownButtonProps = SelectPrimitive.ScrollDownArrow.Props;
12
15
  declare const SelectScrollDownButton: ({ className, ...props }: ScrollDownButtonProps) => import("react").JSX.Element;
13
- export type SelectContentProps = React.ComponentPropsWithoutRef<typeof Content>;
14
- declare const SelectContent: ({ className, children, position, ...props }: SelectContentProps) => import("react").JSX.Element;
15
- export type SelectLabelProps = React.ComponentPropsWithoutRef<typeof Label>;
16
+ export type SelectContentProps = SelectPrimitive.Popup.Props & Pick<SelectPositioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset' | 'alignItemWithTrigger'> & {
17
+ position?: 'popper' | 'item-aligned';
18
+ };
19
+ declare const SelectContent: ({ className, children, side, sideOffset, align, alignOffset, alignItemWithTrigger, position, ...props }: SelectContentProps) => import("react").JSX.Element;
20
+ export type SelectLabelProps = SelectPrimitive.GroupLabel.Props;
16
21
  declare const SelectLabel: ({ className, ...props }: SelectLabelProps) => import("react").JSX.Element;
17
- export type SelectItemProps = React.ComponentPropsWithoutRef<typeof Item>;
22
+ export type SelectItemProps = SelectPrimitive.Item.Props;
18
23
  declare const SelectItem: ({ className, children, ...props }: SelectItemProps) => import("react").JSX.Element;
19
- export type SelectSeparatorProps = React.ComponentPropsWithoutRef<typeof Separator>;
24
+ export type SelectSeparatorProps = SelectPrimitive.Separator.Props;
20
25
  declare const SelectSeparator: ({ className, ...props }: SelectSeparatorProps) => import("react").JSX.Element;
21
26
  export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
22
27
  //# sourceMappingURL=Select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,OAAO,EAGP,IAAI,EAGJ,KAAK,EAGL,gBAAgB,EAChB,cAAc,EACd,SAAS,EACT,OAAO,EAGP,MAAM,wBAAwB,CAAC;AAKhC,QAAA,MAAM,MAAM,kEAAO,CAAC;AACpB,QAAA,MAAM,WAAW,8IAAQ,CAAC;AAC1B,QAAA,MAAM,WAAW,+IAAQ,CAAC;AAE1B,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,wBAAwB,CAC9D,OAAO,OAAO,CACd,GAAG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC1B,CAAC;AACF,QAAA,MAAM,aAAa,GAAI,yCAKpB,kBAAkB,gCAUpB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,wBAAwB,CAC/D,OAAO,cAAc,CACrB,CAAC;AACF,QAAA,MAAM,oBAAoB,GAAI,yBAAyB,mBAAmB,gCAIzE,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,wBAAwB,CACjE,OAAO,gBAAgB,CACvB,CAAC;AAEF,QAAA,MAAM,sBAAsB,GAAI,yBAG7B,qBAAqB,gCAIvB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,OAAO,CAAC,CAAC;AAEhF,QAAA,MAAM,aAAa,GAAI,6CAKpB,kBAAkB,gCAYpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,KAAK,CAAC,CAAC;AAC5E,QAAA,MAAM,WAAW,GAAI,yBAAyB,gBAAgB,gCAE7D,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC,CAAC;AAC1E,QAAA,MAAM,UAAU,GAAI,mCAAmC,eAAe,gCASrE,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,wBAAwB,CAChE,OAAO,SAAS,CAChB,CAAC;AAEF,QAAA,MAAM,eAAe,GAAI,yBAAyB,oBAAoB,gCAErE,CAAC;AAEF,OAAO,EACN,MAAM,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,WAAW,GACX,CAAC"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,gBAAgB,EACrB,MAAM,IAAI,eAAe,EACzB,KAAK,UAAU,EACf,MAAM,uBAAuB,CAAC;AAK/B,MAAM,MAAM,WAAW,CAAC,KAAK,GAAG,MAAM,IAAI,IAAI,CAC7C,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,EACvB,eAAe,CACf,GAAG;IACH,aAAa,CAAC,EAAE,CACf,KAAK,EAAE,KAAK,EACZ,YAAY,EAAE,UAAU,CAAC,kBAAkB,KACvC,IAAI,CAAC;CACV,CAAC;AAEF,QAAA,MAAM,MAAM,GAAI,KAAK,GAAG,MAAM,EAAE,6BAG7B,WAAW,CAAC,KAAK,CAAC,gCASpB,CAAC;AACF,QAAA,MAAM,WAAW,mJAAwB,CAAC;AAC1C,QAAA,MAAM,WAAW,oJAAwB,CAAC;AAE1C,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,OAAO,CAAC,KAAK,GAAG;IAChE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC1B,CAAC;AACF,QAAA,MAAM,aAAa,GAAI,yCAKpB,kBAAkB,gCASpB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,aAAa,CAAC,KAAK,CAAC;AACtE,QAAA,MAAM,oBAAoB,GAAI,yBAAyB,mBAAmB,gCAQzE,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,eAAe,CAAC,KAAK,CAAC;AAE1E,QAAA,MAAM,sBAAsB,GAAI,yBAG7B,qBAAqB,gCAQvB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,KAAK,CAAC,KAAK,GAC3D,IAAI,CACH,gBAAgB,CAAC,KAAK,EACtB,OAAO,GAAG,aAAa,GAAG,MAAM,GAAG,YAAY,GAAG,sBAAsB,CACxE,GAAG;IACH,QAAQ,CAAC,EAAE,QAAQ,GAAG,cAAc,CAAC;CACrC,CAAC;AAEH,QAAA,MAAM,aAAa,GAAI,yGAUpB,kBAAkB,gCAuBpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC,UAAU,CAAC,KAAK,CAAC;AAChE,QAAA,MAAM,WAAW,GAAI,yBAAyB,gBAAgB,gCAM7D,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC;AACzD,QAAA,MAAM,UAAU,GAAI,mCAAmC,eAAe,gCAWrE,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,SAAS,CAAC,KAAK,CAAC;AAEnE,QAAA,MAAM,eAAe,GAAI,yBAAyB,oBAAoB,gCAMrE,CAAC;AAEF,OAAO,EACN,MAAM,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,WAAW,GACX,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export declare const trigger: string;
2
2
  export declare const sizes: Record<"sm" | "lg" | "md", string>;
3
3
  export declare const scrollButton: string;
4
+ export declare const positioner: string;
4
5
  export declare const content: string;
5
6
  export declare const viewport: string;
6
7
  export declare const label: string;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Select/styles.css.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,OAAO,QAyBlB,CAAC;AAGH,eAAO,MAAM,KAAK,oCAgBhB,CAAC;AAQH,eAAO,MAAM,YAAY,QAMvB,CAAC;AAEH,eAAO,MAAM,OAAO,QAgClB,CAAC;AAEH,eAAO,MAAM,QAAQ,QAUnB,CAAC;AAEH,eAAO,MAAM,KAAK,QAIhB,CAAC;AAEH,eAAO,MAAM,IAAI,QAsBf,CAAC;AAEH,eAAO,MAAM,oBAAoB,QAQ/B,CAAC;AAEH,eAAO,MAAM,SAAS,QAIpB,CAAC;AAEH,eAAO,MAAM,IAAI,QAGf,CAAC;AAEH,eAAO,MAAM,OAAO,QAIlB,CAAC"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Select/styles.css.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,OAAO,QAyBlB,CAAC;AAGH,eAAO,MAAM,KAAK,oCAgBhB,CAAC;AAQH,eAAO,MAAM,YAAY,QAMvB,CAAC;AAEH,eAAO,MAAM,UAAU,QAGrB,CAAC;AAEH,eAAO,MAAM,OAAO,QAgClB,CAAC;AAEH,eAAO,MAAM,QAAQ,QAInB,CAAC;AAEH,eAAO,MAAM,KAAK,QAIhB,CAAC;AAEH,eAAO,MAAM,IAAI,QAsBf,CAAC;AAEH,eAAO,MAAM,oBAAoB,QAQ/B,CAAC;AAEH,eAAO,MAAM,SAAS,QAIpB,CAAC;AAEH,eAAO,MAAM,IAAI,QAGf,CAAC;AAEH,eAAO,MAAM,OAAO,QAIlB,CAAC"}
@@ -1,8 +1,11 @@
1
- import { type TabsContentProps, type TabsListProps, type TabsProps, type TabsTriggerProps } from '@radix-ui/react-tabs';
2
- export type { TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps };
1
+ import { type TabsList as TabsListPrimitive, type TabsPanel, type TabsRoot, type TabsTab } from '@base-ui/react/tabs';
2
+ export type TabsProps = TabsRoot.Props;
3
+ export type TabsListProps = TabsListPrimitive.Props;
4
+ export type TabsTriggerProps = TabsTab.Props;
5
+ export type TabsContentProps = TabsPanel.Props;
3
6
  export declare const Tabs: {
4
7
  (props: TabsProps): import("react").JSX.Element;
5
- Content: ({ className, ...props }: TabsContentProps) => import("react").JSX.Element;
8
+ Content: ({ className, ...props }: import("./TabsContent").TabsContentProps) => import("react").JSX.Element;
6
9
  List: ({ className, ...props }: import("./TabsList").TabsListProps) => import("react").JSX.Element;
7
10
  Trigger: ({ className, size, ...props }: import("./TabsTrigger").TabsTriggerProps) => import("react").JSX.Element;
8
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,MAAM,sBAAsB,CAAC;AAK9B,YAAY,EAAE,gBAAgB,EAAE,aAAa,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;AAE7E,eAAO,MAAM,IAAI;YAAW,SAAS;;;;CAEpC,CAAC"}
1
+ {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,QAAQ,IAAI,iBAAiB,EAClC,KAAK,SAAS,EAEd,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,MAAM,qBAAqB,CAAC;AAK7B,MAAM,MAAM,SAAS,GAAG,QAAQ,CAAC,KAAK,CAAC;AACvC,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC,KAAK,CAAC;AACpD,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,KAAK,CAAC;AAC7C,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAC,KAAK,CAAC;AAE/C,eAAO,MAAM,IAAI;YAAW,SAAS;;;;CAEpC,CAAC"}
@@ -1,4 +1,5 @@
1
- import { Content, type TabsContentProps } from '@radix-ui/react-tabs';
2
- export type ContentProps = React.ComponentPropsWithoutRef<typeof Content>;
1
+ import { Tabs as TabsPrimitive } from '@base-ui/react/tabs';
2
+ export type TabsContentProps = TabsPrimitive.Panel.Props;
3
+ export type ContentProps = TabsContentProps;
3
4
  export declare const TabsContent: ({ className, ...props }: TabsContentProps) => import("react").JSX.Element;
4
5
  //# sourceMappingURL=TabsContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabsContent.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAItE,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,OAAO,CAAC,CAAC;AAE1E,eAAO,MAAM,WAAW,GAAI,yBAAyB,gBAAgB,gCAEpE,CAAC"}
1
+ {"version":3,"file":"TabsContent.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAI5D,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC;AACzD,MAAM,MAAM,YAAY,GAAG,gBAAgB,CAAC;AAE5C,eAAO,MAAM,WAAW,GAAI,yBAAyB,gBAAgB,gCAMpE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { List } from '@radix-ui/react-tabs';
2
- export type TabsListProps = React.ComponentPropsWithoutRef<typeof List>;
1
+ import { Tabs as TabsPrimitive } from '@base-ui/react/tabs';
2
+ export type TabsListProps = TabsPrimitive.List.Props;
3
3
  export declare const TabsList: ({ className, ...props }: TabsListProps) => import("react").JSX.Element;
4
4
  //# sourceMappingURL=TabsList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabsList.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAI5C,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC,CAAC;AACxE,eAAO,MAAM,QAAQ,GAAI,yBAAyB,aAAa,gCAE9D,CAAC"}
1
+ {"version":3,"file":"TabsList.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAI5D,MAAM,MAAM,aAAa,GAAG,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC;AACrD,eAAO,MAAM,QAAQ,GAAI,yBAAyB,aAAa,gCAM9D,CAAC"}
@@ -1,5 +1,5 @@
1
- import { Trigger } from '@radix-ui/react-tabs';
2
- export type TabsTriggerProps = React.ComponentPropsWithoutRef<typeof Trigger> & {
1
+ import { Tabs as TabsPrimitive } from '@base-ui/react/tabs';
2
+ export type TabsTriggerProps = TabsPrimitive.Tab.Props & {
3
3
  size?: 'sm' | 'md' | 'lg';
4
4
  };
5
5
  export declare const TabsTrigger: ({ className, size, ...props }: TabsTriggerProps) => import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"TabsTrigger.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAI/C,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,wBAAwB,CAC5D,OAAO,OAAO,CACd,GAAG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC1B,CAAC;AACF,eAAO,MAAM,WAAW,GAAI,+BAIzB,gBAAgB,gCAElB,CAAC"}
1
+ {"version":3,"file":"TabsTrigger.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAI5D,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,GAAG,CAAC,KAAK,GAAG;IACxD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC1B,CAAC;AACF,eAAO,MAAM,WAAW,GAAI,+BAIzB,gBAAgB,gCAMlB,CAAC"}
@@ -1,14 +1,16 @@
1
- import { Root, type TooltipContentProps } from '@radix-ui/react-tooltip';
2
- export type TooltipProps = React.ComponentProps<typeof Root> & {
1
+ import { type TooltipPositioner, type TooltipRoot } from '@base-ui/react/tooltip';
2
+ export type TooltipProps = Omit<TooltipRoot.Props, 'children'> & {
3
+ children: React.ReactElement;
3
4
  text?: string;
4
5
  content?: React.ReactNode;
5
6
  arrow?: boolean;
6
- align?: TooltipContentProps['align'];
7
+ align?: TooltipPositioner.Props['align'];
7
8
  sideOffset?: number;
8
9
  alignOffset?: number;
9
- side?: TooltipContentProps['side'];
10
+ side?: TooltipPositioner.Props['side'];
10
11
  className?: string;
12
+ delayDuration?: number;
11
13
  ref?: React.Ref<HTMLButtonElement>;
12
14
  };
13
- export declare const Tooltip: ({ text, content, children, side, sideOffset, alignOffset, delayDuration, className, ref, ...props }: TooltipProps) => import("react").JSX.Element;
15
+ export declare const Tooltip: ({ text, content, children, side, sideOffset, align, alignOffset, arrow, delayDuration, className, ref, ...props }: TooltipProps) => import("react").JSX.Element;
14
16
  //# sourceMappingURL=Tooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKN,IAAI,EACJ,KAAK,mBAAmB,EAExB,MAAM,yBAAyB,CAAC;AAkBjC,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,GAAG;IAC9D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,qGAWrB,YAAY,gCAsBd,CAAC"}
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,iBAAiB,EAEtB,KAAK,WAAW,EAChB,MAAM,wBAAwB,CAAC;AAchC,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,UAAU,CAAC,GAAG;IAChE,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,iBAAiB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,iBAAiB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,mHAarB,YAAY,gCAyBd,CAAC"}
@@ -1,3 +1,4 @@
1
+ export declare const positionerClass: string;
1
2
  export declare const contentClass: string;
2
3
  export declare const textClass: string;
3
4
  export declare const arrowClass: string;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/styles.css.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,YAAY,QA6BvB,CAAC;AAEH,eAAO,MAAM,SAAS,QAGpB,CAAC;AAEH,eAAO,MAAM,UAAU,QAErB,CAAC"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/styles.css.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,eAAe,QAG1B,CAAC;AAEH,eAAO,MAAM,YAAY,QA6BvB,CAAC;AAEH,eAAO,MAAM,SAAS,QAGpB,CAAC;AAEH,eAAO,MAAM,UAAU,QAuBrB,CAAC"}
package/lib/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  export * from './components';
2
- export * from './form';
3
2
  export * from './hooks';
4
3
  export * from './theme';
5
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}