marclayui 0.3.0 → 0.3.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/dist/index.cjs +161 -202
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -16
- package/dist/index.d.ts +1 -16
- package/dist/index.js +115 -155
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +0 -3
- package/src/styles/index.css +0 -1
- package/src/components/select/select.css +0 -58
- package/src/components/select/select.tsx +0 -72
package/dist/index.d.ts
CHANGED
|
@@ -124,21 +124,6 @@ interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement
|
|
|
124
124
|
}
|
|
125
125
|
declare function Textarea({ label, hint, error, size, block, className, id, rows, ...rest }: TextareaProps): React.JSX.Element;
|
|
126
126
|
|
|
127
|
-
interface SelectOption {
|
|
128
|
-
value: string;
|
|
129
|
-
label: string;
|
|
130
|
-
}
|
|
131
|
-
interface SelectProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, "size"> {
|
|
132
|
-
label?: React.ReactNode;
|
|
133
|
-
hint?: React.ReactNode;
|
|
134
|
-
error?: string;
|
|
135
|
-
size?: "sm" | "md" | "lg";
|
|
136
|
-
/** Convenience over children: [{ value, label }] */
|
|
137
|
-
options?: SelectOption[];
|
|
138
|
-
placeholder?: string;
|
|
139
|
-
}
|
|
140
|
-
declare function Select({ label, hint, error, size, options, placeholder, className, id, children, ...rest }: SelectProps): React.JSX.Element;
|
|
141
|
-
|
|
142
127
|
interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> {
|
|
143
128
|
label?: React.ReactNode;
|
|
144
129
|
/** Shows a dash instead of a tick — the classic "some children selected" state. */
|
|
@@ -391,4 +376,4 @@ interface StackProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
391
376
|
}
|
|
392
377
|
declare function Stack({ direction, gap, wrap, align, justify, className, ...rest }: StackProps): React.JSX.Element;
|
|
393
378
|
|
|
394
|
-
export { Accordion, type AccordionEntry, type AccordionProps, Alert, type AlertProps, type AlertVariant, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeVariant, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, COLOR_SWATCHES, Card, CardBody, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, type ColorOverrides, Divider, type DividerProps, Dropdown, type DropdownItem, type DropdownProps, type FieldSize, Input, type InputProps, Kbd, type KbdProps, MarclayProvider, type MarclayProviderProps, Modal, type ModalProps, type ModePreference, type NavLinkItem, Navbar, type NavbarProps, PRESETS, type PresetInfo, type PresetName, Progress, type ProgressProps, type ProgressTone, Radio, type RadioProps, Range, type RangeProps,
|
|
379
|
+
export { Accordion, type AccordionEntry, type AccordionProps, Alert, type AlertProps, type AlertVariant, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeVariant, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, COLOR_SWATCHES, Card, CardBody, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, type ColorOverrides, Divider, type DividerProps, Dropdown, type DropdownItem, type DropdownProps, type FieldSize, Input, type InputProps, Kbd, type KbdProps, MarclayProvider, type MarclayProviderProps, Modal, type ModalProps, type ModePreference, type NavLinkItem, Navbar, type NavbarProps, PRESETS, type PresetInfo, type PresetName, Progress, type ProgressProps, type ProgressTone, Radio, type RadioProps, Range, type RangeProps, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, Stack, type StackGap, type StackProps, Stat, type StatProps, type StatTone, Switch, type SwitchProps, type TabItem, Tabs, type TabsProps, Textarea, type TextareaProps, ThemeMenu, type ThemeMenuProps, type ThemeMode, ThemeProvider, ThemeToggle, type ThemeToggleProps, type ToastOptions, type ToastPlacement, ToastProvider, type ToastProviderProps, type ToastVariant, Tooltip, type TooltipPlacement, type TooltipProps, useTheme, useToast };
|