@dimasbaguspm/versaur 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -44
- package/dist/calendar-DwRERSxq.js +645 -0
- package/dist/drawer-Cn7sreJG.js +221 -0
- package/dist/enforce-subpath-import.js +106 -0
- package/dist/feedbacks/index.d.ts +3 -0
- package/dist/feedbacks/index.js +6 -0
- package/dist/feedbacks/progress-indicator/index.d.ts +2 -0
- package/dist/feedbacks/progress-indicator/progress-indicator.d.ts +7 -0
- package/dist/feedbacks/progress-indicator/types.d.ts +19 -0
- package/dist/form-layout-COQbtyW5.js +302 -0
- package/dist/forms/calculator-input/calculator-input.atoms.d.ts +11 -0
- package/dist/forms/calculator-input/calculator-input.d.ts +8 -0
- package/dist/forms/calculator-input/index.d.ts +1 -0
- package/dist/forms/calculator-input/types.d.ts +51 -0
- package/dist/forms/index.d.ts +12 -0
- package/dist/forms/index.js +18 -0
- package/dist/{components → forms}/segment-multiple-input/types.d.ts +4 -0
- package/dist/{components → forms}/segment-single-input/types.d.ts +4 -0
- package/dist/forms/time-picker-input/index.d.ts +2 -0
- package/dist/forms/time-picker-input/time-picker-input.atoms.d.ts +15 -0
- package/dist/forms/time-picker-input/time-picker-input.d.ts +9 -0
- package/dist/forms/time-picker-input/types.d.ts +47 -0
- package/dist/index-DOdDlCoL.js +3055 -0
- package/dist/index.d.ts +6 -2
- package/dist/index.js +50 -7067
- package/dist/{components → layouts}/app-bar/app-bar.atoms.d.ts +5 -1
- package/dist/{components → layouts}/app-bar/app-bar.d.ts +1 -0
- package/dist/{components → layouts}/app-bar/types.d.ts +6 -0
- package/dist/layouts/form-layout/form-layout.d.ts +4 -0
- package/dist/layouts/form-layout/index.d.ts +2 -0
- package/dist/layouts/form-layout/types.d.ts +20 -0
- package/dist/layouts/index.d.ts +5 -0
- package/dist/layouts/index.js +8 -0
- package/dist/layouts/page-layout/index.d.ts +1 -0
- package/dist/layouts/page-layout/page-layout.d.ts +8 -0
- package/dist/layouts/page-layout/types.d.ts +20 -0
- package/dist/menu--hEHXVZf.js +315 -0
- package/dist/navigation/index.d.ts +2 -0
- package/dist/navigation/index.js +5 -0
- package/dist/{components → navigation}/tabs/types.d.ts +4 -0
- package/dist/overlays/drawer/index.d.ts +2 -0
- package/dist/{components → overlays}/drawer/types.d.ts +8 -0
- package/dist/overlays/index.d.ts +3 -0
- package/dist/overlays/index.js +7 -0
- package/dist/{components → overlays}/menu/menu.atoms.d.ts +1 -1
- package/dist/{components → overlays}/menu/menu.d.ts +1 -1
- package/dist/{components → overlays}/menu/types.d.ts +1 -1
- package/dist/primitive/brand/brand.atoms.d.ts +6 -0
- package/dist/primitive/brand/brand.d.ts +8 -0
- package/dist/primitive/brand/index.d.ts +2 -0
- package/dist/primitive/brand/types.d.ts +17 -0
- package/dist/primitive/button-float/use-floating-position.d.ts +12 -0
- package/dist/{components → primitive}/button-icon/types.d.ts +1 -1
- package/dist/primitive/calculator/calculator.atoms.d.ts +2 -0
- package/dist/primitive/calculator/calculator.d.ts +2 -0
- package/dist/primitive/calculator/index.d.ts +2 -0
- package/dist/primitive/calculator/types.d.ts +29 -0
- package/dist/primitive/calculator/use-calculator.d.ts +11 -0
- package/dist/primitive/index.d.ts +14 -0
- package/dist/primitive/index.js +18 -0
- package/dist/primitive/table/index.d.ts +2 -0
- package/dist/primitive/table/table.atoms.d.ts +22 -0
- package/dist/primitive/table/table.d.ts +8 -0
- package/dist/primitive/table/types.d.ts +51 -0
- package/dist/skeleton-DwqjRsF-.js +277 -0
- package/dist/styles.css +5 -1
- package/dist/switch-input-DRNFMsqC.js +1985 -0
- package/dist/tabs-KyFmo5cA.js +310 -0
- package/dist/tile-BinjKW_i.js +921 -0
- package/package.json +24 -2
- package/dist/components/alert/alert.stories.d.ts +0 -42
- package/dist/components/alert/helpers.d.ts +0 -14
- package/dist/components/app-bar/app-bar.stories.d.ts +0 -19
- package/dist/components/app-bar/helpers.d.ts +0 -6
- package/dist/components/avatar/avatar.stories.d.ts +0 -42
- package/dist/components/avatar/helpers.d.ts +0 -14
- package/dist/components/badge/badge.stories.d.ts +0 -50
- package/dist/components/badge/helpers.d.ts +0 -11
- package/dist/components/bottom-bar/bottom-bar.stories.d.ts +0 -6
- package/dist/components/bottom-bar/helpers.d.ts +0 -7
- package/dist/components/breadcrumbs/breadcrumbs.stories.d.ts +0 -7
- package/dist/components/breadcrumbs/helpers.d.ts +0 -7
- package/dist/components/button/button.stories.d.ts +0 -50
- package/dist/components/button-float/button-float.stories.d.ts +0 -27
- package/dist/components/button-float/helpers.d.ts +0 -4
- package/dist/components/button-icon/button-icon.stories.d.ts +0 -45
- package/dist/components/button-icon/helpers.d.ts +0 -11
- package/dist/components/calendar/calendar.stories.d.ts +0 -6
- package/dist/components/checkbox-input/checkbox-input.stories.d.ts +0 -44
- package/dist/components/checkbox-input/context.d.ts +0 -10
- package/dist/components/checkbox-input/helpers.d.ts +0 -11
- package/dist/components/chip-input/chip-input.stories.d.ts +0 -12
- package/dist/components/chip-input/context.d.ts +0 -11
- package/dist/components/chip-input/helpers.d.ts +0 -4
- package/dist/components/date-single-picker-input/date-single-picker-input.docked.stories.d.ts +0 -10
- package/dist/components/date-single-picker-input/date-single-picker-input.modal.stories.d.ts +0 -10
- package/dist/components/date-single-picker-input/helpers.d.ts +0 -3
- package/dist/components/drawer/context.d.ts +0 -11
- package/dist/components/drawer/drawer.stories.d.ts +0 -41
- package/dist/components/drawer/helpers.d.ts +0 -39
- package/dist/components/drawer/index.d.ts +0 -10
- package/dist/components/icon/helpers.d.ts +0 -4
- package/dist/components/icon/icon.stories.d.ts +0 -39
- package/dist/components/index.d.ts +0 -30
- package/dist/components/loading-indicator/helpers.d.ts +0 -9
- package/dist/components/loading-indicator/loading-indicator.stories.d.ts +0 -16
- package/dist/components/menu/context.d.ts +0 -13
- package/dist/components/menu/helpers.d.ts +0 -8
- package/dist/components/menu/menu.stories.d.ts +0 -22
- package/dist/components/modal/helpers.d.ts +0 -7
- package/dist/components/modal/modal.stories.d.ts +0 -13
- package/dist/components/radio-input/context.d.ts +0 -11
- package/dist/components/radio-input/helpers.d.ts +0 -11
- package/dist/components/radio-input/radio-input.stories.d.ts +0 -74
- package/dist/components/segment-multiple-input/context.d.ts +0 -12
- package/dist/components/segment-multiple-input/helpers.d.ts +0 -15
- package/dist/components/segment-multiple-input/segment-multiple-input.stories.d.ts +0 -66
- package/dist/components/segment-single-input/context.d.ts +0 -12
- package/dist/components/segment-single-input/helpers.d.ts +0 -15
- package/dist/components/segment-single-input/segment-single-input.stories.d.ts +0 -57
- package/dist/components/select-input/helpers.d.ts +0 -3
- package/dist/components/select-input/select-input.stories.d.ts +0 -50
- package/dist/components/skeleton/helpers.d.ts +0 -6
- package/dist/components/skeleton/skeleton.stories.d.ts +0 -25
- package/dist/components/snackbar/helpers.d.ts +0 -8
- package/dist/components/snackbar/snackbar.stories.d.ts +0 -8
- package/dist/components/switch-input/helpers.d.ts +0 -18
- package/dist/components/switch-input/switch-input.stories.d.ts +0 -10
- package/dist/components/tabs/context.d.ts +0 -3
- package/dist/components/tabs/helpers.d.ts +0 -8
- package/dist/components/tabs/tabs.stories.d.ts +0 -17
- package/dist/components/text/helpers.d.ts +0 -18
- package/dist/components/text/text.stories.d.ts +0 -17
- package/dist/components/text-input/helpers.d.ts +0 -3
- package/dist/components/text-input/text-input.stories.d.ts +0 -20
- package/dist/components/textarea-input/helpers.d.ts +0 -4
- package/dist/components/textarea-input/textarea-input.stories.d.ts +0 -50
- package/dist/components/tile/helpers.d.ts +0 -8
- package/dist/components/tile/tile.stories.d.ts +0 -35
- package/dist/components/top-bar/helpers.d.ts +0 -26
- package/dist/components/top-bar/top-bar.stories.d.ts +0 -15
- package/dist/hooks/index.d.ts +0 -1
- /package/dist/{components → feedbacks}/loading-indicator/index.d.ts +0 -0
- /package/dist/{components → feedbacks}/loading-indicator/loading-indicator.atoms.d.ts +0 -0
- /package/dist/{components → feedbacks}/loading-indicator/loading-indicator.d.ts +0 -0
- /package/dist/{components → feedbacks}/loading-indicator/types.d.ts +0 -0
- /package/dist/{components → feedbacks}/skeleton/index.d.ts +0 -0
- /package/dist/{components → feedbacks}/skeleton/skeleton.d.ts +0 -0
- /package/dist/{components → feedbacks}/skeleton/types.d.ts +0 -0
- /package/dist/{components → forms}/checkbox-input/checkbox-input.atoms.d.ts +0 -0
- /package/dist/{components → forms}/checkbox-input/checkbox-input.d.ts +0 -0
- /package/dist/{components → forms}/checkbox-input/index.d.ts +0 -0
- /package/dist/{components → forms}/checkbox-input/types.d.ts +0 -0
- /package/dist/{components → forms}/chip-input/chip-input.atoms.d.ts +0 -0
- /package/dist/{components → forms}/chip-input/chip-input.d.ts +0 -0
- /package/dist/{components → forms}/chip-input/index.d.ts +0 -0
- /package/dist/{components → forms}/chip-input/types.d.ts +0 -0
- /package/dist/{components → forms}/date-single-picker-input/date-single-picker-input.atoms.d.ts +0 -0
- /package/dist/{components → forms}/date-single-picker-input/date-single-picker-input.d.ts +0 -0
- /package/dist/{components → forms}/date-single-picker-input/date-single-picker-input.docked.d.ts +0 -0
- /package/dist/{components → forms}/date-single-picker-input/date-single-picker-input.modal.d.ts +0 -0
- /package/dist/{components → forms}/date-single-picker-input/index.d.ts +0 -0
- /package/dist/{components → forms}/date-single-picker-input/types.d.ts +0 -0
- /package/dist/{components → forms}/date-single-picker-input/use-date-single-picker.d.ts +0 -0
- /package/dist/{components → forms}/radio-input/index.d.ts +0 -0
- /package/dist/{components → forms}/radio-input/radio-input.atoms.d.ts +0 -0
- /package/dist/{components → forms}/radio-input/radio-input.d.ts +0 -0
- /package/dist/{components → forms}/radio-input/types.d.ts +0 -0
- /package/dist/{components → forms}/segment-multiple-input/index.d.ts +0 -0
- /package/dist/{components → forms}/segment-multiple-input/segment-multiple-input.atoms.d.ts +0 -0
- /package/dist/{components → forms}/segment-multiple-input/segment-multiple-input.d.ts +0 -0
- /package/dist/{components → forms}/segment-single-input/index.d.ts +0 -0
- /package/dist/{components → forms}/segment-single-input/segment-single-input.atoms.d.ts +0 -0
- /package/dist/{components → forms}/segment-single-input/segment-single-input.d.ts +0 -0
- /package/dist/{components → forms}/select-input/index.d.ts +0 -0
- /package/dist/{components → forms}/select-input/select-input.d.ts +0 -0
- /package/dist/{components → forms}/select-input/types.d.ts +0 -0
- /package/dist/{components → forms}/switch-input/index.d.ts +0 -0
- /package/dist/{components → forms}/switch-input/switch-input.atoms.d.ts +0 -0
- /package/dist/{components → forms}/switch-input/switch-input.d.ts +0 -0
- /package/dist/{components → forms}/switch-input/types.d.ts +0 -0
- /package/dist/{components → forms}/text-input/index.d.ts +0 -0
- /package/dist/{components → forms}/text-input/text-input.d.ts +0 -0
- /package/dist/{components → forms}/text-input/types.d.ts +0 -0
- /package/dist/{components → forms}/textarea-input/index.d.ts +0 -0
- /package/dist/{components → forms}/textarea-input/textarea-input.d.ts +0 -0
- /package/dist/{components → forms}/textarea-input/types.d.ts +0 -0
- /package/dist/{components → layouts}/app-bar/index.d.ts +0 -0
- /package/dist/{components → layouts}/bottom-bar/bottom-bar.atoms.d.ts +0 -0
- /package/dist/{components → layouts}/bottom-bar/bottom-bar.d.ts +0 -0
- /package/dist/{components → layouts}/bottom-bar/index.d.ts +0 -0
- /package/dist/{components → layouts}/bottom-bar/types.d.ts +0 -0
- /package/dist/{components → layouts}/top-bar/index.d.ts +0 -0
- /package/dist/{components → layouts}/top-bar/top-bar.atoms.d.ts +0 -0
- /package/dist/{components → layouts}/top-bar/top-bar.d.ts +0 -0
- /package/dist/{components → layouts}/top-bar/types.d.ts +0 -0
- /package/dist/{components → navigation}/breadcrumbs/breadcrumbs.atoms.d.ts +0 -0
- /package/dist/{components → navigation}/breadcrumbs/breadcrumbs.d.ts +0 -0
- /package/dist/{components → navigation}/breadcrumbs/index.d.ts +0 -0
- /package/dist/{components → navigation}/breadcrumbs/types.d.ts +0 -0
- /package/dist/{components → navigation}/tabs/index.d.ts +0 -0
- /package/dist/{components → navigation}/tabs/tabs.atoms.d.ts +0 -0
- /package/dist/{components → navigation}/tabs/tabs.d.ts +0 -0
- /package/dist/{components → navigation}/tabs/use-tab-indicator.d.ts +0 -0
- /package/dist/{components → overlays}/drawer/drawer.atoms.d.ts +0 -0
- /package/dist/{components → overlays}/drawer/drawer.d.ts +0 -0
- /package/dist/{components → overlays}/menu/index.d.ts +0 -0
- /package/dist/{components → overlays}/menu/use-menu.d.ts +0 -0
- /package/dist/{components → overlays}/modal/index.d.ts +0 -0
- /package/dist/{components → overlays}/modal/modal.atoms.d.ts +0 -0
- /package/dist/{components → overlays}/modal/modal.d.ts +0 -0
- /package/dist/{components → overlays}/modal/types.d.ts +0 -0
- /package/dist/{components → overlays}/modal/use-escape-close.d.ts +0 -0
- /package/dist/{components → overlays}/modal/use-focus-trap.d.ts +0 -0
- /package/dist/{components → primitive}/alert/alert.atoms.d.ts +0 -0
- /package/dist/{components → primitive}/alert/alert.d.ts +0 -0
- /package/dist/{components → primitive}/alert/index.d.ts +0 -0
- /package/dist/{components → primitive}/alert/types.d.ts +0 -0
- /package/dist/{components → primitive}/avatar/avatar.atoms.d.ts +0 -0
- /package/dist/{components → primitive}/avatar/avatar.d.ts +0 -0
- /package/dist/{components → primitive}/avatar/index.d.ts +0 -0
- /package/dist/{components → primitive}/avatar/types.d.ts +0 -0
- /package/dist/{components → primitive}/badge/badge.d.ts +0 -0
- /package/dist/{components → primitive}/badge/index.d.ts +0 -0
- /package/dist/{components → primitive}/badge/types.d.ts +0 -0
- /package/dist/{components → primitive}/button/button.d.ts +0 -0
- /package/dist/{components → primitive}/button/index.d.ts +0 -0
- /package/dist/{components → primitive}/button/types.d.ts +0 -0
- /package/dist/{components → primitive}/button-float/button-float.d.ts +0 -0
- /package/dist/{components → primitive}/button-float/index.d.ts +0 -0
- /package/dist/{components → primitive}/button-float/types.d.ts +0 -0
- /package/dist/{components → primitive}/button-icon/button-icon.d.ts +0 -0
- /package/dist/{components → primitive}/button-icon/index.d.ts +0 -0
- /package/dist/{components → primitive}/calendar/calendar.d.ts +0 -0
- /package/dist/{components → primitive}/calendar/index.d.ts +0 -0
- /package/dist/{components → primitive}/calendar/types.d.ts +0 -0
- /package/dist/{components → primitive}/icon/icon.d.ts +0 -0
- /package/dist/{components → primitive}/icon/index.d.ts +0 -0
- /package/dist/{components → primitive}/icon/types.d.ts +0 -0
- /package/dist/{components → primitive}/snackbar/index.d.ts +0 -0
- /package/dist/{components → primitive}/snackbar/snackbar.atoms.d.ts +0 -0
- /package/dist/{components → primitive}/snackbar/snackbar.d.ts +0 -0
- /package/dist/{components → primitive}/snackbar/types.d.ts +0 -0
- /package/dist/{components → primitive}/text/index.d.ts +0 -0
- /package/dist/{components → primitive}/text/text.d.ts +0 -0
- /package/dist/{components → primitive}/text/types.d.ts +0 -0
- /package/dist/{components → primitive}/tile/index.d.ts +0 -0
- /package/dist/{components → primitive}/tile/tile.d.ts +0 -0
- /package/dist/{components → primitive}/tile/types.d.ts +0 -0
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import { AppBarLeadingProps, AppBarHeadlineProps, AppBarSubtitleProps, AppBarTrailingProps, AppBarCenterProps } from './types';
|
|
1
|
+
import { AppBarLeadingProps, AppBarHeadlineProps, AppBarSubtitleProps, AppBarTrailingProps, AppBarCenterProps, AppBarBottomProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Bottom section (flexible area for additional content, e.g. tabs)
|
|
4
|
+
*/
|
|
5
|
+
export declare const AppBarBottom: import('react').ForwardRefExoticComponent<AppBarBottomProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
2
6
|
/**
|
|
3
7
|
* Leading section (logo, nav icon)
|
|
4
8
|
*/
|
|
@@ -5,4 +5,5 @@ export declare const AppBar: (({ children, className, variant, }: AppBarProps) =
|
|
|
5
5
|
Subtitle: import('react').ForwardRefExoticComponent<import('./types').AppBarSubtitleProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
6
|
Trailing: import('react').ForwardRefExoticComponent<import('./types').AppBarTrailingProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
7
7
|
Center: import('react').ForwardRefExoticComponent<import('./types').AppBarCenterProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
8
|
+
Bottom: import('react').ForwardRefExoticComponent<import('./types').AppBarBottomProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
8
9
|
};
|
|
@@ -37,3 +37,9 @@ export interface AppBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
37
37
|
children: React.ReactNode;
|
|
38
38
|
variant?: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'neutral';
|
|
39
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* Props for AppBarBottom (bottom area for additional content)
|
|
42
|
+
*/
|
|
43
|
+
export interface AppBarBottomProps extends HTMLAttributes<HTMLDivElement> {
|
|
44
|
+
children: ReactNode;
|
|
45
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FormLayoutProps, FormLayoutColumnProps } from './types';
|
|
2
|
+
export declare const FormLayout: import('react').ForwardRefExoticComponent<FormLayoutProps & import('react').RefAttributes<HTMLDivElement>> & {
|
|
3
|
+
Column: import('react').ForwardRefExoticComponent<FormLayoutColumnProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
4
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the FormLayout root component
|
|
4
|
+
*/
|
|
5
|
+
export interface FormLayoutProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
/**
|
|
7
|
+
* Children (should be FormLayout.Column components)
|
|
8
|
+
*/
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Props for the FormLayout.Column sub-component
|
|
13
|
+
*/
|
|
14
|
+
export interface FormLayoutColumnProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
15
|
+
/**
|
|
16
|
+
* Number of columns to span (1-12, default 4)
|
|
17
|
+
* @default 4
|
|
18
|
+
*/
|
|
19
|
+
span?: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './page-layout';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PageLayoutProps } from './types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* PageLayout component for consistent responsive layout breakpoints
|
|
5
|
+
*
|
|
6
|
+
* @group Layout
|
|
7
|
+
*/
|
|
8
|
+
export declare const PageLayout: React.ForwardRefExoticComponent<PageLayoutProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Props for the PageLayout component
|
|
3
|
+
*/
|
|
4
|
+
export interface PageLayoutProps {
|
|
5
|
+
/**
|
|
6
|
+
* The layout type to use for breakpoint consistency
|
|
7
|
+
* - 'desktop': For large screens (default)
|
|
8
|
+
* - 'tablet': For medium screens
|
|
9
|
+
* - 'mobile': For small screens
|
|
10
|
+
*/
|
|
11
|
+
type?: 'desktop' | 'tablet' | 'mobile';
|
|
12
|
+
/**
|
|
13
|
+
* Content to render inside the layout
|
|
14
|
+
*/
|
|
15
|
+
children: React.ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* Additional class names to apply to the root element
|
|
18
|
+
*/
|
|
19
|
+
className?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
import { j as u, a as x, c as y } from "./index-DOdDlCoL.js";
|
|
2
|
+
import { forwardRef as f, useEffect as m, useRef as v, useState as M, createContext as j, useContext as k, useId as I } from "react";
|
|
3
|
+
const z = f(
|
|
4
|
+
({ className: e, ...t }, n) => /* @__PURE__ */ u.jsx(
|
|
5
|
+
"div",
|
|
6
|
+
{
|
|
7
|
+
ref: n,
|
|
8
|
+
className: x("px-6 pt-6 pb-2 text-lg font-semibold", e),
|
|
9
|
+
...t
|
|
10
|
+
}
|
|
11
|
+
)
|
|
12
|
+
), D = f(
|
|
13
|
+
({ className: e, ...t }, n) => /* @__PURE__ */ u.jsx(
|
|
14
|
+
"div",
|
|
15
|
+
{
|
|
16
|
+
ref: n,
|
|
17
|
+
className: x("px-6 py-4 flex justify-end gap-2", e),
|
|
18
|
+
...t
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
), V = f(
|
|
22
|
+
({ className: e, ...t }, n) => /* @__PURE__ */ u.jsx("div", { ref: n, className: x("px-6 py-2", e), ...t })
|
|
23
|
+
), A = f(
|
|
24
|
+
({ onOverlayClick: e, ...t }, n) => /* @__PURE__ */ u.jsx(
|
|
25
|
+
"div",
|
|
26
|
+
{
|
|
27
|
+
ref: n,
|
|
28
|
+
role: "presentation",
|
|
29
|
+
tabIndex: -1,
|
|
30
|
+
"aria-modal": "true",
|
|
31
|
+
onClick: e,
|
|
32
|
+
...t
|
|
33
|
+
}
|
|
34
|
+
)
|
|
35
|
+
), N = y(
|
|
36
|
+
"fixed inset-0 z-51 transition-opacity duration-300 bg-black/30 backdrop-blur-md flex items-center justify-center transition-opacity duration-200 ease-in-out",
|
|
37
|
+
{
|
|
38
|
+
variants: {
|
|
39
|
+
placement: {
|
|
40
|
+
top: "items-start",
|
|
41
|
+
center: "items-center"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
defaultVariants: {
|
|
45
|
+
placement: "center"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
), C = y(
|
|
49
|
+
[
|
|
50
|
+
"bg-white rounded-lg shadow-xl relative",
|
|
51
|
+
"flex flex-col",
|
|
52
|
+
"outline-none",
|
|
53
|
+
"mx-4",
|
|
54
|
+
"transition-all duration-200 ease-in-out "
|
|
55
|
+
],
|
|
56
|
+
{
|
|
57
|
+
variants: {
|
|
58
|
+
size: {
|
|
59
|
+
sm: "w-[20rem] max-w-sm",
|
|
60
|
+
// 20rem, 320px
|
|
61
|
+
md: "w-[28rem] max-w-md",
|
|
62
|
+
// 28rem, 448px
|
|
63
|
+
lg: "w-[36rem] max-w-lg"
|
|
64
|
+
// 36rem, 576px
|
|
65
|
+
},
|
|
66
|
+
placement: {
|
|
67
|
+
top: "mt-4",
|
|
68
|
+
center: ""
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
defaultVariants: {
|
|
72
|
+
size: "md",
|
|
73
|
+
placement: "center"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
);
|
|
77
|
+
function R(e, t) {
|
|
78
|
+
m(() => {
|
|
79
|
+
if (t && e.current) {
|
|
80
|
+
const n = e.current.querySelectorAll(
|
|
81
|
+
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
82
|
+
);
|
|
83
|
+
n.length && n[0].focus();
|
|
84
|
+
}
|
|
85
|
+
}, [t, e]);
|
|
86
|
+
}
|
|
87
|
+
function F(e, t) {
|
|
88
|
+
m(() => {
|
|
89
|
+
if (!e) return;
|
|
90
|
+
const n = (o) => {
|
|
91
|
+
o.key === "Escape" && t();
|
|
92
|
+
};
|
|
93
|
+
return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
|
|
94
|
+
}, [e, t]);
|
|
95
|
+
}
|
|
96
|
+
const L = 200, T = ({
|
|
97
|
+
isOpen: e,
|
|
98
|
+
onOpenChange: t,
|
|
99
|
+
size: n = "md",
|
|
100
|
+
placement: o = "center",
|
|
101
|
+
children: r,
|
|
102
|
+
disableOverlayClose: a,
|
|
103
|
+
disableEscClose: i,
|
|
104
|
+
...s
|
|
105
|
+
}) => {
|
|
106
|
+
const d = v(null), c = v(null), [p, l] = M(e), [h, b] = M(!1);
|
|
107
|
+
return m(() => {
|
|
108
|
+
if (e)
|
|
109
|
+
l(!0), b(!1), d.current = document.activeElement;
|
|
110
|
+
else if (p) {
|
|
111
|
+
b(!0);
|
|
112
|
+
const g = setTimeout(() => {
|
|
113
|
+
l(!1), b(!1), d.current && d.current.focus();
|
|
114
|
+
}, L);
|
|
115
|
+
return () => clearTimeout(g);
|
|
116
|
+
}
|
|
117
|
+
}, [e]), F(e && !i, () => {
|
|
118
|
+
t && t(!1);
|
|
119
|
+
}), R(c, e), /* @__PURE__ */ u.jsx(
|
|
120
|
+
A,
|
|
121
|
+
{
|
|
122
|
+
ref: c,
|
|
123
|
+
className: `${N({ placement: o })} transition-opacity duration-200 ease-in-out ` + (e && !h ? "opacity-100" : "opacity-0 pointer-events-none"),
|
|
124
|
+
onOverlayClick: (g) => {
|
|
125
|
+
g.target === c.current && !a && t && t(!1);
|
|
126
|
+
},
|
|
127
|
+
placement: o,
|
|
128
|
+
children: /* @__PURE__ */ u.jsx(
|
|
129
|
+
"div",
|
|
130
|
+
{
|
|
131
|
+
className: `${C({ size: n, placement: o })} transition-all duration-200 ease-in-out ` + (e && !h ? "opacity-100 scale-100" : "opacity-0 scale-95 pointer-events-none"),
|
|
132
|
+
role: "dialog",
|
|
133
|
+
...s,
|
|
134
|
+
tabIndex: 0,
|
|
135
|
+
"aria-hidden": !e,
|
|
136
|
+
children: r
|
|
137
|
+
}
|
|
138
|
+
)
|
|
139
|
+
}
|
|
140
|
+
);
|
|
141
|
+
}, _ = Object.assign(T, {
|
|
142
|
+
Header: z,
|
|
143
|
+
Body: V,
|
|
144
|
+
Footer: D
|
|
145
|
+
}), E = j(null), w = () => {
|
|
146
|
+
const e = k(E);
|
|
147
|
+
if (!e)
|
|
148
|
+
throw new Error("useMenuContext must be used within a Menu component");
|
|
149
|
+
return e;
|
|
150
|
+
}, S = y(
|
|
151
|
+
// Modern, clean, accessible base style
|
|
152
|
+
"z-50 min-w-40 bg-neutral-50 text-black rounded-lg shadow-md border border-transparent",
|
|
153
|
+
{
|
|
154
|
+
variants: {
|
|
155
|
+
variant: {
|
|
156
|
+
default: "",
|
|
157
|
+
outline: "border bg-transparent"
|
|
158
|
+
},
|
|
159
|
+
size: {
|
|
160
|
+
sm: "py-2",
|
|
161
|
+
md: "py-2.5"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
defaultVariants: {
|
|
165
|
+
variant: "default",
|
|
166
|
+
size: "md"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
), q = y(
|
|
170
|
+
"w-full text-left px-4 rounded-md cursor-pointer transition-colors duration-150 font-medium select-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-coral/70 hover:bg-slate-100 active:bg-slate-200 disabled:opacity-50 disabled:cursor-not-allowed",
|
|
171
|
+
{
|
|
172
|
+
variants: {
|
|
173
|
+
variant: {
|
|
174
|
+
default: "",
|
|
175
|
+
outline: "border border-color-neutral"
|
|
176
|
+
},
|
|
177
|
+
size: {
|
|
178
|
+
sm: "text-sm py-2",
|
|
179
|
+
md: "text-base py-2.5"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
defaultVariants: {
|
|
183
|
+
variant: "default",
|
|
184
|
+
size: "md"
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
), B = f(
|
|
188
|
+
({ children: e, ...t }, n) => {
|
|
189
|
+
const { open: o, triggerRef: r } = w();
|
|
190
|
+
return /* @__PURE__ */ u.jsx(
|
|
191
|
+
"span",
|
|
192
|
+
{
|
|
193
|
+
ref: (a) => {
|
|
194
|
+
r.current = a, typeof n == "function" ? n(a) : n && (n.current = a);
|
|
195
|
+
},
|
|
196
|
+
"aria-haspopup": "menu",
|
|
197
|
+
"aria-expanded": o,
|
|
198
|
+
"aria-controls": "menu-content",
|
|
199
|
+
...t,
|
|
200
|
+
children: e
|
|
201
|
+
}
|
|
202
|
+
);
|
|
203
|
+
}
|
|
204
|
+
), H = f(
|
|
205
|
+
({ children: e, className: t, ...n }, o) => {
|
|
206
|
+
const { open: r, contentRef: a, triggerRef: i, size: s } = w(), d = I();
|
|
207
|
+
let c = 0, p = 0;
|
|
208
|
+
if (i.current) {
|
|
209
|
+
const l = i.current.getBoundingClientRect();
|
|
210
|
+
c = l.bottom + window.scrollY + 4, p = l.left + window.scrollX;
|
|
211
|
+
}
|
|
212
|
+
return /* @__PURE__ */ u.jsx(
|
|
213
|
+
"div",
|
|
214
|
+
{
|
|
215
|
+
ref: (l) => {
|
|
216
|
+
a.current = l, typeof o == "function" ? o(l) : o && (o.current = l);
|
|
217
|
+
},
|
|
218
|
+
id: `menu-content-${d}`,
|
|
219
|
+
role: "menu",
|
|
220
|
+
tabIndex: -1,
|
|
221
|
+
"aria-hidden": !r,
|
|
222
|
+
className: x(
|
|
223
|
+
S({
|
|
224
|
+
size: s
|
|
225
|
+
}),
|
|
226
|
+
"absolute z-50 transition-opacity duration-150 ease-out",
|
|
227
|
+
r ? "opacity-100" : "opacity-0",
|
|
228
|
+
t
|
|
229
|
+
),
|
|
230
|
+
style: {
|
|
231
|
+
minWidth: i.current?.offsetWidth,
|
|
232
|
+
top: c,
|
|
233
|
+
left: p
|
|
234
|
+
},
|
|
235
|
+
...n,
|
|
236
|
+
children: r && e
|
|
237
|
+
}
|
|
238
|
+
);
|
|
239
|
+
}
|
|
240
|
+
), K = f(
|
|
241
|
+
({ children: e, disabled: t, className: n, ...o }, r) => {
|
|
242
|
+
const { size: a } = w();
|
|
243
|
+
return /* @__PURE__ */ u.jsx(
|
|
244
|
+
"button",
|
|
245
|
+
{
|
|
246
|
+
ref: r,
|
|
247
|
+
role: "menuitem",
|
|
248
|
+
tabIndex: 0,
|
|
249
|
+
disabled: t,
|
|
250
|
+
"aria-disabled": t,
|
|
251
|
+
className: x(
|
|
252
|
+
q({
|
|
253
|
+
size: a
|
|
254
|
+
}),
|
|
255
|
+
n
|
|
256
|
+
),
|
|
257
|
+
...o,
|
|
258
|
+
children: e
|
|
259
|
+
}
|
|
260
|
+
);
|
|
261
|
+
}
|
|
262
|
+
);
|
|
263
|
+
function $(e, t, n, o) {
|
|
264
|
+
m(() => {
|
|
265
|
+
if (!e) return;
|
|
266
|
+
function r(a) {
|
|
267
|
+
!t.current?.contains(a.target) && !n.current?.contains(a.target) && o();
|
|
268
|
+
}
|
|
269
|
+
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
270
|
+
}, [e, o, t, n]);
|
|
271
|
+
}
|
|
272
|
+
function U(e, t) {
|
|
273
|
+
m(() => {
|
|
274
|
+
if (e && t.current) {
|
|
275
|
+
const n = t.current.querySelectorAll('[role="menuitem"]');
|
|
276
|
+
n.length && n[0].focus();
|
|
277
|
+
}
|
|
278
|
+
}, [e, t]);
|
|
279
|
+
}
|
|
280
|
+
function W(e, t, n, o) {
|
|
281
|
+
m(() => {
|
|
282
|
+
if (!e || !t.current) return;
|
|
283
|
+
const r = t.current;
|
|
284
|
+
function a(i) {
|
|
285
|
+
const s = Array.from(
|
|
286
|
+
r.querySelectorAll('[role="menuitem"]')
|
|
287
|
+
), d = document.activeElement, c = s.indexOf(d);
|
|
288
|
+
i.key === "ArrowDown" ? (i.preventDefault(), s.length && s[(c + 1) % s.length].focus()) : i.key === "ArrowUp" ? (i.preventDefault(), s.length && s[(c - 1 + s.length) % s.length].focus()) : i.key === "Home" ? (i.preventDefault(), s.length && s[0].focus()) : i.key === "End" ? (i.preventDefault(), s.length && s[s.length - 1].focus()) : i.key === "Escape" && (i.preventDefault(), o(), n.current?.focus());
|
|
289
|
+
}
|
|
290
|
+
return r.addEventListener("keydown", a), () => r.removeEventListener("keydown", a);
|
|
291
|
+
}, [e, o, t, n]);
|
|
292
|
+
}
|
|
293
|
+
const P = ({
|
|
294
|
+
children: e,
|
|
295
|
+
isOpen: t,
|
|
296
|
+
onOutsideClick: n,
|
|
297
|
+
size: o = "md"
|
|
298
|
+
}) => {
|
|
299
|
+
const r = v(null), a = v(null);
|
|
300
|
+
return $(t, a, r, n), U(t, a), W(t, a, r, n), /* @__PURE__ */ u.jsx(
|
|
301
|
+
E.Provider,
|
|
302
|
+
{
|
|
303
|
+
value: { open: t, triggerRef: r, contentRef: a, size: o },
|
|
304
|
+
children: e
|
|
305
|
+
}
|
|
306
|
+
);
|
|
307
|
+
}, G = Object.assign(P, {
|
|
308
|
+
Trigger: B,
|
|
309
|
+
Content: H,
|
|
310
|
+
Item: K
|
|
311
|
+
});
|
|
312
|
+
export {
|
|
313
|
+
G as M,
|
|
314
|
+
_ as a
|
|
315
|
+
};
|
|
@@ -9,6 +9,8 @@ export interface TabsContextValue {
|
|
|
9
9
|
setActiveTab: (tab: string) => void;
|
|
10
10
|
/** Default color for triggers */
|
|
11
11
|
color?: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'neutral';
|
|
12
|
+
/** Variant for tab style */
|
|
13
|
+
variant?: 'underline' | 'filled';
|
|
12
14
|
}
|
|
13
15
|
/**
|
|
14
16
|
* TabsRootProps: Props for Tabs root
|
|
@@ -20,6 +22,8 @@ export interface TabsRootProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
20
22
|
onValueChange: (tab: string) => void;
|
|
21
23
|
/** Color for triggers */
|
|
22
24
|
color?: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'neutral';
|
|
25
|
+
/** Variant for tab style */
|
|
26
|
+
variant?: 'underline' | 'filled';
|
|
23
27
|
/** Children: Tabs.Trigger */
|
|
24
28
|
children: ReactNode;
|
|
25
29
|
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { VariantProps } from '../../utils/variants';
|
|
3
3
|
import { drawerVariants } from './helpers';
|
|
4
|
+
/**
|
|
5
|
+
* Drawer transition type options
|
|
6
|
+
*/
|
|
7
|
+
export type DrawerTransitionType = 'slide' | 'fade';
|
|
4
8
|
/**
|
|
5
9
|
* Base drawer variant props derived from the drawer variants
|
|
6
10
|
*/
|
|
@@ -31,6 +35,8 @@ export interface DrawerContextValue {
|
|
|
31
35
|
size: DrawerSize;
|
|
32
36
|
/** Drawer variant */
|
|
33
37
|
variant: DrawerVariant;
|
|
38
|
+
/** Drawer transition type */
|
|
39
|
+
transitionType: DrawerTransitionType;
|
|
34
40
|
}
|
|
35
41
|
/**
|
|
36
42
|
* Props for the Drawer component (controlled component)
|
|
@@ -46,6 +52,8 @@ export interface DrawerProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
46
52
|
size?: DrawerSize;
|
|
47
53
|
/** Drawer variant */
|
|
48
54
|
variant?: DrawerVariant;
|
|
55
|
+
/** Drawer transition type */
|
|
56
|
+
transitionType?: DrawerTransitionType;
|
|
49
57
|
/** Children components */
|
|
50
58
|
children: ReactNode;
|
|
51
59
|
/** Additional CSS classes */
|
|
@@ -3,7 +3,7 @@ import { MenuTriggerProps, MenuContentProps, MenuItemProps } from './types';
|
|
|
3
3
|
/**
|
|
4
4
|
* MenuTrigger: Button to open/close menu
|
|
5
5
|
*/
|
|
6
|
-
export declare const MenuTrigger: React.ForwardRefExoticComponent<MenuTriggerProps & React.RefAttributes<
|
|
6
|
+
export declare const MenuTrigger: React.ForwardRefExoticComponent<MenuTriggerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
7
7
|
/**
|
|
8
8
|
* MenuContent: Menu popup, positioned below trigger
|
|
9
9
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { MenuRootProps } from './types';
|
|
3
3
|
export declare const Menu: React.FC<MenuRootProps> & {
|
|
4
|
-
Trigger: React.ForwardRefExoticComponent<import('./types').MenuTriggerProps & React.RefAttributes<
|
|
4
|
+
Trigger: React.ForwardRefExoticComponent<import('./types').MenuTriggerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
5
5
|
Content: React.ForwardRefExoticComponent<import('./types').MenuContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
Item: React.ForwardRefExoticComponent<import('./types').MenuItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
7
|
};
|
|
@@ -16,7 +16,7 @@ export interface MenuRootProps {
|
|
|
16
16
|
/**
|
|
17
17
|
* Props for MenuTrigger
|
|
18
18
|
*/
|
|
19
|
-
export interface MenuTriggerProps extends
|
|
19
|
+
export interface MenuTriggerProps extends HTMLAttributes<HTMLSpanElement> {
|
|
20
20
|
/** Trigger content */
|
|
21
21
|
children: ReactNode;
|
|
22
22
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BrandProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Brand component for displaying app identity icon and name
|
|
4
|
+
*
|
|
5
|
+
* @param {BrandProps} props - Brand component props
|
|
6
|
+
* @returns {JSX.Element}
|
|
7
|
+
*/
|
|
8
|
+
export declare const Brand: import('react').ForwardRefExoticComponent<BrandProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the Brand component
|
|
4
|
+
*/
|
|
5
|
+
export interface BrandProps extends HTMLAttributes<HTMLSpanElement> {
|
|
6
|
+
/**
|
|
7
|
+
* The app name to display (predefined, default: 'spenicle')
|
|
8
|
+
*/
|
|
9
|
+
name: 'spenicle';
|
|
10
|
+
/**
|
|
11
|
+
* The size of the brand icon and text
|
|
12
|
+
* @default 'md'
|
|
13
|
+
*/
|
|
14
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
15
|
+
shape?: 'square' | 'rounded' | 'circle';
|
|
16
|
+
}
|
|
17
|
+
export type BrandAtomProps = Pick<BrandProps, 'shape' | 'size'>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RefCallback, CSSProperties } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* useFloatingPositionSticky
|
|
4
|
+
* Determines the correct positioning and style for a floating element that should always be visible
|
|
5
|
+
* at the bottom right of a scrollable container, even if the container is taller than the viewport.
|
|
6
|
+
*
|
|
7
|
+
* Returns:
|
|
8
|
+
* - containerRef: attach to the container div
|
|
9
|
+
* - style: CSSProperties for the button (position, bottom, right, transform)
|
|
10
|
+
* - positionClass: string for Tailwind/utility classes
|
|
11
|
+
*/
|
|
12
|
+
export declare function useFloatingPosition(side: 'right' | 'left', offset?: string): [RefCallback<HTMLDivElement>, CSSProperties, string];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
-
import { IconProps } from '../icon
|
|
2
|
+
import { IconProps } from '../icon';
|
|
3
3
|
/**
|
|
4
4
|
* ButtonIconProps defines the props for the ButtonIcon component
|
|
5
5
|
* @property as - Icon component to render inside the button (e.g., from lucide-react)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for Calculator component
|
|
4
|
+
*/
|
|
5
|
+
export interface CalculatorProps {
|
|
6
|
+
/**
|
|
7
|
+
* Initial value to display in the calculator input
|
|
8
|
+
*/
|
|
9
|
+
initialValue?: string | number;
|
|
10
|
+
/**
|
|
11
|
+
* Callback when the value changes (on equals or input)
|
|
12
|
+
*/
|
|
13
|
+
onChange?: (value: string) => void;
|
|
14
|
+
/**
|
|
15
|
+
* If true, disables all calculator input
|
|
16
|
+
*/
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Optional className for the calculator root
|
|
20
|
+
*/
|
|
21
|
+
className?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Optional aria-label for accessibility
|
|
24
|
+
*/
|
|
25
|
+
'aria-label'?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface CalculatorButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
28
|
+
variant?: 'default' | 'action' | 'operator' | 'danger';
|
|
29
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface UseCalculatorOptions {
|
|
2
|
+
initialValue?: string | number;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
onChange?: (value: string) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare function useCalculator({ initialValue, disabled, onChange, }: UseCalculatorOptions): {
|
|
7
|
+
input: string;
|
|
8
|
+
inputRef: import('react').RefObject<HTMLInputElement | null>;
|
|
9
|
+
handleButton: (val: string) => void;
|
|
10
|
+
handleInput: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './alert';
|
|
2
|
+
export * from './avatar';
|
|
3
|
+
export * from './badge';
|
|
4
|
+
export * from './brand';
|
|
5
|
+
export * from './button';
|
|
6
|
+
export * from './button-float';
|
|
7
|
+
export * from './button-icon';
|
|
8
|
+
export * from './calculator';
|
|
9
|
+
export * from './calendar';
|
|
10
|
+
export * from './icon';
|
|
11
|
+
export * from './snackbar';
|
|
12
|
+
export * from './table';
|
|
13
|
+
export * from './text';
|
|
14
|
+
export * from './tile';
|