@up42/up-components 1.8.5 → 1.10.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.
@@ -13,8 +13,9 @@ export declare type InfoCardProps = {
13
13
  headerAction?: React.ReactNode;
14
14
  /**
15
15
  * The Card's title typography variant.
16
+ * 'h2' | 'h3' | 'overline' are deprecated and will be removed. Use 'headingSmall' | 'headingXSmall' | 'note' instead.
16
17
  */
17
- titleVariant?: 'h2' | 'h3' | 'overline';
18
+ titleVariant?: 'h2' | 'h3' | 'overline' | 'headingSmall' | 'headingXSmall' | 'note';
18
19
  /**
19
20
  * Choose whether to hide divider or not.
20
21
  */
@@ -36,8 +37,9 @@ export declare const InfoCardBase: ({ title, titleVariant, subtitle, children, a
36
37
  headerAction?: React.ReactNode;
37
38
  /**
38
39
  * The Card's title typography variant.
40
+ * 'h2' | 'h3' | 'overline' are deprecated and will be removed. Use 'headingSmall' | 'headingXSmall' | 'note' instead.
39
41
  */
40
- titleVariant?: "h2" | "h3" | "overline" | undefined;
42
+ titleVariant?: "h2" | "h3" | "note" | "overline" | "headingSmall" | "headingXSmall" | undefined;
41
43
  /**
42
44
  * Choose whether to hide divider or not.
43
45
  */
@@ -61,8 +63,9 @@ export declare const InfoCard: React.ForwardRefExoticComponent<Pick<{
61
63
  headerAction?: React.ReactNode;
62
64
  /**
63
65
  * The Card's title typography variant.
66
+ * 'h2' | 'h3' | 'overline' are deprecated and will be removed. Use 'headingSmall' | 'headingXSmall' | 'note' instead.
64
67
  */
65
- titleVariant?: "h2" | "h3" | "overline" | undefined;
68
+ titleVariant?: "h2" | "h3" | "note" | "overline" | "headingSmall" | "headingXSmall" | undefined;
66
69
  /**
67
70
  * Choose whether to hide divider or not.
68
71
  */
@@ -1,13 +1,13 @@
1
1
  import { ReactNode } from 'react';
2
- import { Tab as TabData, TabsProps } from '../Tabs/Tabs';
2
+ import { TabsProps } from '../Tabs/Tabs';
3
3
  import { BoxProps } from '../Box/Box';
4
- declare type TabData = {
4
+ declare type TabDataType = {
5
5
  label: string | ReactNode;
6
6
  content: string | ReactNode;
7
7
  hidden?: boolean;
8
8
  };
9
9
  export declare type TabGroupProps = {
10
- tabs: TabData[];
10
+ tabs: TabDataType[];
11
11
  tabContentProps?: BoxProps;
12
12
  tabsProps?: TabsProps;
13
13
  /**
package/dist/index.d.ts CHANGED
@@ -367,13 +367,13 @@ declare type TabProps = MUIGlobalOmit<TabProps$1>;
367
367
  declare const Tabs: ({ children, ...props }: TabsProps) => JSX.Element;
368
368
  declare const Tab: ({ children, ...props }: TabProps) => JSX.Element;
369
369
 
370
- declare type TabData = {
370
+ declare type TabDataType = {
371
371
  label: string | ReactNode;
372
372
  content: string | ReactNode;
373
373
  hidden?: boolean;
374
374
  };
375
375
  declare type TabGroupProps = {
376
- tabs: TabData[];
376
+ tabs: TabDataType[];
377
377
  tabContentProps?: BoxProps;
378
378
  tabsProps?: TabsProps;
379
379
  /**
@@ -436,8 +436,9 @@ declare type InfoCardProps = {
436
436
  headerAction?: React__default.ReactNode;
437
437
  /**
438
438
  * The Card's title typography variant.
439
+ * 'h2' | 'h3' | 'overline' are deprecated and will be removed. Use 'headingSmall' | 'headingXSmall' | 'note' instead.
439
440
  */
440
- titleVariant?: 'h2' | 'h3' | 'overline';
441
+ titleVariant?: 'h2' | 'h3' | 'overline' | 'headingSmall' | 'headingXSmall' | 'note';
441
442
  /**
442
443
  * Choose whether to hide divider or not.
443
444
  */
@@ -459,8 +460,9 @@ declare const InfoCard: React__default.ForwardRefExoticComponent<Pick<{
459
460
  headerAction?: React__default.ReactNode;
460
461
  /**
461
462
  * The Card's title typography variant.
463
+ * 'h2' | 'h3' | 'overline' are deprecated and will be removed. Use 'headingSmall' | 'headingXSmall' | 'note' instead.
462
464
  */
463
- titleVariant?: "h2" | "h3" | "overline" | undefined;
465
+ titleVariant?: "h2" | "h3" | "note" | "overline" | "headingSmall" | "headingXSmall" | undefined;
464
466
  /**
465
467
  * Choose whether to hide divider or not.
466
468
  */
@@ -2416,108 +2418,7 @@ var SvgOpenEyeVisibility = function SvgOpenEyeVisibility(props) {
2416
2418
 
2417
2419
  declare const icons_ContentCopy: typeof ContentCopy;
2418
2420
  declare namespace icons {
2419
- export {
2420
- SvgAccessTimeClock as AccessTime,
2421
- SvgAdd as Add,
2422
- SvgAlarmBell as AlarmBell,
2423
- SvgAppWindowCode as AppWindowCode,
2424
- SvgArrowLeftBack as ArrowBack,
2425
- SvgChevronLeftBack as ArrowBackIos,
2426
- SvgArrowCircleDown as ArrowCircleDown,
2427
- SvgArrowDown as ArrowDownward,
2428
- SvgArrowRightForward as ArrowForward,
2429
- SvgArrowTopRight as ArrowTopRight,
2430
- SvgArrowUp as ArrowUpward,
2431
- SvgAssignmentCircle as Assignment,
2432
- SvgBookFlipPageDocumentation as AutoStoriesOutlined,
2433
- SvgBalanceScale as Balance,
2434
- SvgBashCircle as Bash,
2435
- SvgBin as Bin,
2436
- SvgBlockCircle as Block,
2437
- SvgBlocked as Blocked,
2438
- SvgBoxes as Boxes,
2439
- SvgBoxesGrid as BoxesGrid,
2440
- SvgBrightnessDotCircleFilled as Brightness1,
2441
- SvgCalendar as Calendar,
2442
- SvgMegaphoneCampaignAnnouncement as CampaignOutlined,
2443
- SvgNetworkSearch as Catalog,
2444
- SvgChecklist as CheckList,
2445
- SvgCheckmark as CheckMark,
2446
- SvgClose as Close,
2447
- SvgCloseCircle as CloseCircle,
2448
- SvgCloud as Cloud,
2449
- SvgCoin as Coin,
2450
- SvgQuestionContactSupportBubble as ContactSupportOutlined,
2451
- icons_ContentCopy as ContentCopy,
2452
- SvgScissorsCut as ContentCut,
2453
- SvgCopyPaste as ContentPaste,
2454
- SvgCopy as Copy,
2455
- SvgCredit as Credit,
2456
- SvgModule as CustomBlocks,
2457
- SvgDashboard as Dashboard,
2458
- SvgDataTransferVertical as DataTransferVertical,
2459
- SvgDottedLines as DottedLines,
2460
- SvgDownload as Download,
2461
- SvgExternalLink as ExternalLink,
2462
- SvgImageResolution as ImageResolution,
2463
- SvgInformationCircle as InfoOutlined,
2464
- SvgInformation as Information,
2465
- SvgInvoice as Invoice,
2466
- SvgChevronDown as KeyboardArrowDown,
2467
- SvgChevronLeftBack as KeyboardArrowLeft,
2468
- SvgChevronRightForward as KeyboardArrowRight,
2469
- SvgChevronUp as KeyboardArrowUp,
2470
- SvgLayers as Layers,
2471
- SvgLibrary as Library,
2472
- SvgLightbulb as LightbulbOutlined,
2473
- SvgTag as LocalOfferOutlined,
2474
- SvgLock as Lock,
2475
- SvgLogo as Logo,
2476
- SvgMap as Map,
2477
- SvgShop as Marketplace,
2478
- SvgMegaphone as Megaphone,
2479
- SvgModuleThree as ModuleThree,
2480
- SvgMenuThreeDotFilledHorizontal as MoreHoriz,
2481
- SvgMultipleUsers as MultipleUsers,
2482
- SvgNotificationError as NotificationError,
2483
- SvgNotificationInfo as NotificationInfo,
2484
- SvgNotificationSuccess as NotificationSuccess,
2485
- SvgNotificationWarning as NotificationWarning,
2486
- SvgPencil as Pencil,
2487
- SvgUserSingle as Person,
2488
- SvgPolygon as Polygon,
2489
- SvgFolderEmpty1 as Projects,
2490
- SvgQuestionCircle as QuestionCircle,
2491
- SvgQuestionMark as QuestionMark,
2492
- SvgResolution as Resolution,
2493
- SvgSatellite as Satellite,
2494
- SvgSave as Save,
2495
- SvgSearch as Search,
2496
- SvgServerLock as ServerLock,
2497
- SvgSettingsVertical as SettingsVertical,
2498
- SvgShield as Shield,
2499
- SvgShieldLock as ShieldWithLock,
2500
- SvgShoppingCart as ShoppingCartOutlined,
2501
- SvgServer2 as Storage,
2502
- SvgSupportCircle as Support,
2503
- SvgSupport as SupportClear,
2504
- SvgSupportHeadphones as SupportHeadphones,
2505
- SvgSystem as System,
2506
- SvgTag as Tag,
2507
- SvgTarget as Target,
2508
- SvgTransaction as Transaction,
2509
- SvgUpgradeShield as UpgradeShield,
2510
- SvgUpload as Upload,
2511
- SvgUserCircle as User,
2512
- SvgViewOff as ViewOff,
2513
- SvgViewOn as ViewOn,
2514
- SvgCloseEyeVisibility as VisibilityOffOutlined,
2515
- SvgOpenEyeVisibility as VisibilityOutlined,
2516
- SvgWeatherCloud as WeatherCloud,
2517
- SvgWebhooks as Webhooks,
2518
- SvgWorkflow as Workflow,
2519
- SvgWorkflowPencil as WorkflowPencil,
2520
- };
2421
+ export { SvgAccessTimeClock as AccessTime, SvgAdd as Add, SvgAlarmBell as AlarmBell, SvgAppWindowCode as AppWindowCode, SvgArrowLeftBack as ArrowBack, SvgChevronLeftBack as ArrowBackIos, SvgArrowCircleDown as ArrowCircleDown, SvgArrowDown as ArrowDownward, SvgArrowRightForward as ArrowForward, SvgArrowTopRight as ArrowTopRight, SvgArrowUp as ArrowUpward, SvgAssignmentCircle as Assignment, SvgBookFlipPageDocumentation as AutoStoriesOutlined, SvgBalanceScale as Balance, SvgBashCircle as Bash, SvgBin as Bin, SvgBlockCircle as Block, SvgBlocked as Blocked, SvgBoxes as Boxes, SvgBoxesGrid as BoxesGrid, SvgBrightnessDotCircleFilled as Brightness1, SvgCalendar as Calendar, SvgMegaphoneCampaignAnnouncement as CampaignOutlined, SvgNetworkSearch as Catalog, SvgChecklist as CheckList, SvgCheckmark as CheckMark, SvgClose as Close, SvgCloseCircle as CloseCircle, SvgCloud as Cloud, SvgCoin as Coin, SvgQuestionContactSupportBubble as ContactSupportOutlined, icons_ContentCopy as ContentCopy, SvgScissorsCut as ContentCut, SvgCopyPaste as ContentPaste, SvgCopy as Copy, SvgCredit as Credit, SvgModule as CustomBlocks, SvgDashboard as Dashboard, SvgDataTransferVertical as DataTransferVertical, SvgDottedLines as DottedLines, SvgDownload as Download, SvgExternalLink as ExternalLink, SvgImageResolution as ImageResolution, SvgInformationCircle as InfoOutlined, SvgInformation as Information, SvgInvoice as Invoice, SvgChevronDown as KeyboardArrowDown, SvgChevronLeftBack as KeyboardArrowLeft, SvgChevronRightForward as KeyboardArrowRight, SvgChevronUp as KeyboardArrowUp, SvgLayers as Layers, SvgLibrary as Library, SvgLightbulb as LightbulbOutlined, SvgTag as LocalOfferOutlined, SvgLock as Lock, SvgLogo as Logo, SvgMap as Map, SvgShop as Marketplace, SvgMegaphone as Megaphone, SvgModuleThree as ModuleThree, SvgMenuThreeDotFilledHorizontal as MoreHoriz, SvgMultipleUsers as MultipleUsers, SvgNotificationError as NotificationError, SvgNotificationInfo as NotificationInfo, SvgNotificationSuccess as NotificationSuccess, SvgNotificationWarning as NotificationWarning, SvgPencil as Pencil, SvgUserSingle as Person, SvgPolygon as Polygon, SvgFolderEmpty1 as Projects, SvgQuestionCircle as QuestionCircle, SvgQuestionMark as QuestionMark, SvgResolution as Resolution, SvgSatellite as Satellite, SvgSave as Save, SvgSearch as Search, SvgServerLock as ServerLock, SvgSettingsVertical as SettingsVertical, SvgShield as Shield, SvgShieldLock as ShieldWithLock, SvgShoppingCart as ShoppingCartOutlined, SvgServer2 as Storage, SvgSupportCircle as Support, SvgSupport as SupportClear, SvgSupportHeadphones as SupportHeadphones, SvgSystem as System, SvgTag as Tag, SvgTarget as Target, SvgTransaction as Transaction, SvgUpgradeShield as UpgradeShield, SvgUpload as Upload, SvgUserCircle as User, SvgViewOff as ViewOff, SvgViewOn as ViewOn, SvgCloseEyeVisibility as VisibilityOffOutlined, SvgOpenEyeVisibility as VisibilityOutlined, SvgWeatherCloud as WeatherCloud, SvgWebhooks as Webhooks, SvgWorkflow as Workflow, SvgWorkflowPencil as WorkflowPencil };
2521
2422
  }
2522
2423
 
2523
2424
  declare type IconProps = {
@@ -2767,4 +2668,4 @@ declare type ContextState = {
2767
2668
  */
2768
2669
  declare const useAlert: () => ContextState;
2769
2670
 
2770
- export { Alert, AlertProps, Avatar, AvatarProps, Badge, BadgeProps, Banner, BannerProps, Box, BoxProps, Button, ButtonProps, Checkbox, CheckboxProps, CodeInline, CodeInlineProps, CodeSnippet, CodeSnippetItemProps, CodeSnippetProps, ContactBox, ContactBoxProps, ControlButton, ControlButtonProps, CopyButton, CopyButtonProps, CreateAlertProps, DataGrid, DataGridProps, DatePickerDateType, DateTime, DateTimeProps, Divider, DividerProps, DocumentationPopover, DocumentationPopoverProps, EmptyState, EmptyStateProps, FormCheckbox, FormCheckboxProps, FormDatePicker, FormDatePickerProps, FormDateRangePicker, FormDateRangePickerProps, FormInput, FormInputProps, FormRadio, FormRadioProps, FormSelect, FormSelectProps, FormSwitch, FormSwitchProps, GridContainer, GridContainerProps, GridItem, GridItemProps, Icon, IconProps, InfoCard, InfoCardProps, InfoModal, InfoModalProps, InfoPopover, InfoPopoverProps, Input, InputProps, Link, LinkProps, Loading, LoadingProps, Menu, MenuItem, MenuItemProps, MenuProps, Modal, ModalProps, NotFound, NotFoundProps, PageContainer, PageContainerProps, PageHeader, PageHeaderProps, PaginatedResponse, Popover, PopoverProps, Radio, RadioProps, Select, SelectProps, Slider, SliderProps, Switch, SwitchProps, Tab, TabGroup, TabGroupProps, TabProps, Table, TableBody, TableBodyProps, TableCell, TableCellProps, TableContainer, TableContainerProps, TableFooter, TableFooterProps, TableHead, TableHeadProps, TablePagination, TablePaginationProps, TableProps, TableRow, TableRowProps, TableSortLabel, TableSortLabelProps, Tabs, TabsProps, Tag, TagProps, Tooltip, TooltipProps, Typography, TypographyProps, UpComponentsProvider, capitalize, copyToClipboard, formatDate, formatFileSize, formatNumber, theme, useAlert, useQueryParams, useRemotePagination };
2671
+ export { Alert, type AlertProps, Avatar, type AvatarProps, Badge, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, Button, type ButtonProps, Checkbox, type CheckboxProps, CodeInline, type CodeInlineProps, CodeSnippet, type CodeSnippetItemProps, type CodeSnippetProps, ContactBox, type ContactBoxProps, ControlButton, type ControlButtonProps, CopyButton, type CopyButtonProps, type CreateAlertProps, DataGrid, type DataGridProps, type DatePickerDateType, DateTime, type DateTimeProps, Divider, type DividerProps, DocumentationPopover, type DocumentationPopoverProps, EmptyState, type EmptyStateProps, FormCheckbox, type FormCheckboxProps, FormDatePicker, type FormDatePickerProps, FormDateRangePicker, type FormDateRangePickerProps, FormInput, type FormInputProps, FormRadio, type FormRadioProps, FormSelect, type FormSelectProps, FormSwitch, type FormSwitchProps, GridContainer, type GridContainerProps, GridItem, type GridItemProps, Icon, type IconProps, InfoCard, type InfoCardProps, InfoModal, type InfoModalProps, InfoPopover, type InfoPopoverProps, Input, type InputProps, Link, type LinkProps, Loading, type LoadingProps, Menu, MenuItem, type MenuItemProps, type MenuProps, Modal, type ModalProps, NotFound, type NotFoundProps, PageContainer, type PageContainerProps, PageHeader, type PageHeaderProps, type PaginatedResponse, Popover, type PopoverProps, Radio, type RadioProps, Select, type SelectProps, Slider, type SliderProps, Switch, type SwitchProps, Tab, TabGroup, type TabGroupProps, type TabProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableContainer, type TableContainerProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TablePagination, type TablePaginationProps, type TableProps, TableRow, type TableRowProps, TableSortLabel, type TableSortLabelProps, Tabs, type TabsProps, Tag, type TagProps, Tooltip, type TooltipProps, Typography, type TypographyProps, UpComponentsProvider, capitalize, copyToClipboard, formatDate, formatFileSize, formatNumber, theme, useAlert, useQueryParams, useRemotePagination };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@up42/up-components",
3
- "version": "1.8.5",
3
+ "version": "1.10.0",
4
4
  "description": "UP42 Component Library",
5
5
  "author": "Axel Fuhrmann axel.fuhrmann@up42.com",
6
6
  "license": "ISC",
@@ -45,11 +45,11 @@
45
45
  "@emotion/styled": "^11.6.0",
46
46
  "@mui/icons-material": "^5.3.0",
47
47
  "@mui/material": "^5.3.0",
48
- "@rollup/plugin-commonjs": "^25.0.2",
49
- "@rollup/plugin-json": "^6.0.0",
50
- "@rollup/plugin-node-resolve": "^15.1.0",
51
- "@rollup/plugin-terser": "^0.4.3",
52
- "@rollup/plugin-typescript": "^11.1.1",
48
+ "@rollup/plugin-commonjs": "^25.0.7",
49
+ "@rollup/plugin-json": "^6.1.0",
50
+ "@rollup/plugin-node-resolve": "^15.2.3",
51
+ "@rollup/plugin-terser": "^0.4.4",
52
+ "@rollup/plugin-typescript": "^11.1.6",
53
53
  "@storybook/addon-a11y": "^7.1.1",
54
54
  "@storybook/addon-actions": "^7.1.1",
55
55
  "@storybook/addon-essentials": "^7.1.1",
@@ -82,9 +82,9 @@
82
82
  "prettier": "^2.5.1",
83
83
  "react": "^17.0.2",
84
84
  "react-router-dom": "^6.14.0",
85
- "rollup": "^3.25.1",
85
+ "rollup": "^4.13.2",
86
86
  "rollup-plugin-delete": "^2.0.0",
87
- "rollup-plugin-dts": "^5.3.0",
87
+ "rollup-plugin-dts": "^6.1.0",
88
88
  "rollup-plugin-peer-deps-external": "^2.2.4",
89
89
  "standard-version": "^9.3.2",
90
90
  "storybook": "^7.1.1",