@eightshift/ui-components 8.2.0 → 8.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/dist/{Autocomplete-CO9aIsTe.js → Autocomplete-Dqkum3dO.js} +3 -3
- package/dist/{Button-DO3oQfCq.js → Button-DHgs_rCq.js} +3 -3
- package/dist/{Dialog-Bdqjmtt2.js → Dialog-CldDJ_4u.js} +109 -41
- package/dist/{Disclosure-BTSsPhG9.js → Disclosure-BHNgL5Is.js} +4 -4
- package/dist/{FocusScope-Cj6cUR6X.js → FocusScope-CUuL5wjz.js} +6 -3
- package/dist/{ListBox-CBvtIFuB.js → ListBox-CZXso3mJ.js} +9 -37
- package/dist/{RadioGroup-Dxzko0ma.js → RadioGroup-BTByPMrl.js} +8 -8
- package/dist/{SearchField-zY9JqR1c.js → SearchField-DkX1vqMN.js} +5 -5
- package/dist/{Slider-BXc72kE0.js → Slider-Dw-JjfLx.js} +5 -5
- package/dist/{Text-i-ZK4MiL.js → Text-CA2_mHEB.js} +3 -2
- package/dist/{VisuallyHidden-CsM0VnV1.js → VisuallyHidden-ZZwHZDro.js} +1 -1
- package/dist/assets/style-admin.css +1 -1
- package/dist/assets/style-editor.css +1 -1
- package/dist/assets/style.css +1 -1
- package/dist/assets/wp-overrides/make-block-messages-nicer.css +1 -1
- package/dist/{build-module-DG6ZK7Ty.js → build-module-BISCoQjQ.js} +4 -4
- package/dist/{button-C7mc6eS1.js → button-ldR_tlvk.js} +53 -5
- package/dist/{checkbox-DlG5DILl.js → checkbox-DDyLJRY8.js} +6 -6
- package/dist/{color-swatch-D6xMLGU-.js → color-swatch-DmhdOhe4.js} +1 -1
- package/dist/components/base-control/base-control.d.ts +1 -1
- package/dist/components/base-control/base-control.js +1 -1
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/color-pickers/color-picker.js +2 -2
- package/dist/components/color-pickers/color-swatch.js +1 -1
- package/dist/components/color-pickers/gradient-editor.js +1 -1
- package/dist/components/color-pickers/solid-color-picker.js +1 -1
- package/dist/components/component-toggle/component-toggle.d.ts +1 -1
- package/dist/components/component-toggle/component-toggle.js +4 -4
- package/dist/components/container-panel/container-panel.js +3 -3
- package/dist/components/contextual-help/contextual-help.js +3 -3
- package/dist/components/draggable/draggable.js +1 -1
- package/dist/components/draggable-list/draggable-list.js +1 -1
- package/dist/components/expandable/expandable.js +3 -3
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +17 -16
- package/dist/components/input-field/input-field.d.ts +1 -1
- package/dist/components/input-field/input-field.js +1 -1
- package/dist/components/item-collection/item-collection.js +1 -1
- package/dist/components/link-input/link-input.js +1 -1
- package/dist/components/matrix-align/matrix-align.js +2 -2
- package/dist/components/menu/menu.d.ts +8 -29
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/modal/modal.js +1 -1
- package/dist/components/number-picker/number-picker.d.ts +1 -1
- package/dist/components/number-picker/number-picker.js +1 -1
- package/dist/components/option-select/option-select.js +3 -3
- package/dist/components/placeholders/file-placeholder.js +1 -1
- package/dist/components/popover/popover.js +5 -5
- package/dist/components/prompt-popover/prompt-popover.d.ts +56 -0
- package/dist/components/prompt-popover/prompt-popover.js +81 -0
- package/dist/components/radio/radio.d.ts +2 -1
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/repeater/repeater-item.js +2 -2
- package/dist/components/repeater/repeater.js +2 -2
- package/dist/components/responsive/mini-responsive.js +4 -4
- package/dist/components/responsive/responsive-legacy.js +4 -4
- package/dist/components/responsive/responsive.js +4 -4
- package/dist/components/responsive-preview/responsive-preview.js +1 -1
- package/dist/components/rich-label/rich-label.d.ts +1 -1
- package/dist/components/rich-label/rich-label.js +2 -2
- package/dist/components/select/async-multi-select.js +9 -9
- package/dist/components/select/async-select.js +9 -9
- package/dist/components/select/multi-select.js +10 -10
- package/dist/components/select/shared.d.ts +2 -2
- package/dist/components/select/shared.js +1 -1
- package/dist/components/select/single-select.js +10 -10
- package/dist/components/select/styles.d.ts +2 -2
- package/dist/components/slider/column-config-slider.js +3 -3
- package/dist/components/slider/slider.js +4 -4
- package/dist/components/slider/utils.js +1 -1
- package/dist/components/smart-image/smart-image.d.ts +1 -1
- package/dist/components/smart-image/smart-image.js +2 -2
- package/dist/components/tabs/tabs.d.ts +16 -64
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/toggle/switch.d.ts +1 -1
- package/dist/components/toggle/switch.js +1 -1
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/toggle-button/toggle-button.d.ts +2 -2
- package/dist/components/toggle-button/toggle-button.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/{draggable-BUfOpGSZ.js → draggable-oS68xcYX.js} +1 -1
- package/dist/{gradient-editor-_q3XF10i.js → gradient-editor-DP8ioFX1.js} +5 -5
- package/dist/index.js +17 -16
- package/dist/{input-field-QzBpjm-m.js → input-field-C-XvZeCZ.js} +5 -5
- package/dist/{keyboard-BxnnQA2Z.js → keyboard-Cdqi5ZQQ.js} +1 -1
- package/dist/{link-input-CElQp3lP.js → link-input-DdwuqoMg.js} +18 -18
- package/dist/{modal-BeacK9N_.js → modal-DZco5MDu.js} +7 -7
- package/dist/{number-picker-CK_OHBXw.js → number-picker-XqKW0BNi.js} +5 -5
- package/dist/{react-C6Y6cCOx.js → react-O71mlJXS.js} +56 -51
- package/dist/{shared-DBCipn_m.js → shared-YXMIX2ka.js} +13 -13
- package/dist/{solid-color-picker-2-X3ridX.js → solid-color-picker-D5LEdmDM.js} +30 -15
- package/dist/{switch-B87lQ1V0.js → switch-Bo6nmed_.js} +7 -7
- package/dist/{tabs-DgkJUkIX.js → tabs-DE-qb7Kt.js} +7 -7
- package/dist/{textSelection-5Qk8tLtm.js → textSelection-C17LWYmO.js} +1 -1
- package/dist/{toggle-button-B2-f2rU6.js → toggle-button-Cb4yCEua.js} +36 -6
- package/dist/{tooltip-AzOLps8g.js → tooltip-CT-vzIdz.js} +2 -2
- package/dist/{useButton-BIrfoiY8.js → useButton-V65TBDGM.js} +2 -2
- package/dist/{useCollection-LQlZnc1u.js → useCollection-DqUS7tjk.js} +19 -9
- package/dist/useEvent-C9zwSNzZ.js +18 -0
- package/dist/{useFilter-BFaOw4yi.js → useFilter-C75IzdIZ.js} +1 -1
- package/dist/{useFocusRing-ZXFsftJJ.js → useFocusRing-JidySWlU.js} +1 -1
- package/dist/{useFormReset-DDJhIIfG.js → useFormReset-Sp8-miDa.js} +1 -1
- package/dist/{useFormValidation-BfnJKcdX.js → useFormValidation-CpmQEh8J.js} +1 -1
- package/dist/{useHover-CbyH227W.js → useHover-CaY3sRjL.js} +44 -17
- package/dist/{useListState-I22DfnmE.js → useListState-CzB3v6M9.js} +3 -10
- package/dist/{useNumberFieldState-C1gD0RuW.js → useNumberFieldState-DC3XY3DQ.js} +7 -7
- package/dist/{useOverlayTriggerState-Cpc_IbQf.js → useOverlayTriggerState-BKmSTK_5.js} +5 -3
- package/dist/{usePress-BF7otjax.js → usePress-CUCWcP-m.js} +22 -11
- package/dist/{useTextField-CnTuCBMs.js → useTextField-C3QIkMON.js} +4 -4
- package/dist/{useToggle-Cgv5UXaB.js → useToggle-bbGRUbo4.js} +4 -4
- package/dist/{useToggleState-Cy1E36QZ.js → useToggleState-D_rLMrVW.js} +1 -1
- package/dist/utilities/array-helpers.d.ts +1 -1
- package/package.json +13 -12
- package/dist/useEvent-Bih8lvtM.js +0 -22
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
|
+
import { Button } from '../button/button';
|
|
3
|
+
import { TriggeredPopover } from '../popover/popover';
|
|
4
|
+
import type { Prettify } from '../../utilities/types';
|
|
5
|
+
export type PromptPopoverType = 'default' | 'ai' | 'danger' | 'success';
|
|
6
|
+
type PromptPopoverAction = (close: () => void, event: Parameters<NonNullable<ComponentPropsWithoutRef<typeof Button>['onPress']>>[0]) => void;
|
|
7
|
+
export type PromptPopoverProps = Omit<ComponentPropsWithoutRef<typeof TriggeredPopover>, 'children' | 'triggerButtonIcon' | 'triggerButtonProps'> & {
|
|
8
|
+
/** Content to display between the label and action buttons. */
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
/** Additional props for the trigger button. */
|
|
11
|
+
triggerButtonProps?: ComponentPropsWithoutRef<typeof Button>;
|
|
12
|
+
/** Additional props for the primary action button. */
|
|
13
|
+
primaryProps?: ComponentPropsWithoutRef<typeof Button>;
|
|
14
|
+
/** Additional props for the secondary action button. */
|
|
15
|
+
secondaryProps?: ComponentPropsWithoutRef<typeof Button>;
|
|
16
|
+
/** Icon for the trigger button. */
|
|
17
|
+
triggerButtonIcon?: ReactNode;
|
|
18
|
+
/** Label for the prompt. */
|
|
19
|
+
label?: ReactNode;
|
|
20
|
+
/** Subtitle for the prompt. */
|
|
21
|
+
subtitle?: ReactNode;
|
|
22
|
+
/** Icon for the prompt label. */
|
|
23
|
+
icon?: ReactNode;
|
|
24
|
+
/** Visual type of the prompt. Defaults to `'default'`. */
|
|
25
|
+
type?: PromptPopoverType;
|
|
26
|
+
/** Function to call when the primary action is pressed. */
|
|
27
|
+
onPrimary?: PromptPopoverAction;
|
|
28
|
+
/** Function to call when the secondary action is pressed. */
|
|
29
|
+
onSecondary?: PromptPopoverAction;
|
|
30
|
+
/** Label for the primary action. */
|
|
31
|
+
primaryLabel?: ReactNode;
|
|
32
|
+
/** Label for the secondary action. */
|
|
33
|
+
secondaryLabel?: ReactNode;
|
|
34
|
+
/** Tooltip and accessible label for the trigger button. */
|
|
35
|
+
tooltip?: ReactNode;
|
|
36
|
+
/** Additional actions to display before the primary and secondary actions. */
|
|
37
|
+
additionalActions?: ReactNode;
|
|
38
|
+
/** If `true`, action buttons are arranged vertically. Defaults to `false`. */
|
|
39
|
+
verticalActions?: boolean;
|
|
40
|
+
/** If `true`, the component is not rendered. */
|
|
41
|
+
hidden?: boolean;
|
|
42
|
+
/** If `true`, the secondary action is not rendered. Defaults to `false`. */
|
|
43
|
+
hideSecondary?: boolean;
|
|
44
|
+
/** Additional props for the underlying triggered popover. */
|
|
45
|
+
popoverProps?: Omit<ComponentPropsWithoutRef<typeof TriggeredPopover>, 'children' | 'triggerButtonIcon' | 'triggerButtonProps'>;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* A confirmation prompt displayed in a triggered popover.
|
|
49
|
+
*
|
|
50
|
+
* @component
|
|
51
|
+
* @param {PromptPopoverProps} props - Component props.
|
|
52
|
+
*
|
|
53
|
+
* @returns {JSX.Element} The PromptPopover component.
|
|
54
|
+
*/
|
|
55
|
+
export declare const PromptPopover: (props: Prettify<PromptPopoverProps>) => import("react").JSX.Element | null;
|
|
56
|
+
export {};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
+
import { t as Button } from "../../button-ldR_tlvk.js";
|
|
3
|
+
import { RichLabel } from "../rich-label/rich-label.js";
|
|
4
|
+
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
5
|
+
import { TriggeredPopover } from "../popover/popover.js";
|
|
6
|
+
import { HStack } from "../layout/hstack.js";
|
|
7
|
+
import { VStack } from "../layout/vstack.js";
|
|
8
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
//#region lib/components/prompt-popover/prompt-popover.tsx
|
|
10
|
+
var TypedTriggeredPopover = TriggeredPopover;
|
|
11
|
+
var typeClassNames = {
|
|
12
|
+
default: "",
|
|
13
|
+
ai: "es-uic-theme-purple",
|
|
14
|
+
danger: "es-uic-theme-red",
|
|
15
|
+
success: "es-uic-theme-green"
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* A confirmation prompt displayed in a triggered popover.
|
|
19
|
+
*
|
|
20
|
+
* @component
|
|
21
|
+
* @param {PromptPopoverProps} props - Component props.
|
|
22
|
+
*
|
|
23
|
+
* @returns {JSX.Element} The PromptPopover component.
|
|
24
|
+
*/
|
|
25
|
+
var PromptPopover = (props) => {
|
|
26
|
+
const { children, triggerButtonProps = {}, primaryProps = {}, secondaryProps = {}, triggerButtonIcon, type = "default", onPrimary, onSecondary, primaryLabel, secondaryLabel = __("Cancel", "eightshift-ui-components"), tooltip, label, subtitle, icon, additionalActions, verticalActions = false, hidden, hideSecondary, popoverProps, ...rest } = props;
|
|
27
|
+
if (hidden) return null;
|
|
28
|
+
const typeClassName = typeClassNames[type];
|
|
29
|
+
const StackComponent = verticalActions ? VStack : HStack;
|
|
30
|
+
return jsx(TypedTriggeredPopover, {
|
|
31
|
+
className: "es:w-60! es:p-3!",
|
|
32
|
+
triggerButtonIcon,
|
|
33
|
+
triggerButtonProps: {
|
|
34
|
+
"aria-label": typeof tooltip === "string" ? tooltip : void 0,
|
|
35
|
+
tooltip,
|
|
36
|
+
className: typeClassName,
|
|
37
|
+
...triggerButtonProps
|
|
38
|
+
},
|
|
39
|
+
wrapperClassName: typeClassName,
|
|
40
|
+
showArrow: true,
|
|
41
|
+
...rest,
|
|
42
|
+
...popoverProps,
|
|
43
|
+
children: ({ close }) => jsxs(Fragment, { children: [
|
|
44
|
+
jsx(RichLabel, {
|
|
45
|
+
label,
|
|
46
|
+
subtitle,
|
|
47
|
+
icon,
|
|
48
|
+
labelClassName: children ? "es:text-sm" : void 0,
|
|
49
|
+
noColor: true
|
|
50
|
+
}),
|
|
51
|
+
children && jsx("div", {
|
|
52
|
+
className: "es:mt-3",
|
|
53
|
+
children
|
|
54
|
+
}),
|
|
55
|
+
jsxs(StackComponent, {
|
|
56
|
+
className: "es:mt-3",
|
|
57
|
+
noWrap: true,
|
|
58
|
+
children: [
|
|
59
|
+
additionalActions,
|
|
60
|
+
jsx(Button, {
|
|
61
|
+
type: "outline",
|
|
62
|
+
onPress: onSecondary ? (event) => onSecondary(close, event) : () => close(),
|
|
63
|
+
className: clsx(!verticalActions && "es:flex-1"),
|
|
64
|
+
hidden: hideSecondary,
|
|
65
|
+
...secondaryProps,
|
|
66
|
+
children: secondaryLabel
|
|
67
|
+
}),
|
|
68
|
+
jsx(Button, {
|
|
69
|
+
type: "selected",
|
|
70
|
+
onPress: onPrimary ? (event) => onPrimary(close, event) : () => close(),
|
|
71
|
+
className: !verticalActions ? "es:flex-1" : void 0,
|
|
72
|
+
...primaryProps,
|
|
73
|
+
children: primaryLabel
|
|
74
|
+
})
|
|
75
|
+
]
|
|
76
|
+
})
|
|
77
|
+
] })
|
|
78
|
+
});
|
|
79
|
+
};
|
|
80
|
+
//#endregion
|
|
81
|
+
export { PromptPopover };
|
|
@@ -35,6 +35,7 @@ type RadioButtonProps = Omit<ComponentPropsWithoutRef<typeof Radio>, 'children'
|
|
|
35
35
|
design?: InternalRadioButtonDesign;
|
|
36
36
|
children?: ReactNode;
|
|
37
37
|
};
|
|
38
|
+
declare const RadioButtonComponent: (props: Prettify<RadioButtonProps>) => import("react").JSX.Element | null;
|
|
38
39
|
/**
|
|
39
40
|
* A simple radio button.
|
|
40
41
|
*
|
|
@@ -45,7 +46,7 @@ type RadioButtonProps = Omit<ComponentPropsWithoutRef<typeof Radio>, 'children'
|
|
|
45
46
|
*
|
|
46
47
|
* @see {@link RadioButtonGroup} for usage example.
|
|
47
48
|
*/
|
|
48
|
-
export declare const RadioButton:
|
|
49
|
+
export declare const RadioButton: typeof RadioButtonComponent & {
|
|
49
50
|
displayName: string;
|
|
50
51
|
};
|
|
51
52
|
type RadioButtonGroupProps = Omit<ComponentPropsWithoutRef<typeof RadioGroup>, 'children' | 'className' | 'isDisabled' | 'isReadOnly' | 'value' | 'onChange' | 'orientation'> & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
2
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
3
3
|
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5 } from "../../Label-C4bJkVti.js";
|
|
4
|
-
import { n as $fe21c36db05242bb$export$d7b12c4107be0d61, t as $fe21c36db05242bb$export$a98f0dcb43a68a25 } from "../../RadioGroup-
|
|
4
|
+
import { n as $fe21c36db05242bb$export$d7b12c4107be0d61, t as $fe21c36db05242bb$export$a98f0dcb43a68a25 } from "../../RadioGroup-BTByPMrl.js";
|
|
5
5
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
6
6
|
import { BaseControl } from "../base-control/base-control.js";
|
|
7
7
|
import { t as cva } from "../../dist-DpXluZqJ.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
-
import { t as Button } from "../../button-
|
|
3
|
-
import { t as __ } from "../../build-module-
|
|
2
|
+
import { t as Button } from "../../button-ldR_tlvk.js";
|
|
3
|
+
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
4
4
|
import { copy } from "../../icons/ui-icons/copy.js";
|
|
5
5
|
import { dropdownCaretAlt } from "../../icons/ui-icons/dropdown-caret-alt.js";
|
|
6
6
|
import { moreH } from "../../icons/ui-icons/more-h.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
2
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
3
|
-
import { t as Button } from "../../button-
|
|
3
|
+
import { t as Button } from "../../button-ldR_tlvk.js";
|
|
4
4
|
import { BaseControl } from "../base-control/base-control.js";
|
|
5
|
-
import { t as __ } from "../../build-module-
|
|
5
|
+
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
6
6
|
import { add } from "../../icons/ui-icons/add.js";
|
|
7
7
|
import { moreH } from "../../icons/ui-icons/more-h.js";
|
|
8
8
|
import { panelCollapse } from "../../icons/ui-icons/panel-collapse.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
-
import { t as $efe09c6d1c304b50$export$5f1af8db9871e1d6 } from "../../Text-
|
|
3
|
-
import { t as DecorativeTooltip } from "../../tooltip-
|
|
4
|
-
import { n as ButtonGroup, t as Button } from "../../button-
|
|
2
|
+
import { t as $efe09c6d1c304b50$export$5f1af8db9871e1d6 } from "../../Text-CA2_mHEB.js";
|
|
3
|
+
import { t as DecorativeTooltip } from "../../tooltip-CT-vzIdz.js";
|
|
4
|
+
import { n as ButtonGroup, t as Button } from "../../button-ldR_tlvk.js";
|
|
5
5
|
import { BaseControl } from "../base-control/base-control.js";
|
|
6
6
|
import { f as upperFirst } from "../../es-dash-DPtJSRjw.js";
|
|
7
7
|
import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
|
|
8
8
|
import { t as sprintf } from "../../sprintf-xJRAt4p0.js";
|
|
9
|
-
import { t as __ } from "../../build-module-
|
|
9
|
+
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
10
10
|
import { Icon } from "../../icons/icon.js";
|
|
11
11
|
import { clearAlt } from "../../icons/ui-icons/clear-alt.js";
|
|
12
12
|
import { dropdownCaretAlt } from "../../icons/ui-icons/dropdown-caret-alt.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
2
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
3
|
-
import { t as DecorativeTooltip } from "../../tooltip-
|
|
4
|
-
import { t as ToggleButton } from "../../toggle-button-
|
|
5
|
-
import { t as Button } from "../../button-
|
|
3
|
+
import { t as DecorativeTooltip } from "../../tooltip-CT-vzIdz.js";
|
|
4
|
+
import { t as ToggleButton } from "../../toggle-button-Cb4yCEua.js";
|
|
5
|
+
import { t as Button } from "../../button-ldR_tlvk.js";
|
|
6
6
|
import { BaseControl } from "../base-control/base-control.js";
|
|
7
7
|
import { f as upperFirst } from "../../es-dash-DPtJSRjw.js";
|
|
8
8
|
import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
|
|
9
9
|
import { t as sprintf } from "../../sprintf-xJRAt4p0.js";
|
|
10
|
-
import { t as __ } from "../../build-module-
|
|
10
|
+
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
11
11
|
import { Icon } from "../../icons/icon.js";
|
|
12
12
|
import { clearAlt } from "../../icons/ui-icons/clear-alt.js";
|
|
13
13
|
import { play } from "../../icons/ui-icons/play.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
2
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
3
|
-
import { t as DecorativeTooltip } from "../../tooltip-
|
|
4
|
-
import { t as ToggleButton } from "../../toggle-button-
|
|
5
|
-
import { n as ButtonGroup, t as Button } from "../../button-
|
|
3
|
+
import { t as DecorativeTooltip } from "../../tooltip-CT-vzIdz.js";
|
|
4
|
+
import { t as ToggleButton } from "../../toggle-button-Cb4yCEua.js";
|
|
5
|
+
import { n as ButtonGroup, t as Button } from "../../button-ldR_tlvk.js";
|
|
6
6
|
import { BaseControl } from "../base-control/base-control.js";
|
|
7
7
|
import { f as upperFirst } from "../../es-dash-DPtJSRjw.js";
|
|
8
8
|
import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
|
|
9
9
|
import { t as sprintf } from "../../sprintf-xJRAt4p0.js";
|
|
10
|
-
import { t as __ } from "../../build-module-
|
|
10
|
+
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
11
11
|
import { Icon } from "../../icons/icon.js";
|
|
12
12
|
import { clearAlt } from "../../icons/ui-icons/clear-alt.js";
|
|
13
13
|
import { dropdownCaretAlt } from "../../icons/ui-icons/dropdown-caret-alt.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
2
2
|
import { f as upperFirst } from "../../es-dash-DPtJSRjw.js";
|
|
3
3
|
import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
|
|
4
|
-
import { t as __ } from "../../build-module-
|
|
4
|
+
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
5
5
|
import { previewResponsive } from "../../icons/ui-icons/preview-responsive.js";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region lib/components/responsive-preview/responsive-preview.tsx
|
|
@@ -46,4 +46,4 @@ export type RichLabelProps<T extends ElementType = 'div'> = {
|
|
|
46
46
|
* label='My label'
|
|
47
47
|
* />
|
|
48
48
|
*/
|
|
49
|
-
export declare const RichLabel: <T extends ElementType =
|
|
49
|
+
export declare const RichLabel: <T extends ElementType = 'div'>(props: RichLabelProps<T>) => import("react").JSX.Element | null;
|
|
@@ -21,8 +21,8 @@ var RichLabel = (props) => {
|
|
|
21
21
|
const noColorClassName = noColor ? "" : "";
|
|
22
22
|
if (hidden) return null;
|
|
23
23
|
const ComponentToRender = as ?? "div";
|
|
24
|
-
const labelBaseClassName = "es:font-variation-[\"wdth\"_100,\"wght\"_330,\"ROND\"
|
|
25
|
-
const subtitleBaseClassName = "es:font-variation-[\"wdth\"
|
|
24
|
+
const labelBaseClassName = "es:font-variation-[\"wdth\"_100,\"wght\"_330,\"ROND\"_100]";
|
|
25
|
+
const subtitleBaseClassName = "es:font-variation-[\"wdth\"_85,\"wght\"_285,\"ROND\"_100]";
|
|
26
26
|
if (contentsOnly) return jsxs(Fragment$1, { children: [
|
|
27
27
|
icon && jsx("span", {
|
|
28
28
|
className: clsx("es:icon:size-5 es:not-contrast-more:opacity-85", iconClassName),
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
-
import { t as $4b38b5b75ecc6208$export$2f2b9559550c7bbc } from "../../Autocomplete-
|
|
3
|
-
import {
|
|
2
|
+
import { t as $4b38b5b75ecc6208$export$2f2b9559550c7bbc } from "../../Autocomplete-Dqkum3dO.js";
|
|
3
|
+
import { y as $42ceafc619f9c3ba$export$fb8073518f34e6ec } from "../../useCollection-DqUS7tjk.js";
|
|
4
4
|
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5 } from "../../Label-C4bJkVti.js";
|
|
5
|
-
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../../Button-
|
|
6
|
-
import {
|
|
7
|
-
import { r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../../useTextField-
|
|
8
|
-
import { c as isStringValue, d as $c8bb816105474884$export$ef9b1a59e592288f, i as getOptionKey, n as SelectClearButton, o as isPrimitive, r as getGroupedOptions, t as OptionItemBase, u as $c8bb816105474884$export$e288731fd71264f0 } from "../../shared-
|
|
9
|
-
import { a as $928221da08ecbc62$export$dca12b0bb56e4fc, t as $928221da08ecbc62$export$41f133550aa26f48 } from "../../ListBox-
|
|
10
|
-
import { t as $29a5029ff43c9612$export$b94867ecbd698f21 } from "../../SearchField-
|
|
5
|
+
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../../Button-DHgs_rCq.js";
|
|
6
|
+
import { T as $53e61d82d8b8611d$export$8b251419efc915eb, u as $542a13ca2fa5b484$export$5b6b19405a83ff9d } from "../../Dialog-CldDJ_4u.js";
|
|
7
|
+
import { r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../../useTextField-C3QIkMON.js";
|
|
8
|
+
import { c as isStringValue, d as $c8bb816105474884$export$ef9b1a59e592288f, i as getOptionKey, n as SelectClearButton, o as isPrimitive, r as getGroupedOptions, t as OptionItemBase, u as $c8bb816105474884$export$e288731fd71264f0 } from "../../shared-YXMIX2ka.js";
|
|
9
|
+
import { a as $928221da08ecbc62$export$dca12b0bb56e4fc, t as $928221da08ecbc62$export$41f133550aa26f48 } from "../../ListBox-CZXso3mJ.js";
|
|
10
|
+
import { t as $29a5029ff43c9612$export$b94867ecbd698f21 } from "../../SearchField-DkX1vqMN.js";
|
|
11
11
|
import { t as $c73d3f3d5ec90946$export$bc3384a35de93d66 } from "../../useAsyncList-CjKVLGN0.js";
|
|
12
12
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
13
13
|
import { BaseControl } from "../base-control/base-control.js";
|
|
14
14
|
import { i as unescapeHTML } from "../../text-helpers-QrwKKaOh.js";
|
|
15
15
|
import { t as sprintf } from "../../sprintf-xJRAt4p0.js";
|
|
16
|
-
import { n as _n, t as __ } from "../../build-module-
|
|
16
|
+
import { n as _n, t as __ } from "../../build-module-BISCoQjQ.js";
|
|
17
17
|
import { Icon } from "../../icons/icon.js";
|
|
18
18
|
import { Spinner } from "../../icons/spinner.js";
|
|
19
19
|
import { clearAlt } from "../../icons/ui-icons/clear-alt.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
-
import { t as $4b38b5b75ecc6208$export$2f2b9559550c7bbc } from "../../Autocomplete-
|
|
3
|
-
import {
|
|
2
|
+
import { t as $4b38b5b75ecc6208$export$2f2b9559550c7bbc } from "../../Autocomplete-Dqkum3dO.js";
|
|
3
|
+
import { y as $42ceafc619f9c3ba$export$fb8073518f34e6ec } from "../../useCollection-DqUS7tjk.js";
|
|
4
4
|
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5 } from "../../Label-C4bJkVti.js";
|
|
5
|
-
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../../Button-
|
|
6
|
-
import {
|
|
7
|
-
import { r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../../useTextField-
|
|
8
|
-
import { c as isStringValue, d as $c8bb816105474884$export$ef9b1a59e592288f, i as getOptionKey, n as SelectClearButton, o as isPrimitive, r as getGroupedOptions, t as OptionItemBase, u as $c8bb816105474884$export$e288731fd71264f0 } from "../../shared-
|
|
9
|
-
import { a as $928221da08ecbc62$export$dca12b0bb56e4fc, t as $928221da08ecbc62$export$41f133550aa26f48 } from "../../ListBox-
|
|
10
|
-
import { t as $29a5029ff43c9612$export$b94867ecbd698f21 } from "../../SearchField-
|
|
5
|
+
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../../Button-DHgs_rCq.js";
|
|
6
|
+
import { T as $53e61d82d8b8611d$export$8b251419efc915eb, u as $542a13ca2fa5b484$export$5b6b19405a83ff9d } from "../../Dialog-CldDJ_4u.js";
|
|
7
|
+
import { r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../../useTextField-C3QIkMON.js";
|
|
8
|
+
import { c as isStringValue, d as $c8bb816105474884$export$ef9b1a59e592288f, i as getOptionKey, n as SelectClearButton, o as isPrimitive, r as getGroupedOptions, t as OptionItemBase, u as $c8bb816105474884$export$e288731fd71264f0 } from "../../shared-YXMIX2ka.js";
|
|
9
|
+
import { a as $928221da08ecbc62$export$dca12b0bb56e4fc, t as $928221da08ecbc62$export$41f133550aa26f48 } from "../../ListBox-CZXso3mJ.js";
|
|
10
|
+
import { t as $29a5029ff43c9612$export$b94867ecbd698f21 } from "../../SearchField-DkX1vqMN.js";
|
|
11
11
|
import { t as $c73d3f3d5ec90946$export$bc3384a35de93d66 } from "../../useAsyncList-CjKVLGN0.js";
|
|
12
12
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
13
13
|
import { BaseControl } from "../base-control/base-control.js";
|
|
14
14
|
import { i as unescapeHTML } from "../../text-helpers-QrwKKaOh.js";
|
|
15
|
-
import { t as __ } from "../../build-module-
|
|
15
|
+
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
16
16
|
import { Icon } from "../../icons/icon.js";
|
|
17
17
|
import { Spinner } from "../../icons/spinner.js";
|
|
18
18
|
import { clearAlt } from "../../icons/ui-icons/clear-alt.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
-
import { t as $4b38b5b75ecc6208$export$2f2b9559550c7bbc } from "../../Autocomplete-
|
|
3
|
-
import {
|
|
2
|
+
import { t as $4b38b5b75ecc6208$export$2f2b9559550c7bbc } from "../../Autocomplete-Dqkum3dO.js";
|
|
3
|
+
import { y as $42ceafc619f9c3ba$export$fb8073518f34e6ec } from "../../useCollection-DqUS7tjk.js";
|
|
4
4
|
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5 } from "../../Label-C4bJkVti.js";
|
|
5
|
-
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../../Button-
|
|
6
|
-
import {
|
|
7
|
-
import { r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../../useTextField-
|
|
8
|
-
import { c as isStringValue, d as $c8bb816105474884$export$ef9b1a59e592288f, i as getOptionKey, n as SelectClearButton, r as getGroupedOptions, s as isSelectOption, t as OptionItemBase, u as $c8bb816105474884$export$e288731fd71264f0 } from "../../shared-
|
|
9
|
-
import { a as $928221da08ecbc62$export$dca12b0bb56e4fc, t as $928221da08ecbc62$export$41f133550aa26f48 } from "../../ListBox-
|
|
10
|
-
import { t as $ef182bb9912241d8$export$3274cf84b703fff } from "../../useFilter-
|
|
11
|
-
import { t as $29a5029ff43c9612$export$b94867ecbd698f21 } from "../../SearchField-
|
|
5
|
+
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../../Button-DHgs_rCq.js";
|
|
6
|
+
import { T as $53e61d82d8b8611d$export$8b251419efc915eb, u as $542a13ca2fa5b484$export$5b6b19405a83ff9d } from "../../Dialog-CldDJ_4u.js";
|
|
7
|
+
import { r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../../useTextField-C3QIkMON.js";
|
|
8
|
+
import { c as isStringValue, d as $c8bb816105474884$export$ef9b1a59e592288f, i as getOptionKey, n as SelectClearButton, r as getGroupedOptions, s as isSelectOption, t as OptionItemBase, u as $c8bb816105474884$export$e288731fd71264f0 } from "../../shared-YXMIX2ka.js";
|
|
9
|
+
import { a as $928221da08ecbc62$export$dca12b0bb56e4fc, t as $928221da08ecbc62$export$41f133550aa26f48 } from "../../ListBox-CZXso3mJ.js";
|
|
10
|
+
import { t as $ef182bb9912241d8$export$3274cf84b703fff } from "../../useFilter-C75IzdIZ.js";
|
|
11
|
+
import { t as $29a5029ff43c9612$export$b94867ecbd698f21 } from "../../SearchField-DkX1vqMN.js";
|
|
12
12
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
13
13
|
import { BaseControl } from "../base-control/base-control.js";
|
|
14
14
|
import { t as sprintf } from "../../sprintf-xJRAt4p0.js";
|
|
15
|
-
import { n as _n, t as __ } from "../../build-module-
|
|
15
|
+
import { n as _n, t as __ } from "../../build-module-BISCoQjQ.js";
|
|
16
16
|
import { Icon } from "../../icons/icon.js";
|
|
17
17
|
import { clearAlt } from "../../icons/ui-icons/clear-alt.js";
|
|
18
18
|
import { dropdownCaret } from "../../icons/ui-icons/dropdown-caret.js";
|
|
@@ -42,7 +42,7 @@ export declare const OptionItemBase: (props: Prettify<OptionItemBaseProps>) => i
|
|
|
42
42
|
*
|
|
43
43
|
* @returns {SelectOption[] | SelectOption | Primitive[] | Primitive | undefined} Appropriate output for the given input combination.
|
|
44
44
|
*/
|
|
45
|
-
export declare const getValue: (simpleValue: boolean, value: SelectOption<Primitive>[] | SelectOption<Primitive> | Primitive[] | Primitive, options?: SelectOption<Primitive>[]) => Primitive | SelectOption<Primitive> |
|
|
45
|
+
export declare const getValue: (simpleValue: boolean, value: SelectOption<Primitive>[] | SelectOption<Primitive> | Primitive[] | Primitive, options?: SelectOption<Primitive>[]) => Primitive[] | (SelectOption<Primitive> | undefined)[] | SelectOption<Primitive> | Primitive | undefined;
|
|
46
46
|
/**
|
|
47
47
|
* Moves an array item before or after another item in the array.
|
|
48
48
|
*
|
|
@@ -53,7 +53,7 @@ export declare const getValue: (simpleValue: boolean, value: SelectOption<Primit
|
|
|
53
53
|
* @param {'before' | 'after'} [position='before'] - Where to place the moved item.
|
|
54
54
|
* @returns {Item[]} New array with the item moved.
|
|
55
55
|
*/
|
|
56
|
-
export declare const moveArrayItem: <Item>(array: Item[], itemToMove: Item, targetItem: Item, position?:
|
|
56
|
+
export declare const moveArrayItem: <Item>(array: Item[], itemToMove: Item, targetItem: Item, position?: 'before' | 'after') => Item[];
|
|
57
57
|
export declare const SelectClearButton: ({ multi }: Prettify<SelectClearButtonProps>) => import("react").JSX.Element;
|
|
58
58
|
/**
|
|
59
59
|
* Groups options by a key.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as getValue, c as isStringValue, i as getOptionKey, l as moveArrayItem, n as SelectClearButton, o as isPrimitive, r as getGroupedOptions, s as isSelectOption, t as OptionItemBase } from "../../shared-
|
|
1
|
+
import { a as getValue, c as isStringValue, i as getOptionKey, l as moveArrayItem, n as SelectClearButton, o as isPrimitive, r as getGroupedOptions, s as isSelectOption, t as OptionItemBase } from "../../shared-YXMIX2ka.js";
|
|
2
2
|
export { OptionItemBase, SelectClearButton, getGroupedOptions, getOptionKey, getValue, isPrimitive, isSelectOption, isStringValue, moveArrayItem };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
-
import { t as $4b38b5b75ecc6208$export$2f2b9559550c7bbc } from "../../Autocomplete-
|
|
3
|
-
import {
|
|
2
|
+
import { t as $4b38b5b75ecc6208$export$2f2b9559550c7bbc } from "../../Autocomplete-Dqkum3dO.js";
|
|
3
|
+
import { y as $42ceafc619f9c3ba$export$fb8073518f34e6ec } from "../../useCollection-DqUS7tjk.js";
|
|
4
4
|
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5 } from "../../Label-C4bJkVti.js";
|
|
5
|
-
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../../Button-
|
|
6
|
-
import {
|
|
7
|
-
import { r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../../useTextField-
|
|
8
|
-
import { c as isStringValue, d as $c8bb816105474884$export$ef9b1a59e592288f, i as getOptionKey, n as SelectClearButton, o as isPrimitive, r as getGroupedOptions, t as OptionItemBase, u as $c8bb816105474884$export$e288731fd71264f0 } from "../../shared-
|
|
9
|
-
import { a as $928221da08ecbc62$export$dca12b0bb56e4fc, t as $928221da08ecbc62$export$41f133550aa26f48 } from "../../ListBox-
|
|
10
|
-
import { t as $ef182bb9912241d8$export$3274cf84b703fff } from "../../useFilter-
|
|
11
|
-
import { t as $29a5029ff43c9612$export$b94867ecbd698f21 } from "../../SearchField-
|
|
5
|
+
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../../Button-DHgs_rCq.js";
|
|
6
|
+
import { T as $53e61d82d8b8611d$export$8b251419efc915eb, u as $542a13ca2fa5b484$export$5b6b19405a83ff9d } from "../../Dialog-CldDJ_4u.js";
|
|
7
|
+
import { r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../../useTextField-C3QIkMON.js";
|
|
8
|
+
import { c as isStringValue, d as $c8bb816105474884$export$ef9b1a59e592288f, i as getOptionKey, n as SelectClearButton, o as isPrimitive, r as getGroupedOptions, t as OptionItemBase, u as $c8bb816105474884$export$e288731fd71264f0 } from "../../shared-YXMIX2ka.js";
|
|
9
|
+
import { a as $928221da08ecbc62$export$dca12b0bb56e4fc, t as $928221da08ecbc62$export$41f133550aa26f48 } from "../../ListBox-CZXso3mJ.js";
|
|
10
|
+
import { t as $ef182bb9912241d8$export$3274cf84b703fff } from "../../useFilter-C75IzdIZ.js";
|
|
11
|
+
import { t as $29a5029ff43c9612$export$b94867ecbd698f21 } from "../../SearchField-DkX1vqMN.js";
|
|
12
12
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
13
13
|
import { BaseControl } from "../base-control/base-control.js";
|
|
14
|
-
import { t as __ } from "../../build-module-
|
|
14
|
+
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
15
15
|
import { Icon } from "../../icons/icon.js";
|
|
16
16
|
import { clearAlt } from "../../icons/ui-icons/clear-alt.js";
|
|
17
17
|
import { dropdownCaret } from "../../icons/ui-icons/dropdown-caret.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const selectButtonClass: (props?: ({
|
|
2
|
-
size?: "
|
|
2
|
+
size?: "default" | "large" | "medium" | "small" | null | undefined;
|
|
3
3
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4
4
|
export declare const selectControlClass: (props?: ({
|
|
5
5
|
disabled?: boolean | null | undefined;
|
|
@@ -8,5 +8,5 @@ export declare const selectControlClass: (props?: ({
|
|
|
8
8
|
inline?: boolean | null | undefined;
|
|
9
9
|
flat?: boolean | null | undefined;
|
|
10
10
|
readOnly?: boolean | null | undefined;
|
|
11
|
-
size?: "
|
|
11
|
+
size?: "default" | "large" | "medium" | "small" | null | undefined;
|
|
12
12
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
2
|
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5 } from "../../Label-C4bJkVti.js";
|
|
3
|
-
import { i as $806e559d0c2c64a0$export$472062a354075cee, o as $806e559d0c2c64a0$export$a590f758a961cb5b, r as $806e559d0c2c64a0$export$2c1b491743890dec, t as $806e559d0c2c64a0$export$105594979f116971 } from "../../Slider-
|
|
3
|
+
import { i as $806e559d0c2c64a0$export$472062a354075cee, o as $806e559d0c2c64a0$export$a590f758a961cb5b, r as $806e559d0c2c64a0$export$2c1b491743890dec, t as $806e559d0c2c64a0$export$105594979f116971 } from "../../Slider-Dw-JjfLx.js";
|
|
4
4
|
import { BaseControl } from "../base-control/base-control.js";
|
|
5
5
|
import { t as sprintf } from "../../sprintf-xJRAt4p0.js";
|
|
6
|
-
import { t as __ } from "../../build-module-
|
|
6
|
+
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
7
7
|
import { chevronLeft } from "../../icons/ui-icons/chevron-left.js";
|
|
8
8
|
import { chevronRight } from "../../icons/ui-icons/chevron-right.js";
|
|
9
|
-
import { n as AnimatePresence, t as motion } from "../../react-
|
|
9
|
+
import { n as AnimatePresence, t as motion } from "../../react-O71mlJXS.js";
|
|
10
10
|
import { getColumnConfigOutputText } from "./utils.js";
|
|
11
11
|
import "react";
|
|
12
12
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
2
|
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5 } from "../../Label-C4bJkVti.js";
|
|
3
|
-
import { i as $806e559d0c2c64a0$export$472062a354075cee, o as $806e559d0c2c64a0$export$a590f758a961cb5b, r as $806e559d0c2c64a0$export$2c1b491743890dec, t as $806e559d0c2c64a0$export$105594979f116971 } from "../../Slider-
|
|
4
|
-
import { t as NumberPicker } from "../../number-picker-
|
|
3
|
+
import { i as $806e559d0c2c64a0$export$472062a354075cee, o as $806e559d0c2c64a0$export$a590f758a961cb5b, r as $806e559d0c2c64a0$export$2c1b491743890dec, t as $806e559d0c2c64a0$export$105594979f116971 } from "../../Slider-Dw-JjfLx.js";
|
|
4
|
+
import { t as NumberPicker } from "../../number-picker-XqKW0BNi.js";
|
|
5
5
|
import { BaseControl } from "../base-control/base-control.js";
|
|
6
|
-
import { t as __ } from "../../build-module-
|
|
6
|
+
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
7
7
|
import { HStack } from "../layout/hstack.js";
|
|
8
|
-
import { n as AnimatePresence, t as motion } from "../../react-
|
|
8
|
+
import { n as AnimatePresence, t as motion } from "../../react-O71mlJXS.js";
|
|
9
9
|
import { generateGridTemplate, generateMarkers } from "./utils.js";
|
|
10
10
|
import { useState } from "react";
|
|
11
11
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as sprintf } from "../../sprintf-xJRAt4p0.js";
|
|
2
|
-
import { n as _n, t as __ } from "../../build-module-
|
|
2
|
+
import { n as _n, t as __ } from "../../build-module-BISCoQjQ.js";
|
|
3
3
|
//#region lib/components/slider/utils.ts
|
|
4
4
|
/**
|
|
5
5
|
* Generates an array of markers based on the provided minimum and maximum values and step.
|
|
@@ -96,5 +96,5 @@ type SmartImageProps = SmartImageImageProps & {
|
|
|
96
96
|
* )}
|
|
97
97
|
* </SmartImage>
|
|
98
98
|
*/
|
|
99
|
-
declare const SmartImage: (props: Prettify<SmartImageProps>) => string | number | boolean |
|
|
99
|
+
declare const SmartImage: (props: Prettify<SmartImageProps>) => string | number | boolean | import("react").JSX.Element | Iterable<ReactNode> | null | undefined;
|
|
100
100
|
export { SmartImage, SmartImage as __SmartImage };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
-
import { t as DecorativeTooltip } from "../../tooltip-
|
|
2
|
+
import { t as DecorativeTooltip } from "../../tooltip-CT-vzIdz.js";
|
|
3
3
|
import { cyrb64Hash } from "../../utilities/hash.js";
|
|
4
|
-
import { t as __ } from "../../build-module-
|
|
4
|
+
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
5
5
|
import { imageError } from "../../icons/ui-icons/image-error.js";
|
|
6
6
|
import { cloneElement, useEffect, useRef, useState } from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -50,68 +50,20 @@ type TabPanelProps = ComponentPropsWithoutRef<typeof ReactAriaTabPanel> & {
|
|
|
50
50
|
vertical?: boolean;
|
|
51
51
|
flat?: boolean;
|
|
52
52
|
};
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
* </Tabs>
|
|
70
|
-
*/
|
|
71
|
-
export declare const Tabs: {
|
|
72
|
-
(props: Prettify<TabsProps>): import("react").JSX.Element | null;
|
|
73
|
-
displayName: string;
|
|
74
|
-
};
|
|
75
|
-
/**
|
|
76
|
-
* Container for tabs within the Tabs component.
|
|
77
|
-
*
|
|
78
|
-
* @component
|
|
79
|
-
* @param {TabListProps} props - Component props.
|
|
80
|
-
*
|
|
81
|
-
* @returns {JSX.Element} The TabList component.
|
|
82
|
-
*
|
|
83
|
-
* @see {@link Tabs} for usage example.
|
|
84
|
-
*/
|
|
85
|
-
export declare const TabList: {
|
|
86
|
-
(props: Prettify<TabListProps>): import("react").JSX.Element;
|
|
87
|
-
displayName: string;
|
|
88
|
-
};
|
|
89
|
-
/**
|
|
90
|
-
* A tab within the TabList component, in the Tabs component.
|
|
91
|
-
*
|
|
92
|
-
* @component
|
|
93
|
-
* @param {TabProps} props - Component props.
|
|
94
|
-
*
|
|
95
|
-
* @returns {JSX.Element} The Tab component.
|
|
96
|
-
*
|
|
97
|
-
* @see {@link Tabs} for usage example.
|
|
98
|
-
*/
|
|
99
|
-
export declare const Tab: {
|
|
100
|
-
(props: Prettify<TabProps>): import("react").JSX.Element;
|
|
101
|
-
displayName: string;
|
|
102
|
-
};
|
|
103
|
-
/**
|
|
104
|
-
* Container for tab content within the Tabs component.
|
|
105
|
-
*
|
|
106
|
-
* @component
|
|
107
|
-
* @param {TabPanelProps} props - Component props.
|
|
108
|
-
*
|
|
109
|
-
* @returns {JSX.Element} The TabPanel component.
|
|
110
|
-
*
|
|
111
|
-
* @see {@link Tabs} for usage example.
|
|
112
|
-
*/
|
|
113
|
-
export declare const TabPanel: {
|
|
114
|
-
(props: Prettify<TabPanelProps>): import("react").JSX.Element;
|
|
115
|
-
displayName: string;
|
|
116
|
-
};
|
|
53
|
+
export declare function Tabs(props: Prettify<TabsProps>): import("react").JSX.Element | null;
|
|
54
|
+
export declare namespace Tabs {
|
|
55
|
+
var displayName: string;
|
|
56
|
+
}
|
|
57
|
+
export declare function TabList(props: Prettify<TabListProps>): import("react").JSX.Element;
|
|
58
|
+
export declare namespace TabList {
|
|
59
|
+
var displayName: string;
|
|
60
|
+
}
|
|
61
|
+
export declare function Tab(props: Prettify<TabProps>): import("react").JSX.Element;
|
|
62
|
+
export declare namespace Tab {
|
|
63
|
+
var displayName: string;
|
|
64
|
+
}
|
|
65
|
+
export declare function TabPanel(props: Prettify<TabPanelProps>): import("react").JSX.Element;
|
|
66
|
+
export declare namespace TabPanel {
|
|
67
|
+
var displayName: string;
|
|
68
|
+
}
|
|
117
69
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as Tabs, n as TabList, r as TabPanel, t as Tab } from "../../tabs-
|
|
1
|
+
import { i as Tabs, n as TabList, r as TabPanel, t as Tab } from "../../tabs-DE-qb7Kt.js";
|
|
2
2
|
export { Tab, TabList, TabPanel, Tabs };
|
|
@@ -3,7 +3,7 @@ import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
|
3
3
|
import { Switch as ReactAriaSwitch } from 'react-aria-components';
|
|
4
4
|
import type { Prettify } from '../../utilities/types';
|
|
5
5
|
declare const outsideClasses: (props?: ({
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "default" | "medium" | "small" | null | undefined;
|
|
7
7
|
checked?: boolean | null | undefined;
|
|
8
8
|
disabled?: boolean | null | undefined;
|
|
9
9
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Switch } from "../../switch-
|
|
1
|
+
import { t as Switch } from "../../switch-Bo6nmed_.js";
|
|
2
2
|
export { Switch };
|