@databricks/design-system 1.10.2 → 1.11.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.
@@ -8,13 +8,6 @@ import type { TableColumnGroupType as AntDTableColumnGroupType, TableColumnProps
8
8
  export interface LegacyTableProps<RecordType> extends AntDTableProps<RecordType> {
9
9
  scrollableInFlexibleContainer?: boolean;
10
10
  }
11
- /**
12
- * `LegacyTable` is deprecated in favor of the new `Table` component
13
- * For more information please join #dubois-table-early-adopters in Slack.
14
- * @deprecated
15
- */
16
- export interface TableProps<RecordType> extends LegacyTableProps<RecordType> {
17
- }
18
11
  /**
19
12
  * `LegacyTable` is deprecated in favor of the new `Table` component
20
13
  * For more information please join #dubois-table-early-adopters in Slack.
@@ -22,13 +15,6 @@ export interface TableProps<RecordType> extends LegacyTableProps<RecordType> {
22
15
  */
23
16
  export interface LegacyTablePaginationConfig extends AntDTablePaginationConfig {
24
17
  }
25
- /**
26
- * `LegacyTable` is deprecated in favor of the new `Table` component
27
- * For more information please join #dubois-table-early-adopters in Slack.
28
- * @deprecated
29
- */
30
- export interface TablePaginationConfig extends LegacyTablePaginationConfig {
31
- }
32
18
  /**
33
19
  * `LegacyTable` is deprecated in favor of the new `Table` component
34
20
  * For more information please join #dubois-table-early-adopters in Slack.
@@ -36,13 +22,6 @@ export interface TablePaginationConfig extends LegacyTablePaginationConfig {
36
22
  */
37
23
  export interface LegacyTableColumnGroupType<RecordType> extends AntDTableColumnGroupType<RecordType> {
38
24
  }
39
- /**
40
- * `LegacyTable` is deprecated in favor of the new `Table` component
41
- * For more information please join #dubois-table-early-adopters in Slack.
42
- * @deprecated
43
- */
44
- export interface TableColumnGroupType<RecordType> extends LegacyTableColumnGroupType<RecordType> {
45
- }
46
25
  /**
47
26
  * `LegacyTable` is deprecated in favor of the new `Table` component
48
27
  * For more information please join #dubois-table-early-adopters in Slack.
@@ -50,13 +29,6 @@ export interface TableColumnGroupType<RecordType> extends LegacyTableColumnGroup
50
29
  */
51
30
  export interface LegacyTableColumnType<RecordType> extends AntDTableColumnType<RecordType> {
52
31
  }
53
- /**
54
- * `LegacyTable` is deprecated in favor of the new `Table` component
55
- * For more information please join #dubois-table-early-adopters in Slack.
56
- * @deprecated
57
- */
58
- export interface TableColumnType<RecordType> extends LegacyTableColumnType<RecordType> {
59
- }
60
32
  /**
61
33
  * `LegacyTable` is deprecated in favor of the new `Table` component
62
34
  * For more information please join #dubois-table-early-adopters in Slack.
@@ -64,13 +36,6 @@ export interface TableColumnType<RecordType> extends LegacyTableColumnType<Recor
64
36
  */
65
37
  export interface LegacyTableColumnProps<RecordType> extends AntDTableColumnProps<RecordType> {
66
38
  }
67
- /**
68
- * `LegacyTable` is deprecated in favor of the new `Table` component
69
- * For more information please join #dubois-table-early-adopters in Slack.
70
- * @deprecated
71
- */
72
- export interface TableColumnProps<RecordType> extends LegacyTableColumnProps<RecordType> {
73
- }
74
39
  /**
75
40
  * `LegacyTable` is deprecated in favor of the new `Table` component
76
41
  * For more information please join #dubois-table-early-adopters in Slack.
@@ -78,23 +43,10 @@ export interface TableColumnProps<RecordType> extends LegacyTableColumnProps<Rec
78
43
  */
79
44
  export interface LegacyTableColumnsType<RecordType> extends AntDTableColumnsType<RecordType> {
80
45
  }
81
- /**
82
- * `LegacyTable` is deprecated in favor of the new `Table` component
83
- * For more information please join #dubois-table-early-adopters in Slack.
84
- * @deprecated
85
- */
86
- export interface TableColumnsType<RecordType> extends LegacyTableColumnsType<RecordType> {
87
- }
88
46
  /**
89
47
  * `LegacyTable` is deprecated in favor of the new `Table` component
90
48
  * For more information please join #dubois-table-early-adopters in Slack.
91
49
  * @deprecated
92
50
  */
93
51
  export declare const LegacyTable: <T extends object>(props: LegacyTableProps<T>) => JSX.Element;
94
- /**
95
- * `LegacyTable` is deprecated in favor of the new `Table` component
96
- * For more information please join #dubois-table-early-adopters in Slack.
97
- * @deprecated
98
- */
99
- export declare const Table: <T extends object>(props: LegacyTableProps<T>) => JSX.Element;
100
52
  //# sourceMappingURL=LegacyTable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LegacyTable.d.ts","sourceRoot":"","sources":["../../../src/design-system/LegacyTable/LegacyTable.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EACV,oBAAoB,IAAI,wBAAwB,EAChD,gBAAgB,IAAI,oBAAoB,EACxC,gBAAgB,IAAI,oBAAoB,EACxC,eAAe,IAAI,mBAAmB,EACtC,qBAAqB,IAAI,yBAAyB,EAClD,UAAU,IAAI,cAAc,EAC7B,MAAM,MAAM,CAAC;AAcd;;;;GAIG;AACH,MAAM,WAAW,gBAAgB,CAAC,UAAU,CAAE,SAAQ,cAAc,CAAC,UAAU,CAAC;IAC9E,6BAA6B,CAAC,EAAE,OAAO,CAAC;CACzC;AACD;;;;GAIG;AACH,MAAM,WAAW,UAAU,CAAC,UAAU,CAAE,SAAQ,gBAAgB,CAAC,UAAU,CAAC;CAAG;AAE/E;;;;GAIG;AACH,MAAM,WAAW,2BAA4B,SAAQ,yBAAyB;CAAG;AACjF;;;;GAIG;AACH,MAAM,WAAW,qBAAsB,SAAQ,2BAA2B;CAAG;AAE7E;;;;GAIG;AACH,MAAM,WAAW,0BAA0B,CAAC,UAAU,CAAE,SAAQ,wBAAwB,CAAC,UAAU,CAAC;CAAG;AACvG;;;;GAIG;AACH,MAAM,WAAW,oBAAoB,CAAC,UAAU,CAAE,SAAQ,0BAA0B,CAAC,UAAU,CAAC;CAAG;AAEnG;;;;GAIG;AACH,MAAM,WAAW,qBAAqB,CAAC,UAAU,CAAE,SAAQ,mBAAmB,CAAC,UAAU,CAAC;CAAG;AAC7F;;;;GAIG;AACH,MAAM,WAAW,eAAe,CAAC,UAAU,CAAE,SAAQ,qBAAqB,CAAC,UAAU,CAAC;CAAG;AAEzF;;;;GAIG;AACH,MAAM,WAAW,sBAAsB,CAAC,UAAU,CAAE,SAAQ,oBAAoB,CAAC,UAAU,CAAC;CAAG;AAC/F;;;;GAIG;AACH,MA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WAAW,sBAAsB,CAAC,UAAU,CAAE,SAAQ,oBAAoB,CAAC,UAAU,CAAC;CAAG;AA+B/F;;;;GAIG;AAEH,eAAO,MAAM,WAAW,oDAAmD,WAmB1E,CAAC"}
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import { u as useDesignSystemTheme, a as useDesignSystemFlags, I as Icon, D as D
4
4
  export { A as ApplyDesignSystemContextOverrides, v as ApplyDesignSystemFlags, B as Button, d as CheckIcon, j as Checkbox, C as ChevronDownIcon, b as CloseIcon, l as DU_BOIS_ENABLE_ANIMATION_CLASSNAME, D as DesignSystemAntDConfigProvider, s as DesignSystemContext, t as DesignSystemProvider, I as Icon, h as Input, L as LoadingIcon, N as NewWindowIcon, R as RestoreAntDDefaultClsPrefix, x as SearchIcon, y as SortAscendingIcon, z as SortDescendingIcon, E as SortUnsortedIcon, S as Spinner, e as Tooltip, T as Typography, W as WithDesignSystemThemeHoc, X as XCircleFillIcon, H as __INTERNAL_DO_NOT_USE_DEDUPE__Group, _ as __INTERNAL_DO_NOT_USE__Group, G as __INTERNAL_DO_NOT_USE__Password, F as __INTERNAL_DO_NOT_USE__TextArea, g as getAnimationCss, q as getButtonEmotionStyles, r as getWrapperStyle, w as useAntDConfigProviderContext, a as useDesignSystemFlags, u as useDesignSystemTheme } from './Spinner-140f57ac.js';
5
5
  import { jsx, jsxs, Fragment } from '@emotion/react/jsx-runtime';
6
6
  import { css, keyframes, ClassNames } from '@emotion/react';
7
- import { Collapse, Alert as Alert$1, AutoComplete as AutoComplete$1, Breadcrumb as Breadcrumb$1, DatePicker, Dropdown as Dropdown$1, Form as Form$1, Radio as Radio$1, Select as Select$1, Col as Col$1, Row as Row$1, Space as Space$1, Layout as Layout$1, Pagination as Pagination$1, Table as Table$1, Menu as Menu$1, Modal as Modal$1, notification, Popover as Popover$2, Skeleton as Skeleton$1, Button as Button$1, Switch as Switch$1, Tabs as Tabs$1, Tree as Tree$1 } from 'antd';
7
+ import { Collapse, Alert as Alert$1, AutoComplete as AutoComplete$1, Breadcrumb as Breadcrumb$1, DatePicker, Dropdown as Dropdown$1, Form as Form$1, Radio as Radio$1, Select as Select$1, Col as Col$1, Row as Row$1, Space as Space$1, Layout as Layout$1, Pagination as Pagination$1, Table, Menu as Menu$1, Modal as Modal$1, notification, Popover as Popover$2, Skeleton as Skeleton$1, Button as Button$1, Switch as Switch$1, Tabs as Tabs$1, Tree as Tree$1 } from 'antd';
8
8
  import classnames from 'classnames';
9
9
  import * as DialogPrimitive from '@radix-ui/react-dialog';
10
10
  import * as DropdownMenu$1 from '@radix-ui/react-dropdown-menu';
@@ -10581,7 +10581,7 @@ const LegacyTable = props => {
10581
10581
  ...tableProps
10582
10582
  } = props;
10583
10583
  return jsx(DesignSystemAntDConfigProvider, {
10584
- children: jsx(Table$1
10584
+ children: jsx(Table
10585
10585
  // NOTE(FEINF-1273): The default loading indicator from AntD does not animate
10586
10586
  // and the design system spinner is recommended over the AntD one. Therefore,
10587
10587
  // if `loading` is `true`, render the design system <Spinner/> component.
@@ -10599,13 +10599,6 @@ const LegacyTable = props => {
10599
10599
  });
10600
10600
  };
10601
10601
 
10602
- /**
10603
- * `LegacyTable` is deprecated in favor of the new `Table` component
10604
- * For more information please join #dubois-table-early-adopters in Slack.
10605
- * @deprecated
10606
- */
10607
- const Table = LegacyTable;
10608
-
10609
10602
  /**
10610
10603
  * @deprecated Use `DropdownMenu` instead.
10611
10604
  */
@@ -12971,5 +12964,5 @@ const Tree = /*#__PURE__*/forwardRef(function Tree(_ref, ref) {
12971
12964
  });
12972
12965
  });
12973
12966
 
12974
- export { Accordion, AccordionPanel, Alert, AlignCenterIcon, AlignLeftIcon, AlignRightIcon, AppIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowsUpDownIcon, AutoComplete, BarChartIcon, BeakerIcon, BinaryIcon, BoldIcon, BookIcon, BookmarkFillIcon, BookmarkIcon, BracketsCurlyIcon, BracketsSquareIcon, BracketsXIcon, Breadcrumb, BriefcaseFillIcon, BriefcaseIcon, CalendarEventIcon, CalendarIcon, CaretDownSquareIcon, CaretUpSquareIcon, CatalogIcon, ChartLineIcon, CheckCircleBadgeIcon, CheckCircleFillIcon, CheckCircleIcon, CheckLineIcon, ChecklistIcon, ChevronDoubleDownIcon, ChevronDoubleLeftIcon, ChevronDoubleRightIcon, ChevronDoubleUpIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleIcon, ClipboardIcon, ClockIcon, CloudDownloadIcon, CloudIcon, CloudKeyIcon, CloudModelIcon, CloudOffIcon, CloudUploadIcon, CodeIcon, Col, ColorFillIcon, ConnectIcon, Content, CopyIcon, CursorIcon, CursorPagination, DIcon, DagIcon, DangerFillIcon, DangerIcon, DangerModal, DashIcon, DashboardIcon, DataIcon, DatabaseIcon, DecimalIcon, DotsCircleIcon, DownloadIcon, DragIcon, Drawer, Dropdown, DropdownMenu, DuboisDatePicker, Empty, ExpandLessIcon, ExpandMoreIcon, FileCodeIcon, FileDocumentIcon, FileIcon, FileImageIcon, FileModelIcon, FilterIcon, FolderFillIcon, FolderIcon, FontIcon, ForkIcon, Form, FormDubois, FormUI, FullscreenExitIcon, FullscreenIcon, GearFillIcon, GearIcon, GiftIcon, GridDashIcon, GridIcon, H1Icon, H2Icon, H3Icon, Header$1 as Header, HistoryIcon, HomeIcon, ImageIcon, IndentDecreaseIcon, IndentIncreaseIcon, InfinityIcon, InfoFillIcon, InfoIcon, ItalicIcon, KeyboardIcon, LayerIcon, Layout, LegacyDatePicker, LegacyTable, LettersIcon, LightningIcon, LinkIcon, LinkOffIcon, ListBorderIcon, ListIcon, LockFillIcon, LockIcon, LockUnlockedIcon, MIcon, Menu, MenuIcon, MinusBoxIcon, MinusCircleFillIcon, MinusCircleIcon, Modal, ModelsIcon, Nav, NavButton, NoIcon, NotebookIcon, NotificationIcon, NotificationOffIcon, NotificationV2, NumbersIcon, OfficeIcon, OptGroup, Option, OverflowIcon, PageBottomIcon, PageFirstIcon, PageLastIcon, PageTopIcon, PageWrapper, Pagination, Panel, PanelBody, PanelHeader, PanelHeaderButtons, PanelHeaderTitle, PencilIcon, PinCancelIcon, PinFillIcon, PinIcon, PlayCircleFillIcon, PlayCircleIcon, PlayIcon, PlugIcon, PlusCircleFillIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, Popover, PopoverV2, QueryEditorIcon, QueryIcon, QuestionMarkFillIcon, QuestionMarkIcon, RHFControlledComponents, ROW_GUTTER_SIZE, Radio, ReaderModeIcon, RedoIcon, RefreshIcon, ReposIcon, Row, SaveIcon, SchoolIcon, SecurityIcon, SegmentedControlButton, SegmentedControlGroup, Select, ShareIcon, Sidebar, SidebarAutoIcon, SidebarCollapseIcon, SidebarExpandIcon, SidebarIcon, Skeleton, SlidersIcon, Space, Spacer, SpeechBubbleIcon, SpeechBubblePlusIcon, SplitButton, StarFillIcon, StarIcon, StopCircleFillIcon, StopCircleIcon, StopIcon, StorefrontIcon, StreamIcon, Switch, SyncIcon, TabPane, Table, TableIcon, Tabs, Tag, ToggleButton, TrashIcon, Tree, TreeIcon, UnderlineIcon, UndoIcon, UploadIcon, UsbIcon, UserBadgeIcon, UserCircleIcon, UserGroupIcon, UserIcon, VariableIcon, VisibleIcon, VisibleOffIcon, WarningFillIcon, WarningIcon, WorkspacesIcon, XCircleIcon, ZoomInIcon, ZoomOutIcon, __INTERNAL_DO_NOT_USE__FormItem, __INTERNAL_DO_NOT_USE__HorizontalGroup, __INTERNAL_DO_NOT_USE__VerticalGroup, getPaginationEmotionStyles, getRadioStyles, getTabEmotionStyles, useNotification, useThemedStyles, withNotifications };
12967
+ export { Accordion, AccordionPanel, Alert, AlignCenterIcon, AlignLeftIcon, AlignRightIcon, AppIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowsUpDownIcon, AutoComplete, BarChartIcon, BeakerIcon, BinaryIcon, BoldIcon, BookIcon, BookmarkFillIcon, BookmarkIcon, BracketsCurlyIcon, BracketsSquareIcon, BracketsXIcon, Breadcrumb, BriefcaseFillIcon, BriefcaseIcon, CalendarEventIcon, CalendarIcon, CaretDownSquareIcon, CaretUpSquareIcon, CatalogIcon, ChartLineIcon, CheckCircleBadgeIcon, CheckCircleFillIcon, CheckCircleIcon, CheckLineIcon, ChecklistIcon, ChevronDoubleDownIcon, ChevronDoubleLeftIcon, ChevronDoubleRightIcon, ChevronDoubleUpIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleIcon, ClipboardIcon, ClockIcon, CloudDownloadIcon, CloudIcon, CloudKeyIcon, CloudModelIcon, CloudOffIcon, CloudUploadIcon, CodeIcon, Col, ColorFillIcon, ConnectIcon, Content, CopyIcon, CursorIcon, CursorPagination, DIcon, DagIcon, DangerFillIcon, DangerIcon, DangerModal, DashIcon, DashboardIcon, DataIcon, DatabaseIcon, DecimalIcon, DotsCircleIcon, DownloadIcon, DragIcon, Drawer, Dropdown, DropdownMenu, DuboisDatePicker, Empty, ExpandLessIcon, ExpandMoreIcon, FileCodeIcon, FileDocumentIcon, FileIcon, FileImageIcon, FileModelIcon, FilterIcon, FolderFillIcon, FolderIcon, FontIcon, ForkIcon, Form, FormDubois, FormUI, FullscreenExitIcon, FullscreenIcon, GearFillIcon, GearIcon, GiftIcon, GridDashIcon, GridIcon, H1Icon, H2Icon, H3Icon, Header$1 as Header, HistoryIcon, HomeIcon, ImageIcon, IndentDecreaseIcon, IndentIncreaseIcon, InfinityIcon, InfoFillIcon, InfoIcon, ItalicIcon, KeyboardIcon, LayerIcon, Layout, LegacyDatePicker, LegacyTable, LettersIcon, LightningIcon, LinkIcon, LinkOffIcon, ListBorderIcon, ListIcon, LockFillIcon, LockIcon, LockUnlockedIcon, MIcon, Menu, MenuIcon, MinusBoxIcon, MinusCircleFillIcon, MinusCircleIcon, Modal, ModelsIcon, Nav, NavButton, NoIcon, NotebookIcon, NotificationIcon, NotificationOffIcon, NotificationV2, NumbersIcon, OfficeIcon, OptGroup, Option, OverflowIcon, PageBottomIcon, PageFirstIcon, PageLastIcon, PageTopIcon, PageWrapper, Pagination, Panel, PanelBody, PanelHeader, PanelHeaderButtons, PanelHeaderTitle, PencilIcon, PinCancelIcon, PinFillIcon, PinIcon, PlayCircleFillIcon, PlayCircleIcon, PlayIcon, PlugIcon, PlusCircleFillIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, Popover, PopoverV2, QueryEditorIcon, QueryIcon, QuestionMarkFillIcon, QuestionMarkIcon, RHFControlledComponents, ROW_GUTTER_SIZE, Radio, ReaderModeIcon, RedoIcon, RefreshIcon, ReposIcon, Row, SaveIcon, SchoolIcon, SecurityIcon, SegmentedControlButton, SegmentedControlGroup, Select, ShareIcon, Sidebar, SidebarAutoIcon, SidebarCollapseIcon, SidebarExpandIcon, SidebarIcon, Skeleton, SlidersIcon, Space, Spacer, SpeechBubbleIcon, SpeechBubblePlusIcon, SplitButton, StarFillIcon, StarIcon, StopCircleFillIcon, StopCircleIcon, StopIcon, StorefrontIcon, StreamIcon, Switch, SyncIcon, TabPane, TableIcon, Tabs, Tag, ToggleButton, TrashIcon, Tree, TreeIcon, UnderlineIcon, UndoIcon, UploadIcon, UsbIcon, UserBadgeIcon, UserCircleIcon, UserGroupIcon, UserIcon, VariableIcon, VisibleIcon, VisibleOffIcon, WarningFillIcon, WarningIcon, WorkspacesIcon, XCircleIcon, ZoomInIcon, ZoomOutIcon, __INTERNAL_DO_NOT_USE__FormItem, __INTERNAL_DO_NOT_USE__HorizontalGroup, __INTERNAL_DO_NOT_USE__VerticalGroup, getPaginationEmotionStyles, getRadioStyles, getTabEmotionStyles, useNotification, useThemedStyles, withNotifications };
12975
12968
  //# sourceMappingURL=index.js.map