@databricks/design-system 2.0.5 → 2.0.6
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/CHANGELOG.md +19 -0
- package/design-guidance/docs/README.md +40 -0
- package/design-guidance/docs/review-contract.md +22 -0
- package/design-guidance/docs/tokens.md +35 -0
- package/design-guidance/docs/voice.md +40 -0
- package/design-guidance/skills/dbui-build-screen.md +24 -0
- package/design-guidance/skills/dbui-check-ecosystem.md +21 -0
- package/design-guidance/skills/dbui-check-guidelines.md +29 -0
- package/design-guidance/skills/dbui-check-principles.md +26 -0
- package/design-guidance/skills/dbui-check-voice.md +17 -0
- package/design-guidance/skills/dbui-pick-component.md +23 -0
- package/design-guidance/skills/dbui-pick-icon.md +23 -0
- package/design-guidance/skills/dbui-review.md +30 -0
- package/design-guidance/skills/dbui-validate.md +23 -0
- package/dist/{RHFControlledTypeaheadComboboxV2-DsH-nIEk.js → RHFControlledTypeaheadComboboxV2-Ct9x3rC1.js} +5 -5
- package/dist/{RHFControlledTypeaheadComboboxV2-DsH-nIEk.js.map → RHFControlledTypeaheadComboboxV2-Ct9x3rC1.js.map} +1 -1
- package/dist/{WizardStepContentWrapper-Bq1wm0V7.js → WizardStepContentWrapper-6YTjeEaA.js} +477 -450
- package/dist/WizardStepContentWrapper-6YTjeEaA.js.map +1 -0
- package/dist/icon-metadata.json +2064 -0
- package/dist/{index-BRAVZg-S.js → index-DiRpSwH2.js} +239 -38
- package/dist/index-DiRpSwH2.js.map +1 -0
- package/dist/index-dark.css +458 -190
- package/dist/index-dark.mitigated.css +460 -192
- package/dist/index.css +1415 -1082
- package/dist/index.js +4 -4
- package/dist/index.mitigated.css +1417 -1084
- package/dist/patterns.js +3 -3
- package/dist-types/design-system/Drawer/Drawer.d.ts +3 -1
- package/dist-types/design-system/Icon/AntdIcon.d.ts +3 -0
- package/dist-types/design-system/Icon/Icon.d.ts +20 -6
- package/dist-types/design-system/Icon/NativeIcon.d.ts +3 -0
- package/dist-types/design-system/Icon/__generated/icons/LakewatchIcon.d.ts +4 -0
- package/dist-types/design-system/Icon/__generated/icons/index.d.ts +1 -0
- package/dist-types/design-system/Icon/index.d.ts +1 -0
- package/dist-types/design-system/Icon/utils.d.ts +1 -0
- package/dist-types/design-system/_shared_/Tabs/styles.d.ts +2 -3
- package/dist-types/~patterns/Wizard/WizardModal.d.ts +1 -1
- package/package.json +4 -2
- package/dist/WizardStepContentWrapper-Bq1wm0V7.js.map +0 -1
- package/dist/index-BRAVZg-S.js.map +0 -1
|
@@ -3,7 +3,7 @@ import isUndefined from 'lodash/isUndefined';
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default, { useRef, useEffect, useMemo, useCallback, useContext, createContext, useState, forwardRef, useLayoutEffect, useImperativeHandle, Children } from 'react';
|
|
5
5
|
import { useTheme, ThemeProvider, css, keyframes, ClassNames, Global, createElement } from '@emotion/react';
|
|
6
|
-
import { ConfigProvider, notification, Collapse, Button as Button$
|
|
6
|
+
import { ConfigProvider, notification, Collapse, Button as Button$1, Typography as Typography$1, Checkbox as Checkbox$1, Input as Input$2, Select as Select$1, Radio as Radio$1, Layout as Layout$1, Form as Form$1, Pagination as Pagination$1, Table, Tooltip as Tooltip$1, Dropdown, Tree as Tree$1 } from 'antd';
|
|
7
7
|
import classnames from 'classnames';
|
|
8
8
|
import { useMergeRefs } from '@floating-ui/react';
|
|
9
9
|
import uniqueId$1 from 'lodash/uniqueId';
|
|
@@ -16,6 +16,8 @@ import '@floating-ui/dom';
|
|
|
16
16
|
import { createPortal } from 'react-dom';
|
|
17
17
|
import '@radix-ui/react-hover-card';
|
|
18
18
|
import '@radix-ui/react-toast';
|
|
19
|
+
import '@radix-ui/react-slider';
|
|
20
|
+
import '@radix-ui/react-toolbar';
|
|
19
21
|
import '@react-aria/combobox';
|
|
20
22
|
import { useOption } from '@react-aria/listbox';
|
|
21
23
|
import '@react-aria/overlays';
|
|
@@ -42,23 +44,21 @@ import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
|
42
44
|
import * as RadixTooltip from '@radix-ui/react-tooltip-patch';
|
|
43
45
|
import { TooltipProvider } from '@radix-ui/react-tooltip-patch';
|
|
44
46
|
import kebabCase from 'lodash/kebabCase';
|
|
45
|
-
import
|
|
47
|
+
import AntdIconBase, { EllipsisOutlined } from '@ant-design/icons';
|
|
46
48
|
import random from 'lodash/random';
|
|
47
49
|
import times from 'lodash/times';
|
|
48
50
|
import { ContextMenuArrow, ContextMenuSub, ContextMenuGroup, ContextMenuTrigger, ContextMenuItemIndicator, ContextMenuCheckboxItem, ContextMenuPortal, ContextMenuContent, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuSeparator, ContextMenuRadioItem, ContextMenuRadioGroup, ContextMenuItem, ContextMenuLabel, ContextMenu as ContextMenu$2 } from '@radix-ui/react-context-menu';
|
|
49
|
-
import { DayPicker, useDayRender, Button as Button$
|
|
51
|
+
import { DayPicker, useDayRender, Button as Button$2 } from 'react-day-picker';
|
|
50
52
|
import { tabbable } from 'tabbable';
|
|
51
53
|
import { useCombobox, useMultipleSelection } from 'downshift';
|
|
52
54
|
import * as RadixNavigationMenu from '@radix-ui/react-navigation-menu';
|
|
53
55
|
import { RadioGroupItem, RadioGroup as RadioGroup$2 } from '@radix-ui/react-radio-group';
|
|
54
56
|
import * as Progress$1 from '@radix-ui/react-progress';
|
|
55
57
|
import { ResizableBox } from 'react-resizable';
|
|
56
|
-
import * as RadixSlider from '@radix-ui/react-slider';
|
|
57
58
|
import * as ScrollArea from '@radix-ui/react-scroll-area';
|
|
58
59
|
import * as RadixTabs from '@radix-ui/react-tabs';
|
|
59
60
|
import debounce from 'lodash/debounce';
|
|
60
61
|
import * as Toggle from '@radix-ui/react-toggle';
|
|
61
|
-
import * as RadixToolbar from '@radix-ui/react-toolbar';
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* Used to hide text visually, but still be readable by screen-readers
|
|
@@ -1860,6 +1860,20 @@ function semanticColorsToStyle(semanticColors) {
|
|
|
1860
1860
|
children: children
|
|
1861
1861
|
});
|
|
1862
1862
|
};
|
|
1863
|
+
// Entries of `overrides` that differ from `ambient` (added or changed) — what a scope contributes on
|
|
1864
|
+
// top of the tokens it already inherits. Empty when the scope changes nothing over ambient.
|
|
1865
|
+
function getChangedEntries(overrides, ambient) {
|
|
1866
|
+
const changed = {};
|
|
1867
|
+
if (overrides === undefined) return changed;
|
|
1868
|
+
// Object.keys widens to string[]; the cast restores the key union so the record indexing type-checks.
|
|
1869
|
+
for (const key of Object.keys(overrides)){
|
|
1870
|
+
const value = overrides[key];
|
|
1871
|
+
if (value !== undefined && value !== ambient?.[key]) {
|
|
1872
|
+
changed[key] = value;
|
|
1873
|
+
}
|
|
1874
|
+
}
|
|
1875
|
+
return changed;
|
|
1876
|
+
}
|
|
1863
1877
|
/**
|
|
1864
1878
|
* Applies design-token overrides to a component or page subtree, reaching BOTH in-tree components and
|
|
1865
1879
|
* portaled surfaces (Modal, Drawer, DropdownMenu, Popover, Notification, …). This is the primitive to
|
|
@@ -1902,6 +1916,32 @@ function semanticColorsToStyle(semanticColors) {
|
|
|
1902
1916
|
ambient.designTokenOverrides,
|
|
1903
1917
|
overrideTokens
|
|
1904
1918
|
]);
|
|
1919
|
+
// What THIS scope changes vs the ambient one. The cumulative maps above feed the context, so portaled
|
|
1920
|
+
// surfaces re-stamp the full palette on their detached roots; the scoped delta below is all the in-tree
|
|
1921
|
+
// DOM node needs to stamp, because descendants already inherit the ambient tokens by CSS.
|
|
1922
|
+
const scopedSemanticColors = useMemo(()=>{
|
|
1923
|
+
const changed = getChangedEntries(semanticColors, ambient.semanticColors);
|
|
1924
|
+
return Object.keys(changed).length > 0 ? changed : undefined;
|
|
1925
|
+
}, [
|
|
1926
|
+
semanticColors,
|
|
1927
|
+
ambient.semanticColors
|
|
1928
|
+
]);
|
|
1929
|
+
const scopedOverrideTokens = useMemo(()=>{
|
|
1930
|
+
const changed = getChangedEntries(overrideTokens, ambient.designTokenOverrides);
|
|
1931
|
+
return Object.keys(changed).length > 0 ? changed : undefined;
|
|
1932
|
+
}, [
|
|
1933
|
+
overrideTokens,
|
|
1934
|
+
ambient.designTokenOverrides
|
|
1935
|
+
]);
|
|
1936
|
+
// A scope that changes nothing over ambient is a no-op: descendants already inherit the ambient scope
|
|
1937
|
+
// in-tree and read the same cumulative context, so render them directly. The mode check compares the
|
|
1938
|
+
// ambient CONTEXT mode (what descendants inherit and portals re-stamp from), not the emotion theme — a
|
|
1939
|
+
// forced-mode ancestor can make the two diverge, and skipping must not leave that divergence unreset.
|
|
1940
|
+
if (scopedSemanticColors === undefined && scopedOverrideTokens === undefined && resolvedIsDarkMode === ambient.isDarkMode) {
|
|
1941
|
+
return /*#__PURE__*/ jsx(Fragment, {
|
|
1942
|
+
children: children
|
|
1943
|
+
});
|
|
1944
|
+
}
|
|
1905
1945
|
return(// DesignTokenScope IS the sanctioned wrapper that feeds token overrides into DesignSystemThemeContext
|
|
1906
1946
|
// for portaled surfaces, so it is one of the "special exceptions" the forbid rule allows.
|
|
1907
1947
|
// eslint-disable-next-line react/forbid-elements
|
|
@@ -1913,8 +1953,8 @@ function semanticColorsToStyle(semanticColors) {
|
|
|
1913
1953
|
designTokenOverrides: mergedOverrideTokens,
|
|
1914
1954
|
children: /*#__PURE__*/ jsx(DesignTokenScopeImpl, {
|
|
1915
1955
|
isDarkMode: resolvedIsDarkMode,
|
|
1916
|
-
semanticColors:
|
|
1917
|
-
overrideTokens:
|
|
1956
|
+
semanticColors: scopedSemanticColors,
|
|
1957
|
+
overrideTokens: scopedOverrideTokens,
|
|
1918
1958
|
children: children
|
|
1919
1959
|
})
|
|
1920
1960
|
}));
|
|
@@ -2152,14 +2192,14 @@ const getIconVariantStyles = (theme, color)=>{
|
|
|
2152
2192
|
} : {};
|
|
2153
2193
|
}
|
|
2154
2194
|
};
|
|
2155
|
-
// Module-level cache. The full css prop for
|
|
2195
|
+
// Module-level cache. The full css prop for AntdIconBase depends only on (theme, color) —
|
|
2156
2196
|
// at most ~5 distinct color values per theme — so we share one css object across every
|
|
2157
2197
|
// Icon instance. Same pattern as getShadowScrollStylesMemoized in css-utils.tsx.
|
|
2158
2198
|
const getMemoizedIconCss$1 = memoize((theme, color)=>({
|
|
2159
2199
|
fontSize: theme.general.iconFontSize,
|
|
2160
2200
|
...getIconVariantStyles(theme, color)
|
|
2161
2201
|
}), (theme, color)=>`${themeMemoKey(theme)}|${color ?? 'undef'}`);
|
|
2162
|
-
const
|
|
2202
|
+
const AntdIcon = /*#__PURE__*/ forwardRef(function AntdIcon(props, forwardedRef) {
|
|
2163
2203
|
const { component: Component, color, style, ...otherProps } = props;
|
|
2164
2204
|
const { theme } = useDesignSystemTheme();
|
|
2165
2205
|
const linearGradientId = useUniqueId('ai-linear-gradient');
|
|
@@ -2217,7 +2257,7 @@ const Icon = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
|
|
2217
2257
|
aiGradientEnd
|
|
2218
2258
|
]);
|
|
2219
2259
|
return /*#__PURE__*/ jsx(DesignSystemAntDConfigProvider, {
|
|
2220
|
-
children: /*#__PURE__*/ jsx(
|
|
2260
|
+
children: /*#__PURE__*/ jsx(AntdIconBase, {
|
|
2221
2261
|
...addDebugOutlineIfEnabled(),
|
|
2222
2262
|
ref: forwardedRef,
|
|
2223
2263
|
"aria-hidden": "true",
|
|
@@ -2231,6 +2271,129 @@ const Icon = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
|
|
2231
2271
|
});
|
|
2232
2272
|
});
|
|
2233
2273
|
|
|
2274
|
+
const getColorClassName = (color)=>{
|
|
2275
|
+
return color ? `db-icon-${color}` : undefined;
|
|
2276
|
+
};
|
|
2277
|
+
const NativeIcon = /*#__PURE__*/ forwardRef(function NativeIcon({ component: Component, className, color, style, spin, rotate, viewBox, tabIndex, onClick, children, ...spanProps }, ref) {
|
|
2278
|
+
const effectiveTabIndex = tabIndex ?? (onClick ? -1 : undefined);
|
|
2279
|
+
const linearGradientId = useUniqueId('ai-linear-gradient');
|
|
2280
|
+
const svgStyle = useMemo(()=>rotate || color === 'ai' ? {
|
|
2281
|
+
...rotate ? {
|
|
2282
|
+
rotate: `${rotate}deg`
|
|
2283
|
+
} : {},
|
|
2284
|
+
...color === 'ai' ? {
|
|
2285
|
+
'--db-icon-gradient': `url(#${linearGradientId})`
|
|
2286
|
+
} : {}
|
|
2287
|
+
} : undefined, [
|
|
2288
|
+
rotate,
|
|
2289
|
+
color,
|
|
2290
|
+
linearGradientId
|
|
2291
|
+
]);
|
|
2292
|
+
const svgProps = useMemo(()=>({
|
|
2293
|
+
width: '1em',
|
|
2294
|
+
height: '1em',
|
|
2295
|
+
fill: Component ? 'none' : 'currentColor',
|
|
2296
|
+
'aria-hidden': 'true',
|
|
2297
|
+
focusable: 'false',
|
|
2298
|
+
className: classnames({
|
|
2299
|
+
'db-icon-spin': spin
|
|
2300
|
+
}),
|
|
2301
|
+
style: svgStyle,
|
|
2302
|
+
...viewBox !== undefined ? {
|
|
2303
|
+
viewBox
|
|
2304
|
+
} : {}
|
|
2305
|
+
}), [
|
|
2306
|
+
Component,
|
|
2307
|
+
spin,
|
|
2308
|
+
svgStyle,
|
|
2309
|
+
viewBox
|
|
2310
|
+
]);
|
|
2311
|
+
// component takes precedence over children, matching antd's Icon.
|
|
2312
|
+
let glyph = null;
|
|
2313
|
+
if (Component) {
|
|
2314
|
+
glyph = /*#__PURE__*/ jsx(Component, {
|
|
2315
|
+
...svgProps,
|
|
2316
|
+
children: children
|
|
2317
|
+
});
|
|
2318
|
+
} else if (children) {
|
|
2319
|
+
glyph = /*#__PURE__*/ jsx("svg", {
|
|
2320
|
+
...svgProps,
|
|
2321
|
+
children: children
|
|
2322
|
+
});
|
|
2323
|
+
}
|
|
2324
|
+
return /*#__PURE__*/ jsxs("span", {
|
|
2325
|
+
...addDebugOutlineIfEnabled(),
|
|
2326
|
+
// TODO: only set role="img" when the icon is not aria-hidden and has an aria-label or
|
|
2327
|
+
// aria-labelledby. role="img" is for content images, not decorative icons, most of which
|
|
2328
|
+
// are aria-hidden and better represented as text in the DOM.
|
|
2329
|
+
role: "img",
|
|
2330
|
+
"aria-hidden": "true",
|
|
2331
|
+
...spanProps,
|
|
2332
|
+
ref: ref,
|
|
2333
|
+
tabIndex: effectiveTabIndex,
|
|
2334
|
+
onClick: onClick,
|
|
2335
|
+
className: classnames('db-icon', getColorClassName(color), className),
|
|
2336
|
+
style: style,
|
|
2337
|
+
children: [
|
|
2338
|
+
glyph,
|
|
2339
|
+
color === 'ai' && /*#__PURE__*/ jsx("svg", {
|
|
2340
|
+
className: "db-icon-gradient-definitions",
|
|
2341
|
+
width: "0",
|
|
2342
|
+
height: "0",
|
|
2343
|
+
viewBox: "0 0 0 0",
|
|
2344
|
+
"aria-hidden": "true",
|
|
2345
|
+
focusable: "false",
|
|
2346
|
+
children: /*#__PURE__*/ jsx("defs", {
|
|
2347
|
+
children: /*#__PURE__*/ jsxs("linearGradient", {
|
|
2348
|
+
id: linearGradientId,
|
|
2349
|
+
x1: "0%",
|
|
2350
|
+
y1: "0%",
|
|
2351
|
+
x2: "100%",
|
|
2352
|
+
y2: "100%",
|
|
2353
|
+
children: [
|
|
2354
|
+
/*#__PURE__*/ jsx("stop", {
|
|
2355
|
+
offset: "20.5%",
|
|
2356
|
+
className: "db-icon-ai-gradient-start"
|
|
2357
|
+
}),
|
|
2358
|
+
/*#__PURE__*/ jsx("stop", {
|
|
2359
|
+
offset: "46.91%",
|
|
2360
|
+
className: "db-icon-ai-gradient-mid"
|
|
2361
|
+
}),
|
|
2362
|
+
/*#__PURE__*/ jsx("stop", {
|
|
2363
|
+
offset: "79.5%",
|
|
2364
|
+
className: "db-icon-ai-gradient-end"
|
|
2365
|
+
})
|
|
2366
|
+
]
|
|
2367
|
+
})
|
|
2368
|
+
})
|
|
2369
|
+
})
|
|
2370
|
+
]
|
|
2371
|
+
});
|
|
2372
|
+
});
|
|
2373
|
+
|
|
2374
|
+
// Selector matching the design-system icon wrappers, `.anticon` and `.db-icon`. Authored icon styles
|
|
2375
|
+
// should use this instead of hardcoding either class.
|
|
2376
|
+
function getIconClassName() {
|
|
2377
|
+
return '.anticon, .db-icon';
|
|
2378
|
+
}
|
|
2379
|
+
|
|
2380
|
+
// Public Icon selects between the native (plain-DOM, token-driven) implementation and the legacy
|
|
2381
|
+
// AntD-backed implementation on the `databricks.fe.designsystem.useNativeIcon` server-side flag,
|
|
2382
|
+
// default off. serverSideSafe resolves synchronously at render, so the choice is stable from first paint.
|
|
2383
|
+
const Icon = /*#__PURE__*/ forwardRef(function Icon({ forceNativeIcon, ...props }, ref) {
|
|
2384
|
+
const useNativeIcon = forceNativeIcon ?? serverSideSafe('databricks.fe.designsystem.useNativeIcon', false);
|
|
2385
|
+
if (useNativeIcon) {
|
|
2386
|
+
return /*#__PURE__*/ jsx(NativeIcon, {
|
|
2387
|
+
...props,
|
|
2388
|
+
ref: ref
|
|
2389
|
+
});
|
|
2390
|
+
}
|
|
2391
|
+
return /*#__PURE__*/ jsx(AntdIcon, {
|
|
2392
|
+
...props,
|
|
2393
|
+
ref: ref
|
|
2394
|
+
});
|
|
2395
|
+
});
|
|
2396
|
+
|
|
2234
2397
|
function SvgAzHorizontalIcon(props) {
|
|
2235
2398
|
return /*#__PURE__*/ jsx("svg", {
|
|
2236
2399
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -9122,6 +9285,37 @@ const LakewatchDetectionRuleIcon = /*#__PURE__*/ forwardRef((props, forwardedRef
|
|
|
9122
9285
|
});
|
|
9123
9286
|
LakewatchDetectionRuleIcon.displayName = "LakewatchDetectionRuleIcon";
|
|
9124
9287
|
|
|
9288
|
+
function SvgLakewatchIcon(props) {
|
|
9289
|
+
return /*#__PURE__*/ jsxs("svg", {
|
|
9290
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9291
|
+
width: "1em",
|
|
9292
|
+
height: "1em",
|
|
9293
|
+
fill: "none",
|
|
9294
|
+
viewBox: "0 0 16 16",
|
|
9295
|
+
...props,
|
|
9296
|
+
children: [
|
|
9297
|
+
/*#__PURE__*/ jsx("path", {
|
|
9298
|
+
fill: "currentColor",
|
|
9299
|
+
d: "M10.726 5.704c.326.712.51 1.504.51 2.338l-.009.289a5.6 5.6 0 0 1-.5 2.045l-1.182-.8a4.2 4.2 0 0 0-.001-3.072z"
|
|
9300
|
+
}),
|
|
9301
|
+
/*#__PURE__*/ jsx("path", {
|
|
9302
|
+
fill: "currentColor",
|
|
9303
|
+
fillRule: "evenodd",
|
|
9304
|
+
d: "M14.393.337c.679-.46 1.607.015 1.607.822v13.765l-.01.147c-.105.715-.96 1.105-1.597.675l-5.108-3.454a5.6 5.6 0 0 1-3.668 1.368l-.289-.008a5.619 5.619 0 0 1 .29-11.228c1.4 0 2.678.514 3.661 1.362zm-6.82 6.29a1.7 1.7 0 0 0-.002 2.817l7.029 4.752V1.886zM5.616 3.825a4.217 4.217 0 1 0 0 8.435c.915 0 1.76-.295 2.451-.79l-1.28-.867C5.024 9.412 4.97 6.86 6.623 5.585l.166-.12 1.273-.859a4.2 4.2 0 0 0-2.446-.781",
|
|
9305
|
+
clipRule: "evenodd"
|
|
9306
|
+
})
|
|
9307
|
+
]
|
|
9308
|
+
});
|
|
9309
|
+
}
|
|
9310
|
+
const LakewatchIcon = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
|
9311
|
+
return /*#__PURE__*/ jsx(Icon, {
|
|
9312
|
+
ref: forwardedRef,
|
|
9313
|
+
...props,
|
|
9314
|
+
component: SvgLakewatchIcon
|
|
9315
|
+
});
|
|
9316
|
+
});
|
|
9317
|
+
LakewatchIcon.displayName = "LakewatchIcon";
|
|
9318
|
+
|
|
9125
9319
|
function SvgLakewatchParserIcon(props) {
|
|
9126
9320
|
return /*#__PURE__*/ jsxs("svg", {
|
|
9127
9321
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -17343,6 +17537,7 @@ var ShapeTokens = /*#__PURE__*/ function(ShapeTokens) {
|
|
|
17343
17537
|
const token = (token, fallback)=>`var(${token}, ${typeof fallback === 'number' ? `${fallback}px` : fallback})`;
|
|
17344
17538
|
|
|
17345
17539
|
const SMALL_BUTTON_HEIGHT$2 = 24;
|
|
17540
|
+
const ICON_SELECTOR$1 = `:is(${getIconClassName()})`;
|
|
17346
17541
|
// Hoisted to module level so the default reference is stable across renders and instances.
|
|
17347
17542
|
// Without this, the default `analyticsEvents = [...]` literal would be a fresh array on every
|
|
17348
17543
|
// render, propagating ref-instability into useDesignSystemEventComponentCallbacks.
|
|
@@ -17356,7 +17551,7 @@ const getMemoizedLoadingSpinnerCss = memoize((iconOnly, forceIconStyles)=>({
|
|
|
17356
17551
|
color: 'inherit !important',
|
|
17357
17552
|
pointerEvents: 'none',
|
|
17358
17553
|
...!iconOnly && !forceIconStyles && {
|
|
17359
|
-
|
|
17554
|
+
[getIconClassName()]: {
|
|
17360
17555
|
verticalAlign: '-0.2em'
|
|
17361
17556
|
}
|
|
17362
17557
|
},
|
|
@@ -17386,7 +17581,6 @@ function getEndIconClsName(theme) {
|
|
|
17386
17581
|
return `${theme.general.iconfontCssPrefix}-btn-end-icon`;
|
|
17387
17582
|
}
|
|
17388
17583
|
const getButtonEmotionStyles = ({ theme, classNamePrefix, loading, withIcon, onlyIcon, isAnchor, enableAnimation, size, type, useFocusPseudoClass, forceIconStyles, danger })=>{
|
|
17389
|
-
const clsIcon = `.${theme.general.iconfontCssPrefix}`;
|
|
17390
17584
|
const clsEndIcon = `.${getEndIconClsName(theme)}`;
|
|
17391
17585
|
const clsLoadingIcon = `.${classNamePrefix}-btn-loading-icon`;
|
|
17392
17586
|
const clsIconOnly = `.${classNamePrefix}-btn-icon-only`;
|
|
@@ -17420,7 +17614,7 @@ const getButtonEmotionStyles = ({ theme, classNamePrefix, loading, withIcon, onl
|
|
|
17420
17614
|
const inactiveIconCss = {
|
|
17421
17615
|
color: theme.colors.textSecondary
|
|
17422
17616
|
};
|
|
17423
|
-
const endIconCssSelector = `span > ${clsEndIcon} > ${
|
|
17617
|
+
const endIconCssSelector = `span > ${clsEndIcon} > ${ICON_SELECTOR$1}`;
|
|
17424
17618
|
const styles = {
|
|
17425
17619
|
lineHeight: theme.typography.lineHeightBase,
|
|
17426
17620
|
boxShadow: 'none',
|
|
@@ -17504,7 +17698,7 @@ const getButtonEmotionStyles = ({ theme, classNamePrefix, loading, withIcon, onl
|
|
|
17504
17698
|
}
|
|
17505
17699
|
}
|
|
17506
17700
|
},
|
|
17507
|
-
[`&[disabled] > ${
|
|
17701
|
+
[`&[disabled] > ${ICON_SELECTOR$1}`]: {
|
|
17508
17702
|
color: 'inherit !important'
|
|
17509
17703
|
},
|
|
17510
17704
|
[clsLoadingIcon]: {
|
|
@@ -17530,7 +17724,7 @@ const getButtonEmotionStyles = ({ theme, classNamePrefix, loading, withIcon, onl
|
|
|
17530
17724
|
animationDuration: '1s !important'
|
|
17531
17725
|
}
|
|
17532
17726
|
},
|
|
17533
|
-
[`& > ${clsLoadingIcon}
|
|
17727
|
+
[`& > ${clsLoadingIcon} ${ICON_SELECTOR$1}`]: {
|
|
17534
17728
|
paddingRight: 0
|
|
17535
17729
|
},
|
|
17536
17730
|
[`> :not(${clsLoadingIcon})`]: {
|
|
@@ -17544,17 +17738,17 @@ const getButtonEmotionStyles = ({ theme, classNamePrefix, loading, withIcon, onl
|
|
|
17544
17738
|
}
|
|
17545
17739
|
},
|
|
17546
17740
|
// Icon styles
|
|
17547
|
-
[`> ${
|
|
17741
|
+
[`> ${ICON_SELECTOR$1} + span, > span + ${ICON_SELECTOR$1}`]: {
|
|
17548
17742
|
marginRight: 0,
|
|
17549
17743
|
marginLeft: theme.spacing.xs
|
|
17550
17744
|
},
|
|
17551
|
-
[`> ${
|
|
17745
|
+
[`> ${ICON_SELECTOR$1}`]: iconCss,
|
|
17552
17746
|
[`> ${endIconCssSelector}`]: {
|
|
17553
17747
|
...iconCss,
|
|
17554
17748
|
marginLeft: size === 'small' ? theme.spacing.xs : theme.spacing.sm
|
|
17555
17749
|
},
|
|
17556
17750
|
...!type && !danger && {
|
|
17557
|
-
[`&:enabled:not(:hover):not(:active) > ${
|
|
17751
|
+
[`&:enabled:not(:hover):not(:active) > ${ICON_SELECTOR$1}`]: inactiveIconCss
|
|
17558
17752
|
},
|
|
17559
17753
|
...!type && !danger && {
|
|
17560
17754
|
[`&:enabled:not(:hover):not(:active) > ${endIconCssSelector}, &[href]:not(:disabled):not(:hover):not(:active) > ${endIconCssSelector}`]: inactiveIconCss
|
|
@@ -17579,13 +17773,13 @@ const getButtonEmotionStyles = ({ theme, classNamePrefix, loading, withIcon, onl
|
|
|
17579
17773
|
color: theme.colors.actionDangerDefaultTextPress
|
|
17580
17774
|
}
|
|
17581
17775
|
},
|
|
17582
|
-
|
|
17776
|
+
[`&:hover > ${ICON_SELECTOR$1}`]: {
|
|
17583
17777
|
color: tertiaryColors['&:hover'].color,
|
|
17584
17778
|
...danger && {
|
|
17585
17779
|
color: theme.colors.actionDangerDefaultTextHover
|
|
17586
17780
|
}
|
|
17587
17781
|
},
|
|
17588
|
-
|
|
17782
|
+
[`&:active > ${ICON_SELECTOR$1}`]: {
|
|
17589
17783
|
color: tertiaryColors['&:active'].color,
|
|
17590
17784
|
...danger && {
|
|
17591
17785
|
color: theme.colors.actionDangerDefaultTextPress
|
|
@@ -17597,7 +17791,7 @@ const getButtonEmotionStyles = ({ theme, classNamePrefix, loading, withIcon, onl
|
|
|
17597
17791
|
}
|
|
17598
17792
|
}
|
|
17599
17793
|
},
|
|
17600
|
-
[`&:enabled:not(${classLink}) >
|
|
17794
|
+
[`&:enabled:not(${classLink}) > ${ICON_SELECTOR$1}`]: {
|
|
17601
17795
|
color: theme.colors.textSecondary,
|
|
17602
17796
|
...danger && {
|
|
17603
17797
|
color: theme.colors.actionDangerDefaultTextDefault
|
|
@@ -17652,7 +17846,7 @@ const getButtonEmotionStyles = ({ theme, classNamePrefix, loading, withIcon, onl
|
|
|
17652
17846
|
height: theme.general.heightSm / 2,
|
|
17653
17847
|
width: theme.general.heightSm / 2
|
|
17654
17848
|
},
|
|
17655
|
-
[`& > ${clsLoadingIcon}
|
|
17849
|
+
[`& > ${clsLoadingIcon} ${ICON_SELECTOR$1}`]: {
|
|
17656
17850
|
// left: `calc(50% - 6px)!important`,
|
|
17657
17851
|
height: theme.general.heightSm / 2,
|
|
17658
17852
|
width: theme.general.heightSm / 2,
|
|
@@ -17740,7 +17934,7 @@ const AntDButtonInternal = /* #__PURE__ */ (()=>{
|
|
|
17740
17934
|
css: getMemoizedLoadingSpinnerCss(iconOnly, Boolean(dangerouslySetForceIconStyles))
|
|
17741
17935
|
}) : null;
|
|
17742
17936
|
return /*#__PURE__*/ jsx(DesignSystemAntDConfigProvider, {
|
|
17743
|
-
children: /*#__PURE__*/ jsx(Button$
|
|
17937
|
+
children: /*#__PURE__*/ jsx(Button$1, {
|
|
17744
17938
|
...addDebugOutlineIfEnabled(),
|
|
17745
17939
|
...props,
|
|
17746
17940
|
css: getMemoizedButtonEmotionStyles({
|
|
@@ -17880,7 +18074,7 @@ const NativeButton = /*#__PURE__*/ forwardRef(function NativeButton({ type, size
|
|
|
17880
18074
|
'db-btn-icon-only': iconOnly,
|
|
17881
18075
|
'db-btn-empty': isEmpty,
|
|
17882
18076
|
'db-btn-force-icon': forceIconStyles,
|
|
17883
|
-
'db-btn-
|
|
18077
|
+
'db-btn-block': Boolean(block),
|
|
17884
18078
|
'db-btn-loading': loading,
|
|
17885
18079
|
// While loading with a leading icon, reserve the icon's width so the button doesn't shrink.
|
|
17886
18080
|
'db-btn-loading-with-icon': loading && Boolean(icon),
|
|
@@ -17901,7 +18095,7 @@ const NativeButton = /*#__PURE__*/ forwardRef(function NativeButton({ type, size
|
|
|
17901
18095
|
// `.anticon` base rule.
|
|
17902
18096
|
const leading = loading ? /*#__PURE__*/ jsx(Spinner, {
|
|
17903
18097
|
className: "db-btn-spinner",
|
|
17904
|
-
animationDuration:
|
|
18098
|
+
animationDuration: 1,
|
|
17905
18099
|
inheritColor: true,
|
|
17906
18100
|
label: "loading",
|
|
17907
18101
|
"aria-label": "loading",
|
|
@@ -17968,7 +18162,7 @@ const NativeButton = /*#__PURE__*/ forwardRef(function NativeButton({ type, size
|
|
|
17968
18162
|
// Public Button selects between the native (plain-DOM, token-driven) implementation and the legacy
|
|
17969
18163
|
// implementation on the `databricks.fe.designsystem.useNativeButton` server-side flag, default off.
|
|
17970
18164
|
// serverSideSafe resolves synchronously at render, so the choice is stable from first paint.
|
|
17971
|
-
const Button
|
|
18165
|
+
const Button = /* #__PURE__ */ (()=>{
|
|
17972
18166
|
const Button = /*#__PURE__*/ forwardRef(function Button({ useNativeButtonOverride, ...props }, ref) {
|
|
17973
18167
|
const useNativeButton = useNativeButtonOverride ?? serverSideSafe('databricks.fe.designsystem.useNativeButton', false);
|
|
17974
18168
|
if (useNativeButton) {
|
|
@@ -18108,18 +18302,18 @@ const getLinkStyles = (theme, clsPrefix)=>{
|
|
|
18108
18302
|
[`&${classTypography}, &${classTypography}:focus`]: {
|
|
18109
18303
|
color: theme.colors.actionTertiaryTextDefault
|
|
18110
18304
|
},
|
|
18111
|
-
[`&${classTypography}:hover, &${classTypography}:hover
|
|
18305
|
+
[`&${classTypography}:hover, &${classTypography}:hover :is(${getIconClassName()})`]: {
|
|
18112
18306
|
color: theme.colors.actionTertiaryTextHover,
|
|
18113
18307
|
textDecoration: 'underline'
|
|
18114
18308
|
},
|
|
18115
|
-
[`&${classTypography}:active, &${classTypography}:active
|
|
18309
|
+
[`&${classTypography}:active, &${classTypography}:active :is(${getIconClassName()})`]: {
|
|
18116
18310
|
color: theme.colors.actionTertiaryTextPress,
|
|
18117
18311
|
textDecoration: 'underline'
|
|
18118
18312
|
},
|
|
18119
18313
|
[`&${classTypography}:focus-visible`]: {
|
|
18120
18314
|
textDecoration: 'underline'
|
|
18121
18315
|
},
|
|
18122
|
-
|
|
18316
|
+
[getIconClassName()]: {
|
|
18123
18317
|
fontSize: 12,
|
|
18124
18318
|
verticalAlign: 'baseline'
|
|
18125
18319
|
},
|
|
@@ -18128,19 +18322,19 @@ const getLinkStyles = (theme, clsPrefix)=>{
|
|
|
18128
18322
|
[`.${clsPrefix}-tooltip-inner a&${classTypography}`]: {
|
|
18129
18323
|
[`&, :focus`]: {
|
|
18130
18324
|
color: theme.colors.blue500,
|
|
18131
|
-
|
|
18325
|
+
[getIconClassName()]: {
|
|
18132
18326
|
color: theme.colors.blue500
|
|
18133
18327
|
}
|
|
18134
18328
|
},
|
|
18135
18329
|
':active': {
|
|
18136
18330
|
color: theme.colors.blue500,
|
|
18137
|
-
|
|
18331
|
+
[getIconClassName()]: {
|
|
18138
18332
|
color: theme.colors.blue500
|
|
18139
18333
|
}
|
|
18140
18334
|
},
|
|
18141
18335
|
':hover': {
|
|
18142
18336
|
color: theme.colors.blue400,
|
|
18143
|
-
|
|
18337
|
+
[getIconClassName()]: {
|
|
18144
18338
|
color: theme.colors.blue400
|
|
18145
18339
|
}
|
|
18146
18340
|
}
|
|
@@ -18176,7 +18370,7 @@ const getEllipsisIconStyles = (useNewIcons)=>{
|
|
|
18176
18370
|
};
|
|
18177
18371
|
return /*#__PURE__*/ css(styles);
|
|
18178
18372
|
};
|
|
18179
|
-
const Link
|
|
18373
|
+
const Link = /*#__PURE__*/ forwardRef(function Link({ dangerouslySetAntdProps, componentId, analyticsEvents, onClick, ...props }, ref) {
|
|
18180
18374
|
const { children, openInNewTab, dangerouslyHideNewTabIcon, ellipsis, ...restProps } = props;
|
|
18181
18375
|
const { theme, classNamePrefix } = useDesignSystemTheme();
|
|
18182
18376
|
const memoizedAnalyticsEvents = useMemo(()=>analyticsEvents ?? [
|
|
@@ -18258,7 +18452,7 @@ function getParagraphEmotionStyles(theme, clsPrefix, props) {
|
|
|
18258
18452
|
lineHeight: theme.typography.lineHeightBase,
|
|
18259
18453
|
color: getTypographyColor(theme, props.color, theme.colors.textPrimary)
|
|
18260
18454
|
},
|
|
18261
|
-
|
|
18455
|
+
[`& :is(${getIconClassName()})`]: {
|
|
18262
18456
|
verticalAlign: 'text-bottom'
|
|
18263
18457
|
},
|
|
18264
18458
|
[`${getBtnClassName(clsPrefix, '-link', '& ')}, ${getBtnClassName(clsPrefix, '-tertiary', '& ')}`]: {
|
|
@@ -18339,7 +18533,7 @@ function getTextEmotionStyles(theme, props) {
|
|
|
18339
18533
|
return {
|
|
18340
18534
|
fontSize: theme.typography.fontSizeXxl,
|
|
18341
18535
|
lineHeight: theme.typography.lineHeightXxl,
|
|
18342
|
-
|
|
18536
|
+
[`& :is(${getIconClassName()})`]: {
|
|
18343
18537
|
lineHeight: theme.typography.lineHeightXxl,
|
|
18344
18538
|
verticalAlign: 'middle'
|
|
18345
18539
|
}
|
|
@@ -18348,7 +18542,7 @@ function getTextEmotionStyles(theme, props) {
|
|
|
18348
18542
|
return {
|
|
18349
18543
|
fontSize: theme.typography.fontSizeXl,
|
|
18350
18544
|
lineHeight: theme.typography.lineHeightXl,
|
|
18351
|
-
|
|
18545
|
+
[`& :is(${getIconClassName()})`]: {
|
|
18352
18546
|
lineHeight: theme.typography.lineHeightXl,
|
|
18353
18547
|
verticalAlign: 'middle'
|
|
18354
18548
|
}
|
|
@@ -18357,7 +18551,7 @@ function getTextEmotionStyles(theme, props) {
|
|
|
18357
18551
|
return {
|
|
18358
18552
|
fontSize: theme.typography.fontSizeLg,
|
|
18359
18553
|
lineHeight: theme.typography.lineHeightLg,
|
|
18360
|
-
|
|
18554
|
+
[`& :is(${getIconClassName()})`]: {
|
|
18361
18555
|
lineHeight: theme.typography.lineHeightLg,
|
|
18362
18556
|
verticalAlign: 'middle'
|
|
18363
18557
|
}
|
|
@@ -18366,7 +18560,7 @@ function getTextEmotionStyles(theme, props) {
|
|
|
18366
18560
|
return {
|
|
18367
18561
|
fontSize: theme.typography.fontSizeSm,
|
|
18368
18562
|
lineHeight: theme.typography.lineHeightSm,
|
|
18369
|
-
|
|
18563
|
+
[`& :is(${getIconClassName()})`]: {
|
|
18370
18564
|
verticalAlign: '-0.219em'
|
|
18371
18565
|
}
|
|
18372
18566
|
};
|
|
@@ -18482,7 +18676,7 @@ function getLevelStyles(theme, props) {
|
|
|
18482
18676
|
lineHeight: theme.typography[tokens.lineHeight],
|
|
18483
18677
|
fontWeight: theme.typography.typographyBoldFontWeight
|
|
18484
18678
|
},
|
|
18485
|
-
|
|
18679
|
+
[`& > :is(${getIconClassName()})`]: {
|
|
18486
18680
|
lineHeight: theme.typography[tokens.lineHeight]
|
|
18487
18681
|
}
|
|
18488
18682
|
});
|
|
@@ -18492,7 +18686,7 @@ function getTitleEmotionStyles(theme, props) {
|
|
|
18492
18686
|
'&&': {
|
|
18493
18687
|
color: getTypographyColor(theme, props.color, theme.colors.textPrimary)
|
|
18494
18688
|
},
|
|
18495
|
-
|
|
18689
|
+
[`& > :is(${getIconClassName()})`]: {
|
|
18496
18690
|
verticalAlign: 'middle'
|
|
18497
18691
|
}
|
|
18498
18692
|
}, props.withoutMargins && {
|
|
@@ -18568,7 +18762,7 @@ const Typography = /* #__PURE__ */ (()=>{
|
|
|
18568
18762
|
Typography.Text = Text$1;
|
|
18569
18763
|
Typography.Title = Title$1;
|
|
18570
18764
|
Typography.Paragraph = Paragraph$2;
|
|
18571
|
-
Typography.Link = Link
|
|
18765
|
+
Typography.Link = Link;
|
|
18572
18766
|
Typography.Hint = Hint$2;
|
|
18573
18767
|
Typography.Truncate = Truncate;
|
|
18574
18768
|
Typography.TextMiddleElide = TextMiddleElide;
|
|
@@ -18753,7 +18947,7 @@ function DefaultFooter({ componentId, onOk, onCancel, confirmLoading, okText, ca
|
|
|
18753
18947
|
const handleOk = (e)=>onOk?.(e);
|
|
18754
18948
|
return /*#__PURE__*/ jsxs(Fragment, {
|
|
18755
18949
|
children: [
|
|
18756
|
-
cancelText && /*#__PURE__*/ jsx(Button
|
|
18950
|
+
cancelText && /*#__PURE__*/ jsx(Button, {
|
|
18757
18951
|
componentId: componentId ? `${componentId}.footer.cancel` : 'modal.close',
|
|
18758
18952
|
onClick: handleCancel,
|
|
18759
18953
|
autoFocus: autoFocusButton === 'cancel',
|
|
@@ -18762,7 +18956,7 @@ function DefaultFooter({ componentId, onOk, onCancel, confirmLoading, okText, ca
|
|
|
18762
18956
|
...cancelButtonProps,
|
|
18763
18957
|
children: cancelText
|
|
18764
18958
|
}),
|
|
18765
|
-
okText && /*#__PURE__*/ jsx(Button
|
|
18959
|
+
okText && /*#__PURE__*/ jsx(Button, {
|
|
18766
18960
|
componentId: componentId ? `${componentId}.footer.ok` : 'modal.ok',
|
|
18767
18961
|
loading: confirmLoading,
|
|
18768
18962
|
onClick: handleOk,
|
|
@@ -19080,7 +19274,7 @@ function ModalInternal({ componentId, analyticsEvents = [
|
|
|
19080
19274
|
}),
|
|
19081
19275
|
dangerouslySetAntdProps?.closable === undefined || dangerouslySetAntdProps?.closable ? /*#__PURE__*/ jsx(DialogPrimitive.Close, {
|
|
19082
19276
|
asChild: true,
|
|
19083
|
-
children: /*#__PURE__*/ jsx(Button
|
|
19277
|
+
children: /*#__PURE__*/ jsx(Button, {
|
|
19084
19278
|
icon: dangerouslySetAntdProps?.closeIcon ?? /*#__PURE__*/ jsx(CloseIcon, {
|
|
19085
19279
|
ref: elementRef
|
|
19086
19280
|
}),
|
|
@@ -19180,14 +19374,14 @@ function DangerModal(props) {
|
|
|
19180
19374
|
shouldStartInteraction: props.shouldStartInteraction,
|
|
19181
19375
|
title: titleComp,
|
|
19182
19376
|
footer: [
|
|
19183
|
-
/*#__PURE__*/ jsx(Button
|
|
19377
|
+
/*#__PURE__*/ jsx(Button, {
|
|
19184
19378
|
componentId: props.componentId ? `${props.componentId}.danger.footer.cancel` : 'modal.danger.cancel',
|
|
19185
19379
|
onClick: onCancel,
|
|
19186
19380
|
shouldStartInteraction: props.shouldStartInteraction,
|
|
19187
19381
|
...cancelButtonProps,
|
|
19188
19382
|
children: cancelText || 'Cancel'
|
|
19189
19383
|
}, "cancel"),
|
|
19190
|
-
/*#__PURE__*/ jsx(Button
|
|
19384
|
+
/*#__PURE__*/ jsx(Button, {
|
|
19191
19385
|
componentId: props.componentId ? `${props.componentId}.danger.footer.ok` : 'modal.danger.ok',
|
|
19192
19386
|
type: "primary",
|
|
19193
19387
|
danger: true,
|
|
@@ -19214,7 +19408,7 @@ const Anchor = Popover$1.Anchor; // Behavioral component only
|
|
|
19214
19408
|
const DEFAULT_ANALYTICS_EVENTS$5 = [
|
|
19215
19409
|
DesignSystemEventProviderAnalyticsEventTypes.OnView
|
|
19216
19410
|
];
|
|
19217
|
-
const Root$
|
|
19411
|
+
const Root$9 = ({ children, onOpenChange, componentId, analyticsEvents = DEFAULT_ANALYTICS_EVENTS$5, ...props })=>{
|
|
19218
19412
|
const firstView = useRef(true);
|
|
19219
19413
|
const eventContext = useDesignSystemEventComponentCallbacks({
|
|
19220
19414
|
componentType: DesignSystemEventProviderComponentTypes.Popover,
|
|
@@ -19301,9 +19495,8 @@ const Close = /*#__PURE__*/ forwardRef(function Close({ children, ...props }, re
|
|
|
19301
19495
|
});
|
|
19302
19496
|
});
|
|
19303
19497
|
const Arrow$2 = /*#__PURE__*/ forwardRef(function Arrow({ children, ...props }, ref) {
|
|
19304
|
-
const { theme } = useDesignSystemTheme();
|
|
19305
19498
|
return /*#__PURE__*/ jsx(Popover$1.Arrow, {
|
|
19306
|
-
css:
|
|
19499
|
+
css: arrowStyles,
|
|
19307
19500
|
ref: ref,
|
|
19308
19501
|
width: 12,
|
|
19309
19502
|
height: 6,
|
|
@@ -19331,39 +19524,41 @@ const CONSTANTS$1 = {
|
|
|
19331
19524
|
const popoverContentStylesResolver = memoize(// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
19332
19525
|
// @ts-ignore [FEINF-3177] TODO: fix to work with React 18 types
|
|
19333
19526
|
(theme)=>({
|
|
19334
|
-
backgroundColor:
|
|
19335
|
-
color:
|
|
19527
|
+
backgroundColor: 'var(--db-popover-surface)',
|
|
19528
|
+
color: 'var(--db-popover-text)',
|
|
19336
19529
|
lineHeight: theme.typography.lineHeightBase,
|
|
19337
|
-
border: `1px solid
|
|
19338
|
-
borderRadius:
|
|
19339
|
-
padding:
|
|
19340
|
-
boxShadow:
|
|
19530
|
+
border: `1px solid var(--db-popover-border)`,
|
|
19531
|
+
borderRadius: 'var(--db-popover-border-radius)',
|
|
19532
|
+
padding: 'var(--db-popover-spacing)',
|
|
19533
|
+
boxShadow: 'var(--db-popover-shadow)',
|
|
19341
19534
|
zIndex: theme.options.zIndexBase + 30,
|
|
19342
19535
|
...getDarkModePortalStyles(theme),
|
|
19343
19536
|
a: importantify({
|
|
19344
|
-
color:
|
|
19537
|
+
color: 'var(--db-popover-link-text)',
|
|
19345
19538
|
'&:hover, &:focus': {
|
|
19346
|
-
color:
|
|
19539
|
+
color: 'var(--db-popover-link-text-hover)'
|
|
19347
19540
|
}
|
|
19348
19541
|
}),
|
|
19349
19542
|
'&:focus-visible': {
|
|
19350
19543
|
outlineStyle: 'solid',
|
|
19351
|
-
outlineWidth: '
|
|
19544
|
+
outlineWidth: 'var(--db-popover-focus-ring-width)',
|
|
19352
19545
|
outlineOffset: '1px',
|
|
19353
|
-
outlineColor:
|
|
19546
|
+
outlineColor: 'var(--db-popover-focus-ring)'
|
|
19354
19547
|
}
|
|
19355
19548
|
}));
|
|
19356
19549
|
const contentStyles$1 = (theme)=>popoverContentStylesResolver(theme);
|
|
19357
|
-
//
|
|
19358
|
-
|
|
19359
|
-
|
|
19360
|
-
|
|
19361
|
-
|
|
19362
|
-
|
|
19363
|
-
|
|
19364
|
-
|
|
19365
|
-
|
|
19366
|
-
|
|
19550
|
+
// Fill and stroke read from the popover CSS variables; the rest is fixed geometry, so this no
|
|
19551
|
+
// longer depends on the theme. borderDecorative was an alias for border, so the arrow stroke
|
|
19552
|
+
// and the content border share --db-popover-border.
|
|
19553
|
+
const arrowStyles = {
|
|
19554
|
+
fill: 'var(--db-popover-surface)',
|
|
19555
|
+
stroke: 'var(--db-popover-border)',
|
|
19556
|
+
strokeDashoffset: -CONSTANTS$1.arrowBottomLength(),
|
|
19557
|
+
strokeDasharray: CONSTANTS$1.arrowBottomLength() + 2 * CONSTANTS$1.arrowSide(),
|
|
19558
|
+
strokeWidth: CONSTANTS$1.arrowStrokeWidth(),
|
|
19559
|
+
position: 'relative',
|
|
19560
|
+
top: -1
|
|
19561
|
+
};
|
|
19367
19562
|
|
|
19368
19563
|
var Popover = /*#__PURE__*/Object.freeze({
|
|
19369
19564
|
__proto__: null,
|
|
@@ -19371,7 +19566,7 @@ var Popover = /*#__PURE__*/Object.freeze({
|
|
|
19371
19566
|
Arrow: Arrow$2,
|
|
19372
19567
|
Close: Close,
|
|
19373
19568
|
Content: Content$7,
|
|
19374
|
-
Root: Root$
|
|
19569
|
+
Root: Root$9,
|
|
19375
19570
|
Trigger: Trigger$5
|
|
19376
19571
|
});
|
|
19377
19572
|
|
|
@@ -19463,19 +19658,19 @@ const getTooltipStyles = (theme, clsPrefix)=>{
|
|
|
19463
19658
|
[`& a${classTypography}`]: {
|
|
19464
19659
|
'&, :focus': {
|
|
19465
19660
|
color: 'var(--db-tooltip-link-text)',
|
|
19466
|
-
|
|
19661
|
+
[getIconClassName()]: {
|
|
19467
19662
|
color: 'var(--db-tooltip-link-text)'
|
|
19468
19663
|
}
|
|
19469
19664
|
},
|
|
19470
19665
|
':active': {
|
|
19471
|
-
color: 'var(--db-tooltip-link-text-
|
|
19472
|
-
|
|
19473
|
-
color: 'var(--db-tooltip-link-text-
|
|
19666
|
+
color: 'var(--db-tooltip-link-text-active)',
|
|
19667
|
+
[getIconClassName()]: {
|
|
19668
|
+
color: 'var(--db-tooltip-link-text-active)'
|
|
19474
19669
|
}
|
|
19475
19670
|
},
|
|
19476
19671
|
':hover': {
|
|
19477
19672
|
color: 'var(--db-tooltip-link-text-hover)',
|
|
19478
|
-
|
|
19673
|
+
[getIconClassName()]: {
|
|
19479
19674
|
color: 'var(--db-tooltip-link-text-hover)'
|
|
19480
19675
|
}
|
|
19481
19676
|
}
|
|
@@ -19751,7 +19946,7 @@ const Banner = (props)=>{
|
|
|
19751
19946
|
});
|
|
19752
19947
|
const actionButton = onAccept && ctaText ? /*#__PURE__*/ jsx("div", {
|
|
19753
19948
|
css: styles.actionButtonContainer,
|
|
19754
|
-
children: /*#__PURE__*/ jsx(Button
|
|
19949
|
+
children: /*#__PURE__*/ jsx(Button, {
|
|
19755
19950
|
componentId: `${componentId}.accept`,
|
|
19756
19951
|
onClick: onAccept,
|
|
19757
19952
|
css: styles.actionButton,
|
|
@@ -19763,7 +19958,7 @@ const Banner = (props)=>{
|
|
|
19763
19958
|
}) : null;
|
|
19764
19959
|
const close = closable !== false ? /*#__PURE__*/ jsx("div", {
|
|
19765
19960
|
css: styles.closeIconContainer,
|
|
19766
|
-
children: /*#__PURE__*/ jsx(Button
|
|
19961
|
+
children: /*#__PURE__*/ jsx(Button, {
|
|
19767
19962
|
componentId: `${componentId}.close`,
|
|
19768
19963
|
css: styles.closeButton,
|
|
19769
19964
|
onClick: ()=>{
|
|
@@ -19936,6 +20131,7 @@ const TitleSkeleton = ({ label, seed = '', frameRate = 60, style, level, inline
|
|
|
19936
20131
|
});
|
|
19937
20132
|
};
|
|
19938
20133
|
|
|
20134
|
+
const ICON_SELECTOR = `:is(${getIconClassName()})`;
|
|
19939
20135
|
// Class names that can be used to reference children within
|
|
19940
20136
|
// Should not be used outside of design system
|
|
19941
20137
|
// TODO: PE-239 Maybe we could add "dangerous" into the names or make them completely random.
|
|
@@ -19960,7 +20156,7 @@ const repeatingElementsStyles = {
|
|
|
19960
20156
|
paddingRight: 'var(--table-spacing-sm)',
|
|
19961
20157
|
wordBreak: 'break-word',
|
|
19962
20158
|
overflow: 'hidden',
|
|
19963
|
-
|
|
20159
|
+
[`& ${ICON_SELECTOR}`]: {
|
|
19964
20160
|
verticalAlign: 'text-bottom'
|
|
19965
20161
|
}
|
|
19966
20162
|
}),
|
|
@@ -20055,31 +20251,31 @@ const hideIconButtonRowStyles = /*#__PURE__*/ css({
|
|
|
20055
20251
|
transition: 'opacity 0.1s ease !important'
|
|
20056
20252
|
},
|
|
20057
20253
|
// Hide by default
|
|
20058
|
-
[`.${hideIconButtonActionCellClassName} button:has(> span
|
|
20254
|
+
[`.${hideIconButtonActionCellClassName} button:has(> span${ICON_SELECTOR}[role="img"]:only-child),
|
|
20059
20255
|
.${hideIconButtonActionCellClassName} button:has(> i.fa:only-child),
|
|
20060
|
-
.${hideIconButtonActionCellClassName} a:has(> span
|
|
20256
|
+
.${hideIconButtonActionCellClassName} a:has(> span${ICON_SELECTOR}[role="img"]:only-child),
|
|
20061
20257
|
.${hideIconButtonActionCellClassName} a:has(> i.fa:only-child)`]: {
|
|
20062
20258
|
opacity: 0,
|
|
20063
20259
|
transition: 'opacity 0.1s ease !important'
|
|
20064
20260
|
},
|
|
20065
|
-
[`.${hideIconButtonActionCellClassName} button:focus-visible:has(> span
|
|
20261
|
+
[`.${hideIconButtonActionCellClassName} button:focus-visible:has(> span${ICON_SELECTOR}[role="img"]:only-child),
|
|
20066
20262
|
.${hideIconButtonActionCellClassName} button:focus-visible:has(> i.fa:only-child),
|
|
20067
|
-
.${hideIconButtonActionCellClassName} a:focus-visible:has(> span
|
|
20263
|
+
.${hideIconButtonActionCellClassName} a:focus-visible:has(> span${ICON_SELECTOR}[role="img"]:only-child),
|
|
20068
20264
|
.${hideIconButtonActionCellClassName} a:focus-visible:has(> i.fa:only-child)`]: {
|
|
20069
20265
|
outlineStyle: 'solid !important'
|
|
20070
20266
|
},
|
|
20071
20267
|
// Keep visible when actively clicked or when dropdown is open
|
|
20072
|
-
[`&:hover .${hideIconButtonActionCellClassName} button:has(> span
|
|
20073
|
-
.${hideIconButtonActionCellClassName} button:focus-visible:has(> span
|
|
20268
|
+
[`&:hover .${hideIconButtonActionCellClassName} button:has(> span${ICON_SELECTOR}[role="img"]:only-child),
|
|
20269
|
+
.${hideIconButtonActionCellClassName} button:focus-visible:has(> span${ICON_SELECTOR}[role="img"]:only-child),
|
|
20074
20270
|
&:hover .${hideIconButtonActionCellClassName} button:has(> i.fa:only-child),
|
|
20075
20271
|
.${hideIconButtonActionCellClassName} button:focus-visible:has(> i.fa:only-child),
|
|
20076
|
-
&:hover .${hideIconButtonActionCellClassName} a:has(> span
|
|
20077
|
-
.${hideIconButtonActionCellClassName} a:focus-visible:has(> span
|
|
20272
|
+
&:hover .${hideIconButtonActionCellClassName} a:has(> span${ICON_SELECTOR}[role="img"]:only-child),
|
|
20273
|
+
.${hideIconButtonActionCellClassName} a:focus-visible:has(> span${ICON_SELECTOR}[role="img"]:only-child),
|
|
20078
20274
|
&:hover .${hideIconButtonActionCellClassName} a:has(> i.fa:only-child),
|
|
20079
20275
|
.${hideIconButtonActionCellClassName} a:focus-visible:has(> i.fa:only-child)
|
|
20080
|
-
.${hideIconButtonActionCellClassName} div[aria-expanded="true"] > button:has(span
|
|
20276
|
+
.${hideIconButtonActionCellClassName} div[aria-expanded="true"] > button:has(span${ICON_SELECTOR}[role="img"]:only-child),
|
|
20081
20277
|
.${hideIconButtonActionCellClassName} div[aria-expanded="true"] > button:has(i.fa:only-child),
|
|
20082
|
-
.${hideIconButtonActionCellClassName} button[aria-expanded="true"]:has(span
|
|
20278
|
+
.${hideIconButtonActionCellClassName} button[aria-expanded="true"]:has(span${ICON_SELECTOR}[role="img"]:only-child),
|
|
20083
20279
|
.${hideIconButtonActionCellClassName} button[aria-expanded="true"]:has(i.fa:only-child),`]: {
|
|
20084
20280
|
opacity: 1
|
|
20085
20281
|
}
|
|
@@ -20904,8 +21100,7 @@ zIndex)=>{
|
|
|
20904
21100
|
});
|
|
20905
21101
|
};
|
|
20906
21102
|
const getChild = (child, isDisabled, disabledReason, tooltip, index, siblingCount)=>{
|
|
20907
|
-
const
|
|
20908
|
-
const isHintColumnType = Boolean(child && typeof child !== 'string' && typeof child !== 'number' && typeof child !== 'boolean' && 'type' in child && child?.type === HintColumnType);
|
|
21103
|
+
const isHintColumnType = Boolean(child && typeof child !== 'string' && typeof child !== 'number' && typeof child !== 'boolean' && 'type' in child && child?.type === HintColumn);
|
|
20909
21104
|
if (isDisabled && disabledReason && child && isHintColumnType) {
|
|
20910
21105
|
return /*#__PURE__*/ jsxs(Fragment, {
|
|
20911
21106
|
children: [
|
|
@@ -20929,7 +21124,7 @@ const DropdownContext = /*#__PURE__*/ createContext({
|
|
|
20929
21124
|
setIsOpen: (isOpen)=>{}
|
|
20930
21125
|
});
|
|
20931
21126
|
const useDropdownContext = ()=>React__default.useContext(DropdownContext);
|
|
20932
|
-
const Root$
|
|
21127
|
+
const Root$8 = ({ children, itemHtmlType, ...props })=>{
|
|
20933
21128
|
const [isOpen, setIsOpen] = React__default.useState(Boolean(props.defaultOpen || props.open));
|
|
20934
21129
|
const useExternalState = useRef(props.open !== undefined || props.onOpenChange !== undefined).current;
|
|
20935
21130
|
useEffect(()=>{
|
|
@@ -21194,7 +21389,7 @@ const Label$1 = /*#__PURE__*/ forwardRef(function Label({ children, ...props },
|
|
|
21194
21389
|
children: children
|
|
21195
21390
|
});
|
|
21196
21391
|
});
|
|
21197
|
-
const Separator$
|
|
21392
|
+
const Separator$1 = /*#__PURE__*/ forwardRef(function Separator({ children, ...props }, ref) {
|
|
21198
21393
|
return /*#__PURE__*/ jsx(DropdownMenu$1.Separator, {
|
|
21199
21394
|
ref: ref,
|
|
21200
21395
|
css: dropdownSeparatorStyles,
|
|
@@ -21570,8 +21765,8 @@ var DropdownMenu = /*#__PURE__*/Object.freeze({
|
|
|
21570
21765
|
Label: Label$1,
|
|
21571
21766
|
RadioGroup: RadioGroup$1,
|
|
21572
21767
|
RadioItem: RadioItem$1,
|
|
21573
|
-
Root: Root$
|
|
21574
|
-
Separator: Separator$
|
|
21768
|
+
Root: Root$8,
|
|
21769
|
+
Separator: Separator$1,
|
|
21575
21770
|
Sub: Sub$1,
|
|
21576
21771
|
SubContent: SubContent$1,
|
|
21577
21772
|
SubTrigger: SubTrigger$1,
|
|
@@ -21630,7 +21825,7 @@ const ContextMenuProps = /*#__PURE__*/ createContext({
|
|
|
21630
21825
|
setIsOpen: (isOpen)=>{}
|
|
21631
21826
|
});
|
|
21632
21827
|
const useContextMenuProps = ()=>React__default.useContext(ContextMenuProps);
|
|
21633
|
-
const Root$
|
|
21828
|
+
const Root$7 = ({ children, onOpenChange, ...props })=>{
|
|
21634
21829
|
const [isOpen, setIsOpen] = React__default.useState(false);
|
|
21635
21830
|
const handleChange = (isOpen)=>{
|
|
21636
21831
|
setIsOpen(isOpen);
|
|
@@ -21913,7 +22108,7 @@ const Hint$1 = ({ children })=>{
|
|
|
21913
22108
|
children: children
|
|
21914
22109
|
});
|
|
21915
22110
|
};
|
|
21916
|
-
const Separator
|
|
22111
|
+
const Separator = ()=>{
|
|
21917
22112
|
const { theme } = useDesignSystemTheme();
|
|
21918
22113
|
return /*#__PURE__*/ jsx(ContextMenuSeparator, {
|
|
21919
22114
|
css: dropdownSeparatorStyles(theme)
|
|
@@ -21924,7 +22119,7 @@ const itemIndicatorStyles = (theme)=>/*#__PURE__*/ css({
|
|
|
21924
22119
|
paddingRight: theme.spacing.xs
|
|
21925
22120
|
});
|
|
21926
22121
|
const ContextMenu = {
|
|
21927
|
-
Root: Root$
|
|
22122
|
+
Root: Root$7,
|
|
21928
22123
|
Trigger: Trigger$3,
|
|
21929
22124
|
Label: Label,
|
|
21930
22125
|
Item: Item$2,
|
|
@@ -21933,7 +22128,7 @@ const ContextMenu = {
|
|
|
21933
22128
|
CheckboxItem: CheckboxItem,
|
|
21934
22129
|
RadioItem: RadioItem,
|
|
21935
22130
|
Arrow: Arrow,
|
|
21936
|
-
Separator: Separator
|
|
22131
|
+
Separator: Separator,
|
|
21937
22132
|
Sub: Sub,
|
|
21938
22133
|
SubTrigger: SubTrigger,
|
|
21939
22134
|
SubContent: SubContent,
|
|
@@ -21954,8 +22149,8 @@ var ContextMenu$1 = /*#__PURE__*/Object.freeze({
|
|
|
21954
22149
|
Label: Label,
|
|
21955
22150
|
RadioGroup: RadioGroup,
|
|
21956
22151
|
RadioItem: RadioItem,
|
|
21957
|
-
Root: Root$
|
|
21958
|
-
Separator: Separator
|
|
22152
|
+
Root: Root$7,
|
|
22153
|
+
Separator: Separator,
|
|
21959
22154
|
Sub: Sub,
|
|
21960
22155
|
SubContent: SubContent,
|
|
21961
22156
|
SubTrigger: SubTrigger,
|
|
@@ -22122,7 +22317,14 @@ const getInputStyles = (clsPrefix, theme, { validationState, type, hasValue, loc
|
|
|
22122
22317
|
}
|
|
22123
22318
|
},
|
|
22124
22319
|
[clearIcon]: {
|
|
22125
|
-
fontSize: theme.typography.fontSizeSm
|
|
22320
|
+
fontSize: theme.typography.fontSizeSm,
|
|
22321
|
+
color: theme.colors.textSecondary,
|
|
22322
|
+
'&:hover': {
|
|
22323
|
+
color: theme.colors.actionTertiaryTextHover
|
|
22324
|
+
},
|
|
22325
|
+
'&:active': {
|
|
22326
|
+
color: theme.colors.actionTertiaryTextPress
|
|
22327
|
+
}
|
|
22126
22328
|
},
|
|
22127
22329
|
[prefixIcon]: {
|
|
22128
22330
|
marginRight: theme.spacing.sm,
|
|
@@ -22569,7 +22771,7 @@ function MonthCell({ index, label, displayYear, selected, disabled, rangeFrom, r
|
|
|
22569
22771
|
const isRangeStart = rangeFromValue !== undefined && cellValue === rangeFromValue;
|
|
22570
22772
|
const isRangeEnd = rangeToValue !== undefined && cellValue === rangeToValue;
|
|
22571
22773
|
const isRangeMiddle = inRange && !isRangeStart && !isRangeEnd;
|
|
22572
|
-
const defaultButton = /*#__PURE__*/ jsx(Button
|
|
22774
|
+
const defaultButton = /*#__PURE__*/ jsx(Button, {
|
|
22573
22775
|
componentId: "datepicker-month-grid-cell",
|
|
22574
22776
|
"aria-label": `${label} ${displayYear}`,
|
|
22575
22777
|
"data-selected": selected || undefined,
|
|
@@ -22752,7 +22954,7 @@ function MonthCell({ index, label, displayYear, selected, disabled, rangeFrom, r
|
|
|
22752
22954
|
marginBottom: theme.spacing.xs
|
|
22753
22955
|
},
|
|
22754
22956
|
children: [
|
|
22755
|
-
/*#__PURE__*/ jsx(Button
|
|
22957
|
+
/*#__PURE__*/ jsx(Button, {
|
|
22756
22958
|
componentId: "datepicker-month-grid-prev",
|
|
22757
22959
|
"aria-label": "Previous year",
|
|
22758
22960
|
icon: /*#__PURE__*/ jsx(ChevronLeftIcon, {}),
|
|
@@ -22765,7 +22967,7 @@ function MonthCell({ index, label, displayYear, selected, disabled, rangeFrom, r
|
|
|
22765
22967
|
"aria-live": "polite",
|
|
22766
22968
|
children: displayYear
|
|
22767
22969
|
}),
|
|
22768
|
-
/*#__PURE__*/ jsx(Button
|
|
22970
|
+
/*#__PURE__*/ jsx(Button, {
|
|
22769
22971
|
componentId: "datepicker-month-grid-next",
|
|
22770
22972
|
"aria-label": "Next year",
|
|
22771
22973
|
icon: /*#__PURE__*/ jsx(ChevronRightIcon, {}),
|
|
@@ -22915,7 +23117,7 @@ function YearCell({ year, index, selected, disabled, isCurrentYear, rangeFrom, r
|
|
|
22915
23117
|
const isRangeStart = rangeFromYear !== undefined && year === rangeFromYear;
|
|
22916
23118
|
const isRangeEnd = rangeToYear !== undefined && year === rangeToYear;
|
|
22917
23119
|
const isRangeMiddle = inRange && !isRangeStart && !isRangeEnd;
|
|
22918
|
-
const defaultButton = /*#__PURE__*/ jsx(Button
|
|
23120
|
+
const defaultButton = /*#__PURE__*/ jsx(Button, {
|
|
22919
23121
|
componentId: "datepicker-year-grid-cell",
|
|
22920
23122
|
"aria-label": String(year),
|
|
22921
23123
|
"data-selected": selected || undefined,
|
|
@@ -23100,7 +23302,7 @@ function YearCell({ year, index, selected, disabled, isCurrentYear, rangeFrom, r
|
|
|
23100
23302
|
marginBottom: theme.spacing.xs
|
|
23101
23303
|
},
|
|
23102
23304
|
children: [
|
|
23103
|
-
/*#__PURE__*/ jsx(Button
|
|
23305
|
+
/*#__PURE__*/ jsx(Button, {
|
|
23104
23306
|
componentId: "datepicker-year-grid-prev",
|
|
23105
23307
|
"aria-label": "Previous decade",
|
|
23106
23308
|
icon: /*#__PURE__*/ jsx(ChevronLeftIcon, {}),
|
|
@@ -23117,7 +23319,7 @@ function YearCell({ year, index, selected, disabled, isCurrentYear, rangeFrom, r
|
|
|
23117
23319
|
decadeStart + YEARS_PER_PAGE - 1
|
|
23118
23320
|
]
|
|
23119
23321
|
}),
|
|
23120
|
-
/*#__PURE__*/ jsx(Button
|
|
23322
|
+
/*#__PURE__*/ jsx(Button, {
|
|
23121
23323
|
componentId: "datepicker-year-grid-next",
|
|
23122
23324
|
"aria-label": "Next decade",
|
|
23123
23325
|
icon: /*#__PURE__*/ jsx(ChevronRightIcon, {}),
|
|
@@ -23380,7 +23582,7 @@ function createDayComponent(renderCellContent) {
|
|
|
23380
23582
|
month: 'long',
|
|
23381
23583
|
day: 'numeric'
|
|
23382
23584
|
});
|
|
23383
|
-
const defaultButton = /*#__PURE__*/ jsx(Button$
|
|
23585
|
+
const defaultButton = /*#__PURE__*/ jsx(Button$2, {
|
|
23384
23586
|
name: "day",
|
|
23385
23587
|
ref: buttonRef,
|
|
23386
23588
|
...dayRender.buttonProps,
|
|
@@ -24067,7 +24269,7 @@ const DatePicker = /*#__PURE__*/ forwardRef(// eslint-disable-next-line react-co
|
|
|
24067
24269
|
pointerEvents: restProps?.disabled ? 'none' : 'auto'
|
|
24068
24270
|
},
|
|
24069
24271
|
...wrapperProps,
|
|
24070
|
-
children: /*#__PURE__*/ jsxs(Root$
|
|
24272
|
+
children: /*#__PURE__*/ jsxs(Root$9, {
|
|
24071
24273
|
componentId: "codegen_design-system_src_development_datepicker_datepicker.tsx_330",
|
|
24072
24274
|
open: isVisible,
|
|
24073
24275
|
onOpenChange: setIsVisible,
|
|
@@ -24267,7 +24469,7 @@ const DatePicker = /*#__PURE__*/ forwardRef(// eslint-disable-next-line react-co
|
|
|
24267
24469
|
maxWidth: 225,
|
|
24268
24470
|
flexWrap: 'wrap'
|
|
24269
24471
|
},
|
|
24270
|
-
children: quickActions?.map((action, i)=>/*#__PURE__*/ jsx(Button
|
|
24472
|
+
children: quickActions?.map((action, i)=>/*#__PURE__*/ jsx(Button, {
|
|
24271
24473
|
size: "small",
|
|
24272
24474
|
componentId: "codegen_design-system_src_design-system_datepicker_datepicker.tsx_281",
|
|
24273
24475
|
onClick: ()=>action.onClick ? action.onClick(action.value) : !Array.isArray(action.value) && handleDatePickerUpdate(action.value),
|
|
@@ -24312,7 +24514,7 @@ const DatePicker = /*#__PURE__*/ forwardRef(// eslint-disable-next-line react-co
|
|
|
24312
24514
|
display: 'flex',
|
|
24313
24515
|
justifyContent: 'flex-end'
|
|
24314
24516
|
},
|
|
24315
|
-
children: /*#__PURE__*/ jsx(Button
|
|
24517
|
+
children: /*#__PURE__*/ jsx(Button, {
|
|
24316
24518
|
"aria-label": "Open end date picker",
|
|
24317
24519
|
type: "primary",
|
|
24318
24520
|
componentId: "datepicker-dubois-ok-button",
|
|
@@ -24797,7 +24999,7 @@ const DialogCombobox = ({ children, label, id, value = [], open, emptyText, scro
|
|
|
24797
24999
|
setDisableMouseOver,
|
|
24798
25000
|
onView: eventContext.onView
|
|
24799
25001
|
},
|
|
24800
|
-
children: /*#__PURE__*/ jsx(Root$
|
|
25002
|
+
children: /*#__PURE__*/ jsx(Root$6, {
|
|
24801
25003
|
open: open !== undefined ? open : isOpen,
|
|
24802
25004
|
...props,
|
|
24803
25005
|
children: /*#__PURE__*/ jsx(ComponentFinderContext.Provider, {
|
|
@@ -24809,7 +25011,7 @@ const DialogCombobox = ({ children, label, id, value = [], open, emptyText, scro
|
|
|
24809
25011
|
})
|
|
24810
25012
|
});
|
|
24811
25013
|
};
|
|
24812
|
-
const Root$
|
|
25014
|
+
const Root$6 = (props)=>{
|
|
24813
25015
|
const { children, stayOpenOnSelection, multiSelect, ...restProps } = props;
|
|
24814
25016
|
const { value, setIsOpen, onView } = useDialogComboboxContext();
|
|
24815
25017
|
const firstView = useRef(true);
|
|
@@ -26289,6 +26491,7 @@ const DialogComboboxTrigger = /*#__PURE__*/ forwardRef(// eslint-disable-next-li
|
|
|
26289
26491
|
'aria-label': ariaLabel
|
|
26290
26492
|
},
|
|
26291
26493
|
ref: forwardedRef,
|
|
26494
|
+
// oxlint-disable-next-line jsx-a11y/role-has-required-aria-props
|
|
26292
26495
|
role: "combobox",
|
|
26293
26496
|
"aria-haspopup": "listbox",
|
|
26294
26497
|
"aria-invalid": validationState === 'error',
|
|
@@ -26327,6 +26530,7 @@ const DialogComboboxTrigger = /*#__PURE__*/ forwardRef(// eslint-disable-next-li
|
|
|
26327
26530
|
'aria-label': ariaLabel
|
|
26328
26531
|
},
|
|
26329
26532
|
ref: forwardedRef,
|
|
26533
|
+
// oxlint-disable-next-line jsx-a11y/role-has-required-aria-props
|
|
26330
26534
|
role: "combobox",
|
|
26331
26535
|
"aria-haspopup": "listbox",
|
|
26332
26536
|
"aria-invalid": validationState === 'error',
|
|
@@ -26412,7 +26616,7 @@ const DialogComboboxTrigger = /*#__PURE__*/ forwardRef(// eslint-disable-next-li
|
|
|
26412
26616
|
componentId: "dialogcombobox-trigger-tooltip",
|
|
26413
26617
|
children: triggerContent
|
|
26414
26618
|
}) : triggerContent,
|
|
26415
|
-
removable && /*#__PURE__*/ jsx(Button
|
|
26619
|
+
removable && /*#__PURE__*/ jsx(Button, {
|
|
26416
26620
|
componentId: "codegen_design-system_src_design-system_dialogcombobox_dialogcomboboxtrigger.tsx_355",
|
|
26417
26621
|
"aria-label": `Remove ${label}`,
|
|
26418
26622
|
onClick: handleRemove,
|
|
@@ -26434,16 +26638,24 @@ const DialogComboboxTrigger = /*#__PURE__*/ forwardRef(// eslint-disable-next-li
|
|
|
26434
26638
|
});
|
|
26435
26639
|
};
|
|
26436
26640
|
|
|
26437
|
-
|
|
26438
|
-
|
|
26641
|
+
// Height comes from the --db-spacer-size-* component tokens (Spacer/tokens.css), so the styles no
|
|
26642
|
+
// longer depend on the JS theme. Mapped explicitly rather than interpolated so each token name is greppable.
|
|
26643
|
+
const SPACER_SIZE_TOKENS = {
|
|
26644
|
+
xs: 'var(--db-spacer-size-xs)',
|
|
26645
|
+
sm: 'var(--db-spacer-size-sm)',
|
|
26646
|
+
mid: 'var(--db-spacer-size-mid)',
|
|
26647
|
+
md: 'var(--db-spacer-size-md)',
|
|
26648
|
+
lg: 'var(--db-spacer-size-lg)'
|
|
26649
|
+
};
|
|
26650
|
+
const getSpacerStyles = memoize((size, shrinks)=>/*#__PURE__*/ css({
|
|
26651
|
+
height: SPACER_SIZE_TOKENS[size],
|
|
26439
26652
|
...shrinks === false ? {
|
|
26440
26653
|
flexShrink: 0
|
|
26441
26654
|
} : undefined
|
|
26442
|
-
}), (
|
|
26655
|
+
}), (size, shrinks)=>`${size}|${shrinks ?? ''}`);
|
|
26443
26656
|
const Spacer = ({ size = 'md', shrinks, ...props })=>{
|
|
26444
|
-
const { theme } = useDesignSystemTheme();
|
|
26445
26657
|
return /*#__PURE__*/ jsx("div", {
|
|
26446
|
-
css: getSpacerStyles(
|
|
26658
|
+
css: getSpacerStyles(size, shrinks),
|
|
26447
26659
|
...props
|
|
26448
26660
|
});
|
|
26449
26661
|
};
|
|
@@ -26485,12 +26697,12 @@ const OVERLAY_SHOW_BOTTOM = /*#__PURE__*/ keyframes({
|
|
|
26485
26697
|
const DEFAULT_ANALYTICS_EVENTS$3 = [
|
|
26486
26698
|
DesignSystemEventProviderAnalyticsEventTypes.OnView
|
|
26487
26699
|
];
|
|
26488
|
-
const Content$4 = ({ children, footer, title, width, height, position: positionOverride, useCustomScrollBehavior, expandContentToFullHeight, disableOpenAutoFocus, onInteractOutside, seeThrough, hideClose, closeOnClickOutside, onCloseClick, componentId = 'design_system.drawer.content', analyticsEvents = DEFAULT_ANALYTICS_EVENTS$3, size = 'default', ...props })=>{
|
|
26700
|
+
const Content$4 = ({ children, footer, title, width, height, position: positionOverride, useCustomScrollBehavior, expandContentToFullHeight, disableOpenAutoFocus, onInteractOutside, seeThrough, hideClose, closeOnClickOutside, onCloseClick, componentId = 'design_system.drawer.content', analyticsEvents = DEFAULT_ANALYTICS_EVENTS$3, size = 'default', className, ...props })=>{
|
|
26489
26701
|
const { getPopupContainer } = useDesignSystemContext();
|
|
26490
26702
|
const { theme } = useDesignSystemTheme();
|
|
26491
26703
|
const themeClass = useDuboisThemeClass();
|
|
26492
26704
|
const themeOverrideStyle = useDesignTokenOverrideStyles();
|
|
26493
|
-
const horizontalContentPadding = size === 'small' ?
|
|
26705
|
+
const horizontalContentPadding = size === 'small' ? 'var(--db-drawer-padding-horizontal-small)' : 'var(--db-drawer-padding-horizontal)';
|
|
26494
26706
|
const [shouldContentBeFocusable, setShouldContentBeFocusable] = useState(false);
|
|
26495
26707
|
const contentContainerRef = useRef(null);
|
|
26496
26708
|
const eventContext = useDesignSystemEventComponentCallbacks({
|
|
@@ -26549,9 +26761,9 @@ const Content$4 = ({ children, footer, title, width, height, position: positionO
|
|
|
26549
26761
|
const isSidePosition = position === 'left' || position === 'right';
|
|
26550
26762
|
const overlayShow = position === 'right' ? OVERLAY_SHOW_RIGHT : position === 'left' ? OVERLAY_SHOW_LEFT : OVERLAY_SHOW_BOTTOM;
|
|
26551
26763
|
const dialogPrimitiveContentStyle = /*#__PURE__*/ css({
|
|
26552
|
-
color:
|
|
26553
|
-
backgroundColor:
|
|
26554
|
-
boxShadow:
|
|
26764
|
+
color: 'var(--db-drawer-text)',
|
|
26765
|
+
backgroundColor: 'var(--db-drawer-surface)',
|
|
26766
|
+
boxShadow: 'var(--db-drawer-shadow)',
|
|
26555
26767
|
position: 'fixed',
|
|
26556
26768
|
boxSizing: 'border-box',
|
|
26557
26769
|
zIndex: theme.options.zIndexBase + DRAWER_ZINDEX_CONTENT_OFFSET,
|
|
@@ -26578,7 +26790,7 @@ const Content$4 = ({ children, footer, title, width, height, position: positionO
|
|
|
26578
26790
|
minHeight: MIN_HEIGHT,
|
|
26579
26791
|
maxHeight: MAX_HEIGHT
|
|
26580
26792
|
} : {},
|
|
26581
|
-
paddingTop: size === 'small' ?
|
|
26793
|
+
paddingTop: size === 'small' ? 'var(--db-drawer-content-padding-top-small)' : 'var(--db-drawer-content-padding-top)',
|
|
26582
26794
|
paddingLeft: 0,
|
|
26583
26795
|
paddingBottom: 0,
|
|
26584
26796
|
paddingRight: 0,
|
|
@@ -26597,14 +26809,19 @@ const Content$4 = ({ children, footer, title, width, height, position: positionO
|
|
|
26597
26809
|
children: [
|
|
26598
26810
|
/*#__PURE__*/ jsx(DialogPrimitive.Overlay, {
|
|
26599
26811
|
"data-testid": "drawer-overlay",
|
|
26812
|
+
// themeClass scopes the scrim under .du-bois-dark so var(--db-drawer-overlay) resolves the dark value.
|
|
26813
|
+
className: themeClass,
|
|
26600
26814
|
css: /*#__PURE__*/ css({
|
|
26601
|
-
backgroundColor:
|
|
26815
|
+
backgroundColor: 'var(--db-drawer-overlay)',
|
|
26602
26816
|
position: 'fixed',
|
|
26603
26817
|
inset: 0,
|
|
26604
26818
|
// needed so that it covers the PersonaNavSidebar
|
|
26605
26819
|
zIndex: theme.options.zIndexBase + DRAWER_ZINDEX_OVERLAY_OFFSET,
|
|
26606
26820
|
opacity: seeThrough || isParentDrawerOpen ? 0 : 1
|
|
26607
26821
|
}),
|
|
26822
|
+
// A React portal renders this scrim outside the DesignTokenScope wrapper, so it stops
|
|
26823
|
+
// inheriting the consumer's scoped --db-* overrides; re-stamp them inline on the scrim.
|
|
26824
|
+
style: themeOverrideStyle,
|
|
26608
26825
|
onClick: closeOnClickOutside ? onCloseClick : undefined
|
|
26609
26826
|
}),
|
|
26610
26827
|
/*#__PURE__*/ jsx(DialogPrimitive.DialogContent, {
|
|
@@ -26617,14 +26834,13 @@ const Content$4 = ({ children, footer, title, width, height, position: positionO
|
|
|
26617
26834
|
opacity: seeThrough ? 0 : 1,
|
|
26618
26835
|
...theme.isDarkMode && {
|
|
26619
26836
|
...position === 'bottom' ? {
|
|
26620
|
-
borderTop:
|
|
26837
|
+
borderTop: '1px solid var(--db-drawer-border)'
|
|
26621
26838
|
} : {
|
|
26622
|
-
borderLeft:
|
|
26839
|
+
borderLeft: '1px solid var(--db-drawer-border)'
|
|
26623
26840
|
}
|
|
26624
26841
|
},
|
|
26625
26842
|
...themeOverrideStyle
|
|
26626
26843
|
},
|
|
26627
|
-
className: themeClass,
|
|
26628
26844
|
onKeyDownCapture: handleKeyDownCapture,
|
|
26629
26845
|
onWheel: (e)=>{
|
|
26630
26846
|
e.stopPropagation();
|
|
@@ -26642,6 +26858,7 @@ const Content$4 = ({ children, footer, title, width, height, position: positionO
|
|
|
26642
26858
|
onInteractOutside: onInteractOutside,
|
|
26643
26859
|
...props,
|
|
26644
26860
|
...eventContext.dataComponentProps,
|
|
26861
|
+
className: classnames(className, themeClass),
|
|
26645
26862
|
children: /*#__PURE__*/ jsx(ApplyDesignSystemContextOverrides, {
|
|
26646
26863
|
getPopupContainer: ()=>contentContainerRef.current ?? document.body,
|
|
26647
26864
|
children: /*#__PURE__*/ jsxs(DrawerContext.Provider, {
|
|
@@ -26659,7 +26876,7 @@ const Content$4 = ({ children, footer, title, width, height, position: positionO
|
|
|
26659
26876
|
alignItems: 'center',
|
|
26660
26877
|
paddingRight: horizontalContentPadding,
|
|
26661
26878
|
paddingLeft: horizontalContentPadding,
|
|
26662
|
-
marginBottom:
|
|
26879
|
+
marginBottom: 'var(--db-drawer-title-margin-bottom)'
|
|
26663
26880
|
}),
|
|
26664
26881
|
children: [
|
|
26665
26882
|
/*#__PURE__*/ jsx(DialogPrimitive.Title, {
|
|
@@ -26684,10 +26901,10 @@ const Content$4 = ({ children, footer, title, width, height, position: positionO
|
|
|
26684
26901
|
asChild: true,
|
|
26685
26902
|
css: /*#__PURE__*/ css({
|
|
26686
26903
|
flexShrink: 1,
|
|
26687
|
-
marginLeft:
|
|
26904
|
+
marginLeft: 'var(--db-drawer-close-button-margin)'
|
|
26688
26905
|
}),
|
|
26689
26906
|
onClick: onCloseClick,
|
|
26690
|
-
children: /*#__PURE__*/ jsx(Button
|
|
26907
|
+
children: /*#__PURE__*/ jsx(Button, {
|
|
26691
26908
|
componentId: `${componentId}.close`,
|
|
26692
26909
|
"aria-label": "Close",
|
|
26693
26910
|
icon: /*#__PURE__*/ jsx(CloseIcon, {}),
|
|
@@ -26699,7 +26916,7 @@ const Content$4 = ({ children, footer, title, width, height, position: positionO
|
|
|
26699
26916
|
/*#__PURE__*/ jsxs("div", {
|
|
26700
26917
|
ref: mergedContentRef,
|
|
26701
26918
|
// Needed to make drawer content focusable when scrollable for keyboard-only users to be able to focus & scroll
|
|
26702
|
-
//
|
|
26919
|
+
// oxlint-disable-next-line jsx-a11y/no-noninteractive-tabindex
|
|
26703
26920
|
tabIndex: shouldContentBeFocusable ? 0 : -1,
|
|
26704
26921
|
css: /*#__PURE__*/ css({
|
|
26705
26922
|
// in order to have specific content in the drawer scroll with fixed title
|
|
@@ -26720,10 +26937,10 @@ const Content$4 = ({ children, footer, title, width, height, position: positionO
|
|
|
26720
26937
|
}),
|
|
26721
26938
|
footer && /*#__PURE__*/ jsx("div", {
|
|
26722
26939
|
style: {
|
|
26723
|
-
paddingTop:
|
|
26940
|
+
paddingTop: 'var(--db-drawer-footer-padding-top)',
|
|
26724
26941
|
paddingRight: horizontalContentPadding,
|
|
26725
26942
|
paddingLeft: horizontalContentPadding,
|
|
26726
|
-
paddingBottom: size === 'small' ?
|
|
26943
|
+
paddingBottom: size === 'small' ? 'var(--db-drawer-footer-padding-bottom-small)' : 'var(--db-drawer-footer-padding-bottom)',
|
|
26727
26944
|
flexGrow: 0,
|
|
26728
26945
|
flexShrink: 1
|
|
26729
26946
|
},
|
|
@@ -26736,7 +26953,7 @@ const Content$4 = ({ children, footer, title, width, height, position: positionO
|
|
|
26736
26953
|
]
|
|
26737
26954
|
});
|
|
26738
26955
|
};
|
|
26739
|
-
function Root$
|
|
26956
|
+
function Root$5(props) {
|
|
26740
26957
|
return /*#__PURE__*/ jsx(DialogPrimitive.Root, {
|
|
26741
26958
|
...props
|
|
26742
26959
|
});
|
|
@@ -26751,7 +26968,7 @@ function Trigger$2(props) {
|
|
|
26751
26968
|
var Drawer = /*#__PURE__*/Object.freeze({
|
|
26752
26969
|
__proto__: null,
|
|
26753
26970
|
Content: Content$4,
|
|
26754
|
-
Root: Root$
|
|
26971
|
+
Root: Root$5,
|
|
26755
26972
|
Trigger: Trigger$2
|
|
26756
26973
|
});
|
|
26757
26974
|
|
|
@@ -26951,7 +27168,7 @@ function getSelectEmotionStyles({ clsPrefix, theme, validationState }) {
|
|
|
26951
27168
|
marginTop: 0,
|
|
26952
27169
|
color: theme.colors.textSecondary,
|
|
26953
27170
|
fontSize: theme.general.iconFontSize,
|
|
26954
|
-
|
|
27171
|
+
[getIconClassName()]: {
|
|
26955
27172
|
// For some reason ant sets this to 'auto'. Need to set it back to 'none' to allow the element below to receive
|
|
26956
27173
|
// the click event.
|
|
26957
27174
|
pointerEvents: 'none',
|
|
@@ -27069,7 +27286,7 @@ function getSelectEmotionStyles({ clsPrefix, theme, validationState }) {
|
|
|
27069
27286
|
lineHeight: theme.typography.lineHeightBase,
|
|
27070
27287
|
paddingInlineEnd: 0,
|
|
27071
27288
|
marginInlineEnd: 0,
|
|
27072
|
-
|
|
27289
|
+
[`& > :is(${getIconClassName()})`]: {
|
|
27073
27290
|
height: theme.general.iconFontSize - 4,
|
|
27074
27291
|
fontSize: theme.general.iconFontSize - 4
|
|
27075
27292
|
},
|
|
@@ -31661,7 +31878,7 @@ const getFormItemEmotionStyles = ({ theme, clsPrefix })=>{
|
|
|
31661
31878
|
[clsFormItemLabel]: {
|
|
31662
31879
|
fontWeight: theme.typography.typographyBoldFontWeight,
|
|
31663
31880
|
lineHeight: theme.typography.lineHeightBase,
|
|
31664
|
-
|
|
31881
|
+
[getIconClassName()]: {
|
|
31665
31882
|
fontSize: theme.general.iconFontSize
|
|
31666
31883
|
}
|
|
31667
31884
|
},
|
|
@@ -32015,7 +32232,7 @@ const CursorPagination = function CursorPagination({ onNextPage, onPreviousPage,
|
|
|
32015
32232
|
}),
|
|
32016
32233
|
...pageSizeEventContext.dataComponentProps,
|
|
32017
32234
|
children: [
|
|
32018
|
-
/*#__PURE__*/ jsx(Button
|
|
32235
|
+
/*#__PURE__*/ jsx(Button, {
|
|
32019
32236
|
componentId: `${componentId}.previous_page`,
|
|
32020
32237
|
icon: /*#__PURE__*/ jsx(ChevronLeftIcon, {}),
|
|
32021
32238
|
disabled: !hasPreviousPage,
|
|
@@ -32023,7 +32240,7 @@ const CursorPagination = function CursorPagination({ onNextPage, onPreviousPage,
|
|
|
32023
32240
|
type: "tertiary",
|
|
32024
32241
|
children: previousPageText
|
|
32025
32242
|
}),
|
|
32026
|
-
/*#__PURE__*/ jsx(Button
|
|
32243
|
+
/*#__PURE__*/ jsx(Button, {
|
|
32027
32244
|
componentId: `${componentId}.next_page`,
|
|
32028
32245
|
endIcon: /*#__PURE__*/ jsx(ChevronRightIcon, {}),
|
|
32029
32246
|
disabled: !hasNextPage,
|
|
@@ -32617,52 +32834,52 @@ const Listbox = ({ options, onSelect, includeFilterInput, filterInputEmptyMessag
|
|
|
32617
32834
|
});
|
|
32618
32835
|
};
|
|
32619
32836
|
|
|
32620
|
-
|
|
32621
|
-
|
|
32622
|
-
|
|
32623
|
-
|
|
32624
|
-
|
|
32625
|
-
|
|
32626
|
-
|
|
32627
|
-
|
|
32837
|
+
// Shared by Tabs and NavigationMenu, so these reference existing system/v1 tokens directly (no
|
|
32838
|
+
// component tier).
|
|
32839
|
+
const COMMON_TABS_LIST_STYLES = {
|
|
32840
|
+
display: 'flex',
|
|
32841
|
+
// No v2 token holds the shared tab/list divider color yet; bridges on the v1 --db-color-* token. TODO(FEINF-6505): adopt a v2 token when one lands.
|
|
32842
|
+
borderBottom: '1px solid var(--db-color-action-default-border-default)',
|
|
32843
|
+
marginBottom: 'var(--db-space-4)',
|
|
32844
|
+
height: 'var(--db-size-8)',
|
|
32845
|
+
boxSizing: 'border-box'
|
|
32628
32846
|
};
|
|
32629
|
-
const
|
|
32630
|
-
|
|
32631
|
-
|
|
32632
|
-
|
|
32633
|
-
|
|
32634
|
-
|
|
32635
|
-
marginRight: theme.spacing.md
|
|
32636
|
-
};
|
|
32847
|
+
const COMMON_TABS_TRIGGER_STYLES = {
|
|
32848
|
+
display: 'flex',
|
|
32849
|
+
'font-weight': 'var(--db-font-weight-semibold)',
|
|
32850
|
+
fontSize: 'var(--db-font-size-base)',
|
|
32851
|
+
backgroundColor: 'transparent',
|
|
32852
|
+
marginRight: 'var(--db-space-4)'
|
|
32637
32853
|
};
|
|
32638
32854
|
|
|
32639
|
-
const Root$
|
|
32855
|
+
const Root$4 = // eslint-disable-next-line react-component-name/react-component-name -- TODO(FEINF-4716)
|
|
32640
32856
|
/*#__PURE__*/ React__default.forwardRef((props, forwardedRef)=>{
|
|
32641
32857
|
return /*#__PURE__*/ jsx(RadixNavigationMenu.Root, {
|
|
32642
32858
|
...props,
|
|
32643
32859
|
ref: forwardedRef
|
|
32644
32860
|
});
|
|
32645
32861
|
});
|
|
32646
|
-
|
|
32647
|
-
|
|
32648
|
-
|
|
32649
|
-
|
|
32650
|
-
|
|
32651
|
-
|
|
32652
|
-
|
|
32653
|
-
|
|
32654
|
-
|
|
32655
|
-
const getMemoizedItemCss = memoize((
|
|
32656
|
-
...
|
|
32862
|
+
const LIST_CSS = {
|
|
32863
|
+
...COMMON_TABS_LIST_STYLES,
|
|
32864
|
+
marginTop: 0,
|
|
32865
|
+
padding: 0,
|
|
32866
|
+
overflow: 'auto hidden',
|
|
32867
|
+
listStyle: 'none'
|
|
32868
|
+
};
|
|
32869
|
+
// Module-level caches keyed by `active`, so each holds only a handful of entries. Same pattern
|
|
32870
|
+
// as getShadowScrollStylesMemoized in css-utils.tsx.
|
|
32871
|
+
const getMemoizedItemCss = memoize((active)=>({
|
|
32872
|
+
...COMMON_TABS_TRIGGER_STYLES,
|
|
32657
32873
|
height: 'var(--db-navigation-menu-item-height)',
|
|
32658
32874
|
minWidth: 'var(--db-navigation-menu-item-min-width)',
|
|
32659
32875
|
justifyContent: 'center',
|
|
32660
32876
|
...active && {
|
|
32661
32877
|
// Use box-shadow instead of border to prevent it from affecting the size of the element, which results in visual
|
|
32662
32878
|
// jumping when switching tabs.
|
|
32879
|
+
// No v2 token holds the box shadow yet. TODO(FEINF-6505): adopt a v2 token when one lands.
|
|
32663
32880
|
boxShadow: 'inset 0 calc(-1 * var(--db-navigation-menu-indicator-thickness)) 0 var(--db-navigation-menu-indicator)'
|
|
32664
32881
|
}
|
|
32665
|
-
})
|
|
32882
|
+
}));
|
|
32666
32883
|
const getMemoizedLinkCss = memoize((active)=>({
|
|
32667
32884
|
padding: 'var(--db-navigation-menu-link-padding-top) 0 var(--db-navigation-menu-link-padding-bottom) 0',
|
|
32668
32885
|
'&:focus-visible': {
|
|
@@ -32670,34 +32887,32 @@ const getMemoizedLinkCss = memoize((active)=>({
|
|
|
32670
32887
|
outlineOffset: 'var(--db-navigation-menu-focus-ring-offset)'
|
|
32671
32888
|
},
|
|
32672
32889
|
'&&': {
|
|
32673
|
-
color: active ? 'var(--db-navigation-menu-text-
|
|
32890
|
+
color: active ? 'var(--db-navigation-menu-text-selected)' : 'var(--db-navigation-menu-text)',
|
|
32674
32891
|
textDecoration: 'none',
|
|
32675
32892
|
'&:hover': {
|
|
32676
|
-
color: active ? 'var(--db-navigation-menu-text-
|
|
32893
|
+
color: active ? 'var(--db-navigation-menu-text-selected)' : 'var(--db-navigation-menu-text-hover)',
|
|
32677
32894
|
textDecoration: 'none'
|
|
32678
32895
|
},
|
|
32679
32896
|
'&:focus': {
|
|
32680
32897
|
textDecoration: 'none'
|
|
32681
32898
|
},
|
|
32682
32899
|
'&:active': {
|
|
32683
|
-
color: active ? 'var(--db-navigation-menu-text-
|
|
32900
|
+
color: active ? 'var(--db-navigation-menu-text-selected)' : 'var(--db-navigation-menu-text-active)'
|
|
32684
32901
|
}
|
|
32685
32902
|
}
|
|
32686
32903
|
}));
|
|
32687
32904
|
const List$1 = // eslint-disable-next-line react-component-name/react-component-name -- TODO(FEINF-4716)
|
|
32688
32905
|
/*#__PURE__*/ React__default.forwardRef((props, forwardedRef)=>{
|
|
32689
|
-
const { theme } = useDesignSystemTheme();
|
|
32690
32906
|
return /*#__PURE__*/ jsx(RadixNavigationMenu.List, {
|
|
32691
|
-
css:
|
|
32907
|
+
css: LIST_CSS,
|
|
32692
32908
|
...props,
|
|
32693
32909
|
ref: forwardedRef
|
|
32694
32910
|
});
|
|
32695
32911
|
});
|
|
32696
32912
|
const Item$1 = // eslint-disable-next-line react-component-name/react-component-name -- TODO(FEINF-4716)
|
|
32697
32913
|
/*#__PURE__*/ React__default.forwardRef(({ children, active, ...props }, forwardedRef)=>{
|
|
32698
|
-
const { theme } = useDesignSystemTheme();
|
|
32699
32914
|
return /*#__PURE__*/ jsx(RadixNavigationMenu.Item, {
|
|
32700
|
-
css: getMemoizedItemCss(
|
|
32915
|
+
css: getMemoizedItemCss(Boolean(active)),
|
|
32701
32916
|
...props,
|
|
32702
32917
|
ref: forwardedRef,
|
|
32703
32918
|
children: /*#__PURE__*/ jsx(RadixNavigationMenu.Link, {
|
|
@@ -32713,7 +32928,7 @@ var NavigationMenu = /*#__PURE__*/Object.freeze({
|
|
|
32713
32928
|
__proto__: null,
|
|
32714
32929
|
Item: Item$1,
|
|
32715
32930
|
List: List$1,
|
|
32716
|
-
Root: Root$
|
|
32931
|
+
Root: Root$4
|
|
32717
32932
|
});
|
|
32718
32933
|
|
|
32719
32934
|
const DEFAULT_ANALYTICS_EVENTS_WITH_VIEW$2 = [
|
|
@@ -32827,7 +33042,7 @@ function getTagEmotionStyles(theme, color = 'default', clickable = false, closab
|
|
|
32827
33042
|
color: iconPress
|
|
32828
33043
|
},
|
|
32829
33044
|
'&:focus-visible': focusVisibleStyles,
|
|
32830
|
-
|
|
33045
|
+
[getIconClassName()]: {
|
|
32831
33046
|
verticalAlign: 0
|
|
32832
33047
|
}
|
|
32833
33048
|
},
|
|
@@ -32836,7 +33051,7 @@ function getTagEmotionStyles(theme, color = 'default', clickable = false, closab
|
|
|
32836
33051
|
fontSize: theme.typography.fontSizeBase,
|
|
32837
33052
|
fontWeight: theme.typography.typographyRegularFontWeight,
|
|
32838
33053
|
lineHeight: theme.typography.lineHeightSm,
|
|
32839
|
-
|
|
33054
|
+
[`& :is(${getIconClassName()})`]: {
|
|
32840
33055
|
verticalAlign: 'text-top'
|
|
32841
33056
|
},
|
|
32842
33057
|
whiteSpace: 'nowrap'
|
|
@@ -32911,7 +33126,6 @@ const Tag = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
|
|
32911
33126
|
]);
|
|
32912
33127
|
const handleKeyDown = useCallback(// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
32913
33128
|
// @ts-ignore [FEINF-3177] TODO: fix to work with React 18 types
|
|
32914
|
-
// oxlint-disable-next-line @databricks/react-18-types-migration -- TODO(FEINF-6292)
|
|
32915
33129
|
(e)=>{
|
|
32916
33130
|
if (onKeyDown) {
|
|
32917
33131
|
onKeyDown(e);
|
|
@@ -33009,11 +33223,11 @@ const getMemoizedRootCss = memoize((theme)=>({
|
|
|
33009
33223
|
// Item icon css depends on (theme, size). At most 6 cache entries.
|
|
33010
33224
|
const getMemoizedItemIconCss = memoize((theme, size)=>({
|
|
33011
33225
|
marginRight: size === 'large' ? theme.spacing.sm : theme.spacing.xs,
|
|
33012
|
-
[`& >
|
|
33226
|
+
[`& > :is(${getIconClassName()})`]: {
|
|
33013
33227
|
verticalAlign: `-3px`
|
|
33014
33228
|
}
|
|
33015
33229
|
}), (theme, size)=>`${themeMemoKey(theme)}|${size}`);
|
|
33016
|
-
const Root$
|
|
33230
|
+
const Root$3 = /*#__PURE__*/ React__default.forwardRef(// eslint-disable-next-line react-component-name/react-component-name -- TODO(FEINF-4716)
|
|
33017
33231
|
({ size, componentId, analyticsEvents = DEFAULT_ANALYTICS_EVENTS$1, valueHasNoPii, onValueChange, ...props }, forwardedRef)=>{
|
|
33018
33232
|
const { theme } = useDesignSystemTheme();
|
|
33019
33233
|
const contextValue = React__default.useMemo(()=>size ?? 'medium', [
|
|
@@ -33178,7 +33392,7 @@ const getMemoizedRadioGroupItemStyles = memoize((theme, size, iconClass)=>getRad
|
|
|
33178
33392
|
var PillControl = /*#__PURE__*/Object.freeze({
|
|
33179
33393
|
__proto__: null,
|
|
33180
33394
|
Item: Item,
|
|
33181
|
-
Root: Root$
|
|
33395
|
+
Root: Root$3
|
|
33182
33396
|
});
|
|
33183
33397
|
|
|
33184
33398
|
const DEFAULT_ANALYTICS_EVENTS = [
|
|
@@ -33421,7 +33635,7 @@ const getProgressRootStyles = (minWidth, maxWidth)=>{
|
|
|
33421
33635
|
return /*#__PURE__*/ css(importantify(styles));
|
|
33422
33636
|
};
|
|
33423
33637
|
const getMemoizedProgressRootStyles = memoize(getProgressRootStyles, (minWidth, maxWidth)=>`${minWidth ?? ''}|${maxWidth ?? ''}`);
|
|
33424
|
-
const Root$
|
|
33638
|
+
const Root$2 = (props)=>{
|
|
33425
33639
|
const { children, value, minWidth, maxWidth, ...restProps } = props;
|
|
33426
33640
|
const contextValue = useMemo(()=>({
|
|
33427
33641
|
progress: value
|
|
@@ -33459,7 +33673,7 @@ const Indicator = (props)=>{
|
|
|
33459
33673
|
var Progress = /*#__PURE__*/Object.freeze({
|
|
33460
33674
|
__proto__: null,
|
|
33461
33675
|
Indicator: Indicator,
|
|
33462
|
-
Root: Root$
|
|
33676
|
+
Root: Root$2
|
|
33463
33677
|
});
|
|
33464
33678
|
|
|
33465
33679
|
const getRadioTileStyles = (theme, classNamePrefix, maxWidth)=>{
|
|
@@ -33637,7 +33851,6 @@ function getSegmentedControlButtonEmotionStyles(clsPrefix, theme, size, spaced =
|
|
|
33637
33851
|
const classWrapper = `.${clsPrefix}-radio-button-wrapper`;
|
|
33638
33852
|
const classWrapperDisabled = `.${clsPrefix}-radio-button-wrapper-disabled`;
|
|
33639
33853
|
const classButton = `.${clsPrefix}-radio-button`;
|
|
33640
|
-
const classIcon = `.${theme.general.iconfontCssPrefix}`;
|
|
33641
33854
|
// Note: Ant radio button uses a 1px-wide `before` pseudo-element to recreate the left border of the button.
|
|
33642
33855
|
// This is because the actual left border is disabled to avoid a double-border effect with the adjacent button's
|
|
33643
33856
|
// right border.
|
|
@@ -33801,7 +34014,7 @@ function getSegmentedControlButtonEmotionStyles(clsPrefix, theme, size, spaced =
|
|
|
33801
34014
|
},
|
|
33802
34015
|
[`&${classWrapperChecked}`]: {
|
|
33803
34016
|
color: theme.colors.actionDefaultTextDefault,
|
|
33804
|
-
[
|
|
34017
|
+
[`& :is(${getIconClassName()})`]: {
|
|
33805
34018
|
color: theme.colors.textSecondary
|
|
33806
34019
|
},
|
|
33807
34020
|
backgroundColor: theme.colors.backgroundPrimary,
|
|
@@ -34227,7 +34440,7 @@ const getMemoizedNavButtonActiveCss = memoize((theme)=>importantify({
|
|
|
34227
34440
|
borderRadius: theme.borders.borderRadiusSm,
|
|
34228
34441
|
background: theme.colors.actionDefaultBackgroundPress,
|
|
34229
34442
|
button: {
|
|
34230
|
-
|
|
34443
|
+
[`&:enabled:not(:hover):not(:active) > :is(${getIconClassName()})`]: {
|
|
34231
34444
|
color: theme.colors.actionTertiaryTextPress
|
|
34232
34445
|
}
|
|
34233
34446
|
}
|
|
@@ -34284,7 +34497,7 @@ const NavButton = /*#__PURE__*/ React__default.forwardRef(// eslint-disable-next
|
|
|
34284
34497
|
active ? getMemoizedNavButtonActiveCss(theme) : undefined,
|
|
34285
34498
|
dangerouslyAppendEmotionCSS
|
|
34286
34499
|
],
|
|
34287
|
-
children: /*#__PURE__*/ jsx(Button
|
|
34500
|
+
children: /*#__PURE__*/ jsx(Button, {
|
|
34288
34501
|
ref: ref,
|
|
34289
34502
|
icon: icon,
|
|
34290
34503
|
onClick: onClick,
|
|
@@ -34645,7 +34858,7 @@ function PanelHeader({ children, dangerouslyAppendEmotionCSS, componentId, close
|
|
|
34645
34858
|
})
|
|
34646
34859
|
}),
|
|
34647
34860
|
contentContext.closable ? /*#__PURE__*/ jsx("div", {
|
|
34648
|
-
children: /*#__PURE__*/ jsx(Button
|
|
34861
|
+
children: /*#__PURE__*/ jsx(Button, {
|
|
34649
34862
|
componentId: componentId ? `${componentId}.close` : 'codegen_design-system_src_design-system_sidebar_sidebar.tsx_427',
|
|
34650
34863
|
size: "small",
|
|
34651
34864
|
icon: closeIcon ?? /*#__PURE__*/ jsx(CloseIcon, {}),
|
|
@@ -34693,7 +34906,7 @@ function PanelBody({ children, dangerouslyAppendEmotionCSS }) {
|
|
|
34693
34906
|
return /*#__PURE__*/ jsx("div", {
|
|
34694
34907
|
ref: bodyRef,
|
|
34695
34908
|
// Needed to make panel body content focusable when scrollable for keyboard-only users to be able to focus & scroll
|
|
34696
|
-
//
|
|
34909
|
+
// oxlint-disable-next-line jsx-a11y/no-noninteractive-tabindex
|
|
34697
34910
|
tabIndex: shouldBeFocusable ? 0 : -1,
|
|
34698
34911
|
css: [
|
|
34699
34912
|
getMemoizedPanelBodyCss(theme),
|
|
@@ -34738,106 +34951,6 @@ const Sidebar = /* #__PURE__ */ (()=>{
|
|
|
34738
34951
|
return Sidebar;
|
|
34739
34952
|
})();
|
|
34740
34953
|
|
|
34741
|
-
const ROOT_STYLES = /*#__PURE__*/ css({
|
|
34742
|
-
position: 'relative',
|
|
34743
|
-
display: 'flex',
|
|
34744
|
-
alignItems: 'center',
|
|
34745
|
-
'&[data-orientation="vertical"]': {
|
|
34746
|
-
flexDirection: 'column',
|
|
34747
|
-
width: 20,
|
|
34748
|
-
height: 100
|
|
34749
|
-
},
|
|
34750
|
-
'&[data-orientation="horizontal"]': {
|
|
34751
|
-
height: 20,
|
|
34752
|
-
width: 200
|
|
34753
|
-
}
|
|
34754
|
-
});
|
|
34755
|
-
const Root$3 = // eslint-disable-next-line react-component-name/react-component-name -- TODO(FEINF-4716)
|
|
34756
|
-
/*#__PURE__*/ forwardRef((props, ref)=>{
|
|
34757
|
-
return /*#__PURE__*/ jsx(RadixSlider.Root, {
|
|
34758
|
-
...addDebugOutlineIfEnabled(),
|
|
34759
|
-
css: ROOT_STYLES,
|
|
34760
|
-
...props,
|
|
34761
|
-
ref: ref
|
|
34762
|
-
});
|
|
34763
|
-
});
|
|
34764
|
-
const getTrackStyles = memoize((theme)=>/*#__PURE__*/ css({
|
|
34765
|
-
backgroundColor: theme.colors.grey100,
|
|
34766
|
-
position: 'relative',
|
|
34767
|
-
flexGrow: 1,
|
|
34768
|
-
borderRadius: theme.borders.borderRadiusFull,
|
|
34769
|
-
'&[data-orientation="vertical"]': {
|
|
34770
|
-
width: 3
|
|
34771
|
-
},
|
|
34772
|
-
'&[data-orientation="horizontal"]': {
|
|
34773
|
-
height: 3
|
|
34774
|
-
}
|
|
34775
|
-
}));
|
|
34776
|
-
const Track = // eslint-disable-next-line react-component-name/react-component-name -- TODO(FEINF-4716)
|
|
34777
|
-
/*#__PURE__*/ forwardRef((props, ref)=>{
|
|
34778
|
-
const { theme } = useDesignSystemTheme();
|
|
34779
|
-
return /*#__PURE__*/ jsx(RadixSlider.Track, {
|
|
34780
|
-
css: getTrackStyles(theme),
|
|
34781
|
-
...props,
|
|
34782
|
-
ref: ref
|
|
34783
|
-
});
|
|
34784
|
-
});
|
|
34785
|
-
const getRangeStyles = memoize((theme)=>/*#__PURE__*/ css({
|
|
34786
|
-
backgroundColor: theme.colors.primary,
|
|
34787
|
-
position: 'absolute',
|
|
34788
|
-
borderRadius: theme.borders.borderRadiusFull,
|
|
34789
|
-
height: '100%',
|
|
34790
|
-
'&[data-disabled]': {
|
|
34791
|
-
backgroundColor: theme.colors.grey100
|
|
34792
|
-
}
|
|
34793
|
-
}));
|
|
34794
|
-
const Range = // eslint-disable-next-line react-component-name/react-component-name -- TODO(FEINF-4716)
|
|
34795
|
-
/*#__PURE__*/ forwardRef((props, ref)=>{
|
|
34796
|
-
const { theme } = useDesignSystemTheme();
|
|
34797
|
-
return /*#__PURE__*/ jsx(RadixSlider.Range, {
|
|
34798
|
-
css: getRangeStyles(theme),
|
|
34799
|
-
...props,
|
|
34800
|
-
ref: ref
|
|
34801
|
-
});
|
|
34802
|
-
});
|
|
34803
|
-
const getThumbStyles = memoize((theme)=>/*#__PURE__*/ css({
|
|
34804
|
-
display: 'block',
|
|
34805
|
-
width: 20,
|
|
34806
|
-
height: 20,
|
|
34807
|
-
backgroundColor: theme.colors.actionPrimaryBackgroundDefault,
|
|
34808
|
-
boxShadow: 'none',
|
|
34809
|
-
borderRadius: theme.borders.borderRadiusFull,
|
|
34810
|
-
outline: 'none',
|
|
34811
|
-
'&:hover': {
|
|
34812
|
-
backgroundColor: theme.colors.actionPrimaryBackgroundHover
|
|
34813
|
-
},
|
|
34814
|
-
'&:focus': {
|
|
34815
|
-
backgroundColor: theme.colors.actionPrimaryBackgroundPress
|
|
34816
|
-
},
|
|
34817
|
-
'&[data-disabled]': {
|
|
34818
|
-
backgroundColor: theme.colors.grey200,
|
|
34819
|
-
boxShadow: 'none'
|
|
34820
|
-
}
|
|
34821
|
-
}));
|
|
34822
|
-
const Thumb = // eslint-disable-next-line react-component-name/react-component-name -- TODO(FEINF-4716)
|
|
34823
|
-
/*#__PURE__*/ forwardRef((props, ref)=>{
|
|
34824
|
-
const { theme } = useDesignSystemTheme();
|
|
34825
|
-
return /*#__PURE__*/ jsx(RadixSlider.Thumb, {
|
|
34826
|
-
css: getThumbStyles(theme),
|
|
34827
|
-
"aria-label": "Slider thumb",
|
|
34828
|
-
...props,
|
|
34829
|
-
ref: ref
|
|
34830
|
-
});
|
|
34831
|
-
});
|
|
34832
|
-
|
|
34833
|
-
var Slider = /*#__PURE__*/Object.freeze({
|
|
34834
|
-
__proto__: null,
|
|
34835
|
-
Range: Range,
|
|
34836
|
-
Root: Root$3,
|
|
34837
|
-
Thumb: Thumb,
|
|
34838
|
-
Track: Track
|
|
34839
|
-
});
|
|
34840
|
-
|
|
34841
34954
|
// eslint-disable-next-line @databricks/no-restricted-imports-regexp -- we can directly import antd icons here in order to wrap them for use elsewhere in the design system
|
|
34842
34955
|
function React18CompatibleIconComponent(IconComponent) {
|
|
34843
34956
|
return IconComponent;
|
|
@@ -34851,7 +34964,7 @@ function React18CompatibleIconComponent(IconComponent) {
|
|
|
34851
34964
|
* use Du Bois icons from `__generated/icons`.
|
|
34852
34965
|
*/ const LegacyEllipsisOutlined = React18CompatibleIconComponent(EllipsisOutlined);
|
|
34853
34966
|
|
|
34854
|
-
const ButtonGroup = Button$
|
|
34967
|
+
const ButtonGroup = Button$1.Group;
|
|
34855
34968
|
const DropdownButton = (props)=>{
|
|
34856
34969
|
const { theme } = useDesignSystemTheme();
|
|
34857
34970
|
const { getPopupContainer: getContextPopupContainer, getPrefixCls } = useDesignSystemContext();
|
|
@@ -34878,7 +34991,7 @@ const DropdownButton = (props)=>{
|
|
|
34878
34991
|
} else {
|
|
34879
34992
|
dropdownProps.placement = 'bottomRight';
|
|
34880
34993
|
}
|
|
34881
|
-
const leftButton = /*#__PURE__*/ jsxs(Button
|
|
34994
|
+
const leftButton = /*#__PURE__*/ jsxs(Button, {
|
|
34882
34995
|
componentId: componentId ? `${componentId}.primary_button` : 'codegen_design-system_src_design-system_splitbutton_dropdown_dropdownbutton.tsx_148',
|
|
34883
34996
|
type: type,
|
|
34884
34997
|
form: form,
|
|
@@ -34901,7 +35014,7 @@ const DropdownButton = (props)=>{
|
|
|
34901
35014
|
children
|
|
34902
35015
|
]
|
|
34903
35016
|
});
|
|
34904
|
-
const rightButton = /*#__PURE__*/ jsx(Button
|
|
35017
|
+
const rightButton = /*#__PURE__*/ jsx(Button, {
|
|
34905
35018
|
componentId: componentId ? `${componentId}.dropdown_button` : 'codegen_design-system_src_design-system_splitbutton_dropdown_dropdownbutton.tsx_166',
|
|
34906
35019
|
type: type,
|
|
34907
35020
|
danger: danger,
|
|
@@ -34938,7 +35051,7 @@ const DropdownButton = (props)=>{
|
|
|
34938
35051
|
...dropdownProps,
|
|
34939
35052
|
overlay: overlay,
|
|
34940
35053
|
children: rightButtonToRender
|
|
34941
|
-
}) : /*#__PURE__*/ jsxs(Root$
|
|
35054
|
+
}) : /*#__PURE__*/ jsxs(Root$8, {
|
|
34942
35055
|
...dropdownMenuRootProps,
|
|
34943
35056
|
itemHtmlType: htmlType === 'submit' ? 'submit' : undefined,
|
|
34944
35057
|
children: [
|
|
@@ -34967,6 +35080,9 @@ function getSplitButtonEmotionStyles(classNamePrefix, theme, size) {
|
|
|
34967
35080
|
const primary = (suffix = '')=>getBtnClassName(classNamePrefix, `-primary${suffix}`, '');
|
|
34968
35081
|
const classDropdownTrigger = `.${classNamePrefix}-dropdown-trigger`;
|
|
34969
35082
|
const classSmall = `.${classNamePrefix}-btn-group-sm`;
|
|
35083
|
+
const iconClass = getIconClassName();
|
|
35084
|
+
const iconSelector = `:is(${iconClass})`;
|
|
35085
|
+
const iconStateSelectors = `${iconClass}, &:hover ${iconSelector}, &:active ${iconSelector}, &:focus-visible ${iconSelector}`;
|
|
34970
35086
|
const styles = {
|
|
34971
35087
|
[btn()]: {
|
|
34972
35088
|
...getDefaultStyles(theme),
|
|
@@ -34980,13 +35096,13 @@ function getSplitButtonEmotionStyles(classNamePrefix, theme, size) {
|
|
|
34980
35096
|
outlineOffset: '-2px',
|
|
34981
35097
|
outlineColor: theme.colors.actionDefaultBorderFocus
|
|
34982
35098
|
},
|
|
34983
|
-
|
|
35099
|
+
[`${iconClass}, &:focus-visible ${iconSelector}`]: {
|
|
34984
35100
|
color: theme.colors.textSecondary
|
|
34985
35101
|
},
|
|
34986
|
-
|
|
35102
|
+
[`&:hover ${iconSelector}`]: {
|
|
34987
35103
|
color: theme.colors.actionDefaultIconHover
|
|
34988
35104
|
},
|
|
34989
|
-
|
|
35105
|
+
[`&:active ${iconSelector}`]: {
|
|
34990
35106
|
color: theme.colors.actionDefaultIconPress
|
|
34991
35107
|
}
|
|
34992
35108
|
},
|
|
@@ -35010,7 +35126,7 @@ function getSplitButtonEmotionStyles(classNamePrefix, theme, size) {
|
|
|
35010
35126
|
outlineOffset: '-3px',
|
|
35011
35127
|
outlineColor: theme.colors.white
|
|
35012
35128
|
},
|
|
35013
|
-
|
|
35129
|
+
[iconStateSelectors]: {
|
|
35014
35130
|
color: theme.colors.actionPrimaryIcon
|
|
35015
35131
|
}
|
|
35016
35132
|
},
|
|
@@ -35036,13 +35152,13 @@ function getSplitButtonEmotionStyles(classNamePrefix, theme, size) {
|
|
|
35036
35152
|
[classDropdownTrigger]: {
|
|
35037
35153
|
borderLeft: `1px solid ${theme.colors.actionPrimaryIcon}`
|
|
35038
35154
|
},
|
|
35039
|
-
|
|
35155
|
+
[iconStateSelectors]: {
|
|
35040
35156
|
color: theme.colors.actionDisabledText
|
|
35041
35157
|
}
|
|
35042
35158
|
},
|
|
35043
35159
|
[primary('[disabled]')]: {
|
|
35044
35160
|
...getDisabledPrimarySplitButtonStyles(theme),
|
|
35045
|
-
|
|
35161
|
+
[iconStateSelectors]: {
|
|
35046
35162
|
color: theme.colors.actionPrimaryTextDefault
|
|
35047
35163
|
}
|
|
35048
35164
|
}
|
|
@@ -35105,7 +35221,7 @@ const SplitButton = (props)=>{
|
|
|
35105
35221
|
children: /*#__PURE__*/ jsx("div", {
|
|
35106
35222
|
ref: ref,
|
|
35107
35223
|
css: SPLIT_BUTTON_CONTAINER_CSS,
|
|
35108
|
-
children: loading ? /*#__PURE__*/ jsx(Button
|
|
35224
|
+
children: loading ? /*#__PURE__*/ jsx(Button, {
|
|
35109
35225
|
componentId: "codegen_design-system_src_design-system_splitbutton_splitbutton.tsx_163",
|
|
35110
35226
|
type: type === 'default' ? undefined : type,
|
|
35111
35227
|
style: loadingButtonStyle,
|
|
@@ -35539,7 +35655,7 @@ const TabsListContext = /*#__PURE__*/ React__default.createContext({
|
|
|
35539
35655
|
current: null
|
|
35540
35656
|
}
|
|
35541
35657
|
});
|
|
35542
|
-
const Root$
|
|
35658
|
+
const Root$1 = /*#__PURE__*/ React__default.forwardRef(// eslint-disable-next-line react-component-name/react-component-name -- TODO(FEINF-4716)
|
|
35543
35659
|
({ value, defaultValue, onValueChange, componentId, analyticsEvents, valueHasNoPii, ...props }, forwardedRef)=>{
|
|
35544
35660
|
const emitOnView = safex('databricks.fe.observability.defaultComponentView.tabs', false);
|
|
35545
35661
|
const isControlled = value !== undefined;
|
|
@@ -35655,7 +35771,7 @@ const List = /*#__PURE__*/ React__default.forwardRef(// eslint-disable-next-line
|
|
|
35655
35771
|
styles['addButtonContainer'],
|
|
35656
35772
|
addButtonProps.dangerouslyAppendEmotionCSS
|
|
35657
35773
|
],
|
|
35658
|
-
children: /*#__PURE__*/ jsx(Button
|
|
35774
|
+
children: /*#__PURE__*/ jsx(Button, {
|
|
35659
35775
|
icon: /*#__PURE__*/ jsx(PlusIcon, {}),
|
|
35660
35776
|
size: "small",
|
|
35661
35777
|
"aria-label": "Add tab",
|
|
@@ -35841,8 +35957,6 @@ const Trigger$1 = /*#__PURE__*/ React__default.forwardRef(// eslint-disable-next
|
|
|
35841
35957
|
});
|
|
35842
35958
|
});
|
|
35843
35959
|
const Content$1 = /*#__PURE__*/ React__default.forwardRef(({ mountMode = 'active', children, ...props }, forwardedRef)=>{
|
|
35844
|
-
const { theme } = useDesignSystemTheme();
|
|
35845
|
-
const css = getMemoizedContentStyles(theme);
|
|
35846
35960
|
const { activeValue } = React__default.useContext(TabsRootContext);
|
|
35847
35961
|
const shouldSetActivated = props.value === activeValue;
|
|
35848
35962
|
const [hasBeenActivated, setHasBeenActivated] = React__default.useState(shouldSetActivated);
|
|
@@ -35850,7 +35964,7 @@ const Content$1 = /*#__PURE__*/ React__default.forwardRef(({ mountMode = 'active
|
|
|
35850
35964
|
setHasBeenActivated(true);
|
|
35851
35965
|
}
|
|
35852
35966
|
return /*#__PURE__*/ jsx(RadixTabs.Content, {
|
|
35853
|
-
css:
|
|
35967
|
+
css: CONTENT_STYLES,
|
|
35854
35968
|
...props,
|
|
35855
35969
|
ref: forwardedRef,
|
|
35856
35970
|
forceMount: mountMode === 'force' || mountMode === 'preserve' || undefined,
|
|
@@ -35870,13 +35984,12 @@ const ADD_BUTTON_CONTAINER_CSS = {
|
|
|
35870
35984
|
flex: 1
|
|
35871
35985
|
};
|
|
35872
35986
|
const ADD_BUTTON_CSS = {
|
|
35873
|
-
margin: '
|
|
35987
|
+
margin: 'var(--db-tabs-add-button-margin-top) 0 var(--db-tabs-add-button-margin-bottom) 0'
|
|
35874
35988
|
};
|
|
35875
35989
|
const getListStyles = (theme, shadowScrollStylesBackgroundColor, scrollbarHeight)=>{
|
|
35876
|
-
const containerStyles = getCommonTabsListStyles(theme);
|
|
35877
35990
|
return {
|
|
35878
35991
|
container: {
|
|
35879
|
-
...
|
|
35992
|
+
...COMMON_TABS_LIST_STYLES,
|
|
35880
35993
|
contain: 'layout paint'
|
|
35881
35994
|
},
|
|
35882
35995
|
root: SCROLL_ROOT_CSS,
|
|
@@ -35895,11 +36008,11 @@ const getListStyles = (theme, shadowScrollStylesBackgroundColor, scrollbarHeight
|
|
|
35895
36008
|
},
|
|
35896
36009
|
thumb: {
|
|
35897
36010
|
flex: 1,
|
|
35898
|
-
background:
|
|
36011
|
+
background: 'var(--db-tabs-scrollbar-thumb)',
|
|
35899
36012
|
'&:hover': {
|
|
35900
|
-
background:
|
|
36013
|
+
background: 'var(--db-tabs-scrollbar-thumb-hover)'
|
|
35901
36014
|
},
|
|
35902
|
-
borderRadius:
|
|
36015
|
+
borderRadius: 'var(--db-tabs-scrollbar-radius)',
|
|
35903
36016
|
position: 'relative'
|
|
35904
36017
|
},
|
|
35905
36018
|
addButtonContainer: ADD_BUTTON_CONTAINER_CSS,
|
|
@@ -35908,69 +36021,69 @@ const getListStyles = (theme, shadowScrollStylesBackgroundColor, scrollbarHeight
|
|
|
35908
36021
|
};
|
|
35909
36022
|
const getMemoizedListStyles = memoize(getListStyles, (theme, bg, scrollbarHeight)=>`${themeMemoKey(theme)}|${bg ?? ''}|${scrollbarHeight ?? ''}`);
|
|
35910
36023
|
const getTriggerStyles = (theme, isClosable)=>{
|
|
35911
|
-
const
|
|
36024
|
+
const iconSelector = `:is(${getIconClassName()})`;
|
|
35912
36025
|
return {
|
|
35913
36026
|
trigger: {
|
|
35914
|
-
...
|
|
36027
|
+
...COMMON_TABS_TRIGGER_STYLES,
|
|
35915
36028
|
alignItems: 'center',
|
|
35916
36029
|
justifyContent: isClosable ? 'space-between' : 'center',
|
|
35917
|
-
minWidth: isClosable ?
|
|
35918
|
-
color:
|
|
35919
|
-
lineHeight:
|
|
36030
|
+
minWidth: isClosable ? 'var(--db-tabs-trigger-min-width-closable)' : 'var(--db-tabs-trigger-min-width)',
|
|
36031
|
+
color: 'var(--db-tabs-text)',
|
|
36032
|
+
lineHeight: 'var(--db-tabs-line-height)',
|
|
35920
36033
|
whiteSpace: 'nowrap',
|
|
35921
36034
|
border: 'none',
|
|
35922
|
-
padding:
|
|
36035
|
+
padding: 'var(--db-tabs-trigger-padding-top) 0 var(--db-tabs-trigger-padding-bottom) 0',
|
|
35923
36036
|
// The close icon is hidden on inactive tabs until the tab is hovered
|
|
35924
36037
|
// Checking for the last icon to handle cases where the tab name includes an icon
|
|
35925
|
-
[`& >
|
|
36038
|
+
[`& > ${iconSelector}:last-of-type`]: {
|
|
35926
36039
|
visibility: 'hidden'
|
|
35927
36040
|
},
|
|
35928
36041
|
'&:hover': {
|
|
35929
36042
|
cursor: 'pointer',
|
|
35930
|
-
color:
|
|
35931
|
-
[`& >
|
|
36043
|
+
color: 'var(--db-tabs-text-hover)',
|
|
36044
|
+
[`& > ${iconSelector}:last-of-type`]: {
|
|
35932
36045
|
visibility: 'visible'
|
|
35933
36046
|
}
|
|
35934
36047
|
},
|
|
35935
36048
|
'&:active': {
|
|
35936
|
-
color:
|
|
36049
|
+
color: 'var(--db-tabs-text-press)'
|
|
35937
36050
|
},
|
|
35938
36051
|
outlineStyle: 'none',
|
|
35939
|
-
outlineColor:
|
|
36052
|
+
outlineColor: 'var(--db-tabs-focus-ring)',
|
|
35940
36053
|
'&:focus-visible': {
|
|
35941
36054
|
outlineStyle: 'auto'
|
|
35942
36055
|
},
|
|
35943
36056
|
'&[data-state="active"]': {
|
|
35944
|
-
color:
|
|
36057
|
+
color: 'var(--db-tabs-text-active)',
|
|
35945
36058
|
// Use box-shadow instead of border to prevent it from affecting the size of the element, which results in visual
|
|
35946
36059
|
// jumping when switching tabs.
|
|
35947
|
-
boxShadow:
|
|
36060
|
+
boxShadow: 'inset 0 -4px 0 var(--db-tabs-indicator)',
|
|
35948
36061
|
// The close icon is always visible on active tabs
|
|
35949
|
-
[`& >
|
|
36062
|
+
[`& > ${iconSelector}:last-of-type`]: {
|
|
35950
36063
|
visibility: 'visible'
|
|
35951
36064
|
}
|
|
35952
36065
|
},
|
|
35953
36066
|
'&[data-disabled]': {
|
|
35954
|
-
color:
|
|
36067
|
+
color: 'var(--db-tabs-text-disabled)',
|
|
35955
36068
|
'&:hover': {
|
|
35956
36069
|
cursor: 'not-allowed'
|
|
35957
36070
|
}
|
|
35958
36071
|
}
|
|
35959
36072
|
},
|
|
35960
36073
|
closeSmallIcon: {
|
|
35961
|
-
marginLeft:
|
|
35962
|
-
color:
|
|
36074
|
+
marginLeft: 'var(--db-tabs-close-icon-gap)',
|
|
36075
|
+
color: 'var(--db-tabs-text)',
|
|
35963
36076
|
'&:hover': {
|
|
35964
|
-
color:
|
|
36077
|
+
color: 'var(--db-tabs-text-hover)'
|
|
35965
36078
|
},
|
|
35966
36079
|
'&:active': {
|
|
35967
|
-
color:
|
|
36080
|
+
color: 'var(--db-tabs-text-press)'
|
|
35968
36081
|
}
|
|
35969
36082
|
},
|
|
35970
36083
|
// `trailingActions` only: the container is the visual tab (takes the consumer's className); the
|
|
35971
36084
|
// inner trigger is a transparent passthrough.
|
|
35972
36085
|
triggerContainer: {
|
|
35973
|
-
...
|
|
36086
|
+
...COMMON_TABS_TRIGGER_STYLES,
|
|
35974
36087
|
display: 'inline-flex',
|
|
35975
36088
|
alignItems: 'center',
|
|
35976
36089
|
// Fill the list height so the active-tab underline (`inset 0 -4px` box-shadow below) lands on
|
|
@@ -35978,42 +36091,42 @@ const getTriggerStyles = (theme, isClosable)=>{
|
|
|
35978
36091
|
// 20px line box (= heightSm); this branch's tallest child is a small Button, so match the
|
|
35979
36092
|
// height explicitly instead — padding would overflow the list. Centered content keeps the
|
|
35980
36093
|
// trailing actions and close icon in place; only the underline drops to the baseline.
|
|
35981
|
-
height:
|
|
36094
|
+
height: 'var(--db-tabs-height)',
|
|
35982
36095
|
position: 'relative',
|
|
35983
36096
|
// Scope the inner trigger's z-index:-1 hit-area overlay (see `triggerInner`) to this tab.
|
|
35984
36097
|
isolation: 'isolate',
|
|
35985
|
-
color:
|
|
36098
|
+
color: 'var(--db-tabs-text)',
|
|
35986
36099
|
// Focus lands on the inner button; draw the ring on the whole tab instead. Inset `outline`
|
|
35987
36100
|
// (not box-shadow) so the strip's overflow can't clip it and it won't clobber an active underline.
|
|
35988
36101
|
'&:has([role="tab"]:focus-visible)': {
|
|
35989
|
-
outline:
|
|
36102
|
+
outline: 'var(--db-tabs-focus-ring-width) solid var(--db-tabs-focus-ring)',
|
|
35990
36103
|
outlineOffset: '-2px'
|
|
35991
36104
|
},
|
|
35992
36105
|
'&:hover': {
|
|
35993
36106
|
cursor: 'pointer',
|
|
35994
|
-
color:
|
|
36107
|
+
color: 'var(--db-tabs-text-hover)'
|
|
35995
36108
|
},
|
|
35996
36109
|
'&:active': {
|
|
35997
|
-
color:
|
|
36110
|
+
color: 'var(--db-tabs-text-press)'
|
|
35998
36111
|
},
|
|
35999
36112
|
'&[data-state="active"]': {
|
|
36000
|
-
color:
|
|
36113
|
+
color: 'var(--db-tabs-text-active)',
|
|
36001
36114
|
// Use box-shadow instead of border to prevent it from affecting the size of the element, which results in visual
|
|
36002
36115
|
// jumping when switching tabs.
|
|
36003
|
-
boxShadow:
|
|
36116
|
+
boxShadow: 'inset 0 -4px 0 var(--db-tabs-indicator)'
|
|
36004
36117
|
},
|
|
36005
36118
|
'&[data-disabled]': {
|
|
36006
|
-
color:
|
|
36119
|
+
color: 'var(--db-tabs-text-disabled)',
|
|
36007
36120
|
'&:hover': {
|
|
36008
36121
|
cursor: 'not-allowed'
|
|
36009
36122
|
}
|
|
36010
36123
|
},
|
|
36011
36124
|
// Mirror the single-trigger branch: hide the close icon on inactive tabs but keep its box
|
|
36012
36125
|
// reserved (`visibility`, not width) so it doesn't shift the tab, and reveal on hover/active.
|
|
36013
|
-
[`& >
|
|
36126
|
+
[`& > ${iconSelector}:last-of-type`]: {
|
|
36014
36127
|
visibility: 'hidden'
|
|
36015
36128
|
},
|
|
36016
|
-
[`&:hover >
|
|
36129
|
+
[`&:hover > ${iconSelector}:last-of-type, &[data-state="active"] > ${iconSelector}:last-of-type`]: {
|
|
36017
36130
|
visibility: 'visible'
|
|
36018
36131
|
}
|
|
36019
36132
|
},
|
|
@@ -36047,18 +36160,18 @@ const getTriggerStyles = (theme, isClosable)=>{
|
|
|
36047
36160
|
};
|
|
36048
36161
|
};
|
|
36049
36162
|
const getMemoizedTriggerStyles = memoize(getTriggerStyles, (theme, isClosable)=>`${themeMemoKey(theme)}|${isClosable}`);
|
|
36050
|
-
const
|
|
36051
|
-
|
|
36052
|
-
|
|
36053
|
-
|
|
36054
|
-
|
|
36055
|
-
|
|
36163
|
+
const CONTENT_STYLES = {
|
|
36164
|
+
color: 'var(--db-tabs-content-text)',
|
|
36165
|
+
'&[data-state="inactive"]': {
|
|
36166
|
+
display: 'none'
|
|
36167
|
+
}
|
|
36168
|
+
};
|
|
36056
36169
|
|
|
36057
36170
|
var Tabs = /*#__PURE__*/Object.freeze({
|
|
36058
36171
|
__proto__: null,
|
|
36059
36172
|
Content: Content$1,
|
|
36060
36173
|
List: List,
|
|
36061
|
-
Root: Root$
|
|
36174
|
+
Root: Root$1,
|
|
36062
36175
|
Trigger: Trigger$1
|
|
36063
36176
|
});
|
|
36064
36177
|
|
|
@@ -36249,93 +36362,6 @@ const ToggleButton = /*#__PURE__*/ forwardRef(// eslint-disable-next-line react-
|
|
|
36249
36362
|
});
|
|
36250
36363
|
});
|
|
36251
36364
|
|
|
36252
|
-
const getRootStyles = memoize((theme)=>/*#__PURE__*/ css({
|
|
36253
|
-
alignItems: 'center',
|
|
36254
|
-
backgroundColor: theme.colors.backgroundSecondary,
|
|
36255
|
-
border: `1px solid ${theme.colors.border}`,
|
|
36256
|
-
borderRadius: theme.borders.borderRadiusSm,
|
|
36257
|
-
boxShadow: theme.shadows.lg,
|
|
36258
|
-
display: 'flex',
|
|
36259
|
-
gap: theme.spacing.md,
|
|
36260
|
-
width: 'max-content',
|
|
36261
|
-
padding: theme.spacing.sm
|
|
36262
|
-
}));
|
|
36263
|
-
const Root$1 = // eslint-disable-next-line react-component-name/react-component-name -- TODO(FEINF-4716)
|
|
36264
|
-
/*#__PURE__*/ forwardRef((props, ref)=>{
|
|
36265
|
-
const { theme } = useDesignSystemTheme();
|
|
36266
|
-
return /*#__PURE__*/ jsx(RadixToolbar.Root, {
|
|
36267
|
-
...addDebugOutlineIfEnabled(),
|
|
36268
|
-
css: getRootStyles(theme),
|
|
36269
|
-
...props,
|
|
36270
|
-
ref: ref
|
|
36271
|
-
});
|
|
36272
|
-
});
|
|
36273
|
-
const Button = /*#__PURE__*/ forwardRef(// eslint-disable-next-line react-component-name/react-component-name -- TODO(FEINF-4716)
|
|
36274
|
-
(props, ref)=>{
|
|
36275
|
-
return /*#__PURE__*/ jsx(RadixToolbar.Button, {
|
|
36276
|
-
...props,
|
|
36277
|
-
ref: ref
|
|
36278
|
-
});
|
|
36279
|
-
});
|
|
36280
|
-
const getSeparatorStyles = memoize((theme)=>/*#__PURE__*/ css({
|
|
36281
|
-
alignSelf: 'stretch',
|
|
36282
|
-
backgroundColor: theme.colors.borderDecorative,
|
|
36283
|
-
width: 1
|
|
36284
|
-
}));
|
|
36285
|
-
const Separator = /*#__PURE__*/ forwardRef(// eslint-disable-next-line react-component-name/react-component-name -- TODO(FEINF-4716)
|
|
36286
|
-
(props, ref)=>{
|
|
36287
|
-
const { theme } = useDesignSystemTheme();
|
|
36288
|
-
return /*#__PURE__*/ jsx(RadixToolbar.Separator, {
|
|
36289
|
-
css: getSeparatorStyles(theme),
|
|
36290
|
-
...props,
|
|
36291
|
-
ref: ref
|
|
36292
|
-
});
|
|
36293
|
-
});
|
|
36294
|
-
const Link = // eslint-disable-next-line react-component-name/react-component-name -- TODO(FEINF-4716)
|
|
36295
|
-
/*#__PURE__*/ forwardRef((props, ref)=>{
|
|
36296
|
-
return /*#__PURE__*/ jsx(RadixToolbar.Link, {
|
|
36297
|
-
...props,
|
|
36298
|
-
ref: ref
|
|
36299
|
-
});
|
|
36300
|
-
});
|
|
36301
|
-
const ToggleGroup = /*#__PURE__*/ forwardRef((props, ref)=>{
|
|
36302
|
-
return /*#__PURE__*/ jsx(RadixToolbar.ToggleGroup, {
|
|
36303
|
-
...props,
|
|
36304
|
-
ref: ref
|
|
36305
|
-
});
|
|
36306
|
-
});
|
|
36307
|
-
const getToggleItemStyles = memoize((theme)=>/*#__PURE__*/ css({
|
|
36308
|
-
background: 'none',
|
|
36309
|
-
color: theme.colors.textPrimary,
|
|
36310
|
-
border: 'none',
|
|
36311
|
-
cursor: 'pointer',
|
|
36312
|
-
'&:hover': {
|
|
36313
|
-
color: theme.colors.actionDefaultTextHover
|
|
36314
|
-
},
|
|
36315
|
-
'&[data-state="on"]': {
|
|
36316
|
-
color: theme.colors.actionDefaultTextPress
|
|
36317
|
-
}
|
|
36318
|
-
}));
|
|
36319
|
-
const ToggleItem = /*#__PURE__*/ forwardRef(// eslint-disable-next-line react-component-name/react-component-name -- TODO(FEINF-4716)
|
|
36320
|
-
(props, ref)=>{
|
|
36321
|
-
const { theme } = useDesignSystemTheme();
|
|
36322
|
-
return /*#__PURE__*/ jsx(RadixToolbar.ToggleItem, {
|
|
36323
|
-
css: getToggleItemStyles(theme),
|
|
36324
|
-
...props,
|
|
36325
|
-
ref: ref
|
|
36326
|
-
});
|
|
36327
|
-
});
|
|
36328
|
-
|
|
36329
|
-
var Toolbar = /*#__PURE__*/Object.freeze({
|
|
36330
|
-
__proto__: null,
|
|
36331
|
-
Button: Button,
|
|
36332
|
-
Link: Link,
|
|
36333
|
-
Root: Root$1,
|
|
36334
|
-
Separator: Separator,
|
|
36335
|
-
ToggleGroup: ToggleGroup,
|
|
36336
|
-
ToggleItem: ToggleItem
|
|
36337
|
-
});
|
|
36338
|
-
|
|
36339
36365
|
const SWITCHER_ICON_CSS = {
|
|
36340
36366
|
fontSize: '16px !important'
|
|
36341
36367
|
};
|
|
@@ -37038,7 +37064,7 @@ function getWizardFooterButtons({ goToNextStepOrDone, isLastStep, currentStepInd
|
|
|
37038
37064
|
// oxlint-disable-next-line @databricks/no-dynamic-property-value -- Validated through JSX componentId exempt:acae06b0-d74d-44ee-86db-15b3014e2bcf
|
|
37039
37065
|
componentId: componentId ? `${componentId}.cancel` : undefined
|
|
37040
37066
|
}, "cancel")),
|
|
37041
|
-
currentStepIndex > 0 && !previousStepButtonHidden && /*#__PURE__*/ jsx(Button
|
|
37067
|
+
currentStepIndex > 0 && !previousStepButtonHidden && /*#__PURE__*/ jsx(Button, {
|
|
37042
37068
|
onClick: goToPreviousStep,
|
|
37043
37069
|
type: "tertiary",
|
|
37044
37070
|
disabled: previousButtonDisabled,
|
|
@@ -37067,7 +37093,7 @@ function getWizardFooterButtons({ goToNextStepOrDone, isLastStep, currentStepInd
|
|
|
37067
37093
|
]);
|
|
37068
37094
|
}
|
|
37069
37095
|
function CancelButton({ onCancel, cancelButtonContent, componentId, disabled }) {
|
|
37070
|
-
return /*#__PURE__*/ jsx(Button
|
|
37096
|
+
return /*#__PURE__*/ jsx(Button, {
|
|
37071
37097
|
onClick: onCancel,
|
|
37072
37098
|
type: "tertiary",
|
|
37073
37099
|
componentId: componentId ?? 'dubois-wizard-footer-cancel',
|
|
@@ -37079,12 +37105,12 @@ function ButtonWithTooltip({ tooltipContent, disabled, children, ...props }) {
|
|
|
37079
37105
|
return tooltipContent ? /*#__PURE__*/ jsx(Tooltip, {
|
|
37080
37106
|
componentId: "dubois-wizard-footer-tooltip",
|
|
37081
37107
|
content: tooltipContent,
|
|
37082
|
-
children: /*#__PURE__*/ jsx(Button
|
|
37108
|
+
children: /*#__PURE__*/ jsx(Button, {
|
|
37083
37109
|
...props,
|
|
37084
37110
|
disabled: disabled,
|
|
37085
37111
|
children: children
|
|
37086
37112
|
})
|
|
37087
|
-
}) : /*#__PURE__*/ jsx(Button
|
|
37113
|
+
}) : /*#__PURE__*/ jsx(Button, {
|
|
37088
37114
|
...props,
|
|
37089
37115
|
disabled: disabled,
|
|
37090
37116
|
children: children
|
|
@@ -37257,7 +37283,7 @@ function Content({ title, modalTitleWhenCompact, width, children, closeLabel, di
|
|
|
37257
37283
|
color: "secondary",
|
|
37258
37284
|
children: title
|
|
37259
37285
|
}),
|
|
37260
|
-
/*#__PURE__*/ jsx(Button
|
|
37286
|
+
/*#__PURE__*/ jsx(Button, {
|
|
37261
37287
|
"aria-label": closeLabel,
|
|
37262
37288
|
icon: /*#__PURE__*/ jsx(CloseIcon, {}),
|
|
37263
37289
|
componentId: "documentation-side-bar-close",
|
|
@@ -37370,13 +37396,13 @@ function VerticalWizardContent({ width, height, steps: wizardSteps, currentStepI
|
|
|
37370
37396
|
]
|
|
37371
37397
|
}),
|
|
37372
37398
|
isCompactStepper && (()=>{
|
|
37373
|
-
const compactStepperContent = /*#__PURE__*/ jsxs(Root$
|
|
37399
|
+
const compactStepperContent = /*#__PURE__*/ jsxs(Root$9, {
|
|
37374
37400
|
componentId: "codegen_design-system_src_~patterns_wizard_verticalwizardcontent.tsx_93",
|
|
37375
37401
|
children: [
|
|
37376
37402
|
/*#__PURE__*/ jsx(Trigger$5, {
|
|
37377
37403
|
asChild: true,
|
|
37378
37404
|
children: /*#__PURE__*/ jsx("div", {
|
|
37379
|
-
children: /*#__PURE__*/ jsx(Button
|
|
37405
|
+
children: /*#__PURE__*/ jsx(Button, {
|
|
37380
37406
|
icon: /*#__PURE__*/ jsx(ListIcon, {}),
|
|
37381
37407
|
componentId: "dubois-wizard-vertical-compact-show-stepper-popover",
|
|
37382
37408
|
children: verticalCompactButtonContent?.(currentStepIndex, stepperSteps.length)
|
|
@@ -37578,13 +37604,14 @@ function WizardStepNavigationProvider({ goToStep, currentStepIndex, children })
|
|
|
37578
37604
|
});
|
|
37579
37605
|
}
|
|
37580
37606
|
|
|
37581
|
-
function WizardModal({ onStepChanged, onCancel, initialStep, steps, onModalClose, localizeStepNumber, cancelButtonContent, nextButtonContent, previousButtonContent, doneButtonContent, enableClickingToSteps, ...modalProps }) {
|
|
37607
|
+
function WizardModal({ onStepChanged, onValidateStepChange, onCancel, initialStep, steps, onModalClose, localizeStepNumber, cancelButtonContent, nextButtonContent, previousButtonContent, doneButtonContent, enableClickingToSteps, ...modalProps }) {
|
|
37582
37608
|
const [currentStepIndex, setCurrentStepIndex] = useState(initialStep ?? 0);
|
|
37583
37609
|
const { onStepsChange, isLastStep, ...footerActions } = useWizardCurrentStep({
|
|
37584
37610
|
currentStepIndex,
|
|
37585
37611
|
setCurrentStepIndex,
|
|
37586
37612
|
totalSteps: steps.length,
|
|
37587
|
-
onStepChanged
|
|
37613
|
+
onStepChanged,
|
|
37614
|
+
onValidateStepChange
|
|
37588
37615
|
});
|
|
37589
37616
|
if (steps.length === 0 || !isUndefined(initialStep) && (initialStep < 0 || initialStep >= steps.length)) {
|
|
37590
37617
|
return null;
|
|
@@ -37692,5 +37719,5 @@ function WizardStepContentWrapper({ header, title, description, alertContent, de
|
|
|
37692
37719
|
});
|
|
37693
37720
|
}
|
|
37694
37721
|
|
|
37695
|
-
export { tableClassNames as $, token as A, Button$1 as B, CheckCircleFillIcon as C, DocumentationSidebar as D, getDarkModePortalStyles as E, FIXED_VERTICAL_STEPPER_WIDTH as F, useModalContext as G, Trigger$5 as H, InfoFillIcon as I, InfoSmallIcon as J, Content$7 as K, Arrow$2 as L, MAX_VERTICAL_WIZARD_CONTENT_WIDTH as M, Tooltip as N, SparkleDoubleIcon as O, LoadingState as P, visuallyHidden as Q, Root$b as R, ShapeTokens as S, Typography as T, genSkeletonAnimatedColor as U, getOffsets as V, Wizard as W, DesignSystemEventSuppressInteractionProviderContext as X, DesignSystemEventSuppressInteractionTrueContextValue as Y, tableStyles as Z, repeatingElementsStyles as _, WizardControlled as a, MinusSquareIcon as a$, hideIconButtonRowStyles as a0, hideIconButtonActionCellClassName as a1, safex as a2, TitleSkeleton as a3, useDialogComboboxContext as a4, PlusIcon as a5, importantify as a6, getComboboxOptionItemWrapperStyles as a7, getFooterStyles as a8, useDialogComboboxOptionListContext as a9, Radio as aA, Checkbox as aB, DialogCombobox as aC, DialogComboboxTrigger as aD, DialogComboboxContent as aE, Select as aF, SelectTrigger as aG, SelectContent as aH, SelectOption as aI, LegacySelect as aJ, WarningIcon as aK, CheckCircleIcon as aL, DangerIcon as aM, Hint as aN, Title$1 as aO, CloseIcon as aP, RestoreAntDDefaultClsPrefix as aQ, AccessibleContainer as aR, DU_BOIS_ENABLE_ANIMATION_CLASSNAME as aS, Tag as aT, CircleOffIcon as aU, CircleOutlineIcon as aV, CircleIcon as aW, getBtnClassName as aX, SortAscendingIcon as aY, SortDescendingIcon as aZ, SortUnsortedIcon as a_, generateUuidV4 as aa, getContentOptions as ab, findHighlightedOption as ac, highlightOption as ad, Input as ae, SearchIcon as af, EmptyResults as ag, findClosestOptionSibling as ah, DialogComboboxOptionListCheckboxItem as ai, DialogComboboxOptionListSelectItem as aj, DialogComboboxOptionListContextProvider as ak, LoadingSpinner as al, DialogComboboxOptionList as am, useUniqueId as an, TypeaheadComboboxContextProvider as ao, useTypeaheadComboboxContext as ap, useDuboisThemeClass as aq, useDesignTokenOverrideStyles as ar, getComboboxContentWrapperStyles as as, ClearSelectionButton as at, TypeaheadComboboxSelectedItem$1 as au, CountBadge$1 as av, getValidationStateColor as aw, SectionHeader as ax, useComboboxState as ay, useMultipleSelectionState as az, WizardModal as b, BeakerIcon as b$, PlusSquareIcon as b0, TypeaheadComboboxV2ContextProvider as b1, useTypeaheadComboboxV2Context as b2, useRadixModalContext as b3, useIsomorphicLayoutEffect as b4, useScrollOptionIntoView as b5, InfoTooltip as b6, getInfoIconStyles as b7, HintRow as b8, getCheckboxStyles as b9, ArrowUpDotIcon as bA, ArrowUpFillIcon as bB, ArrowUpIcon as bC, ArrowsCollapseIcon as bD, ArrowsConnectIcon as bE, ArrowsExpandIcon as bF, ArrowsUpDownIcon as bG, AssistantIcon as bH, AtIcon as bI, Auth0Graphic as bJ, Auth0GraphicLarge as bK, AzHorizontalIcon as bL, AzVerticalIcon as bM, BANNER_MAX_HEIGHT as bN, BANNER_MIN_HEIGHT as bO, BackupIcon as bP, BadgeCodeIcon as bQ, BadgeCodeOffIcon as bR, Banner as bS, BarChartIcon as bT, BarGroupedIcon as bU, BarStackedIcon as bV, BarStackedPercentageIcon as bW, BarsAscendingHorizontalIcon as bX, BarsAscendingVerticalIcon as bY, BarsDescendingHorizontalIcon as bZ, BarsDescendingVerticalIcon as b_, getMenuItemStyles as ba, TypeaheadComboboxSelectedItem as bb, CountBadge as bc, TypeaheadComboboxMenuItem as bd, AccessDeniedGraphic as be, Accordion as bf, AccordionPanel as bg, AlignCenterIcon as bh, AlignJustifyIcon as bi, AlignLeftIcon as bj, AlignRightIcon as bk, AlignVerticalBottomIcon as bl, AlignVerticalCenterIcon as bm, AlignVerticalTopIcon as bn, AppIcon as bo, ApplyDesignSystemContextOverrides as bp, ApplyDesignSystemFlags as bq, ArrowDownDotIcon as br, ArrowDownFillIcon as bs, ArrowDownIcon as bt, ArrowInIcon as bu, ArrowInTableIcon as bv, ArrowLeftIcon as bw, ArrowOutTableIcon as bx, ArrowOverIcon as by, ArrowRightIcon as bz, WizardStepContentWrapper as c, CloudCheckIcon as c$, BinaryIcon as c0, BlockQuoteIcon as c1, BoldIcon as c2, BookIcon as c3, BookmarkFillIcon as c4, BookmarkIcon as c5, BooksIcon as c6, BracketsCheckIcon as c7, BracketsCurlyIcon as c8, BracketsErrorIcon as c9, CertifiedFillIcon as cA, CertifiedFillSmallIcon as cB, CertifiedIcon as cC, ChainIcon as cD, ChartLineIcon as cE, CheckCircleBadgeIcon as cF, CheckCircleSmallIcon as cG, CheckIcon as cH, CheckLineIcon as cI, CheckSmallIcon as cJ, CheckboxIcon as cK, ChecklistIcon as cL, ChevronDoubleDownIcon as cM, ChevronDoubleLeftIcon as cN, ChevronDoubleLeftOffIcon as cO, ChevronDoubleRightIcon as cP, ChevronDoubleRightOffIcon as cQ, ChevronDoubleUpIcon as cR, ChevronLeftIcon as cS, ChevronUpIcon as cT, ChipIcon as cU, CircleOffLargeIcon as cV, CircleOutlineLargeIcon as cW, ClipboardIcon as cX, ClockIcon as cY, ClockKeyIcon as cZ, ClockOffIcon as c_, BracketsSquareIcon as ca, BracketsXIcon as cb, BranchCheckIcon as cc, BranchIcon as cd, BranchResetIcon as ce, BriefcaseFillIcon as cf, BriefcaseIcon as cg, BrushIcon as ch, BugIcon as ci, CalendarClockIcon as cj, CalendarEventIcon as ck, CalendarIcon as cl, CalendarRangeIcon as cm, CalendarSyncIcon as cn, CameraIcon as co, CapitalizeIcon as cp, CaretDownSquareIcon as cq, CaretUpSquareIcon as cr, CatalogCloudIcon as cs, CatalogGearIcon as ct, CatalogHomeIcon as cu, CatalogIcon as cv, CatalogOffIcon as cw, CatalogSharedIcon as cx, CatalogUserHomeIcon as cy, CellsSquareIcon as cz, WizardStepNavigationProvider as d, Drawer as d$, CloudDatabaseIcon as d0, CloudDownloadIcon as d1, CloudIcon as d2, CloudKeyIcon as d3, CloudModelIcon as d4, CloudOffIcon as d5, CloudUploadIcon as d6, CodeIcon as d7, ColorFillIcon as d8, ColorMappingEditIcon as d9, DangerSmallIcon as dA, DashIcon as dB, DashboardCodeIcon as dC, DashboardIcon as dD, DataIcon as dE, DataMaskiingGraphic as dF, DatabaseClockIcon as dG, DatabaseIcon as dH, DatabaseImportIcon as dI, DatePicker as dJ, DecimalIcon as dK, DeprecatedIcon as dL, DeprecatedSmallIcon as dM, DesignSystemContext as dN, DesignSystemEventProviderComponentSubTypes as dO, DesignSystemProvider as dP, DesignSystemThemeContext as dQ, DesignSystemThemeProvider as dR, DialogComboboxCountBadge as dS, DialogComboboxCustomButtonTriggerWrapper as dT, DialogComboboxSectionHeader as dU, DollarIcon as dV, DomainCirclesThree as dW, DomainsIcon as dX, DotsCircleIcon as dY, DownloadIcon as dZ, DragIcon as d_, ColorMappingIcon as da, ColorVars as db, ColumnIcon as dc, ColumnSplitIcon as dd, ColumnTagIcon as de, ColumnsIcon as df, CommandIcon as dg, CommandPaletteIcon as dh, CompassIcon as di, ComponentFinderContext as dj, ConnectIcon as dk, Content$2 as dl, ContextMenu$1 as dm, CopyIcon as dn, CreditCardIcon as dp, CursorClickIcon as dq, CursorIcon as dr, CursorPagination as ds, CursorTypeIcon as dt, CustomAppIcon as du, DS_OVERRIDE_TOKENS_WRAPPER_TESTID as dv, DagHorizontalIcon as dw, DagIcon as dx, DagVerticalIcon as dy, DangerModal as dz, useWizardStepNavigation as e, GridIcon as e$, DropdownMenu as e0, Empty as e1, EmptyDashboardGraphic as e2, ErdIcon as e3, ExpandLessIcon as e4, ExpandMoreIcon as e5, FaceFrownIcon as e6, FaceNeutralIcon as e7, FaceSmileIcon as e8, FileCodeIcon as e9, FolderOpenCloudIcon as eA, FolderOpenCubeIcon as eB, FolderOpenIcon as eC, FolderOpenPipelineIcon as eD, FolderOutlinePipelineIcon as eE, FolderSolidPipelineIcon as eF, FontIcon as eG, ForkHorizontalIcon as eH, ForkIcon as eI, Form as eJ, FormContextResetBoundary as eK, FullscreenExitIcon as eL, FullscreenIcon as eM, FunctionIcon as eN, FunctionInputIcon as eO, GavelIcon as eP, GearFillIcon as eQ, GearIcon as eR, GenieCodeIcon as eS, GenieDeepResearchIcon as eT, GiftIcon as eU, GitCommitIcon as eV, GitMergeIcon as eW, GitRebaseIcon as eX, GlobeIcon as eY, Graphic as eZ, GridDashIcon as e_, FileCubeIcon as ea, FileDocumentIcon as eb, FileIcon as ec, FileImageIcon as ed, FileLockIcon as ee, FileModelIcon as ef, FileNewIcon as eg, FilePipelineIcon as eh, FilterFillIcon as ei, FilterIcon as ej, FlagPointerIcon as ek, FloatIcon as el, FlowIcon as em, FlowsIcon as en, FolderBranchFillIcon as eo, FolderBranchIcon as ep, FolderCloudFilledIcon as eq, FolderCloudIcon as er, FolderCubeIcon as es, FolderCubeOutlineIcon as et, FolderFillIcon as eu, FolderHomeIcon as ev, FolderIcon as ew, FolderNewIcon as ex, FolderNodeIcon as ey, FolderOpenBranchIcon as ez, DesignSystemEventProvider as f, LoopIcon as f$, GroupIcon as f0, H1Icon as f1, H2Icon as f2, H3Icon as f3, H4Icon as f4, H5Icon as f5, H6Icon as f6, HashIcon as f7, HistoryIcon as f8, HomeIcon as f9, LegacyOption as fA, LegacySelectOptGroup as fB, LegacySelectOption as fC, LegacyTable as fD, LegacyTooltip as fE, LetterFormatIcon as fF, LettersIcon as fG, LettersNumbersIcon as fH, LibrariesIcon as fI, LifesaverIcon as fJ, LightbulbIcon as fK, LightningCircleFillIcon as fL, LightningIcon as fM, LinearLineIcon as fN, LinkIcon as fO, LinkOffIcon as fP, ListBorderIcon as fQ, ListClearIcon as fR, ListIcon as fS, ListNumberIcon as fT, Listbox as fU, LoadingIcon as fV, LoadingStateContext as fW, LockFillIcon as fX, LockIcon as fY, LockShareIcon as fZ, LockUnlockedIcon as f_, Icon as fa, ImageIcon as fb, IndentDecreaseIcon as fc, IndentIncreaseIcon as fd, InfinityIcon as fe, InfoBookIcon as ff, InfoIcon as fg, IngestionIcon as fh, ItalicIcon as fi, JoinOperatorIcon as fj, KeyIcon as fk, KeyboardIcon as fl, LakebaseCatalogIcon as fm, LakebaseIcon as fn, LakeflowDesignerIcon as fo, LakewatchAlertIcon as fp, LakewatchDatasourceIcon as fq, LakewatchDetectionRuleIcon as fr, LakewatchParserIcon as fs, LayerGraphIcon as ft, LayerIcon as fu, Layout as fv, LeafIcon as fw, LegacyForm as fx, LegacyFormDubois as fy, LegacyOptGroup as fz, useDesignSystemTheme as g, PinIcon as g$, LowercaseIcon as g0, MailIcon as g1, MapIcon as g2, MarkdownIcon as g3, McpIcon as g4, MeasureIcon as g5, MegaphoneIcon as g6, MenuIcon as g7, MicrophoneIcon as g8, MicrophoneOffIcon as g9, OperatorIcon as gA, OutageGraphic as gB, OverflowHorizontalIcon as gC, OverflowIcon as gD, PageBottomIcon as gE, PageFirstIcon as gF, PageIcon as gG, PageLastIcon as gH, PageTopIcon as gI, Pagination as gJ, Panel as gK, PanelBody as gL, PanelDockedIcon as gM, PanelFloatingIcon as gN, PanelHeader as gO, PanelHeaderButtons as gP, PanelHeaderTitle as gQ, PaperclipIcon as gR, PassFailChecklistIcon as gS, PauseIcon as gT, PencilFillIcon as gU, PencilIcon as gV, PencilSparkleIcon as gW, PieChartIcon as gX, PillControl as gY, PinCancelIcon as gZ, PinFillIcon as g_, MinusCircleFillIcon as ga, MinusCircleIcon as gb, MinusCircleSmallIcon as gc, MissingBranchGraphic as gd, MissingGraphic as ge, ModelsIcon as gf, MonotoneLineIcon as gg, MonthPickerGrid as gh, MoonIcon as gi, Nav as gj, NavButton as gk, NavigationMenu as gl, NeonProjectIcon as gm, NewChatIcon as gn, NewTabIcon as go, NewWindowIcon as gp, NoCaseIcon as gq, NoIcon as gr, NotebookIcon as gs, NotebookPipelineIcon as gt, NotificationIcon as gu, NotificationOffIcon as gv, NumberFormatIcon as gw, NumbersIcon as gx, OfficeIcon as gy, OntologyIcon as gz, DesignTokenScope as h, SidebarAutoIcon as h$, PipelineCodeIcon as h0, PipelineCubeIcon as h1, PipelineIcon as h2, PivotOperatorIcon as h3, PlayCircleFillIcon as h4, PlayCircleIcon as h5, PlayDoubleIcon as h6, PlayIcon as h7, PlayMultipleIcon as h8, PlugIcon as h9, ResizeIcon as hA, RhfForm as hB, RichTextIcon as hC, RobotIcon as hD, RocketIcon as hE, RowsIcon as hF, RunIcon as hG, RunningIcon as hH, SMALL_BUTTON_HEIGHT$2 as hI, SaveClockIcon as hJ, SaveIcon as hK, SchemaIcon as hL, SchoolIcon as hM, SearchDataIcon as hN, SegmentedControlButton as hO, SegmentedControlGroup as hP, SelectContext as hQ, SelectContextProvider as hR, SelectOptionGroup as hS, SendIcon as hT, ShareIcon as hU, ShareNodesIcon as hV, ShieldCheckIcon as hW, ShieldIcon as hX, ShieldOffIcon as hY, ShortcutIcon as hZ, Sidebar as h_, PlusCircleFillIcon as ha, PlusCircleIcon as hb, PlusCircleSmallIcon as hc, PlusMinusSquareIcon as hd, Popover as he, PositionBottomIcon as hf, PositionLeftIcon as hg, PositionRightIcon as hh, PositionTopIcon as hi, PreviewCard as hj, Progress as hk, PullRequestIcon as hl, PuzzleIcon as hm, QueryEditorIcon as hn, QueryIcon as ho, QuestionMarkFillIcon as hp, QuestionMarkIcon as hq, RadioIcon as hr, RadioTile as hs, RangePicker as ht, ReaderModeIcon as hu, RedoIcon as hv, RefreshIcon as hw, RefreshPlayIcon as hx, RefreshXIcon as hy, ReplyIcon as hz, useDesignSystemContext as i, TableReportIcon as i$, SidebarClosedIcon as i0, SidebarCollapseIcon as i1, SidebarExpandIcon as i2, SidebarIcon as i3, SidebarOpenIcon as i4, SidebarSyncIcon as i5, SimpleSelect as i6, SimpleSelectOption as i7, SimpleSelectOptionGroup as i8, SlashSquareIcon as i9, SplitButton as iA, SqlIcon as iB, StarFillIcon as iC, StarIcon as iD, StepAfterLineIcon as iE, StepBeforeLineIcon as iF, Stepper as iG, StopCircleFillIcon as iH, StopCircleIcon as iI, StopIcon as iJ, StoredProcedureIcon as iK, StorefrontIcon as iL, StreamIcon as iM, StrikeThroughIcon as iN, SunIcon as iO, SyncIcon as iP, SyncSmallIcon as iQ, SyncToFileIcon as iR, TableAsteriskIcon as iS, TableClockIcon as iT, TableCombineIcon as iU, TableGlassesIcon as iV, TableGlobeIcon as iW, TableIcon as iX, TableLightningIcon as iY, TableMeasureIcon as iZ, TableModelIcon as i_, Slider as ia, SlidersIcon as ib, SnippetIcon as ic, SortCustomHorizontalIcon as id, SortCustomVerticalIcon as ie, SortHorizontalAscendingIcon as ig, SortHorizontalDescendingIcon as ih, SortLetterHorizontalAscendingIcon as ii, SortLetterHorizontalDescendingIcon as ij, SortLetterUnsortedIcon as ik, SortLetterVerticalAscendingIcon as il, SortLetterVerticalDescendingIcon as im, Spacer as io, SparkleDoubleFillIcon as ip, SparkleFillIcon as iq, SparkleIcon as ir, SparkleRectangleIcon as is, SpeechBubbleIcon as it, SpeechBubblePlusIcon as iu, SpeechBubbleQuestionMarkFillIcon as iv, SpeechBubbleQuestionMarkIcon as iw, SpeechBubbleStarIcon as ix, SpeedometerIcon as iy, Spinner as iz, WarningFillIcon as j, ZaHorizontalIcon as j$, TableStreamIcon as j0, TableVectorIcon as j1, TableViewIcon as j2, Tabs as j3, TagColumnIcon as j4, TagIcon as j5, TagTableIcon as j6, TargetIcon as j7, TerminalIcon as j8, TextBoxIcon as j9, UppercaseIcon as jA, UsageOverageGraphic as jB, UsageSpikeGraphic as jC, UsbIcon as jD, UserBadgeIcon as jE, UserCircleIcon as jF, UserGroupFillIcon as jG, UserGroupIcon as jH, UserIcon as jI, UserKeyIconIcon as jJ, UserShieldIcon as jK, UserSparkleIcon as jL, UserTeamIcon as jM, VisibleFillIcon as jN, VisibleIcon as jO, VisibleOffIcon as jP, VoiceModeIcon as jQ, WithDesignSystemThemeHoc as jR, WorkflowCodeIcon as jS, WorkflowCubeIcon as jT, WorkflowsIcon as jU, WorkspacesIcon as jV, WrenchIcon as jW, WrenchSparkleIcon as jX, XCircleFillIcon as jY, XCircleIcon as jZ, YearPickerGrid as j_, TextColorIcon as ja, TextIcon as jb, TextJustifyIcon as jc, TextUnderlineIcon as jd, ThreeDotsIcon as je, ThumbsDownFilledIcon as jf, ThumbsDownIcon as jg, ThumbsUpFilledIcon as jh, ThumbsUpIcon as ji, ToggleButton as jj, TokenIcon as jk, Toolbar as jl, TrashIcon as jm, Tree as jn, TreeIcon as jo, TrendingFillIcon as jp, TrendingIcon as jq, TriangleIcon as jr, TypeaheadComboboxCheckboxItem as js, TypeaheadComboboxFooter as jt, TypeaheadComboboxMenuItem$1 as ju, TypeaheadComboboxMultiSelectStateChangeTypes as jv, TypeaheadComboboxStateChangeTypes as jw, UnderlineIcon as jx, UndoIcon as jy, UploadIcon as jz, DangerFillIcon as k, ZaVerticalIcon as k0, ZeroOpsIcon as k1, ZeroOpsOutlineIcon as k2, ZoomInIcon as k3, ZoomMarqueeSelection as k4, ZoomOutIcon as k5, ZoomToFitIcon as k6, __INTERNAL_DO_NOT_USE__FormItem as k7, __INTERNAL_DO_NOT_USE__Group as k8, __INTERNAL_DO_NOT_USE__HorizontalGroup as k9, setImplicitContextGetter as kA, skipHideIconButtonActionClassName as kB, themeMemoKey as kC, useAntDConfigProviderContext as kD, useCallbackOnEnter as kE, useComponentFinderContext as kF, useDesignSystemEventSuppressInteractionContext as kG, useFormContext as kH, useRadioGroupContext as kI, __INTERNAL_DO_NOT_USE__VerticalGroup as ka, __INTERNAL_DO_NOT_USE__wrapLegacyFormRules as kb, augmentWithDataComponentProps as kc, dialogComboboxLookAheadKeyDown as kd, getBottomOnlyShadowScrollStyles as ke, getButtonEmotionStyles as kf, getComboboxOptionLabelStyles as kg, getDatePickerQuickActionBasic as kh, getDialogComboboxOptionLabelWidth as ki, getHorizontalTabShadowStyles as kj, getInputStyles as kk, getKeyboardNavigationFunctions as kl, getMemoizedButtonEmotionStyles as km, getPaginationEmotionStyles as kn, getPanelContainmentStyle as ko, getRadioStyles as kp, getRangeQuickActionsBasic as kq, getShadowScrollStyles as kr, getTypographyColor as ks, getVirtualListScrollbarStyles as kt, getVirtualListScrollbarThumbColor as ku, getVirtualizedComboboxMenuItemStyles as kv, getWrapperStyle as kw, highlightFirstNonDisabledOption as kx, isOptionDisabled as ky, resetTabIndexToFocusedElement as kz, DesignSystemEventProviderAnalyticsEventTypes as l, useDesignSystemEventComponentCallbacks as m, DesignSystemEventProviderComponentTypes as n, DesignSystemEventProviderComponentSubTypeMap as o, primitiveColors as p, useNotifyOnFirstView as q, useStableUuidV4 as r, ChevronDownIcon as s, ChevronRightIcon as t, useWizardCurrentStep as u, DesignSystemAntDConfigProvider as v, CloseSmallIcon as w, addDebugOutlineIfEnabled as x, Modal as y, getAnimationCss as z };
|
|
37696
|
-
//# sourceMappingURL=WizardStepContentWrapper-
|
|
37722
|
+
export { repeatingElementsStyles as $, token as A, Button as B, CheckCircleFillIcon as C, DocumentationSidebar as D, getDarkModePortalStyles as E, FIXED_VERTICAL_STEPPER_WIDTH as F, useModalContext as G, Trigger$5 as H, InfoFillIcon as I, InfoSmallIcon as J, Content$7 as K, Arrow$2 as L, MAX_VERTICAL_WIZARD_CONTENT_WIDTH as M, Tooltip as N, SparkleDoubleIcon as O, getIconClassName as P, LoadingState as Q, Root$9 as R, ShapeTokens as S, Typography as T, visuallyHidden as U, genSkeletonAnimatedColor as V, Wizard as W, getOffsets as X, DesignSystemEventSuppressInteractionProviderContext as Y, DesignSystemEventSuppressInteractionTrueContextValue as Z, tableStyles as _, WizardControlled as a, SortUnsortedIcon as a$, tableClassNames as a0, hideIconButtonRowStyles as a1, hideIconButtonActionCellClassName as a2, safex as a3, TitleSkeleton as a4, useDialogComboboxContext as a5, PlusIcon as a6, importantify as a7, getComboboxOptionItemWrapperStyles as a8, getFooterStyles as a9, useMultipleSelectionState as aA, Radio as aB, Checkbox as aC, DialogCombobox as aD, DialogComboboxTrigger as aE, DialogComboboxContent as aF, Select as aG, SelectTrigger as aH, SelectContent as aI, SelectOption as aJ, LegacySelect as aK, WarningIcon as aL, CheckCircleIcon as aM, DangerIcon as aN, Hint as aO, Title$1 as aP, CloseIcon as aQ, RestoreAntDDefaultClsPrefix as aR, AccessibleContainer as aS, DU_BOIS_ENABLE_ANIMATION_CLASSNAME as aT, Tag as aU, CircleOffIcon as aV, CircleOutlineIcon as aW, CircleIcon as aX, getBtnClassName as aY, SortAscendingIcon as aZ, SortDescendingIcon as a_, useDialogComboboxOptionListContext as aa, generateUuidV4 as ab, getContentOptions as ac, findHighlightedOption as ad, highlightOption as ae, Input as af, SearchIcon as ag, EmptyResults as ah, findClosestOptionSibling as ai, DialogComboboxOptionListCheckboxItem as aj, DialogComboboxOptionListSelectItem as ak, DialogComboboxOptionListContextProvider as al, LoadingSpinner as am, DialogComboboxOptionList as an, useUniqueId as ao, TypeaheadComboboxContextProvider as ap, useTypeaheadComboboxContext as aq, useDuboisThemeClass as ar, useDesignTokenOverrideStyles as as, getComboboxContentWrapperStyles as at, ClearSelectionButton as au, TypeaheadComboboxSelectedItem$1 as av, CountBadge$1 as aw, getValidationStateColor as ax, SectionHeader as ay, useComboboxState as az, WizardModal as b, BarsDescendingVerticalIcon as b$, MinusSquareIcon as b0, PlusSquareIcon as b1, TypeaheadComboboxV2ContextProvider as b2, useTypeaheadComboboxV2Context as b3, useRadixModalContext as b4, useIsomorphicLayoutEffect as b5, useScrollOptionIntoView as b6, InfoTooltip as b7, getInfoIconStyles as b8, HintRow as b9, ArrowRightIcon as bA, ArrowUpDotIcon as bB, ArrowUpFillIcon as bC, ArrowUpIcon as bD, ArrowsCollapseIcon as bE, ArrowsConnectIcon as bF, ArrowsExpandIcon as bG, ArrowsUpDownIcon as bH, AssistantIcon as bI, AtIcon as bJ, Auth0Graphic as bK, Auth0GraphicLarge as bL, AzHorizontalIcon as bM, AzVerticalIcon as bN, BANNER_MAX_HEIGHT as bO, BANNER_MIN_HEIGHT as bP, BackupIcon as bQ, BadgeCodeIcon as bR, BadgeCodeOffIcon as bS, Banner as bT, BarChartIcon as bU, BarGroupedIcon as bV, BarStackedIcon as bW, BarStackedPercentageIcon as bX, BarsAscendingHorizontalIcon as bY, BarsAscendingVerticalIcon as bZ, BarsDescendingHorizontalIcon as b_, getCheckboxStyles as ba, getMenuItemStyles as bb, TypeaheadComboboxSelectedItem as bc, CountBadge as bd, TypeaheadComboboxMenuItem as be, AccessDeniedGraphic as bf, Accordion as bg, AccordionPanel as bh, AlignCenterIcon as bi, AlignJustifyIcon as bj, AlignLeftIcon as bk, AlignRightIcon as bl, AlignVerticalBottomIcon as bm, AlignVerticalCenterIcon as bn, AlignVerticalTopIcon as bo, AppIcon as bp, ApplyDesignSystemContextOverrides as bq, ApplyDesignSystemFlags as br, ArrowDownDotIcon as bs, ArrowDownFillIcon as bt, ArrowDownIcon as bu, ArrowInIcon as bv, ArrowInTableIcon as bw, ArrowLeftIcon as bx, ArrowOutTableIcon as by, ArrowOverIcon as bz, WizardStepContentWrapper as c, ClockOffIcon as c$, BeakerIcon as c0, BinaryIcon as c1, BlockQuoteIcon as c2, BoldIcon as c3, BookIcon as c4, BookmarkFillIcon as c5, BookmarkIcon as c6, BooksIcon as c7, BracketsCheckIcon as c8, BracketsCurlyIcon as c9, CellsSquareIcon as cA, CertifiedFillIcon as cB, CertifiedFillSmallIcon as cC, CertifiedIcon as cD, ChainIcon as cE, ChartLineIcon as cF, CheckCircleBadgeIcon as cG, CheckCircleSmallIcon as cH, CheckIcon as cI, CheckLineIcon as cJ, CheckSmallIcon as cK, CheckboxIcon as cL, ChecklistIcon as cM, ChevronDoubleDownIcon as cN, ChevronDoubleLeftIcon as cO, ChevronDoubleLeftOffIcon as cP, ChevronDoubleRightIcon as cQ, ChevronDoubleRightOffIcon as cR, ChevronDoubleUpIcon as cS, ChevronLeftIcon as cT, ChevronUpIcon as cU, ChipIcon as cV, CircleOffLargeIcon as cW, CircleOutlineLargeIcon as cX, ClipboardIcon as cY, ClockIcon as cZ, ClockKeyIcon as c_, BracketsErrorIcon as ca, BracketsSquareIcon as cb, BracketsXIcon as cc, BranchCheckIcon as cd, BranchIcon as ce, BranchResetIcon as cf, BriefcaseFillIcon as cg, BriefcaseIcon as ch, BrushIcon as ci, BugIcon as cj, CalendarClockIcon as ck, CalendarEventIcon as cl, CalendarIcon as cm, CalendarRangeIcon as cn, CalendarSyncIcon as co, CameraIcon as cp, CapitalizeIcon as cq, CaretDownSquareIcon as cr, CaretUpSquareIcon as cs, CatalogCloudIcon as ct, CatalogGearIcon as cu, CatalogHomeIcon as cv, CatalogIcon as cw, CatalogOffIcon as cx, CatalogSharedIcon as cy, CatalogUserHomeIcon as cz, WizardStepNavigationProvider as d, DragIcon as d$, CloudCheckIcon as d0, CloudDatabaseIcon as d1, CloudDownloadIcon as d2, CloudIcon as d3, CloudKeyIcon as d4, CloudModelIcon as d5, CloudOffIcon as d6, CloudUploadIcon as d7, CodeIcon as d8, ColorFillIcon as d9, DangerModal as dA, DangerSmallIcon as dB, DashIcon as dC, DashboardCodeIcon as dD, DashboardIcon as dE, DataIcon as dF, DataMaskiingGraphic as dG, DatabaseClockIcon as dH, DatabaseIcon as dI, DatabaseImportIcon as dJ, DatePicker as dK, DecimalIcon as dL, DeprecatedIcon as dM, DeprecatedSmallIcon as dN, DesignSystemContext as dO, DesignSystemEventProviderComponentSubTypes as dP, DesignSystemProvider as dQ, DesignSystemThemeContext as dR, DesignSystemThemeProvider as dS, DialogComboboxCountBadge as dT, DialogComboboxCustomButtonTriggerWrapper as dU, DialogComboboxSectionHeader as dV, DollarIcon as dW, DomainCirclesThree as dX, DomainsIcon as dY, DotsCircleIcon as dZ, DownloadIcon as d_, ColorMappingEditIcon as da, ColorMappingIcon as db, ColorVars as dc, ColumnIcon as dd, ColumnSplitIcon as de, ColumnTagIcon as df, ColumnsIcon as dg, CommandIcon as dh, CommandPaletteIcon as di, CompassIcon as dj, ComponentFinderContext as dk, ConnectIcon as dl, Content$2 as dm, ContextMenu$1 as dn, CopyIcon as dp, CreditCardIcon as dq, CursorClickIcon as dr, CursorIcon as ds, CursorPagination as dt, CursorTypeIcon as du, CustomAppIcon as dv, DS_OVERRIDE_TOKENS_WRAPPER_TESTID as dw, DagHorizontalIcon as dx, DagIcon as dy, DagVerticalIcon as dz, useWizardStepNavigation as e, GridDashIcon as e$, Drawer as e0, DropdownMenu as e1, Empty as e2, EmptyDashboardGraphic as e3, ErdIcon as e4, ExpandLessIcon as e5, ExpandMoreIcon as e6, FaceFrownIcon as e7, FaceNeutralIcon as e8, FaceSmileIcon as e9, FolderOpenBranchIcon as eA, FolderOpenCloudIcon as eB, FolderOpenCubeIcon as eC, FolderOpenIcon as eD, FolderOpenPipelineIcon as eE, FolderOutlinePipelineIcon as eF, FolderSolidPipelineIcon as eG, FontIcon as eH, ForkHorizontalIcon as eI, ForkIcon as eJ, Form as eK, FormContextResetBoundary as eL, FullscreenExitIcon as eM, FullscreenIcon as eN, FunctionIcon as eO, FunctionInputIcon as eP, GavelIcon as eQ, GearFillIcon as eR, GearIcon as eS, GenieCodeIcon as eT, GenieDeepResearchIcon as eU, GiftIcon as eV, GitCommitIcon as eW, GitMergeIcon as eX, GitRebaseIcon as eY, GlobeIcon as eZ, Graphic as e_, FileCodeIcon as ea, FileCubeIcon as eb, FileDocumentIcon as ec, FileIcon as ed, FileImageIcon as ee, FileLockIcon as ef, FileModelIcon as eg, FileNewIcon as eh, FilePipelineIcon as ei, FilterFillIcon as ej, FilterIcon as ek, FlagPointerIcon as el, FloatIcon as em, FlowIcon as en, FlowsIcon as eo, FolderBranchFillIcon as ep, FolderBranchIcon as eq, FolderCloudFilledIcon as er, FolderCloudIcon as es, FolderCubeIcon as et, FolderCubeOutlineIcon as eu, FolderFillIcon as ev, FolderHomeIcon as ew, FolderIcon as ex, FolderNewIcon as ey, FolderNodeIcon as ez, DesignSystemEventProvider as f, LockShareIcon as f$, GridIcon as f0, GroupIcon as f1, H1Icon as f2, H2Icon as f3, H3Icon as f4, H4Icon as f5, H5Icon as f6, H6Icon as f7, HashIcon as f8, HistoryIcon as f9, LegacyFormDubois as fA, LegacyOptGroup as fB, LegacyOption as fC, LegacySelectOptGroup as fD, LegacySelectOption as fE, LegacyTable as fF, LegacyTooltip as fG, LetterFormatIcon as fH, LettersIcon as fI, LettersNumbersIcon as fJ, LibrariesIcon as fK, LifesaverIcon as fL, LightbulbIcon as fM, LightningCircleFillIcon as fN, LightningIcon as fO, LinearLineIcon as fP, LinkIcon as fQ, LinkOffIcon as fR, ListBorderIcon as fS, ListClearIcon as fT, ListIcon as fU, ListNumberIcon as fV, Listbox as fW, LoadingIcon as fX, LoadingStateContext as fY, LockFillIcon as fZ, LockIcon as f_, HomeIcon as fa, Icon as fb, ImageIcon as fc, IndentDecreaseIcon as fd, IndentIncreaseIcon as fe, InfinityIcon as ff, InfoBookIcon as fg, InfoIcon as fh, IngestionIcon as fi, ItalicIcon as fj, JoinOperatorIcon as fk, KeyIcon as fl, KeyboardIcon as fm, LakebaseCatalogIcon as fn, LakebaseIcon as fo, LakeflowDesignerIcon as fp, LakewatchAlertIcon as fq, LakewatchDatasourceIcon as fr, LakewatchDetectionRuleIcon as fs, LakewatchIcon as ft, LakewatchParserIcon as fu, LayerGraphIcon as fv, LayerIcon as fw, Layout as fx, LeafIcon as fy, LegacyForm as fz, useDesignSystemTheme as g, PinCancelIcon as g$, LockUnlockedIcon as g0, LoopIcon as g1, LowercaseIcon as g2, MailIcon as g3, MapIcon as g4, MarkdownIcon as g5, McpIcon as g6, MeasureIcon as g7, MegaphoneIcon as g8, MenuIcon as g9, OfficeIcon as gA, OntologyIcon as gB, OperatorIcon as gC, OutageGraphic as gD, OverflowHorizontalIcon as gE, OverflowIcon as gF, PageBottomIcon as gG, PageFirstIcon as gH, PageIcon as gI, PageLastIcon as gJ, PageTopIcon as gK, Pagination as gL, Panel as gM, PanelBody as gN, PanelDockedIcon as gO, PanelFloatingIcon as gP, PanelHeader as gQ, PanelHeaderButtons as gR, PanelHeaderTitle as gS, PaperclipIcon as gT, PassFailChecklistIcon as gU, PauseIcon as gV, PencilFillIcon as gW, PencilIcon as gX, PencilSparkleIcon as gY, PieChartIcon as gZ, PillControl as g_, MicrophoneIcon as ga, MicrophoneOffIcon as gb, MinusCircleFillIcon as gc, MinusCircleIcon as gd, MinusCircleSmallIcon as ge, MissingBranchGraphic as gf, MissingGraphic as gg, ModelsIcon as gh, MonotoneLineIcon as gi, MonthPickerGrid as gj, MoonIcon as gk, Nav as gl, NavButton as gm, NavigationMenu as gn, NeonProjectIcon as go, NewChatIcon as gp, NewTabIcon as gq, NewWindowIcon as gr, NoCaseIcon as gs, NoIcon as gt, NotebookIcon as gu, NotebookPipelineIcon as gv, NotificationIcon as gw, NotificationOffIcon as gx, NumberFormatIcon as gy, NumbersIcon as gz, DesignTokenScope as h, ShortcutIcon as h$, PinFillIcon as h0, PinIcon as h1, PipelineCodeIcon as h2, PipelineCubeIcon as h3, PipelineIcon as h4, PivotOperatorIcon as h5, PlayCircleFillIcon as h6, PlayCircleIcon as h7, PlayDoubleIcon as h8, PlayIcon as h9, RefreshXIcon as hA, ReplyIcon as hB, ResizeIcon as hC, RhfForm as hD, RichTextIcon as hE, RobotIcon as hF, RocketIcon as hG, RowsIcon as hH, RunIcon as hI, RunningIcon as hJ, SMALL_BUTTON_HEIGHT$2 as hK, SaveClockIcon as hL, SaveIcon as hM, SchemaIcon as hN, SchoolIcon as hO, SearchDataIcon as hP, SegmentedControlButton as hQ, SegmentedControlGroup as hR, SelectContext as hS, SelectContextProvider as hT, SelectOptionGroup as hU, SendIcon as hV, ShareIcon as hW, ShareNodesIcon as hX, ShieldCheckIcon as hY, ShieldIcon as hZ, ShieldOffIcon as h_, PlayMultipleIcon as ha, PlugIcon as hb, PlusCircleFillIcon as hc, PlusCircleIcon as hd, PlusCircleSmallIcon as he, PlusMinusSquareIcon as hf, Popover as hg, PositionBottomIcon as hh, PositionLeftIcon as hi, PositionRightIcon as hj, PositionTopIcon as hk, PreviewCard as hl, Progress as hm, PullRequestIcon as hn, PuzzleIcon as ho, QueryEditorIcon as hp, QueryIcon as hq, QuestionMarkFillIcon as hr, QuestionMarkIcon as hs, RadioIcon as ht, RadioTile as hu, RangePicker as hv, ReaderModeIcon as hw, RedoIcon as hx, RefreshIcon as hy, RefreshPlayIcon as hz, useDesignSystemContext as i, TableModelIcon as i$, Sidebar as i0, SidebarAutoIcon as i1, SidebarClosedIcon as i2, SidebarCollapseIcon as i3, SidebarExpandIcon as i4, SidebarIcon as i5, SidebarOpenIcon as i6, SidebarSyncIcon as i7, SimpleSelect as i8, SimpleSelectOption as i9, Spinner as iA, SplitButton as iB, SqlIcon as iC, StarFillIcon as iD, StarIcon as iE, StepAfterLineIcon as iF, StepBeforeLineIcon as iG, Stepper as iH, StopCircleFillIcon as iI, StopCircleIcon as iJ, StopIcon as iK, StoredProcedureIcon as iL, StorefrontIcon as iM, StreamIcon as iN, StrikeThroughIcon as iO, SunIcon as iP, SyncIcon as iQ, SyncSmallIcon as iR, SyncToFileIcon as iS, TableAsteriskIcon as iT, TableClockIcon as iU, TableCombineIcon as iV, TableGlassesIcon as iW, TableGlobeIcon as iX, TableIcon as iY, TableLightningIcon as iZ, TableMeasureIcon as i_, SimpleSelectOptionGroup as ia, SlashSquareIcon as ib, SlidersIcon as ic, SnippetIcon as id, SortCustomHorizontalIcon as ie, SortCustomVerticalIcon as ig, SortHorizontalAscendingIcon as ih, SortHorizontalDescendingIcon as ii, SortLetterHorizontalAscendingIcon as ij, SortLetterHorizontalDescendingIcon as ik, SortLetterUnsortedIcon as il, SortLetterVerticalAscendingIcon as im, SortLetterVerticalDescendingIcon as io, Spacer as ip, SparkleDoubleFillIcon as iq, SparkleFillIcon as ir, SparkleIcon as is, SparkleRectangleIcon as it, SpeechBubbleIcon as iu, SpeechBubblePlusIcon as iv, SpeechBubbleQuestionMarkFillIcon as iw, SpeechBubbleQuestionMarkIcon as ix, SpeechBubbleStarIcon as iy, SpeedometerIcon as iz, WarningFillIcon as j, ZaHorizontalIcon as j$, TableReportIcon as j0, TableStreamIcon as j1, TableVectorIcon as j2, TableViewIcon as j3, Tabs as j4, TagColumnIcon as j5, TagIcon as j6, TagTableIcon as j7, TargetIcon as j8, TerminalIcon as j9, UppercaseIcon as jA, UsageOverageGraphic as jB, UsageSpikeGraphic as jC, UsbIcon as jD, UserBadgeIcon as jE, UserCircleIcon as jF, UserGroupFillIcon as jG, UserGroupIcon as jH, UserIcon as jI, UserKeyIconIcon as jJ, UserShieldIcon as jK, UserSparkleIcon as jL, UserTeamIcon as jM, VisibleFillIcon as jN, VisibleIcon as jO, VisibleOffIcon as jP, VoiceModeIcon as jQ, WithDesignSystemThemeHoc as jR, WorkflowCodeIcon as jS, WorkflowCubeIcon as jT, WorkflowsIcon as jU, WorkspacesIcon as jV, WrenchIcon as jW, WrenchSparkleIcon as jX, XCircleFillIcon as jY, XCircleIcon as jZ, YearPickerGrid as j_, TextBoxIcon as ja, TextColorIcon as jb, TextIcon as jc, TextJustifyIcon as jd, TextUnderlineIcon as je, ThreeDotsIcon as jf, ThumbsDownFilledIcon as jg, ThumbsDownIcon as jh, ThumbsUpFilledIcon as ji, ThumbsUpIcon as jj, ToggleButton as jk, TokenIcon as jl, TrashIcon as jm, Tree as jn, TreeIcon as jo, TrendingFillIcon as jp, TrendingIcon as jq, TriangleIcon as jr, TypeaheadComboboxCheckboxItem as js, TypeaheadComboboxFooter as jt, TypeaheadComboboxMenuItem$1 as ju, TypeaheadComboboxMultiSelectStateChangeTypes as jv, TypeaheadComboboxStateChangeTypes as jw, UnderlineIcon as jx, UndoIcon as jy, UploadIcon as jz, DangerFillIcon as k, ZaVerticalIcon as k0, ZeroOpsIcon as k1, ZeroOpsOutlineIcon as k2, ZoomInIcon as k3, ZoomMarqueeSelection as k4, ZoomOutIcon as k5, ZoomToFitIcon as k6, __INTERNAL_DO_NOT_USE__FormItem as k7, __INTERNAL_DO_NOT_USE__Group as k8, __INTERNAL_DO_NOT_USE__HorizontalGroup as k9, setImplicitContextGetter as kA, skipHideIconButtonActionClassName as kB, themeMemoKey as kC, useAntDConfigProviderContext as kD, useCallbackOnEnter as kE, useComponentFinderContext as kF, useDesignSystemEventSuppressInteractionContext as kG, useFormContext as kH, useRadioGroupContext as kI, __INTERNAL_DO_NOT_USE__VerticalGroup as ka, __INTERNAL_DO_NOT_USE__wrapLegacyFormRules as kb, augmentWithDataComponentProps as kc, dialogComboboxLookAheadKeyDown as kd, getBottomOnlyShadowScrollStyles as ke, getButtonEmotionStyles as kf, getComboboxOptionLabelStyles as kg, getDatePickerQuickActionBasic as kh, getDialogComboboxOptionLabelWidth as ki, getHorizontalTabShadowStyles as kj, getInputStyles as kk, getKeyboardNavigationFunctions as kl, getMemoizedButtonEmotionStyles as km, getPaginationEmotionStyles as kn, getPanelContainmentStyle as ko, getRadioStyles as kp, getRangeQuickActionsBasic as kq, getShadowScrollStyles as kr, getTypographyColor as ks, getVirtualListScrollbarStyles as kt, getVirtualListScrollbarThumbColor as ku, getVirtualizedComboboxMenuItemStyles as kv, getWrapperStyle as kw, highlightFirstNonDisabledOption as kx, isOptionDisabled as ky, resetTabIndexToFocusedElement as kz, DesignSystemEventProviderAnalyticsEventTypes as l, useDesignSystemEventComponentCallbacks as m, DesignSystemEventProviderComponentTypes as n, DesignSystemEventProviderComponentSubTypeMap as o, primitiveColors as p, useNotifyOnFirstView as q, useStableUuidV4 as r, ChevronDownIcon as s, ChevronRightIcon as t, useWizardCurrentStep as u, DesignSystemAntDConfigProvider as v, CloseSmallIcon as w, addDebugOutlineIfEnabled as x, Modal as y, getAnimationCss as z };
|
|
37723
|
+
//# sourceMappingURL=WizardStepContentWrapper-6YTjeEaA.js.map
|