@databricks/design-system 1.12.3 → 1.12.5
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/development.d.ts +1 -0
- package/development.mjs +1 -0
- package/dist/design-system/DialogCombobox/DialogComboboxTrigger.d.ts.map +1 -1
- package/dist/design-system/DialogCombobox/shared.d.ts.map +1 -1
- package/dist/design-system/Sidebar/Sidebar.d.ts +3 -1
- package/dist/design-system/Sidebar/Sidebar.d.ts.map +1 -1
- package/dist/design-system/Sidebar/Sidebar.test.d.ts +2 -0
- package/dist/design-system/Sidebar/Sidebar.test.d.ts.map +1 -0
- package/dist/design-system/TableUI/index.d.ts.map +1 -1
- package/dist/design-system/ToggleButton/ToggleButton.d.ts.map +1 -1
- package/dist/development.js +1 -1
- package/dist/index.js +92 -36
- package/dist/index.js.map +1 -1
- package/dist/test-utils/enzyme/table.d.ts +4 -0
- package/dist/test-utils/enzyme/table.d.ts.map +1 -1
- package/dist/test-utils/enzyme.js +4 -0
- package/dist/test-utils/enzyme.js.map +1 -1
- package/dist/test-utils/rtl/table.d.ts +6 -2
- package/dist/test-utils/rtl/table.d.ts.map +1 -1
- package/dist/test-utils/rtl.js +6 -2
- package/dist/test-utils/rtl.js.map +1 -1
- package/dist/useDesignSystemTheme-1e16bcf5.js +441 -0
- package/dist/useDesignSystemTheme-1e16bcf5.js.map +1 -0
- package/package.json +7 -5
- package/test-utils/enzyme.d.ts +1 -0
- package/test-utils/enzyme.mjs +1 -0
- package/test-utils/rtl.d.ts +1 -0
- package/test-utils/rtl.mjs +1 -0
package/development.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/development';
|
package/development.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/development.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogComboboxTrigger.d.ts","sourceRoot":"","sources":["../../../src/design-system/DialogCombobox/DialogComboboxTrigger.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC;AACnD,OAAO,KAAgC,MAAM,OAAO,CAAC;AAMrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAKnD,MAAM,WAAW,0BAA2B,SAAQ,OAAO,CAAC,mBAAmB,EAAE,kBAAkB;IACjG,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;
|
|
1
|
+
{"version":3,"file":"DialogComboboxTrigger.d.ts","sourceRoot":"","sources":["../../../src/design-system/DialogCombobox/DialogComboboxTrigger.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC;AACnD,OAAO,KAAgC,MAAM,OAAO,CAAC;AAMrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAKnD,MAAM,WAAW,0BAA2B,SAAQ,OAAO,CAAC,mBAAmB,EAAE,kBAAkB;IACjG,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAuED,eAAO,MAAM,qBAAqB,sGAiIjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/design-system/DialogCombobox/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAK9D,eAAO,MAAM,wCAAwC,UAAW,KAAK,KAAG,
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/design-system/DialogCombobox/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAK9D,eAAO,MAAM,wCAAwC,UAAW,KAAK,KAAG,gBAoBvE,CAAC"}
|
|
@@ -58,6 +58,8 @@ export interface PanelProps {
|
|
|
58
58
|
panelId: number;
|
|
59
59
|
/** Contents displayed in the the panel */
|
|
60
60
|
children?: React.ReactNode;
|
|
61
|
+
/** Forced render of content in the panel, not lazy render after clicking */
|
|
62
|
+
forceRender?: boolean;
|
|
61
63
|
/** Applies emotion styles to the top-level element in the component. Ask in #dubois before using. */
|
|
62
64
|
dangerouslyAppendEmotionCSS?: Interpolation<EmotionTheme>;
|
|
63
65
|
}
|
|
@@ -88,7 +90,7 @@ export interface PanelBodyProps {
|
|
|
88
90
|
export declare function Nav({ children, dangerouslyAppendEmotionCSS }: NavProps): JSX.Element;
|
|
89
91
|
export declare function NavButton({ active, disabled, icon, onClick, children, dangerouslyAppendEmotionCSS, }: NavButtonProps): JSX.Element;
|
|
90
92
|
export declare function Content({ disableResize, openPanelId, closable, onClose, onResizeStop, width, minWidth, maxWidth, destroyInactivePanels, children, dangerouslyAppendEmotionCSS, }: ContentProps): JSX.Element;
|
|
91
|
-
export declare function Panel({ panelId, children, dangerouslyAppendEmotionCSS, ...delegated }: PanelProps): JSX.Element | null;
|
|
93
|
+
export declare function Panel({ panelId, children, forceRender, dangerouslyAppendEmotionCSS, ...delegated }: PanelProps): JSX.Element | null;
|
|
92
94
|
export declare function PanelHeader({ children, dangerouslyAppendEmotionCSS }: PanelHeaderProps): JSX.Element;
|
|
93
95
|
export declare function PanelHeaderTitle({ title, dangerouslyAppendEmotionCSS }: PanelHeaderTitleProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
94
96
|
export declare function PanelHeaderButtons({ children, dangerouslyAppendEmotionCSS }: PanelHeaderButtonProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/design-system/Sidebar/Sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2EAA2E,CAAC;AAC5G,OAAO,KAA0E,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/design-system/Sidebar/Sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2EAA2E,CAAC;AAC5G,OAAO,KAA0E,MAAM,OAAO,CAAC;AAQ/F,MAAM,WAAW,YAAY;IAC3B,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAE5B,wCAAwC;IACxC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,qGAAqG;IACrG,2BAA2B,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;CAC3D;AAED,MAAM,WAAW,QAAQ;IACvB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,qGAAqG;IACrG,2BAA2B,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;CAC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gB,KAAK,CAAC,EACpB,OAAO,EACP,QAAQ,EACR,WAAmB,EACnB,2BAA2B,EAC3B,GAAG,SAAS,EACb,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI,CAwBjC;AAED,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,2BAA2B,EAAE,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,CA4CpG;AAED,wBAAgB,gBAAgB,CAAC,EAAE,KAAK,EAAE,2BAA2B,EAAE,EAAE,qBAAqB,oDAiB7F;AAED,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,2BAA2B,EAAE,EAAE,sBAAsB,oDAYnG;AAED,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,2BAA2B,EAAE,EAAE,cAAc,GAAG,GAAG,CAAC,OAAO,CAkBhG;AAED,eAAO,MAAM,OAAO;0DACoD,YAAY,GAAG,WAAW;;;;;;;;;CAwC9F,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sidebar.test.d.ts","sourceRoot":"","sources":["../../../src/design-system/Sidebar/Sidebar.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/design-system/TableUI/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAgD,MAAM,OAAO,CAAC;AAMrE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/design-system/TableUI/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,KAAK,EAAE,aAA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.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,KAAgC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ToggleButton.d.ts","sourceRoot":"","sources":["../../../src/design-system/ToggleButton/ToggleButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,KAAgC,MAAM,OAAO,CAAC;AA6DrD,eAAO,MAAM,YAAY,8FAoCxB,CAAC"}
|
package/dist/development.js
CHANGED
|
@@ -2,7 +2,7 @@ import { css } from '@emotion/react';
|
|
|
2
2
|
import * as RadixSlider from '@radix-ui/react-slider';
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
4
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
5
|
-
import { u as useDesignSystemTheme } from './useDesignSystemTheme-
|
|
5
|
+
import { u as useDesignSystemTheme } from './useDesignSystemTheme-1e16bcf5.js';
|
|
6
6
|
import 'chroma-js';
|
|
7
7
|
|
|
8
8
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
package/dist/index.js
CHANGED
|
@@ -3,8 +3,8 @@ import React__default, { createContext, useMemo, useEffect, useContext, useRef,
|
|
|
3
3
|
import AntDIcon from '@ant-design/icons';
|
|
4
4
|
import { ThemeProvider, css, keyframes, ClassNames } from '@emotion/react';
|
|
5
5
|
import { jsx, jsxs, Fragment } from '@emotion/react/jsx-runtime';
|
|
6
|
-
import { g as getTheme, a as getClassNamePrefix, b as getPrefixedClassNameFromTheme, u as useDesignSystemTheme, l as lightColorList } from './useDesignSystemTheme-
|
|
7
|
-
export { W as WithDesignSystemThemeHoc, u as useDesignSystemTheme } from './useDesignSystemTheme-
|
|
6
|
+
import { g as getTheme, a as getClassNamePrefix, b as getPrefixedClassNameFromTheme, u as useDesignSystemTheme, l as lightColorList } from './useDesignSystemTheme-1e16bcf5.js';
|
|
7
|
+
export { W as WithDesignSystemThemeHoc, u as useDesignSystemTheme } from './useDesignSystemTheme-1e16bcf5.js';
|
|
8
8
|
import { notification, ConfigProvider, Collapse, Alert as Alert$1, AutoComplete as AutoComplete$1, Breadcrumb as Breadcrumb$1, Button as Button$1, Checkbox as Checkbox$1, DatePicker, Input as Input$1, Tooltip as Tooltip$1, Typography as Typography$1, 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, Popover as Popover$2, Skeleton as Skeleton$1, Switch as Switch$1, Tabs as Tabs$1, Tree as Tree$1 } from 'antd';
|
|
9
9
|
import classnames from 'classnames';
|
|
10
10
|
import _isNil from 'lodash/isNil';
|
|
@@ -9919,6 +9919,7 @@ const getDialogComboboxOptionItemWrapperStyles = theme => {
|
|
|
9919
9919
|
padding: '6px 32px 6px 12px',
|
|
9920
9920
|
lineHeight: theme.typography.lineHeightBase,
|
|
9921
9921
|
height: theme.typography.lineHeightBase,
|
|
9922
|
+
boxSizing: 'content-box',
|
|
9922
9923
|
cursor: 'pointer',
|
|
9923
9924
|
userSelect: 'none',
|
|
9924
9925
|
'&:hover': {
|
|
@@ -10662,6 +10663,12 @@ const getTriggerStyles = (theme, maxWidth, removable) => {
|
|
|
10662
10663
|
'&:focus': {
|
|
10663
10664
|
borderColor: theme.colors.actionDefaultBorderFocus,
|
|
10664
10665
|
...removeButtonInteractionStyles
|
|
10666
|
+
},
|
|
10667
|
+
[`&[disabled]`]: {
|
|
10668
|
+
background: theme.colors.actionDisabledBackground,
|
|
10669
|
+
color: theme.colors.actionDisabledText,
|
|
10670
|
+
pointerEvents: 'none',
|
|
10671
|
+
userSelect: 'none'
|
|
10665
10672
|
}
|
|
10666
10673
|
}), process.env.NODE_ENV === "production" ? "" : ";label:getTriggerStyles;");
|
|
10667
10674
|
};
|
|
@@ -14607,10 +14614,15 @@ function NavButton(_ref2) {
|
|
|
14607
14614
|
theme
|
|
14608
14615
|
} = useDesignSystemTheme();
|
|
14609
14616
|
return jsx("div", {
|
|
14610
|
-
css: [active ? {
|
|
14611
|
-
|
|
14612
|
-
|
|
14613
|
-
|
|
14617
|
+
css: [active ? importantify({
|
|
14618
|
+
borderRadius: theme.borders.borderRadiusMd,
|
|
14619
|
+
background: theme.colors.actionDefaultBackgroundPress,
|
|
14620
|
+
button: {
|
|
14621
|
+
'&:enabled:not(:hover):not(:active) > .anticon': {
|
|
14622
|
+
color: theme.colors.actionTertiaryTextPress
|
|
14623
|
+
}
|
|
14624
|
+
}
|
|
14625
|
+
}) : undefined, dangerouslyAppendEmotionCSS, process.env.NODE_ENV === "production" ? "" : ";label:NavButton;"],
|
|
14614
14626
|
children: jsx(Button, {
|
|
14615
14627
|
icon: icon,
|
|
14616
14628
|
onClick: onClick,
|
|
@@ -14651,10 +14663,14 @@ function Content(_ref3) {
|
|
|
14651
14663
|
right: 0
|
|
14652
14664
|
};
|
|
14653
14665
|
const [dragging, setDragging] = useState(false);
|
|
14654
|
-
const
|
|
14666
|
+
const isPanelClosed = openPanelId == null;
|
|
14667
|
+
const [animation, setAnimation] = useState(isPanelClosed ? {
|
|
14655
14668
|
open: `${openAnimation} .2s cubic-bezier(0, 0, 0.2, 1)`,
|
|
14656
14669
|
show: `${showAnimation} .25s linear`
|
|
14657
14670
|
} : undefined);
|
|
14671
|
+
const hiddenPanelStyle = /*#__PURE__*/css(isPanelClosed && {
|
|
14672
|
+
display: 'none'
|
|
14673
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:hiddenPanelStyle;");
|
|
14658
14674
|
const containerStyle = /*#__PURE__*/css({
|
|
14659
14675
|
animation: animation === null || animation === void 0 ? void 0 : animation.open,
|
|
14660
14676
|
direction: sidebarContext.position === 'right' ? 'rtl' : 'ltr',
|
|
@@ -14662,12 +14678,13 @@ function Content(_ref3) {
|
|
|
14662
14678
|
position: 'relative',
|
|
14663
14679
|
borderWidth: sidebarContext.position === 'right' ? `0 ${theme.general.borderWidth}px 0 0 ` : `0 0 0 ${theme.general.borderWidth}px`,
|
|
14664
14680
|
borderStyle: 'inherit',
|
|
14665
|
-
borderColor: 'inherit'
|
|
14681
|
+
borderColor: 'inherit',
|
|
14682
|
+
boxSizing: 'content-box'
|
|
14666
14683
|
}, process.env.NODE_ENV === "production" ? "" : ";label:containerStyle;");
|
|
14667
14684
|
const highlightedBorderStyle = sidebarContext.position === 'right' ? /*#__PURE__*/css({
|
|
14668
|
-
borderLeft: `2px solid ${theme.colors.
|
|
14685
|
+
borderLeft: `2px solid ${theme.colors.actionDefaultBorderHover}`
|
|
14669
14686
|
}, process.env.NODE_ENV === "production" ? "" : ";label:highlightedBorderStyle;") : /*#__PURE__*/css({
|
|
14670
|
-
borderRight: `2px solid ${theme.colors.
|
|
14687
|
+
borderRight: `2px solid ${theme.colors.actionDefaultBorderHover}`
|
|
14671
14688
|
}, process.env.NODE_ENV === "production" ? "" : ";label:highlightedBorderStyle;");
|
|
14672
14689
|
useEffect(() => {
|
|
14673
14690
|
onCloseRef.current = onClose;
|
|
@@ -14689,11 +14706,12 @@ function Content(_ref3) {
|
|
|
14689
14706
|
}), [openPanelId, closable, openAnimation, showAnimation, animation, destroyInactivePanels]);
|
|
14690
14707
|
return jsx(ContentContext.Provider, {
|
|
14691
14708
|
value: value,
|
|
14692
|
-
children:
|
|
14709
|
+
children: disableResize ? jsx("div", {
|
|
14693
14710
|
css: [/*#__PURE__*/css(containerStyle, {
|
|
14694
14711
|
width: width || '100%',
|
|
14695
14712
|
height: '100%'
|
|
14696
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:Content;"), dangerouslyAppendEmotionCSS, process.env.NODE_ENV === "production" ? "" : ";label:Content;"],
|
|
14713
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:Content;"), dangerouslyAppendEmotionCSS, hiddenPanelStyle, process.env.NODE_ENV === "production" ? "" : ";label:Content;"],
|
|
14714
|
+
"aria-hidden": isPanelClosed,
|
|
14697
14715
|
children: jsx("div", {
|
|
14698
14716
|
css: /*#__PURE__*/css({
|
|
14699
14717
|
opacity: 1,
|
|
@@ -14729,7 +14747,8 @@ function Content(_ref3) {
|
|
|
14729
14747
|
...resizeHandleStyle
|
|
14730
14748
|
}, dragging && highlightedBorderStyle, process.env.NODE_ENV === "production" ? "" : ";label:Content;")
|
|
14731
14749
|
}),
|
|
14732
|
-
css: containerStyle,
|
|
14750
|
+
css: [containerStyle, hiddenPanelStyle, process.env.NODE_ENV === "production" ? "" : ";label:Content;"],
|
|
14751
|
+
"aria-hidden": isPanelClosed,
|
|
14733
14752
|
children: jsx("div", {
|
|
14734
14753
|
css: [{
|
|
14735
14754
|
opacity: 1,
|
|
@@ -14739,13 +14758,14 @@ function Content(_ref3) {
|
|
|
14739
14758
|
}, dangerouslyAppendEmotionCSS, process.env.NODE_ENV === "production" ? "" : ";label:Content;"],
|
|
14740
14759
|
children: children
|
|
14741
14760
|
})
|
|
14742
|
-
})
|
|
14761
|
+
})
|
|
14743
14762
|
});
|
|
14744
14763
|
}
|
|
14745
14764
|
function Panel(_ref5) {
|
|
14746
14765
|
let {
|
|
14747
14766
|
panelId,
|
|
14748
14767
|
children,
|
|
14768
|
+
forceRender = false,
|
|
14749
14769
|
dangerouslyAppendEmotionCSS,
|
|
14750
14770
|
...delegated
|
|
14751
14771
|
} = _ref5;
|
|
@@ -14753,8 +14773,12 @@ function Panel(_ref5) {
|
|
|
14753
14773
|
openPanelId,
|
|
14754
14774
|
destroyInactivePanels
|
|
14755
14775
|
} = useContext(ContentContext);
|
|
14776
|
+
const hasOpenedPanelRef = useRef(false);
|
|
14756
14777
|
const isPanelOpen = openPanelId === panelId;
|
|
14757
|
-
if (
|
|
14778
|
+
if (isPanelOpen && !hasOpenedPanelRef.current) {
|
|
14779
|
+
hasOpenedPanelRef.current = true;
|
|
14780
|
+
}
|
|
14781
|
+
if ((destroyInactivePanels || !hasOpenedPanelRef.current) && !isPanelOpen && !forceRender) return null;
|
|
14758
14782
|
return jsx("div", {
|
|
14759
14783
|
css: ["display:flex;height:100%;flex-direction:column;", dangerouslyAppendEmotionCSS, !isPanelOpen && {
|
|
14760
14784
|
display: 'none'
|
|
@@ -14804,6 +14828,7 @@ function PanelHeader(_ref6) {
|
|
|
14804
14828
|
children: jsx(Button, {
|
|
14805
14829
|
size: "small",
|
|
14806
14830
|
icon: jsx(CloseIcon, {}),
|
|
14831
|
+
"aria-label": "Close",
|
|
14807
14832
|
onClick: () => {
|
|
14808
14833
|
contentContext.setIsClosed();
|
|
14809
14834
|
}
|
|
@@ -14845,8 +14870,17 @@ function PanelBody(_ref10) {
|
|
|
14845
14870
|
children,
|
|
14846
14871
|
dangerouslyAppendEmotionCSS
|
|
14847
14872
|
} = _ref10;
|
|
14873
|
+
const {
|
|
14874
|
+
theme
|
|
14875
|
+
} = useDesignSystemTheme();
|
|
14848
14876
|
return jsx("div", {
|
|
14849
|
-
css: [
|
|
14877
|
+
css: [{
|
|
14878
|
+
height: '100%',
|
|
14879
|
+
overflowX: 'hidden',
|
|
14880
|
+
overflowY: 'auto',
|
|
14881
|
+
padding: '0 8px',
|
|
14882
|
+
colorScheme: theme.isDarkMode ? 'dark' : 'light'
|
|
14883
|
+
}, dangerouslyAppendEmotionCSS, process.env.NODE_ENV === "production" ? "" : ";label:PanelBody;"],
|
|
14850
14884
|
children: children
|
|
14851
14885
|
});
|
|
14852
14886
|
}
|
|
@@ -14875,7 +14909,8 @@ const Sidebar = /* #__PURE__ */(() => {
|
|
|
14875
14909
|
flexDirection: position === 'right' ? 'row-reverse' : 'row',
|
|
14876
14910
|
borderStyle: 'solid',
|
|
14877
14911
|
borderColor: theme.colors.borderDecorative,
|
|
14878
|
-
borderWidth: theme.general.borderWidth
|
|
14912
|
+
borderWidth: theme.general.borderWidth,
|
|
14913
|
+
boxSizing: 'content-box'
|
|
14879
14914
|
}, dangerouslyAppendEmotionCSS, process.env.NODE_ENV === "production" ? "" : ";label:Sidebar;"],
|
|
14880
14915
|
children: children
|
|
14881
14916
|
})
|
|
@@ -15363,11 +15398,11 @@ const tableStyles = {
|
|
|
15363
15398
|
}
|
|
15364
15399
|
}, process.env.NODE_ENV === "production" ? "" : ";label:table;"),
|
|
15365
15400
|
row: process.env.NODE_ENV === "production" ? {
|
|
15366
|
-
name: "
|
|
15367
|
-
styles: "display:flex;&.table-isHeader{> *{background-color:var(--table-header-background-color);}.table-isScrollable &{position:sticky;top:0;z-index:1;}}.table-row-select-cell input[type=\"checkbox\"] ~ *{opacity:var(--row-checkbox-opacity, 0);}&:hover{
|
|
15401
|
+
name: "1aw6lkf",
|
|
15402
|
+
styles: "display:flex;&.table-isHeader{> *{background-color:var(--table-header-background-color);}.table-isScrollable &{position:sticky;top:0;z-index:1;}}.table-row-select-cell input[type=\"checkbox\"] ~ *{opacity:var(--row-checkbox-opacity, 0);}&:hover{&:not(.table-isHeader){background-color:var(--table-row-hover);}.table-row-select-cell input[type=\"checkbox\"] ~ *{opacity:1;}}.table-row-select-cell input[type=\"checkbox\"]:focus ~ *{opacity:1;}> *{padding-top:var(--table-row-vertical-padding);padding-bottom:var(--table-row-vertical-padding);border-bottom:1px solid;border-color:var(--table-separator-color);}"
|
|
15368
15403
|
} : {
|
|
15369
|
-
name: "
|
|
15370
|
-
styles: "display:flex;&.table-isHeader{> *{background-color:var(--table-header-background-color);}.table-isScrollable &{position:sticky;top:0;z-index:1;}}.table-row-select-cell input[type=\"checkbox\"] ~ *{opacity:var(--row-checkbox-opacity, 0);}&:hover{
|
|
15404
|
+
name: "1vx4n96-row",
|
|
15405
|
+
styles: "display:flex;&.table-isHeader{> *{background-color:var(--table-header-background-color);}.table-isScrollable &{position:sticky;top:0;z-index:1;}}.table-row-select-cell input[type=\"checkbox\"] ~ *{opacity:var(--row-checkbox-opacity, 0);}&:hover{&:not(.table-isHeader){background-color:var(--table-row-hover);}.table-row-select-cell input[type=\"checkbox\"] ~ *{opacity:1;}}.table-row-select-cell input[type=\"checkbox\"]:focus ~ *{opacity:1;}> *{padding-top:var(--table-row-vertical-padding);padding-bottom:var(--table-row-vertical-padding);border-bottom:1px solid;border-color:var(--table-separator-color);};label:row;",
|
|
15371
15406
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
15372
15407
|
},
|
|
15373
15408
|
cell: process.env.NODE_ENV === "production" ? {
|
|
@@ -15379,11 +15414,11 @@ const tableStyles = {
|
|
|
15379
15414
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
15380
15415
|
},
|
|
15381
15416
|
header: process.env.NODE_ENV === "production" ? {
|
|
15382
|
-
name: "
|
|
15383
|
-
styles: "font-weight:bold;align-items:flex-end;display:flex;overflow:hidden;&[aria-sort]{cursor:pointer;user-select:none;}.table-header-text{color:var(--table-header-text-color);}.table-header-icon-container{color:var(--table-header-sort-icon-color);display:none;}
|
|
15417
|
+
name: "ik7qgz",
|
|
15418
|
+
styles: "font-weight:bold;align-items:flex-end;display:flex;overflow:hidden;&[aria-sort]{cursor:pointer;user-select:none;}.table-header-text{color:var(--table-header-text-color);}.table-header-icon-container{color:var(--table-header-sort-icon-color);display:none;}&[aria-sort]:hover{.table-header-icon-container, .table-header-text{color:var(--table-header-focus-color);}}&[aria-sort]:active{.table-header-icon-container, .table-header-text{color:var(--table-header-active-color);}}&:hover, &[aria-sort=\"ascending\"], &[aria-sort=\"descending\"]{.table-header-icon-container{display:inline;}}"
|
|
15384
15419
|
} : {
|
|
15385
|
-
name: "
|
|
15386
|
-
styles: "font-weight:bold;align-items:flex-end;display:flex;overflow:hidden;&[aria-sort]{cursor:pointer;user-select:none;}.table-header-text{color:var(--table-header-text-color);}.table-header-icon-container{color:var(--table-header-sort-icon-color);display:none;}
|
|
15420
|
+
name: "1xg6jn4-header",
|
|
15421
|
+
styles: "font-weight:bold;align-items:flex-end;display:flex;overflow:hidden;&[aria-sort]{cursor:pointer;user-select:none;}.table-header-text{color:var(--table-header-text-color);}.table-header-icon-container{color:var(--table-header-sort-icon-color);display:none;}&[aria-sort]:hover{.table-header-icon-container, .table-header-text{color:var(--table-header-focus-color);}}&[aria-sort]:active{.table-header-icon-container, .table-header-text{color:var(--table-header-active-color);}}&:hover, &[aria-sort=\"ascending\"], &[aria-sort=\"descending\"]{.table-header-icon-container{display:inline;}};label:header;",
|
|
15387
15422
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
15388
15423
|
},
|
|
15389
15424
|
headerButtonTarget: process.env.NODE_ENV === "production" ? {
|
|
@@ -15403,11 +15438,11 @@ const tableStyles = {
|
|
|
15403
15438
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
15404
15439
|
},
|
|
15405
15440
|
checkboxCell: process.env.NODE_ENV === "production" ? {
|
|
15406
|
-
name: "
|
|
15407
|
-
styles: "display:flex;align-items:center;flex:0;padding-left:var(--table-spacing-sm);padding-top:0;padding-bottom:0;min-width:var(--table-spacing-md);max-width:var(--table-spacing-md)"
|
|
15441
|
+
name: "4cdr0s",
|
|
15442
|
+
styles: "display:flex;align-items:center;flex:0;padding-left:var(--table-spacing-sm);padding-top:0;padding-bottom:0;min-width:var(--table-spacing-md);max-width:var(--table-spacing-md);box-sizing:content-box"
|
|
15408
15443
|
} : {
|
|
15409
|
-
name: "
|
|
15410
|
-
styles: "display:flex;align-items:center;flex:0;padding-left:var(--table-spacing-sm);padding-top:0;padding-bottom:0;min-width:var(--table-spacing-md);max-width:var(--table-spacing-md);label:checkboxCell;",
|
|
15444
|
+
name: "17au6u2-checkboxCell",
|
|
15445
|
+
styles: "display:flex;align-items:center;flex:0;padding-left:var(--table-spacing-sm);padding-top:0;padding-bottom:0;min-width:var(--table-spacing-md);max-width:var(--table-spacing-md);box-sizing:content-box;label:checkboxCell;",
|
|
15411
15446
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
15412
15447
|
},
|
|
15413
15448
|
resizeHandleContainer: /*#__PURE__*/css({
|
|
@@ -16329,16 +16364,37 @@ const getStyles = theme => {
|
|
|
16329
16364
|
cursor: 'pointer',
|
|
16330
16365
|
color: theme.colors.actionDefaultTextHover,
|
|
16331
16366
|
backgroundColor: theme.colors.actionDefaultBackgroundHover,
|
|
16332
|
-
borderColor: theme.colors.actionDefaultBorderHover
|
|
16367
|
+
borderColor: theme.colors.actionDefaultBorderHover,
|
|
16368
|
+
'& > svg': {
|
|
16369
|
+
stroke: theme.colors.actionDefaultBorderHover
|
|
16370
|
+
}
|
|
16333
16371
|
},
|
|
16334
16372
|
'&:disabled': {
|
|
16335
16373
|
cursor: 'default',
|
|
16336
16374
|
border: 'transparent',
|
|
16337
16375
|
color: theme.colors.actionDisabledText,
|
|
16338
|
-
backgroundColor: theme.colors.actionDisabledBackground
|
|
16376
|
+
backgroundColor: theme.colors.actionDisabledBackground,
|
|
16377
|
+
'& > svg': {
|
|
16378
|
+
stroke: theme.colors.border
|
|
16379
|
+
}
|
|
16339
16380
|
}
|
|
16340
16381
|
}, process.env.NODE_ENV === "production" ? "" : ";label:getStyles;");
|
|
16341
16382
|
};
|
|
16383
|
+
const RectangleSvg = props => jsx("svg", {
|
|
16384
|
+
width: "16",
|
|
16385
|
+
height: "16",
|
|
16386
|
+
viewBox: "0 0 16 16",
|
|
16387
|
+
fill: "none",
|
|
16388
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16389
|
+
...props,
|
|
16390
|
+
children: jsx("rect", {
|
|
16391
|
+
x: "0.5",
|
|
16392
|
+
y: "0.5",
|
|
16393
|
+
width: "15",
|
|
16394
|
+
height: "15",
|
|
16395
|
+
rx: "3.5"
|
|
16396
|
+
})
|
|
16397
|
+
});
|
|
16342
16398
|
const ToggleButton = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
16343
16399
|
let {
|
|
16344
16400
|
children,
|
|
@@ -16367,13 +16423,13 @@ const ToggleButton = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
16367
16423
|
css: /*#__PURE__*/css({
|
|
16368
16424
|
marginRight: theme.spacing.xs
|
|
16369
16425
|
}, process.env.NODE_ENV === "production" ? "" : ";label:ToggleButton;")
|
|
16370
|
-
}) : jsx(
|
|
16371
|
-
|
|
16372
|
-
style: {
|
|
16426
|
+
}) : jsx(RectangleSvg, {
|
|
16427
|
+
css: /*#__PURE__*/css({
|
|
16373
16428
|
height: theme.typography.lineHeightBase,
|
|
16374
16429
|
width: theme.typography.lineHeightSm,
|
|
16375
|
-
marginRight: theme.spacing.xs
|
|
16376
|
-
|
|
16430
|
+
marginRight: theme.spacing.xs,
|
|
16431
|
+
stroke: theme.colors.border
|
|
16432
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:ToggleButton;")
|
|
16377
16433
|
}), children]
|
|
16378
16434
|
});
|
|
16379
16435
|
});
|