@wallarm-org/design-system 0.87.0 → 0.88.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/dist/components/Alert/Alert.d.ts +1 -1
- package/dist/components/AnimatedBackground/pixel/module/celebration.d.ts +2 -2
- package/dist/components/AnimatedBackground/pixel/module/game-logic.d.ts +1 -1
- package/dist/components/AppShell/story-content/_storyLib.d.ts +1 -1
- package/dist/components/Badge/classes.d.ts +2 -2
- package/dist/components/Badge/constants.d.ts +26 -26
- package/dist/components/Banner/classes.d.ts +4 -4
- package/dist/components/Button/Button.d.ts +2 -2
- package/dist/components/ButtonBase/classes.d.ts +1 -1
- package/dist/components/Calendar/CalendarContext.d.ts +4 -4
- package/dist/components/Calendar/CalendarTrigger.d.ts +4 -12
- package/dist/components/Calendar/const.d.ts +2 -2
- package/dist/components/Checkbox/CheckboxGroup.d.ts +1 -1
- package/dist/components/Code/Code.d.ts +3 -3
- package/dist/components/CodeSnippet/CodeSnippetRoot.d.ts +5 -8
- package/dist/components/CodeSnippet/lib/httpFolds.d.ts +2 -2
- package/dist/components/Country/Country.d.ts +1 -1
- package/dist/components/Country/CountryFlag.d.ts +1 -1
- package/dist/components/Country/countries.d.ts +497 -497
- package/dist/components/DropdownMenu/classes.d.ts +1 -1
- package/dist/components/DropdownMenu/classes.js +1 -1
- package/dist/components/Field/Field.d.ts +1 -1
- package/dist/components/FilterInput/FilterInputField/FilterInputChip/classes.d.ts +1 -1
- package/dist/components/FilterInput/FilterInputField/FilterInputChip/segmentVariant.d.ts +3 -3
- package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/FlatValueMenu.js +1 -0
- package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/NestedValueMenuItem.js +1 -26
- package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/ValueMenuItem.d.ts +2 -0
- package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/ValueMenuItem.js +4 -3
- package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/highlightMatch.d.ts +11 -0
- package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/highlightMatch.js +28 -0
- package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/useNestedValueMenuState.js +2 -2
- package/dist/components/FilterInput/FilterInputMenu/FilterInputValueMenu/valueOptionSearchText.d.ts +1 -1
- package/dist/components/FilterInput/hooks/useFilterInputAutocomplete/lib/valueResolution.d.ts +1 -1
- package/dist/components/FilterInput/hooks/useFilterInputAutocomplete/useChipCascade.d.ts +1 -1
- package/dist/components/FilterInput/hooks/useFilterInputAutocomplete/useFilterInputAutocomplete.d.ts +2 -2
- package/dist/components/FilterInput/hooks/useFilterInputAutocomplete/useMenuPositioning.d.ts +1 -1
- package/dist/components/FilterInput/hooks/useFilterInputExpression/buildChips.d.ts +1 -1
- package/dist/components/FilterInput/hooks/useFilterInputExpression/buildChips.js +1 -1
- package/dist/components/FilterInput/hooks/useFilterInputExpression/expression.d.ts +2 -2
- package/dist/components/FilterInput/hooks/useFilterInputExpression/useFilterInputExpression.d.ts +2 -2
- package/dist/components/FilterInput/hooks/useFilterInputPositioning.d.ts +1 -1
- package/dist/components/FilterInput/hooks/useFilterInputSelection/lib/serialize.d.ts +1 -1
- package/dist/components/FilterInput/lib/applyKnownFieldHelpers.d.ts +1 -1
- package/dist/components/FilterInput/lib/collapseValuesToLabels.d.ts +20 -18
- package/dist/components/FilterInput/lib/collapseValuesToLabels.js +12 -19
- package/dist/components/FilterInput/lib/conditions.d.ts +2 -2
- package/dist/components/FilterInput/lib/constants.d.ts +6 -3
- package/dist/components/FilterInput/lib/constants.js +1 -1
- package/dist/components/FilterInput/lib/index.d.ts +1 -1
- package/dist/components/FilterInput/lib/index.js +1 -1
- package/dist/components/FilterInput/lib/validation.d.ts +1 -1
- package/dist/components/Flex/Flex.d.ts +6 -6
- package/dist/components/Heading/Heading.d.ts +3 -3
- package/dist/components/InlineEdit/InlineEditSelect.d.ts +4 -4
- package/dist/components/Input/classes.d.ts +1 -1
- package/dist/components/InputGroup/InputGroup.d.ts +1 -1
- package/dist/components/InputGroup/InputGroupAddon.d.ts +2 -2
- package/dist/components/Ip/constants.d.ts +21 -21
- package/dist/components/Kbd/Kbd.d.ts +1 -1
- package/dist/components/Link/classes.d.ts +3 -3
- package/dist/components/Loader/Loader.d.ts +2 -2
- package/dist/components/Logo/classes.d.ts +1 -1
- package/dist/components/NumberInput/classes.d.ts +4 -4
- package/dist/components/NumericBadge/classes.d.ts +2 -2
- package/dist/components/OverflowTooltip/OverflowTooltip.d.ts +4 -8
- package/dist/components/OverflowTooltip/OverflowTooltipContent.d.ts +4 -7
- package/dist/components/Pagination/classes.d.ts +2 -2
- package/dist/components/ParameterPath/constants.d.ts +7 -7
- package/dist/components/Popover/PopoverContent.js +5 -19
- package/dist/components/Popover/constants.d.ts +0 -1
- package/dist/components/Popover/constants.js +1 -2
- package/dist/components/Progress/classes.d.ts +2 -2
- package/dist/components/Progress/constants.d.ts +22 -22
- package/dist/components/Radio/RadioGroup.d.ts +1 -1
- package/dist/components/SegmentedControl/SegmentedControlSeparator.d.ts +1 -1
- package/dist/components/Select/Select.d.ts +4 -4
- package/dist/components/Select/SelectInput/SelectInputOverflowRenderer.d.ts +1 -1
- package/dist/components/Selection/Selection.d.ts +4 -4
- package/dist/components/Separator/Separator.d.ts +1 -1
- package/dist/components/SimpleCharts/BarList/classes.d.ts +3 -3
- package/dist/components/SimpleCharts/LineChart/constants.d.ts +2 -2
- package/dist/components/SimpleCharts/PieChart/classes.d.ts +2 -2
- package/dist/components/Skeleton/Skeleton.d.ts +1 -1
- package/dist/components/SplashScreen/classes.d.ts +4 -4
- package/dist/components/Stack/Stack.d.ts +5 -5
- package/dist/components/Table/Table.d.ts +4 -4
- package/dist/components/Table/TableBody/TableBodyCell.d.ts +4 -4
- package/dist/components/Table/TableColumnMenu/TableColumnMenu.d.ts +4 -16
- package/dist/components/Table/TableHeadCell.d.ts +4 -4
- package/dist/components/Table/TableImperativeBridge.d.ts +4 -9
- package/dist/components/Table/TableMasterCellActions.d.ts +4 -4
- package/dist/components/Table/TableResizeHandler.d.ts +4 -4
- package/dist/components/Table/TableRow.d.ts +1 -1
- package/dist/components/Table/TableRowExpanded.d.ts +4 -4
- package/dist/components/Table/TableSettingsMenu/TableSettingsMenuItem.d.ts +4 -4
- package/dist/components/Table/TableSortHandler.d.ts +4 -4
- package/dist/components/Table/TableSortTrigger.d.ts +4 -19
- package/dist/components/Table/lib/detectDataChange.d.ts +1 -1
- package/dist/components/Table/lib/isLastPinnedLeft.d.ts +2 -2
- package/dist/components/Tabs/classes.d.ts +1 -1
- package/dist/components/Text/Text.d.ts +5 -5
- package/dist/components/Textarea/classes.d.ts +2 -2
- package/dist/components/Toast/Toast.d.ts +4 -4
- package/dist/components/Toast/ToastClose.d.ts +4 -4
- package/dist/components/Toast/useToast.d.ts +4 -4
- package/dist/components/ToggleButton/ToggleButton.d.ts +1 -1
- package/dist/components/Tour/lib/waitForStepEvent.d.ts +1 -1
- package/dist/components/WallyIcon/classes.d.ts +1 -1
- package/dist/icons/SvgIcon.d.ts +1 -1
- package/dist/metadata/components.json +39 -4
- package/dist/theme/index.css +22 -0
- package/dist/utils/hasNonTextEnd.d.ts +1 -1
- package/dist/utils/isIconOnly.d.ts +1 -1
- package/package.json +15 -17
|
@@ -3,7 +3,7 @@ export interface TableSettingsMenuItemProps extends Omit<SwitchProps, 'checked'
|
|
|
3
3
|
/** Column id from the table's column definitions. */
|
|
4
4
|
columnId: string;
|
|
5
5
|
}
|
|
6
|
-
export declare
|
|
7
|
-
|
|
8
|
-
displayName: string;
|
|
9
|
-
}
|
|
6
|
+
export declare function TableSettingsMenuItem({ columnId, className, 'data-testid': testIdProp, ...rest }: TableSettingsMenuItemProps): import("react").JSX.Element | null;
|
|
7
|
+
export declare namespace TableSettingsMenuItem {
|
|
8
|
+
var displayName: string;
|
|
9
|
+
}
|
|
@@ -2,8 +2,8 @@ import type { Header } from '@tanstack/react-table';
|
|
|
2
2
|
interface TableSortHandler<T> {
|
|
3
3
|
header: Header<T, unknown>;
|
|
4
4
|
}
|
|
5
|
-
export declare
|
|
6
|
-
|
|
7
|
-
displayName: string;
|
|
8
|
-
}
|
|
5
|
+
export declare function TableSortHandler<T>({ header }: TableSortHandler<T>): import("react").JSX.Element;
|
|
6
|
+
export declare namespace TableSortHandler {
|
|
7
|
+
var displayName: string;
|
|
8
|
+
}
|
|
9
9
|
export {};
|
|
@@ -18,22 +18,7 @@ export interface TableSortTriggerProps<T = unknown> extends Omit<ButtonHTMLAttri
|
|
|
18
18
|
/** Label rendered next to the sort icon. Visual styling matches the default header text. */
|
|
19
19
|
children?: ReactNode;
|
|
20
20
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
* does not wrap the label in its own `<Text>`.
|
|
26
|
-
*
|
|
27
|
-
* All native button attributes (including `data-analytics-id`,
|
|
28
|
-
* `data-analytics-props`, `aria-*`, `id`, `ref`, and any `data-*`) reach the
|
|
29
|
-
* underlying `<button>` so analytics SDKs that walk up via
|
|
30
|
-
* `closest('[data-analytics-id]')` resolve clicks on the icon to the
|
|
31
|
-
* consumer-supplied id.
|
|
32
|
-
*
|
|
33
|
-
* Consumer-passed `onClick` runs first; if it calls `event.preventDefault()`,
|
|
34
|
-
* the internal `toggleSorting` is skipped.
|
|
35
|
-
*/
|
|
36
|
-
export declare const TableSortTrigger: {
|
|
37
|
-
<T>({ column, children, "data-testid": testIdProp, className, onClick, ...rest }: TableSortTriggerProps<T>): import("react").JSX.Element;
|
|
38
|
-
displayName: string;
|
|
39
|
-
};
|
|
21
|
+
export declare function TableSortTrigger<T>({ column, children, 'data-testid': testIdProp, className, onClick, ...rest }: TableSortTriggerProps<T>): import("react").JSX.Element;
|
|
22
|
+
export declare namespace TableSortTrigger {
|
|
23
|
+
var displayName: string;
|
|
24
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** Classifies a data change by comparing the previous first/last row ids to the new rows. */
|
|
2
2
|
export declare const detectDataChange: (prevFirstRowId: string | undefined, rows: {
|
|
3
3
|
id: string;
|
|
4
|
-
}[], prevLastRowId?: string) =>
|
|
4
|
+
}[], prevLastRowId?: string) => 'prepend' | 'replace' | 'none';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Checks if a column is the last pinned column on the left side.
|
|
3
3
|
*/
|
|
4
4
|
export declare const isLastPinnedLeft: (column: {
|
|
5
|
-
getIsPinned: () => false |
|
|
5
|
+
getIsPinned: () => false | 'left' | 'right';
|
|
6
6
|
}, allColumns: {
|
|
7
|
-
getIsPinned: () => false |
|
|
7
|
+
getIsPinned: () => false | 'left' | 'right';
|
|
8
8
|
id: string;
|
|
9
9
|
}[], columnId: string) => boolean;
|
|
@@ -2,16 +2,16 @@ import type { FC, HTMLAttributes, PropsWithChildren, Ref } from 'react';
|
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
import type { TestableProps } from '../../utils/testId';
|
|
4
4
|
declare const textVariants: (props?: ({
|
|
5
|
-
size?: "
|
|
6
|
-
weight?: "bold" | "light" | "
|
|
7
|
-
color?: "
|
|
5
|
+
size?: "lg" | "md" | "sm" | "xl" | "xs" | null | undefined;
|
|
6
|
+
weight?: "bold" | "light" | "medium" | "regular" | null | undefined;
|
|
7
|
+
color?: "danger" | "inherit" | "primary" | "primary-alt" | "secondary" | "secondary-alt" | "tertiary-alt" | null | undefined;
|
|
8
8
|
align?: "center" | "left" | "right" | null | undefined;
|
|
9
9
|
inline?: boolean | null | undefined;
|
|
10
10
|
grow?: boolean | null | undefined;
|
|
11
11
|
truncate?: boolean | null | undefined;
|
|
12
12
|
decoration?: "dashed" | null | undefined;
|
|
13
|
-
lineHeight?: "none" | "normal" | "
|
|
14
|
-
textTransform?: "
|
|
13
|
+
lineHeight?: "none" | "normal" | "relaxed" | "snug" | "tight" | null | undefined;
|
|
14
|
+
textTransform?: "capitalize" | "lowercase" | "none" | "uppercase" | null | undefined;
|
|
15
15
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
16
16
|
type TextNativeProps = Omit<HTMLAttributes<HTMLParagraphElement>, 'className' | 'color'>;
|
|
17
17
|
type TextVariantProps = VariantProps<typeof textVariants>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const textareaPaddingVariants: (props?: ({
|
|
2
|
-
size?: "
|
|
2
|
+
size?: "default" | "inline-edit" | "medium" | "small" | null | undefined;
|
|
3
3
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4
4
|
export declare const textareaHeightVariants: (props?: ({
|
|
5
|
-
size?: "
|
|
5
|
+
size?: "default" | "inline-edit" | "medium" | "small" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -14,7 +14,7 @@ export interface ToastData {
|
|
|
14
14
|
export interface ToastProps {
|
|
15
15
|
toast: ToastData;
|
|
16
16
|
}
|
|
17
|
-
export declare
|
|
18
|
-
|
|
19
|
-
displayName: string;
|
|
20
|
-
}
|
|
17
|
+
export declare function Toast({ toast }: ToastProps): import("react").JSX.Element;
|
|
18
|
+
export declare namespace Toast {
|
|
19
|
+
var displayName: string;
|
|
20
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
|
|
3
|
-
displayName: string;
|
|
4
|
-
}
|
|
1
|
+
export declare function ToastClose(): import("react").JSX.Element;
|
|
2
|
+
export declare namespace ToastClose {
|
|
3
|
+
var displayName: string;
|
|
4
|
+
}
|
|
@@ -11,7 +11,7 @@ export interface UseToastReturn {
|
|
|
11
11
|
update: (options: UpdateToastOptions) => string;
|
|
12
12
|
dismiss: (options?: DismissToastOptions) => void;
|
|
13
13
|
}
|
|
14
|
-
export declare
|
|
15
|
-
|
|
16
|
-
displayName: string;
|
|
17
|
-
}
|
|
14
|
+
export declare function useToast(): UseToastReturn;
|
|
15
|
+
export declare namespace useToast {
|
|
16
|
+
var displayName: string;
|
|
17
|
+
}
|
|
@@ -3,7 +3,7 @@ import { type VariantProps } from 'class-variance-authority';
|
|
|
3
3
|
import type { TestableProps } from '../../utils/testId';
|
|
4
4
|
import { type ButtonBaseProps } from '../ButtonBase';
|
|
5
5
|
declare const toggleButtonVariants: (props?: ({
|
|
6
|
-
variant?: "
|
|
6
|
+
variant?: "ghost" | "outline" | null | undefined;
|
|
7
7
|
color?: "brand" | "neutral" | null | undefined;
|
|
8
8
|
active?: boolean | null | undefined;
|
|
9
9
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -12,6 +12,6 @@ import type { TourStepEffectArgs, WaitForStepEventOptions } from '../types';
|
|
|
12
12
|
*
|
|
13
13
|
* Returns a cleanup function for early teardown (e.g. dismiss / Back).
|
|
14
14
|
*/
|
|
15
|
-
export declare const waitForStepEvent: <T extends HTMLElement = HTMLElement>(event: keyof HTMLElementEventMap, args: Pick<TourStepEffectArgs,
|
|
15
|
+
export declare const waitForStepEvent: <T extends HTMLElement = HTMLElement>(event: keyof HTMLElementEventMap, args: Pick<TourStepEffectArgs, 'show' | 'next'> & {
|
|
16
16
|
target?: (() => T | null) | undefined;
|
|
17
17
|
}, options?: WaitForStepEventOptions<T>) => VoidFunction;
|
package/dist/icons/SvgIcon.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FC, ReactNode, Ref, SVGProps } from 'react';
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
declare const iconVariants: (props?: ({
|
|
4
|
-
size?: "
|
|
4
|
+
size?: "2xl" | "inherit" | "lg" | "md" | "sm" | "xl" | "xs" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
type SvgIconNativeProps = SVGProps<SVGSVGElement>;
|
|
7
7
|
type SvgIconVariantProps = VariantProps<typeof iconVariants>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
3
|
-
"generatedAt": "2026-08-
|
|
2
|
+
"version": "0.87.1",
|
|
3
|
+
"generatedAt": "2026-08-09T10:59:58.032Z",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"name": "Accordion",
|
|
@@ -33350,6 +33350,18 @@
|
|
|
33350
33350
|
"required": false,
|
|
33351
33351
|
"description": "The ids of the elements in the number input. Useful for composition."
|
|
33352
33352
|
},
|
|
33353
|
+
{
|
|
33354
|
+
"name": "largeStep",
|
|
33355
|
+
"type": "number | undefined",
|
|
33356
|
+
"required": false,
|
|
33357
|
+
"description": "The amount to increment or decrement the value by when the `Shift` key is held."
|
|
33358
|
+
},
|
|
33359
|
+
{
|
|
33360
|
+
"name": "smallStep",
|
|
33361
|
+
"type": "number | undefined",
|
|
33362
|
+
"required": false,
|
|
33363
|
+
"description": "The amount to increment or decrement the value by when the `Alt` key is held."
|
|
33364
|
+
},
|
|
33353
33365
|
{
|
|
33354
33366
|
"name": "allowMouseWheel",
|
|
33355
33367
|
"type": "boolean | undefined",
|
|
@@ -43611,6 +43623,18 @@
|
|
|
43611
43623
|
"required": false,
|
|
43612
43624
|
"description": "The amount to increment or decrement the value by"
|
|
43613
43625
|
},
|
|
43626
|
+
{
|
|
43627
|
+
"name": "largeStep",
|
|
43628
|
+
"type": "number | undefined",
|
|
43629
|
+
"required": false,
|
|
43630
|
+
"description": "The amount to increment or decrement the value by when the `Shift` key is held."
|
|
43631
|
+
},
|
|
43632
|
+
{
|
|
43633
|
+
"name": "smallStep",
|
|
43634
|
+
"type": "number | undefined",
|
|
43635
|
+
"required": false,
|
|
43636
|
+
"description": "The amount to increment or decrement the value by when the `Alt` key is held."
|
|
43637
|
+
},
|
|
43614
43638
|
{
|
|
43615
43639
|
"name": "allowMouseWheel",
|
|
43616
43640
|
"type": "boolean | undefined",
|
|
@@ -47718,8 +47742,7 @@
|
|
|
47718
47742
|
{
|
|
47719
47743
|
"name": "minHeight",
|
|
47720
47744
|
"type": "PopoverSizeDimension | undefined",
|
|
47721
|
-
"required": false
|
|
47722
|
-
"defaultValue": "POPOVER_MIN_HEIGHT"
|
|
47745
|
+
"required": false
|
|
47723
47746
|
},
|
|
47724
47747
|
{
|
|
47725
47748
|
"name": "maxHeight",
|
|
@@ -83730,6 +83753,12 @@
|
|
|
83730
83753
|
"required": false,
|
|
83731
83754
|
"description": "Whether to unmount on exit.",
|
|
83732
83755
|
"defaultValue": "true"
|
|
83756
|
+
},
|
|
83757
|
+
{
|
|
83758
|
+
"name": "hideMode",
|
|
83759
|
+
"type": "\"display-none\" | \"activity\"",
|
|
83760
|
+
"required": false,
|
|
83761
|
+
"description": "How to hide content when mounted but not present.\n- `'display-none'`: HTML `hidden` attribute. Effects stay alive.\n- `'activity'`: React 19 `<Activity mode=\"hidden\">`. Effects pause. Requires React 19+."
|
|
83733
83762
|
}
|
|
83734
83763
|
],
|
|
83735
83764
|
"variants": [],
|
|
@@ -85644,6 +85673,12 @@
|
|
|
85644
85673
|
"required": false,
|
|
85645
85674
|
"description": "Whether to unmount on exit."
|
|
85646
85675
|
},
|
|
85676
|
+
{
|
|
85677
|
+
"name": "hideMode",
|
|
85678
|
+
"type": "\"display-none\" | \"activity\"",
|
|
85679
|
+
"required": false,
|
|
85680
|
+
"description": "How to hide content when mounted but not present.\n- `'display-none'`: HTML `hidden` attribute. Effects stay alive.\n- `'activity'`: React 19 `<Activity mode=\"hidden\">`. Effects pause. Requires React 19+."
|
|
85681
|
+
},
|
|
85647
85682
|
{
|
|
85648
85683
|
"name": "asChild",
|
|
85649
85684
|
"type": "boolean | undefined",
|
package/dist/theme/index.css
CHANGED
|
@@ -35,6 +35,28 @@
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
+
/**
|
|
39
|
+
* Global native-scrollbar styling, matching the ScrollArea component's look
|
|
40
|
+
* (thin slate thumb, transparent track) for every plain `overflow:
|
|
41
|
+
* auto/scroll` element that isn't opting into ScrollArea's own JS-drawn
|
|
42
|
+
* thumb (excluded above via higher-specificity attribute selector). The
|
|
43
|
+
* thumb is permanently visible: `overflow: auto` already only renders a
|
|
44
|
+
* scrollbar when content overflows, so that's the only "show it when
|
|
45
|
+
* scrollable" gate this needs.
|
|
46
|
+
*
|
|
47
|
+
* Deliberately uses only the standard `scrollbar-width`/`scrollbar-color`
|
|
48
|
+
* properties, not `::-webkit-scrollbar-*`. The legacy pseudo-elements would
|
|
49
|
+
* allow a fully custom (rounded, inset) thumb, but their hover-driven state
|
|
50
|
+
* changes only repaint reliably when the pointer is over the scrollbar
|
|
51
|
+
* widget itself, not the rest of the scrollable container — unreliable
|
|
52
|
+
* enough that a permanently-visible thumb sidesteps the issue entirely.
|
|
53
|
+
*/
|
|
54
|
+
* {
|
|
55
|
+
scrollbar-width: thin;
|
|
56
|
+
scrollbar-color: color-mix(in srgb, var(--color-badge-slate-dark-alt) 50%, transparent)
|
|
57
|
+
transparent;
|
|
58
|
+
}
|
|
59
|
+
|
|
38
60
|
/** Remove when old DS will be removed **/
|
|
39
61
|
:where(:root) {
|
|
40
62
|
cursor: default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type PropsWithChildren } from 'react';
|
|
2
|
-
export declare const hasNonTextEnd: (children: PropsWithChildren[
|
|
2
|
+
export declare const hasNonTextEnd: (children: PropsWithChildren['children']) => boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type PropsWithChildren } from 'react';
|
|
2
|
-
export declare const isIconOnly: (children: PropsWithChildren[
|
|
2
|
+
export declare const isIconOnly: (children: PropsWithChildren['children']) => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wallarm-org/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.88.0",
|
|
4
4
|
"description": "Core design system library with React components and Storybook documentation",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -82,18 +82,16 @@
|
|
|
82
82
|
"e2e:docker:report": "playwright show-report ./playwright-report --port=9323"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@figma/code-connect": "1.
|
|
86
|
-
"@internationalized/date": "3.12.
|
|
85
|
+
"@figma/code-connect": "1.5.2",
|
|
86
|
+
"@internationalized/date": "3.12.3",
|
|
87
87
|
"@rsbuild/core": "catalog:",
|
|
88
88
|
"@rsbuild/plugin-react": "catalog:",
|
|
89
89
|
"@rslib/core": "catalog:",
|
|
90
|
-
"@shikijs/types": "4.
|
|
90
|
+
"@shikijs/types": "4.4.2",
|
|
91
91
|
"@storybook/addon-docs": "10.4.6",
|
|
92
|
-
"@storybook/addon-mcp": "0.6.0",
|
|
93
92
|
"@storybook/addon-themes": "10.4.6",
|
|
94
|
-
"@
|
|
95
|
-
"@
|
|
96
|
-
"@testing-library/jest-dom": "6.9.1",
|
|
93
|
+
"@tailwindcss/postcss": "4.3.3",
|
|
94
|
+
"@testing-library/jest-dom": "7.0.0",
|
|
97
95
|
"@testing-library/react": "catalog:",
|
|
98
96
|
"@testing-library/user-event": "catalog:",
|
|
99
97
|
"@types/node": "catalog:",
|
|
@@ -109,39 +107,39 @@
|
|
|
109
107
|
"@wallarm-org/typescript-config": "workspace:*",
|
|
110
108
|
"@wallarm-org/vitest-config": "workspace:*",
|
|
111
109
|
"glob": "13.0.6",
|
|
112
|
-
"postcss": "8.5.
|
|
110
|
+
"postcss": "8.5.26",
|
|
113
111
|
"postcss-import": "16.1.1",
|
|
114
112
|
"storybook": "catalog:",
|
|
115
113
|
"storybook-react-rsbuild": "3.3.4",
|
|
116
114
|
"tailwindcss": "catalog:",
|
|
117
115
|
"ts-morph": "28.0.0",
|
|
118
|
-
"tsx": "4.23.
|
|
116
|
+
"tsx": "4.23.10",
|
|
119
117
|
"tw-animate-css": "catalog:",
|
|
120
118
|
"typescript": "catalog:",
|
|
121
119
|
"vitest": "catalog:"
|
|
122
120
|
},
|
|
123
121
|
"dependencies": {
|
|
124
|
-
"@ark-ui/react": "5.
|
|
122
|
+
"@ark-ui/react": "5.38.0",
|
|
125
123
|
"@dnd-kit/core": "6.3.1",
|
|
126
124
|
"@dnd-kit/sortable": "10.0.0",
|
|
127
125
|
"@dnd-kit/utilities": "3.2.2",
|
|
128
|
-
"@radix-ui/react-compose-refs": "1.1.
|
|
129
|
-
"@radix-ui/react-slot": "1.3.
|
|
126
|
+
"@radix-ui/react-compose-refs": "1.1.5",
|
|
127
|
+
"@radix-ui/react-slot": "1.3.3",
|
|
130
128
|
"@react-aria/datepicker": "3.17.1",
|
|
131
129
|
"@react-aria/i18n": "3.13.1",
|
|
132
130
|
"@react-stately/datepicker": "3.17.1",
|
|
133
131
|
"@react-types/datepicker": "3.14.0",
|
|
134
|
-
"@react-types/shared": "3.36.
|
|
132
|
+
"@react-types/shared": "3.36.1",
|
|
135
133
|
"@tanstack/react-table": "8.21.3",
|
|
136
|
-
"@tanstack/react-virtual": "3.14.
|
|
134
|
+
"@tanstack/react-virtual": "3.14.9",
|
|
137
135
|
"class-variance-authority": "0.7.1",
|
|
138
136
|
"clsx": "2.1.1",
|
|
139
137
|
"date-fns": "4.4.0",
|
|
140
138
|
"highlight.js": "11.11.1",
|
|
141
139
|
"prism-react-renderer": "2.4.1",
|
|
142
140
|
"prismjs": "1.30.0",
|
|
143
|
-
"recharts": "3.
|
|
144
|
-
"shiki": "4.
|
|
141
|
+
"recharts": "3.10.1",
|
|
142
|
+
"shiki": "4.4.2",
|
|
145
143
|
"tailwind-merge": "3.6.0"
|
|
146
144
|
},
|
|
147
145
|
"peerDependencies": {
|