@transferwise/components 46.155.0 → 46.155.1
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/build/AvatarLayout/AvatarLayout.js.map +1 -1
- package/build/AvatarLayout/AvatarLayout.mjs.map +1 -1
- package/build/AvatarView/AvatarView.js.map +1 -1
- package/build/AvatarView/AvatarView.mjs.map +1 -1
- package/build/AvatarView/Dot/Dot.js.map +1 -1
- package/build/AvatarView/Dot/Dot.mjs.map +1 -1
- package/build/Body/Body.js.map +1 -1
- package/build/Body/Body.mjs.map +1 -1
- package/build/Chips/Chip/Chip.js.map +1 -1
- package/build/Chips/Chip/Chip.mjs.map +1 -1
- package/build/DefinitionList/DefinitionList.js +2 -1
- package/build/DefinitionList/DefinitionList.js.map +1 -1
- package/build/DefinitionList/DefinitionList.mjs +2 -1
- package/build/DefinitionList/DefinitionList.mjs.map +1 -1
- package/build/Display/Display.js.map +1 -1
- package/build/Display/Display.mjs.map +1 -1
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.js +2 -2
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.js.map +1 -1
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.mjs +1 -1
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.mjs.map +1 -1
- package/build/ExpressiveMoneyInput/AnimatedNumber/AnimatedNumber.js +4 -4
- package/build/ExpressiveMoneyInput/AnimatedNumber/AnimatedNumber.js.map +1 -1
- package/build/ExpressiveMoneyInput/AnimatedNumber/AnimatedNumber.mjs +1 -1
- package/build/ExpressiveMoneyInput/AnimatedNumber/AnimatedNumber.mjs.map +1 -1
- package/build/ExpressiveMoneyInput/Chevron/Chevron.js +2 -2
- package/build/ExpressiveMoneyInput/Chevron/Chevron.js.map +1 -1
- package/build/ExpressiveMoneyInput/Chevron/Chevron.mjs +1 -1
- package/build/ExpressiveMoneyInput/Chevron/Chevron.mjs.map +1 -1
- package/build/ExpressiveMoneyInput/CurrencySelector/CurrencySelector.js.map +1 -1
- package/build/ExpressiveMoneyInput/CurrencySelector/CurrencySelector.mjs.map +1 -1
- package/build/ExpressiveMoneyInput/ExpressiveMoneyInput.js +3 -3
- package/build/ExpressiveMoneyInput/ExpressiveMoneyInput.js.map +1 -1
- package/build/ExpressiveMoneyInput/ExpressiveMoneyInput.mjs +1 -1
- package/build/ExpressiveMoneyInput/ExpressiveMoneyInput.mjs.map +1 -1
- package/build/ExpressiveMoneyInput/hooks/useInputStyle.js.map +1 -1
- package/build/ExpressiveMoneyInput/hooks/useInputStyle.mjs.map +1 -1
- package/build/IconButton/IconButton.js.map +1 -1
- package/build/IconButton/IconButton.mjs.map +1 -1
- package/build/Link/Link.js.map +1 -1
- package/build/Link/Link.mjs.map +1 -1
- package/build/Nudge/Nudge.js +11 -2
- package/build/Nudge/Nudge.js.map +1 -1
- package/build/Nudge/Nudge.mjs +12 -3
- package/build/Nudge/Nudge.mjs.map +1 -1
- package/build/Sticky/Sticky.js +1 -0
- package/build/Sticky/Sticky.js.map +1 -1
- package/build/Sticky/Sticky.mjs +1 -0
- package/build/Sticky/Sticky.mjs.map +1 -1
- package/build/Title/Title.js +1 -0
- package/build/Title/Title.js.map +1 -1
- package/build/Title/Title.mjs +1 -0
- package/build/Title/Title.mjs.map +1 -1
- package/build/_deprecated/Select/Option/Option.js.map +1 -1
- package/build/_deprecated/Select/Option/Option.mjs.map +1 -1
- package/build/_deprecated/Select/SearchBox/SearchBox.js.map +1 -1
- package/build/_deprecated/Select/SearchBox/SearchBox.mjs.map +1 -1
- package/build/common/Circle/Circle.js.map +1 -1
- package/build/common/Circle/Circle.mjs.map +1 -1
- package/build/main.css +36 -1
- package/build/styles/DefinitionList/DefinitionList.css +30 -0
- package/build/styles/Nudge/Nudge.css +1 -1
- package/build/styles/Sticky/Sticky.css +4 -0
- package/build/styles/main.css +36 -1
- package/build/types/AvatarLayout/AvatarLayout.d.ts +2 -2
- package/build/types/AvatarLayout/AvatarLayout.d.ts.map +1 -1
- package/build/types/AvatarLayout/index.d.ts +1 -1
- package/build/types/AvatarLayout/index.d.ts.map +1 -1
- package/build/types/AvatarView/AvatarView.d.ts +2 -2
- package/build/types/AvatarView/AvatarView.d.ts.map +1 -1
- package/build/types/AvatarView/Dot/Dot.d.ts +1 -1
- package/build/types/AvatarView/Dot/Dot.d.ts.map +1 -1
- package/build/types/AvatarView/index.d.ts +1 -1
- package/build/types/AvatarView/index.d.ts.map +1 -1
- package/build/types/Body/Body.d.ts +11 -0
- package/build/types/Body/Body.d.ts.map +1 -1
- package/build/types/Body/index.d.ts +1 -0
- package/build/types/Body/index.d.ts.map +1 -1
- package/build/types/Chips/Chip/Chip.d.ts +2 -2
- package/build/types/Chips/Chip/Chip.d.ts.map +1 -1
- package/build/types/Chips/index.d.ts +1 -1
- package/build/types/Chips/index.d.ts.map +1 -1
- package/build/types/DefinitionList/DefinitionList.d.ts.map +1 -1
- package/build/types/Display/Display.d.ts +2 -2
- package/build/types/Display/Display.d.ts.map +1 -1
- package/build/types/Display/index.d.ts +1 -0
- package/build/types/Display/index.d.ts.map +1 -1
- package/build/types/ExpressiveMoneyInput/AmountInput/AmountInput.d.ts +3 -3
- package/build/types/ExpressiveMoneyInput/AmountInput/AmountInput.d.ts.map +1 -1
- package/build/types/ExpressiveMoneyInput/CurrencySelector/CurrencySelector.d.ts +3 -3
- package/build/types/ExpressiveMoneyInput/CurrencySelector/CurrencySelector.d.ts.map +1 -1
- package/build/types/ExpressiveMoneyInput/ExpressiveMoneyInput.d.ts +4 -4
- package/build/types/ExpressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +1 -1
- package/build/types/ExpressiveMoneyInput/hooks/useInputStyle.d.ts +1 -1
- package/build/types/ExpressiveMoneyInput/hooks/useInputStyle.d.ts.map +1 -1
- package/build/types/ExpressiveMoneyInput/index.d.ts +1 -1
- package/build/types/ExpressiveMoneyInput/index.d.ts.map +1 -1
- package/build/types/IconButton/IconButton.d.ts +1 -1
- package/build/types/IconButton/IconButton.d.ts.map +1 -1
- package/build/types/IconButton/index.d.ts +1 -1
- package/build/types/IconButton/index.d.ts.map +1 -1
- package/build/types/Link/Link.d.ts +2 -2
- package/build/types/Link/Link.d.ts.map +1 -1
- package/build/types/Link/index.d.ts +1 -1
- package/build/types/Link/index.d.ts.map +1 -1
- package/build/types/Nudge/Nudge.d.ts +28 -5
- package/build/types/Nudge/Nudge.d.ts.map +1 -1
- package/build/types/Nudge/index.d.ts +1 -1
- package/build/types/Nudge/index.d.ts.map +1 -1
- package/build/types/Sticky/Sticky.d.ts.map +1 -1
- package/build/types/Title/Title.d.ts +12 -2
- package/build/types/Title/Title.d.ts.map +1 -1
- package/build/types/Title/index.d.ts +1 -0
- package/build/types/Title/index.d.ts.map +1 -1
- package/build/types/_deprecated/Select/Option/Option.d.ts +2 -2
- package/build/types/_deprecated/Select/Option/Option.d.ts.map +1 -1
- package/build/types/common/Circle/Circle.d.ts +1 -1
- package/build/types/common/Circle/Circle.d.ts.map +1 -1
- package/build/types/common/Circle/index.d.ts +1 -1
- package/build/types/common/Circle/index.d.ts.map +1 -1
- package/build/types/index.d.ts +4 -0
- package/build/types/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/AvatarLayout/AvatarLayout.tsx +3 -3
- package/src/AvatarLayout/index.ts +1 -1
- package/src/AvatarView/AvatarView.tsx +4 -4
- package/src/AvatarView/Dot/Dot.tsx +1 -1
- package/src/AvatarView/index.ts +1 -1
- package/src/Body/Body.tsx +2 -2
- package/src/Body/index.ts +1 -0
- package/src/Chips/Chip/Chip.tsx +2 -2
- package/src/Chips/index.ts +1 -1
- package/src/DefinitionList/DefinitionList.css +30 -0
- package/src/DefinitionList/DefinitionList.less +24 -0
- package/src/DefinitionList/DefinitionList.tsx +1 -0
- package/src/DefinitionList/_stories/DefinitionList.test.story.tsx +168 -0
- package/src/Display/Display.tsx +2 -2
- package/src/Display/index.ts +1 -0
- package/src/Drawer/Drawer.test.tsx +2 -3
- package/src/ExpressiveMoneyInput/AmountInput/AmountInput.tsx +4 -4
- package/src/ExpressiveMoneyInput/AnimatedNumber/AnimatedNumber.tsx +1 -1
- package/src/ExpressiveMoneyInput/Chevron/Chevron.tsx +1 -1
- package/src/ExpressiveMoneyInput/CurrencySelector/CurrencySelector.tsx +3 -3
- package/src/ExpressiveMoneyInput/ExpressiveMoneyInput.test.tsx +1 -1
- package/src/ExpressiveMoneyInput/ExpressiveMoneyInput.tsx +5 -8
- package/src/ExpressiveMoneyInput/_stories/ExpressiveMoneyInput.story.tsx +1 -1
- package/src/ExpressiveMoneyInput/_stories/ExpressiveMoneyInput.test.story.tsx +1 -1
- package/src/ExpressiveMoneyInput/hooks/useInputStyle.ts +1 -1
- package/src/ExpressiveMoneyInput/index.ts +1 -1
- package/src/IconButton/IconButton.tsx +2 -2
- package/src/IconButton/_stories/IconButton.story.tsx +8 -8
- package/src/IconButton/index.ts +1 -1
- package/src/Link/Link.tsx +2 -2
- package/src/Link/index.ts +1 -1
- package/src/Nudge/Nudge.css +1 -1
- package/src/Nudge/Nudge.less +1 -1
- package/src/Nudge/Nudge.test.tsx +43 -0
- package/src/Nudge/Nudge.tsx +43 -8
- package/src/Nudge/index.ts +1 -1
- package/src/Sticky/Sticky.css +4 -0
- package/src/Sticky/Sticky.less +6 -0
- package/src/Sticky/Sticky.test.tsx +1 -0
- package/src/Sticky/Sticky.tsx +1 -0
- package/src/Sticky/_stories/Sticky.test.story.tsx +177 -0
- package/src/Title/Title.tsx +25 -20
- package/src/Title/index.ts +1 -0
- package/src/_deprecated/LegacyListItem/_stories/LegacyListItem.story.tsx +2 -3
- package/src/_deprecated/Select/Option/Option.test.tsx +1 -1
- package/src/_deprecated/Select/Option/Option.tsx +2 -2
- package/src/_deprecated/Select/SearchBox/SearchBox.tsx +2 -2
- package/src/common/Circle/Circle.tsx +2 -2
- package/src/common/Circle/index.ts +1 -1
- package/src/index.ts +4 -0
- package/src/main.css +36 -1
- package/src/main.less +1 -0
package/src/Title/Title.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
|
-
import React, {
|
|
2
|
+
import React, { LabelHTMLAttributes, LiHTMLAttributes } from 'react';
|
|
3
3
|
|
|
4
4
|
import { TitleTypes, Typography, Heading } from '../common';
|
|
5
5
|
|
|
@@ -13,7 +13,9 @@ const titleTypeMapping = {
|
|
|
13
13
|
[Typography.TITLE_GROUP]: 'h5',
|
|
14
14
|
} as const;
|
|
15
15
|
|
|
16
|
-
type
|
|
16
|
+
export type TitleProps = LabelHTMLAttributes<
|
|
17
|
+
HTMLHeadingElement | HTMLSpanElement | HTMLLabelElement
|
|
18
|
+
> &
|
|
17
19
|
LiHTMLAttributes<HTMLLIElement> & {
|
|
18
20
|
/**
|
|
19
21
|
* Default value will based one `type` prop
|
|
@@ -25,29 +27,32 @@ type Props = LabelHTMLAttributes<HTMLHeadingElement | HTMLSpanElement | HTMLLabe
|
|
|
25
27
|
type?: TitleTypes;
|
|
26
28
|
};
|
|
27
29
|
|
|
28
|
-
const Title = React.forwardRef<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
ref={ref as React.Ref<any>}
|
|
37
|
-
{...props}
|
|
38
|
-
className={clsx(`np-text-${type}`, className)}
|
|
39
|
-
/>
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
const HeaderTag = as ?? titleTypeMapping[DEFAULT_TYPE];
|
|
30
|
+
const Title = React.forwardRef<
|
|
31
|
+
HTMLHeadingElement | HTMLSpanElement | HTMLLabelElement | HTMLLIElement | HTMLLegendElement,
|
|
32
|
+
TitleProps
|
|
33
|
+
>(({ as, type = DEFAULT_TYPE, className, ...props }, ref) => {
|
|
34
|
+
const mapping = titleTypeMapping[type as keyof typeof titleTypeMapping];
|
|
35
|
+
const isTypeSupported = mapping !== undefined;
|
|
36
|
+
if (isTypeSupported) {
|
|
37
|
+
const HeaderTag = as ?? mapping;
|
|
43
38
|
return (
|
|
44
39
|
<HeaderTag
|
|
45
40
|
ref={ref as React.Ref<any>}
|
|
46
41
|
{...props}
|
|
47
|
-
className={clsx(`np-text-${
|
|
42
|
+
className={clsx(`np-text-${type}`, className)}
|
|
48
43
|
/>
|
|
49
44
|
);
|
|
50
|
-
}
|
|
51
|
-
|
|
45
|
+
}
|
|
46
|
+
const HeaderTag = as ?? titleTypeMapping[DEFAULT_TYPE];
|
|
47
|
+
return (
|
|
48
|
+
<HeaderTag
|
|
49
|
+
ref={ref as React.Ref<any>}
|
|
50
|
+
{...props}
|
|
51
|
+
className={clsx(`np-text-${DEFAULT_TYPE}`, className)}
|
|
52
|
+
/>
|
|
53
|
+
);
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
Title.displayName = 'Title';
|
|
52
57
|
|
|
53
58
|
export default Title;
|
package/src/Title/index.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { action } from 'storybook/actions';
|
|
2
2
|
import { Documents, FastFlag } from '@transferwise/icons';
|
|
3
|
-
import { ComponentProps } from 'react';
|
|
4
3
|
|
|
5
4
|
import { Button, IconButton, List } from '../../..';
|
|
6
5
|
import AvatarView from '../../../AvatarView';
|
|
7
6
|
import Info from '../../../Info';
|
|
8
7
|
import Title from '../../../Title/Title';
|
|
9
|
-
import LegacyListItem from '..';
|
|
8
|
+
import LegacyListItem, { type LegacyListItemProps } from '..';
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
11
|
* > ⚠️ This component is **deprecated** and superseded by the [new ListItem component](?path=/docs/content-listitem--docs)
|
|
@@ -22,7 +21,7 @@ const Template = ({
|
|
|
22
21
|
title = 'Wise',
|
|
23
22
|
value = 'We’re building the world’s most international account',
|
|
24
23
|
...props
|
|
25
|
-
}: Partial<
|
|
24
|
+
}: Partial<LegacyListItemProps>) => {
|
|
26
25
|
return <LegacyListItem title={title} value={value} {...props} />;
|
|
27
26
|
};
|
|
28
27
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { render, screen } from '@testing-library/react';
|
|
2
2
|
import { Person } from '@transferwise/icons';
|
|
3
3
|
|
|
4
|
-
import Option, {
|
|
4
|
+
import Option, { type OptionProps } from './Option';
|
|
5
5
|
|
|
6
6
|
describe('Option', () => {
|
|
7
7
|
const defaultProps: OptionProps<string> = {
|
|
@@ -6,7 +6,7 @@ import { cloneElement, ReactElement, ReactNode } from 'react';
|
|
|
6
6
|
import Body from '../../../Body';
|
|
7
7
|
import { Typography } from '../../../common';
|
|
8
8
|
|
|
9
|
-
export type
|
|
9
|
+
export type OptionProps<T> = {
|
|
10
10
|
label: ReactNode;
|
|
11
11
|
value: T;
|
|
12
12
|
currency?: string;
|
|
@@ -27,7 +27,7 @@ function Option<T>({
|
|
|
27
27
|
icon,
|
|
28
28
|
selected = false,
|
|
29
29
|
testId,
|
|
30
|
-
}:
|
|
30
|
+
}: OptionProps<T>) {
|
|
31
31
|
const iconElement = icon
|
|
32
32
|
? cloneElement(icon as ReactElement<IdIconProps>, {
|
|
33
33
|
size: 24,
|
|
@@ -4,13 +4,13 @@ import { forwardRef, InputHTMLAttributes } from 'react';
|
|
|
4
4
|
|
|
5
5
|
import { Input } from '../../../Inputs/Input/Input';
|
|
6
6
|
|
|
7
|
-
type
|
|
7
|
+
type SearchBoxProps = {
|
|
8
8
|
id?: string;
|
|
9
9
|
classNames?: Record<string, string>;
|
|
10
10
|
focusedOptionId?: string;
|
|
11
11
|
} & Pick<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'onClick' | 'placeholder' | 'value'>;
|
|
12
12
|
|
|
13
|
-
const SearchBox = forwardRef<HTMLInputElement,
|
|
13
|
+
const SearchBox = forwardRef<HTMLInputElement, SearchBoxProps>(
|
|
14
14
|
(
|
|
15
15
|
{
|
|
16
16
|
id,
|
|
@@ -5,7 +5,7 @@ import { useMedia } from '../hooks/useMedia';
|
|
|
5
5
|
|
|
6
6
|
export type ShapeSize = 16 | 24 | 32 | 40 | 48 | 56 | 72 | 88 | 96;
|
|
7
7
|
|
|
8
|
-
export type
|
|
8
|
+
export type CircleProps = {
|
|
9
9
|
/**
|
|
10
10
|
* Modify underlying element, `div` by default
|
|
11
11
|
*/
|
|
@@ -64,7 +64,7 @@ const Circle = forwardRef(function Circle(
|
|
|
64
64
|
className,
|
|
65
65
|
style,
|
|
66
66
|
...props
|
|
67
|
-
}:
|
|
67
|
+
}: CircleProps,
|
|
68
68
|
ref,
|
|
69
69
|
) {
|
|
70
70
|
const isTinyViewport = useMedia(`(max-width: ${Breakpoint.EXTRA_SMALL}px)`);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default } from './Circle';
|
|
2
|
-
export { type
|
|
2
|
+
export { type CircleProps } from './Circle';
|
package/src/index.ts
CHANGED
|
@@ -25,6 +25,7 @@ export type {
|
|
|
25
25
|
ButtonProps as LegacyButtonProps,
|
|
26
26
|
AnchorElementProps,
|
|
27
27
|
} from './Button';
|
|
28
|
+
export type { BodyProps } from './Body';
|
|
28
29
|
export type { CardProps } from './_deprecated/Card';
|
|
29
30
|
export type {
|
|
30
31
|
CarouselProps,
|
|
@@ -63,6 +64,7 @@ export type {
|
|
|
63
64
|
DefinitionListLayout,
|
|
64
65
|
} from './DefinitionList';
|
|
65
66
|
export type { DimmerProps } from './Dimmer';
|
|
67
|
+
export type { DisplayProps } from './Display';
|
|
66
68
|
export type { DrawerProps } from './Drawer';
|
|
67
69
|
export type { DividerProps } from './Divider';
|
|
68
70
|
export type { HeaderProps } from './Header';
|
|
@@ -89,6 +91,7 @@ export type { TextAreaProps } from './Inputs/TextArea/TextArea';
|
|
|
89
91
|
export type { InstructionsListProps } from './InstructionsList';
|
|
90
92
|
export type { LabelProps, LabelOptionalProps, LabelDescriptionProps } from './Label';
|
|
91
93
|
export type { LegacyListItemProps } from './_deprecated/LegacyListItem';
|
|
94
|
+
export type { LinkProps } from './Link';
|
|
92
95
|
export type { LoaderProps } from './Loader';
|
|
93
96
|
export type { MarkdownProps } from './Markdown';
|
|
94
97
|
export type { ModalProps } from './Modal';
|
|
@@ -145,6 +148,7 @@ export type { SwitchOptionProps } from './_deprecated/SwitchOption';
|
|
|
145
148
|
export type { TabItem, TabsProps, TabProps, TabListProps, TabPanelProps } from './Tabs';
|
|
146
149
|
export type { TextareaWithDisplayFormatProps } from './TextareaWithDisplayFormat';
|
|
147
150
|
export type { TileProps } from './Tile';
|
|
151
|
+
export type { TitleProps } from './Title';
|
|
148
152
|
export type { TooltipProps } from './Tooltip';
|
|
149
153
|
export type { TypeaheadOption, TypeaheadProps } from './Typeahead';
|
|
150
154
|
export type { UploadProps } from './Upload';
|
package/src/main.css
CHANGED
|
@@ -28611,6 +28611,36 @@ button.np-option {
|
|
|
28611
28611
|
margin-bottom: 8px;
|
|
28612
28612
|
margin-bottom: var(--size-8);
|
|
28613
28613
|
}
|
|
28614
|
+
.tw-definition-list.tw-definition-list--horizontal-right-aligned {
|
|
28615
|
+
display: grid;
|
|
28616
|
+
grid-template-columns: minmax(0, max-content) minmax(0, max-content);
|
|
28617
|
+
grid-column-gap: 52px;
|
|
28618
|
+
grid-column-gap: var(--size-52);
|
|
28619
|
+
-moz-column-gap: 52px;
|
|
28620
|
+
column-gap: 52px;
|
|
28621
|
+
-moz-column-gap: var(--size-52);
|
|
28622
|
+
column-gap: var(--size-52);
|
|
28623
|
+
justify-content: space-between;
|
|
28624
|
+
}
|
|
28625
|
+
.tw-definition-list.tw-definition-list--horizontal-right-aligned .tw-definition-list__item {
|
|
28626
|
+
display: grid;
|
|
28627
|
+
grid-template-columns: subgrid;
|
|
28628
|
+
grid-column: 1 / -1;
|
|
28629
|
+
}
|
|
28630
|
+
.tw-definition-list.tw-definition-list--horizontal-right-aligned .tw-definition-list__item dt {
|
|
28631
|
+
max-width: none;
|
|
28632
|
+
min-width: 0;
|
|
28633
|
+
word-wrap: anywhere;
|
|
28634
|
+
margin-right: 0;
|
|
28635
|
+
}
|
|
28636
|
+
[dir="rtl"] .tw-definition-list.tw-definition-list--horizontal-right-aligned .tw-definition-list__item dt {
|
|
28637
|
+
margin-left: 0;
|
|
28638
|
+
margin-right: 0;
|
|
28639
|
+
margin-right: initial;
|
|
28640
|
+
}
|
|
28641
|
+
.tw-definition-list.tw-definition-list--horizontal-right-aligned .tw-definition-list__item dd {
|
|
28642
|
+
min-width: 0;
|
|
28643
|
+
}
|
|
28614
28644
|
}
|
|
28615
28645
|
|
|
28616
28646
|
.np-theme-personal .tw-definition-list dt {
|
|
@@ -31453,7 +31483,7 @@ html:not([dir="rtl"]) .np-navigation-option {
|
|
|
31453
31483
|
|
|
31454
31484
|
.wds-nudge-media-documents {
|
|
31455
31485
|
margin-left: -8px;
|
|
31456
|
-
margin-top:
|
|
31486
|
+
margin-top: 8px;
|
|
31457
31487
|
position: absolute;
|
|
31458
31488
|
width: 120px;
|
|
31459
31489
|
}
|
|
@@ -32682,6 +32712,11 @@ html:not([dir="rtl"]) .np-navigation-option {
|
|
|
32682
32712
|
will-change: width;
|
|
32683
32713
|
}
|
|
32684
32714
|
|
|
32715
|
+
.wds-sticky.sliding-panel--open-bottom {
|
|
32716
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
32717
|
+
padding-bottom: var(--wds-sticky-safe-area-inset-bottom, env(safe-area-inset-bottom, 0px));
|
|
32718
|
+
}
|
|
32719
|
+
|
|
32685
32720
|
.np-select .np-dropdown-toggle {
|
|
32686
32721
|
background-color: #ffffff;
|
|
32687
32722
|
background-color: var(--color-background-screen);
|
package/src/main.less
CHANGED
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
@import "./Snackbar/Snackbar.less";
|
|
79
79
|
@import "./StatusIcon/StatusIcon.less";
|
|
80
80
|
@import "./Stepper/Stepper.less";
|
|
81
|
+
@import "./Sticky/Sticky.less";
|
|
81
82
|
@import "./_deprecated/Select/Select.less";
|
|
82
83
|
@import "./SegmentedControl/SegmentedControl.less";
|
|
83
84
|
@import "./_deprecated/Summary/Summary.less";
|