@nearform/quantum 1.7.2 → 1.8.0
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/{chunk-MJFCAXIN.mjs → chunk-GTI4HTES.mjs} +21 -1
- package/dist/chunk-GTI4HTES.mjs.map +1 -0
- package/dist/colors/index.js +20 -0
- package/dist/colors/index.js.map +1 -1
- package/dist/colors/index.mjs +1 -1
- package/dist/global.css +33 -3
- package/dist/global.css.map +1 -1
- package/dist/index.d.mts +21 -1
- package/dist/index.d.ts +21 -1
- package/dist/index.js +379 -223
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +368 -232
- package/dist/index.mjs.map +1 -1
- package/dist/tailwind-plugin.js +20 -0
- package/dist/tailwind-plugin.js.map +1 -1
- package/dist/tailwind-plugin.mjs +1 -1
- package/package.json +2 -1
- package/dist/chunk-MJFCAXIN.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -14,6 +14,7 @@ import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
|
14
14
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
15
15
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
16
16
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
17
|
+
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
17
18
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
18
19
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
19
20
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
|
@@ -198,6 +199,10 @@ declare const _default: {
|
|
|
198
199
|
DEFAULT: string;
|
|
199
200
|
dark: string;
|
|
200
201
|
};
|
|
202
|
+
surface: {
|
|
203
|
+
DEFAULT: string;
|
|
204
|
+
dark: string;
|
|
205
|
+
};
|
|
201
206
|
inverse: {
|
|
202
207
|
DEFAULT: string;
|
|
203
208
|
dark: string;
|
|
@@ -1071,6 +1076,21 @@ declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.
|
|
|
1071
1076
|
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1072
1077
|
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1073
1078
|
|
|
1079
|
+
type SliderProps = Omit<React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>, 'orientation'> & {
|
|
1080
|
+
label?: string;
|
|
1081
|
+
hintText?: string;
|
|
1082
|
+
minLabel?: React.ReactNode;
|
|
1083
|
+
maxLabel?: React.ReactNode;
|
|
1084
|
+
endLabelPosition?: 'inline' | 'below';
|
|
1085
|
+
};
|
|
1086
|
+
declare const Slider: React.ForwardRefExoticComponent<Omit<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref">, "orientation"> & {
|
|
1087
|
+
label?: string;
|
|
1088
|
+
hintText?: string;
|
|
1089
|
+
minLabel?: React.ReactNode;
|
|
1090
|
+
maxLabel?: React.ReactNode;
|
|
1091
|
+
endLabelPosition?: "inline" | "below";
|
|
1092
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
1093
|
+
|
|
1074
1094
|
declare const SortAndShow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1075
1095
|
interface SortAndShowOption {
|
|
1076
1096
|
value: string;
|
|
@@ -1292,4 +1312,4 @@ interface LinkColumnProps extends React__default.ComponentPropsWithoutRef<'div'>
|
|
|
1292
1312
|
}
|
|
1293
1313
|
declare const LinkColumn: React__default.ForwardRefExoticComponent<LinkColumnProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1294
1314
|
|
|
1295
|
-
export { Accordion, AccordionContent, AccordionHeader, AccordionItem, AccordionTrigger, Avatar, type AvatarProps, BackLink, type BackLinkProps, Badge, type BadgeProps, Breadcrumb, BreadcrumbItem, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarProps, Card, CardDescription, type CardProps, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, CodeBlock, type CodeBlockProps, ControlLabel, DateInput, type DateInputInvalidReason, type DateInputProps, type DateInputValueDetails, FieldDescription, FieldError, type FieldMessageProps, FooterStatement, type FooterStatementProps, FormGroup, type FormGroupProps, IconButton, type IconButtonProps, Input, type InputProps, Label, type LabelProps, Link, LinkColumn, type LinkColumnProps, LinkRow, type LinkRowProps, Modal, ModalClose, ModalCloseFooter, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, OpenSourceIcon, PageHeader, PageHeaderActions, type PageHeaderProps, PageHeaderTitle, type PageHeaderTitleProps, Pagination, Password, type PasswordProps, Popover, PopoverClose, PopoverContent, PopoverFooter, PopoverHeader, type PopoverProps, PopoverScrollArea, PopoverSeparator, PopoverTrigger, RadioGroupItem as Radio, RadioGroup, type RadioGroupItemProps, type RadioGroupProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectPortal, SelectSeparator, SelectTrigger, SelectValue, SelectableCard, type SelectableCardProps, SortAndShow, SortAndShowControl, type SortAndShowControlProps, type SortAndShowOption, SplitButton, SplitButtonItem, type SplitButtonProps, SplitButtonSeparator, Stat, type StatProps, Stats, Step, type StepProps, type StepStatus, Stepper, StepperItem, type StepperItemProps, StepperNav, type StepperNavProps, type StepperProps, StepsIndicator, type StepsIndicatorProp, Subnav, SubnavHeading, type SubnavHeadingProps, SubnavItem, SubnavLink, type SubnavLinkProps, SubnavList, Switch, SwitchCard, type SwitchCardProps, Table, type TableAlign, TableBody, type TableBodyProps, TableCaption, TableCell, type TableCellProps, TableEmpty, type TableEmptyProps, TableFooter, TableHead, type TableHeadProps, TableHeader, type TableProps, TableRow, type TableRowProps, type TableSortDirection, Tabs, TabsContent, TabsList, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, Toast, ToastAction, ToastClose, type ToastCloseProps, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastVariant, ToastViewport, ToggleList, ToggleListItem, type ToggleListItemProps, Tooltip, type TooltipProps, type TriggerProps, WebsiteFooter, type WebsiteFooterProps, backLinkVariants, buttonVariants, cardVariants, _default as colors, formVariants, iconButtonVariants, pageHeaderVariants, splitButtonSegmentVariants, splitButtonVariants, tabsListVariants, tabsTriggerVariants, tabsVariants, textareaVariants, useCheckboxGroup, useFormGroup };
|
|
1315
|
+
export { Accordion, AccordionContent, AccordionHeader, AccordionItem, AccordionTrigger, Avatar, type AvatarProps, BackLink, type BackLinkProps, Badge, type BadgeProps, Breadcrumb, BreadcrumbItem, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarProps, Card, CardDescription, type CardProps, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, CodeBlock, type CodeBlockProps, ControlLabel, DateInput, type DateInputInvalidReason, type DateInputProps, type DateInputValueDetails, FieldDescription, FieldError, type FieldMessageProps, FooterStatement, type FooterStatementProps, FormGroup, type FormGroupProps, IconButton, type IconButtonProps, Input, type InputProps, Label, type LabelProps, Link, LinkColumn, type LinkColumnProps, LinkRow, type LinkRowProps, Modal, ModalClose, ModalCloseFooter, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, OpenSourceIcon, PageHeader, PageHeaderActions, type PageHeaderProps, PageHeaderTitle, type PageHeaderTitleProps, Pagination, Password, type PasswordProps, Popover, PopoverClose, PopoverContent, PopoverFooter, PopoverHeader, type PopoverProps, PopoverScrollArea, PopoverSeparator, PopoverTrigger, RadioGroupItem as Radio, RadioGroup, type RadioGroupItemProps, type RadioGroupProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectPortal, SelectSeparator, SelectTrigger, SelectValue, SelectableCard, type SelectableCardProps, Slider, type SliderProps, SortAndShow, SortAndShowControl, type SortAndShowControlProps, type SortAndShowOption, SplitButton, SplitButtonItem, type SplitButtonProps, SplitButtonSeparator, Stat, type StatProps, Stats, Step, type StepProps, type StepStatus, Stepper, StepperItem, type StepperItemProps, StepperNav, type StepperNavProps, type StepperProps, StepsIndicator, type StepsIndicatorProp, Subnav, SubnavHeading, type SubnavHeadingProps, SubnavItem, SubnavLink, type SubnavLinkProps, SubnavList, Switch, SwitchCard, type SwitchCardProps, Table, type TableAlign, TableBody, type TableBodyProps, TableCaption, TableCell, type TableCellProps, TableEmpty, type TableEmptyProps, TableFooter, TableHead, type TableHeadProps, TableHeader, type TableProps, TableRow, type TableRowProps, type TableSortDirection, Tabs, TabsContent, TabsList, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, Toast, ToastAction, ToastClose, type ToastCloseProps, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastVariant, ToastViewport, ToggleList, ToggleListItem, type ToggleListItemProps, Tooltip, type TooltipProps, type TriggerProps, WebsiteFooter, type WebsiteFooterProps, backLinkVariants, buttonVariants, cardVariants, _default as colors, formVariants, iconButtonVariants, pageHeaderVariants, splitButtonSegmentVariants, splitButtonVariants, tabsListVariants, tabsTriggerVariants, tabsVariants, textareaVariants, useCheckboxGroup, useFormGroup };
|
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
|
14
14
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
15
15
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
16
16
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
17
|
+
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
17
18
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
18
19
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
19
20
|
import * as ToastPrimitive from '@radix-ui/react-toast';
|
|
@@ -198,6 +199,10 @@ declare const _default: {
|
|
|
198
199
|
DEFAULT: string;
|
|
199
200
|
dark: string;
|
|
200
201
|
};
|
|
202
|
+
surface: {
|
|
203
|
+
DEFAULT: string;
|
|
204
|
+
dark: string;
|
|
205
|
+
};
|
|
201
206
|
inverse: {
|
|
202
207
|
DEFAULT: string;
|
|
203
208
|
dark: string;
|
|
@@ -1071,6 +1076,21 @@ declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.
|
|
|
1071
1076
|
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1072
1077
|
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1073
1078
|
|
|
1079
|
+
type SliderProps = Omit<React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>, 'orientation'> & {
|
|
1080
|
+
label?: string;
|
|
1081
|
+
hintText?: string;
|
|
1082
|
+
minLabel?: React.ReactNode;
|
|
1083
|
+
maxLabel?: React.ReactNode;
|
|
1084
|
+
endLabelPosition?: 'inline' | 'below';
|
|
1085
|
+
};
|
|
1086
|
+
declare const Slider: React.ForwardRefExoticComponent<Omit<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref">, "orientation"> & {
|
|
1087
|
+
label?: string;
|
|
1088
|
+
hintText?: string;
|
|
1089
|
+
minLabel?: React.ReactNode;
|
|
1090
|
+
maxLabel?: React.ReactNode;
|
|
1091
|
+
endLabelPosition?: "inline" | "below";
|
|
1092
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
1093
|
+
|
|
1074
1094
|
declare const SortAndShow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1075
1095
|
interface SortAndShowOption {
|
|
1076
1096
|
value: string;
|
|
@@ -1292,4 +1312,4 @@ interface LinkColumnProps extends React__default.ComponentPropsWithoutRef<'div'>
|
|
|
1292
1312
|
}
|
|
1293
1313
|
declare const LinkColumn: React__default.ForwardRefExoticComponent<LinkColumnProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1294
1314
|
|
|
1295
|
-
export { Accordion, AccordionContent, AccordionHeader, AccordionItem, AccordionTrigger, Avatar, type AvatarProps, BackLink, type BackLinkProps, Badge, type BadgeProps, Breadcrumb, BreadcrumbItem, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarProps, Card, CardDescription, type CardProps, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, CodeBlock, type CodeBlockProps, ControlLabel, DateInput, type DateInputInvalidReason, type DateInputProps, type DateInputValueDetails, FieldDescription, FieldError, type FieldMessageProps, FooterStatement, type FooterStatementProps, FormGroup, type FormGroupProps, IconButton, type IconButtonProps, Input, type InputProps, Label, type LabelProps, Link, LinkColumn, type LinkColumnProps, LinkRow, type LinkRowProps, Modal, ModalClose, ModalCloseFooter, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, OpenSourceIcon, PageHeader, PageHeaderActions, type PageHeaderProps, PageHeaderTitle, type PageHeaderTitleProps, Pagination, Password, type PasswordProps, Popover, PopoverClose, PopoverContent, PopoverFooter, PopoverHeader, type PopoverProps, PopoverScrollArea, PopoverSeparator, PopoverTrigger, RadioGroupItem as Radio, RadioGroup, type RadioGroupItemProps, type RadioGroupProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectPortal, SelectSeparator, SelectTrigger, SelectValue, SelectableCard, type SelectableCardProps, SortAndShow, SortAndShowControl, type SortAndShowControlProps, type SortAndShowOption, SplitButton, SplitButtonItem, type SplitButtonProps, SplitButtonSeparator, Stat, type StatProps, Stats, Step, type StepProps, type StepStatus, Stepper, StepperItem, type StepperItemProps, StepperNav, type StepperNavProps, type StepperProps, StepsIndicator, type StepsIndicatorProp, Subnav, SubnavHeading, type SubnavHeadingProps, SubnavItem, SubnavLink, type SubnavLinkProps, SubnavList, Switch, SwitchCard, type SwitchCardProps, Table, type TableAlign, TableBody, type TableBodyProps, TableCaption, TableCell, type TableCellProps, TableEmpty, type TableEmptyProps, TableFooter, TableHead, type TableHeadProps, TableHeader, type TableProps, TableRow, type TableRowProps, type TableSortDirection, Tabs, TabsContent, TabsList, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, Toast, ToastAction, ToastClose, type ToastCloseProps, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastVariant, ToastViewport, ToggleList, ToggleListItem, type ToggleListItemProps, Tooltip, type TooltipProps, type TriggerProps, WebsiteFooter, type WebsiteFooterProps, backLinkVariants, buttonVariants, cardVariants, _default as colors, formVariants, iconButtonVariants, pageHeaderVariants, splitButtonSegmentVariants, splitButtonVariants, tabsListVariants, tabsTriggerVariants, tabsVariants, textareaVariants, useCheckboxGroup, useFormGroup };
|
|
1315
|
+
export { Accordion, AccordionContent, AccordionHeader, AccordionItem, AccordionTrigger, Avatar, type AvatarProps, BackLink, type BackLinkProps, Badge, type BadgeProps, Breadcrumb, BreadcrumbItem, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Calendar, type CalendarProps, Card, CardDescription, type CardProps, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, CodeBlock, type CodeBlockProps, ControlLabel, DateInput, type DateInputInvalidReason, type DateInputProps, type DateInputValueDetails, FieldDescription, FieldError, type FieldMessageProps, FooterStatement, type FooterStatementProps, FormGroup, type FormGroupProps, IconButton, type IconButtonProps, Input, type InputProps, Label, type LabelProps, Link, LinkColumn, type LinkColumnProps, LinkRow, type LinkRowProps, Modal, ModalClose, ModalCloseFooter, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, OpenSourceIcon, PageHeader, PageHeaderActions, type PageHeaderProps, PageHeaderTitle, type PageHeaderTitleProps, Pagination, Password, type PasswordProps, Popover, PopoverClose, PopoverContent, PopoverFooter, PopoverHeader, type PopoverProps, PopoverScrollArea, PopoverSeparator, PopoverTrigger, RadioGroupItem as Radio, RadioGroup, type RadioGroupItemProps, type RadioGroupProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectPortal, SelectSeparator, SelectTrigger, SelectValue, SelectableCard, type SelectableCardProps, Slider, type SliderProps, SortAndShow, SortAndShowControl, type SortAndShowControlProps, type SortAndShowOption, SplitButton, SplitButtonItem, type SplitButtonProps, SplitButtonSeparator, Stat, type StatProps, Stats, Step, type StepProps, type StepStatus, Stepper, StepperItem, type StepperItemProps, StepperNav, type StepperNavProps, type StepperProps, StepsIndicator, type StepsIndicatorProp, Subnav, SubnavHeading, type SubnavHeadingProps, SubnavItem, SubnavLink, type SubnavLinkProps, SubnavList, Switch, SwitchCard, type SwitchCardProps, Table, type TableAlign, TableBody, type TableBodyProps, TableCaption, TableCell, type TableCellProps, TableEmpty, type TableEmptyProps, TableFooter, TableHead, type TableHeadProps, TableHeader, type TableProps, TableRow, type TableRowProps, type TableSortDirection, Tabs, TabsContent, TabsList, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, Toast, ToastAction, ToastClose, type ToastCloseProps, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastVariant, ToastViewport, ToggleList, ToggleListItem, type ToggleListItemProps, Tooltip, type TooltipProps, type TriggerProps, WebsiteFooter, type WebsiteFooterProps, backLinkVariants, buttonVariants, cardVariants, _default as colors, formVariants, iconButtonVariants, pageHeaderVariants, splitButtonSegmentVariants, splitButtonVariants, tabsListVariants, tabsTriggerVariants, tabsVariants, textareaVariants, useCheckboxGroup, useFormGroup };
|