@aurora-ds/components 0.19.0 → 0.19.2
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/cjs/components/forms/select/Select.props.d.ts +11 -3
- package/dist/cjs/components/index.d.ts +1 -0
- package/dist/cjs/index.js +4 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/forms/select/Select.props.d.ts +11 -3
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/index.js +4 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +12 -4
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -419,13 +419,21 @@ type SelectProps = {
|
|
|
419
419
|
*/
|
|
420
420
|
options: SelectOption[];
|
|
421
421
|
/**
|
|
422
|
-
* The currently selected value
|
|
422
|
+
* The currently selected value (null to show placeholder)
|
|
423
423
|
*/
|
|
424
|
-
value
|
|
424
|
+
value: string | number | null;
|
|
425
425
|
/**
|
|
426
426
|
* Callback when selection changes
|
|
427
427
|
*/
|
|
428
|
-
onChange
|
|
428
|
+
onChange: (value: string | number | null) => void;
|
|
429
|
+
/**
|
|
430
|
+
* Label displayed above the select
|
|
431
|
+
*/
|
|
432
|
+
label?: string;
|
|
433
|
+
/**
|
|
434
|
+
* Whether the field is mandatory (displays an asterisk next to the label)
|
|
435
|
+
*/
|
|
436
|
+
mandatory?: boolean;
|
|
429
437
|
/**
|
|
430
438
|
* Placeholder text when no option is selected
|
|
431
439
|
*/
|
|
@@ -1144,4 +1152,4 @@ type UseTransitionRenderReturnType = {
|
|
|
1144
1152
|
declare const useTransitionRender: (isOpen: boolean, duration?: number) => UseTransitionRenderReturnType;
|
|
1145
1153
|
|
|
1146
1154
|
export { Accordion, Alert, AlertProvider, Avatar, AvatarGroup, Breadcrumb, BreadcrumbEllipsis, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, Button, Card, Chip, _default as DatePicker, DrawerItem, _default$3 as Form, Grid, Icon, IconButton, _default$2 as Input, Menu, MenuGroup, MenuItem, Modal, Page, PageSection, Pagination, Select, Separator, Skeleton, Stack, TabItem, Tabs, Text, _default$1 as TextArea, useAlert, useAnchorPosition, useClickOutside, useTransitionRender };
|
|
1147
|
-
export type { AccordionProps, AlertContextValue, AlertPosition, AlertProps, AlertProviderProps, AlertVariant, AnchorOrigin, AnchorPosition, AvatarGroupProps, AvatarProps, BreadcrumbEllipsisProps, BreadcrumbLinkProps, BreadcrumbPageProps, BreadcrumbProps, BreadcrumbSeparatorProps, ButtonProps, ButtonVariantStyle, ButtonVariants, CardProps, ChipColor, ChipProps, ChipSize, ChipVariant, DateFormat, DatePickerProps, DrawerItemProps, FormProps, GridProps, IconButtonProps, IconProps, InputProps, MenuGroupProps, MenuItemProps, MenuProps, ModalProps, PageProps, PageSectionProps, PaginationProps, SelectProps, SeparatorProps, ShowAlertOptions, SkeletonProps, StackProps, TabItemProps, TabsProps, TextAreaProps, TextProps, TextVariantStyle, TextVariants, UseTransitionRenderReturnType };
|
|
1155
|
+
export type { AccordionProps, AlertContextValue, AlertPosition, AlertProps, AlertProviderProps, AlertVariant, AnchorOrigin, AnchorPosition, AvatarGroupProps, AvatarProps, BreadcrumbEllipsisProps, BreadcrumbLinkProps, BreadcrumbPageProps, BreadcrumbProps, BreadcrumbSeparatorProps, ButtonProps, ButtonVariantStyle, ButtonVariants, CardProps, ChipColor, ChipProps, ChipSize, ChipVariant, DateFormat, DatePickerProps, DrawerItemProps, FormProps, GridProps, IconButtonProps, IconProps, InputProps, MenuGroupProps, MenuItemProps, MenuProps, ModalProps, PageProps, PageSectionProps, PaginationProps, SelectOption, SelectProps, SeparatorProps, ShowAlertOptions, SkeletonProps, StackProps, TabItemProps, TabsProps, TextAreaProps, TextProps, TextVariantStyle, TextVariants, UseTransitionRenderReturnType };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurora-ds/components",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Aurora DS - React Components Library",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"test": "vitest run",
|
|
18
18
|
"test:watch": "vitest",
|
|
19
19
|
"prepublishOnly": "yarn build",
|
|
20
|
-
"publish": "
|
|
20
|
+
"publish": "publish --access public"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"@aurora-ds/theme": "^1.5.0",
|