@epfl-sti/poesis 0.1.4 → 0.1.6

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.
@@ -17,8 +17,10 @@ export interface ConfirmDialogProps {
17
17
  cancelLabel?: string;
18
18
  /** Danger variant — red confirm button with a warning icon. */
19
19
  danger?: boolean;
20
+ /** Show a spinner on the confirm button and disable both buttons. */
21
+ submitting?: boolean;
20
22
  /** Width preset. Default: "sm". */
21
23
  size?: DialogSize;
22
24
  }
23
- export declare function ConfirmDialog({ open, onCancel, onConfirm, title, children, confirmLabel, cancelLabel, danger, size, }: ConfirmDialogProps): import("react/jsx-runtime").JSX.Element;
25
+ export declare function ConfirmDialog({ open, onCancel, onConfirm, title, children, confirmLabel, cancelLabel, danger, submitting, size, }: ConfirmDialogProps): import("react/jsx-runtime").JSX.Element;
24
26
  //# sourceMappingURL=ConfirmDialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/ConfirmDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAU,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAInD,MAAM,WAAW,kBAAkB;IAC/B,kCAAkC;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,kDAAkD;IAClD,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,QAAQ,EAAE,SAAS,CAAC;IACpB,uDAAuD;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qDAAqD;IACrD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+DAA+D;IAC/D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mCAAmC;IACnC,IAAI,CAAC,EAAE,UAAU,CAAC;CACrB;AAID,wBAAgB,aAAa,CAAC,EAC1B,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,KAAK,EACL,QAAQ,EACR,YAAwB,EACxB,WAAsB,EACtB,MAAc,EACd,IAAW,GACd,EAAE,kBAAkB,2CAoCpB"}
1
+ {"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/ConfirmDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAU,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAInD,MAAM,WAAW,kBAAkB;IAC/B,kCAAkC;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,kDAAkD;IAClD,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,QAAQ,EAAE,SAAS,CAAC;IACpB,uDAAuD;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qDAAqD;IACrD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+DAA+D;IAC/D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,qEAAqE;IACrE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mCAAmC;IACnC,IAAI,CAAC,EAAE,UAAU,CAAC;CACrB;AAID,wBAAgB,aAAa,CAAC,EAC1B,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,KAAK,EACL,QAAQ,EACR,YAAwB,EACxB,WAAsB,EACtB,MAAc,EACd,UAAkB,EAClB,IAAW,GACd,EAAE,kBAAkB,2CAkDpB"}
@@ -0,0 +1,27 @@
1
+ import { type ReactNode } from "react";
2
+ export interface FileUploadProps {
3
+ /** Accepted file types (e.g. `"image/*,.pdf"`). Maps to the `<input accept>` attribute. */
4
+ accept?: string;
5
+ /** Allow selecting multiple files. */
6
+ multiple?: boolean;
7
+ /** Maximum file size in bytes. Files exceeding this are rejected silently via `onReject`. */
8
+ maxSize?: number;
9
+ /** Callback fired with accepted files after drop or selection. */
10
+ onFilesSelected?: (files: File[]) => void;
11
+ /** Callback fired with rejected files (wrong type or over `maxSize`). */
12
+ onReject?: (files: File[]) => void;
13
+ /** Disable the dropzone. */
14
+ disabled?: boolean;
15
+ /** Label text shown inside the dropzone. */
16
+ label?: string;
17
+ /** Helper text shown below the label (e.g. "PDF, PNG, up to 10 MB"). */
18
+ helperText?: string;
19
+ /** Error message. When set, the border turns red. */
20
+ error?: string;
21
+ /** Custom illustration / icon rendered above the label. */
22
+ illustration?: ReactNode;
23
+ /** Additional class names on the outer wrapper. */
24
+ className?: string;
25
+ }
26
+ export declare function FileUpload({ accept, multiple, maxSize, onFilesSelected, onReject, disabled, label, helperText, error, illustration, className, }: FileUploadProps): import("react/jsx-runtime").JSX.Element;
27
+ //# sourceMappingURL=FileUpload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileUpload.d.ts","sourceRoot":"","sources":["../../../src/components/ui/FileUpload.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,SAAS,EAIjB,MAAM,OAAO,CAAC;AAGf,MAAM,WAAW,eAAe;IAC5B,2FAA2F;IAC3F,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6FAA6F;IAC7F,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kEAAkE;IAClE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IAC1C,yEAAyE;IACzE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACnC,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2DAA2D;IAC3D,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAQD,wBAAgB,UAAU,CAAC,EACvB,MAAM,EACN,QAAgB,EAChB,OAAO,EACP,eAAe,EACf,QAAQ,EACR,QAAgB,EAChB,KAA4C,EAC5C,UAAU,EACV,KAAK,EACL,YAAY,EACZ,SAAc,GACjB,EAAE,eAAe,2CAyLjB"}
@@ -0,0 +1,30 @@
1
+ import { type ComponentPropsWithoutRef } from "react";
2
+ declare const sizeClasses: {
3
+ readonly sm: "h-1.5";
4
+ readonly md: "h-2.5";
5
+ readonly lg: "h-4";
6
+ };
7
+ declare const variantClasses: {
8
+ readonly primary: "bg-primary";
9
+ readonly success: "bg-success";
10
+ readonly warning: "bg-warning";
11
+ readonly error: "bg-error";
12
+ readonly info: "bg-info";
13
+ };
14
+ export type ProgressBarSize = keyof typeof sizeClasses;
15
+ export type ProgressBarVariant = keyof typeof variantClasses;
16
+ export interface ProgressBarProps extends Omit<ComponentPropsWithoutRef<"div">, "role"> {
17
+ /** Current progress value (0–100). Clamped internally. */
18
+ value: number;
19
+ /** Visual color variant. */
20
+ variant?: ProgressBarVariant;
21
+ /** Height of the bar. */
22
+ size?: ProgressBarSize;
23
+ /** Show the percentage label next to the bar. */
24
+ showLabel?: boolean;
25
+ /** Override the label text. Receives the clamped value. */
26
+ formatLabel?: (value: number) => string;
27
+ }
28
+ export declare const ProgressBar: import("react").ForwardRefExoticComponent<ProgressBarProps & import("react").RefAttributes<HTMLDivElement>>;
29
+ export {};
30
+ //# sourceMappingURL=ProgressBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/ProgressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAc,MAAM,OAAO,CAAC;AAElE,QAAA,MAAM,WAAW;;;;CAIP,CAAC;AAEX,QAAA,MAAM,cAAc;;;;;;CAMV,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,WAAW,CAAC;AACvD,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,cAAc,CAAC;AAE7D,MAAM,WAAW,gBACb,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACrD,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd,4BAA4B;IAC5B,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,yBAAyB;IACzB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,iDAAiD;IACjD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,2DAA2D;IAC3D,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CAC3C;AAED,eAAO,MAAM,WAAW,6GAgDvB,CAAC"}
@@ -1,15 +1,17 @@
1
1
  export { Avatar, type AvatarProps, type AvatarSize } from "./Avatar";
2
2
  export { Badge, type BadgeColor, type BadgeProps } from "./Badge";
3
3
  export { Button, type ButtonProps, type ButtonSize, type ButtonVariant } from "./Button";
4
- export { IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, } from "./IconButton";
4
+ export { IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant } from "./IconButton";
5
5
  export { Spinner, type SpinnerProps, type SpinnerSize } from "./Spinner";
6
+ export { FileUpload, type FileUploadProps } from "./FileUpload";
7
+ export { ProgressBar, type ProgressBarProps, type ProgressBarSize, type ProgressBarVariant } from "./ProgressBar";
6
8
  export { Checkbox, type CheckboxProps } from "./Checkbox";
7
9
  export { Input, type InputProps } from "./Input";
8
10
  export { RadioGroup, type RadioGroupProps, type RadioItemProps } from "./RadioGroup";
9
11
  export { Select, type SelectProps } from "./Select";
10
12
  export { Switch, type SwitchProps } from "./Switch";
11
13
  export { Textarea, type TextareaProps } from "./Textarea";
12
- export { DropdownDivider, DropdownItem, DropdownMenu, type DropdownItemProps, type DropdownMenuProps, } from "./DropdownMenu";
14
+ export { DropdownDivider, DropdownItem, DropdownMenu, type DropdownItemProps, type DropdownMenuProps } from "./DropdownMenu";
13
15
  export { Popover, type PopoverProps } from "./Popover";
14
16
  export { TabPanel, Tabs, type TabItem, type TabPanelProps, type TabsProps } from "./Tabs";
15
17
  export { Tooltip, type TooltipPlacement, type TooltipProps } from "./Tooltip";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAClE,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,EACH,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,iBAAiB,GACzB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAGzE,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AACrF,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,MAAM,E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AAC;AAChE,OAAO,EACH,WAAW,EACX,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EAC1B,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AACrF,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAG1D,OAAO,EACH,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAG9E,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAClF,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
package/dist/lib.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import "./index.css";
2
- export { Avatar, type AvatarProps, type AvatarSize, Badge, type BadgeColor, type BadgeProps, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Checkbox, type CheckboxProps, DropdownDivider, DropdownItem, type DropdownItemProps, DropdownMenu, type DropdownMenuProps, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, Input, type InputProps, LanguageSwitcher, type LanguageSwitcherProps, Popover, type PopoverProps, RadioGroup, type RadioGroupProps, type RadioItemProps, Select, type SelectProps, Spinner, type SpinnerProps, type SpinnerSize, Switch, type SwitchProps, TabPanel, type TabItem, type TabPanelProps, Tabs, type TabsProps, Textarea, type TextareaProps, ThemeToggle, type ThemeToggleProps, Tooltip, type TooltipPlacement, type TooltipProps, } from "./components/ui";
3
- export { BurgerDrawer, type BurgerDrawerProps, PageShell, type PageShellProps, SideNav, type SideNavProps, TopNav, type TopNavProps, type IconComponent, type NavCategory, type NavLink, type NavSection, type NavigationConfig, } from "./components/layout";
4
- export { Card, type CardProps, DescriptionList, type DescriptionItem, type DescriptionListLayout, type DescriptionListProps, EmptyState, type EmptyStateProps, Table, type SortDirection, type SortState, type TableColumn, type TableProps, } from "./components/data-display";
5
- export { Alert, type AlertProps, type AlertVariant, ConfirmDialog, type ConfirmDialogProps, Dialog, type DialogProps, type DialogSize, ToastProvider, useToast, type ToastData, type ToastVariant, } from "./components/feedback";
6
- export { useTheme, initTheme } from "./hooks/useTheme";
2
+ export { Avatar, Badge, Button, Checkbox, DropdownDivider, DropdownItem, DropdownMenu, FileUpload, IconButton, Input, LanguageSwitcher, Popover, ProgressBar, RadioGroup, Select, Spinner, Switch, TabPanel, Tabs, Textarea, ThemeToggle, Tooltip, type AvatarProps, type AvatarSize, type BadgeColor, type BadgeProps, type ButtonProps, type ButtonSize, type ButtonVariant, type CheckboxProps, type DropdownItemProps, type DropdownMenuProps, type FileUploadProps, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type InputProps, type LanguageSwitcherProps, type PopoverProps, type ProgressBarProps, type ProgressBarSize, type ProgressBarVariant, type RadioGroupProps, type RadioItemProps, type SelectProps, type SpinnerProps, type SpinnerSize, type SwitchProps, type TabItem, type TabPanelProps, type TabsProps, type TextareaProps, type ThemeToggleProps, type TooltipPlacement, type TooltipProps } from "./components/ui";
3
+ export { BurgerDrawer, PageShell, SideNav, TopNav, type BurgerDrawerProps, type IconComponent, type NavCategory, type NavLink, type NavSection, type NavigationConfig, type PageShellProps, type SideNavProps, type TopNavProps } from "./components/layout";
4
+ export { Card, DescriptionList, EmptyState, Table, type CardProps, type DescriptionItem, type DescriptionListLayout, type DescriptionListProps, type EmptyStateProps, type SortDirection, type SortState, type TableColumn, type TableProps } from "./components/data-display";
5
+ export { Alert, ConfirmDialog, Dialog, ToastProvider, useToast, type AlertProps, type AlertVariant, type ConfirmDialogProps, type DialogProps, type DialogSize, type ToastData, type ToastVariant } from "./components/feedback";
6
+ export { AuthProvider, useAuth, type AuthProviderProps, type AuthUser } from "./hooks/useAuth";
7
7
  export { useLanguage, type Language } from "./hooks/useLanguage";
8
- export { useAuth, AuthProvider, type AuthUser, type AuthProviderProps } from "./hooks/useAuth";
9
- export { epflSelectTheme, epflSelectClassNames } from "./theme/reactSelectStyles";
10
- export type { AppRole, RouteMeta, AppRoute, CategoryDef } from "./routes/types";
8
+ export { initTheme, useTheme } from "./hooks/useTheme";
9
+ export { epflSelectClassNames, epflSelectTheme } from "./theme/reactSelectStyles";
10
+ export type { AppRole, AppRoute, CategoryDef, RouteMeta } from "./routes/types";
11
11
  //# sourceMappingURL=lib.d.ts.map
package/dist/lib.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAKA,OAAO,aAAa,CAAC;AAGrB,OAAO,EACH,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,EACL,KAAK,UAAU,EACf,KAAK,UAAU,EACf,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,QAAQ,EACR,KAAK,aAAa,EAClB,eAAe,EACf,YAAY,EACZ,KAAK,iBAAiB,EACtB,YAAY,EACZ,KAAK,i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