@transferwise/components 46.160.6 → 46.160.8
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/Prompt/InfoPrompt/InfoPrompt.js +13 -6
- package/build/Prompt/InfoPrompt/InfoPrompt.js.map +1 -1
- package/build/Prompt/InfoPrompt/InfoPrompt.mjs +13 -6
- package/build/Prompt/InfoPrompt/InfoPrompt.mjs.map +1 -1
- package/build/Prompt/PrimitivePrompt/PrimitivePrompt.js +1 -0
- package/build/Prompt/PrimitivePrompt/PrimitivePrompt.js.map +1 -1
- package/build/Prompt/PrimitivePrompt/PrimitivePrompt.mjs +1 -0
- package/build/Prompt/PrimitivePrompt/PrimitivePrompt.mjs.map +1 -1
- package/build/main.css +859 -19
- package/build/styles/Inputs/Input/Input.css +88 -0
- package/build/styles/Inputs/TextArea/TextArea.css +88 -0
- package/build/styles/Popover/Popover.css +1 -0
- package/build/styles/Prompt/PrimitivePrompt/PrimitivePrompt.css +17 -0
- package/build/styles/_deprecated/Select/Select.css +29 -0
- package/build/styles/css/accordion.css +30 -0
- package/build/styles/css/button-groups.css +29 -0
- package/build/styles/css/buttons.css +29 -0
- package/build/styles/css/decision.css +30 -0
- package/build/styles/css/dropdowns.css +59 -0
- package/build/styles/css/droppable.css +29 -0
- package/build/styles/css/footer.css +63 -0
- package/build/styles/css/input-groups.css +189 -0
- package/build/styles/css/list-group.css +1 -0
- package/build/styles/css/navbar.css +59 -0
- package/build/styles/css/neptune-addons.css +3 -0
- package/build/styles/css/neptune-core.css +185 -0
- package/build/styles/css/neptune.css +705 -0
- package/build/styles/css/popovers.css +59 -0
- package/build/styles/css/tooltip.css +29 -0
- package/build/styles/main.css +859 -19
- package/build/styles/styles/less/accordion.css +30 -0
- package/build/styles/styles/less/button-groups.css +29 -0
- package/build/styles/styles/less/buttons.css +29 -0
- package/build/styles/styles/less/decision.css +30 -0
- package/build/styles/styles/less/dropdowns.css +59 -0
- package/build/styles/styles/less/droppable.css +29 -0
- package/build/styles/styles/less/footer.css +63 -0
- package/build/styles/styles/less/forms/bootstrap-forms.css +116 -0
- package/build/styles/styles/less/input-groups.css +189 -0
- package/build/styles/styles/less/list-group.css +1 -0
- package/build/styles/styles/less/navbar.css +59 -0
- package/build/styles/styles/less/neptune-addons.css +3 -0
- package/build/styles/styles/less/neptune-core.css +185 -0
- package/build/styles/styles/less/neptune.css +705 -0
- package/build/styles/styles/less/popovers.css +59 -0
- package/build/styles/styles/less/tooltip.css +29 -0
- package/build/types/Prompt/InfoPrompt/InfoPrompt.d.ts.map +1 -1
- package/build/types/Prompt/PrimitivePrompt/PrimitivePrompt.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/Body/_stories/Body.test.story.tsx +81 -0
- package/src/Inputs/Input/Input.css +88 -0
- package/src/Inputs/TextArea/TextArea.css +88 -0
- package/src/Popover/Popover.css +1 -0
- package/src/Prompt/InfoPrompt/InfoPrompt.test.tsx +56 -2
- package/src/Prompt/InfoPrompt/InfoPrompt.tsx +14 -7
- package/src/Prompt/InfoPrompt/_stories/InfoPrompt.story.tsx +6 -1
- package/src/Prompt/PrimitivePrompt/PrimitivePrompt.css +17 -0
- package/src/Prompt/PrimitivePrompt/PrimitivePrompt.less +15 -0
- package/src/Prompt/PrimitivePrompt/PrimitivePrompt.tsx +1 -0
- package/src/_deprecated/Card/_stories/Card.test.story.tsx +1 -1
- package/src/_deprecated/CriticalBanner/_stories/CriticalCommsBanner.test.story.tsx +1 -1
- package/src/_deprecated/InlineAlert/_stories/InlineAlert.test.story.tsx +1 -1
- package/src/_deprecated/OverlayHeader/_stories/OverlayHeader.test.story.tsx +1 -1
- package/src/_deprecated/Select/Select.css +29 -0
- package/src/_deprecated/Select/_stories/Select.rtl.test.story.tsx +1 -1
- package/src/_deprecated/Select/_stories/Select.test.story.tsx +1 -1
- package/src/main.css +859 -19
- package/src/styles/less/accordion.css +30 -0
- package/src/styles/less/addons/_spacing-utilities.less +2 -0
- package/src/styles/less/button-groups.css +29 -0
- package/src/styles/less/buttons.css +29 -0
- package/src/styles/less/core/_typography.less +12 -0
- package/src/styles/less/decision.css +30 -0
- package/src/styles/less/dropdowns.css +59 -0
- package/src/styles/less/droppable.css +29 -0
- package/src/styles/less/footer.css +63 -0
- package/src/styles/less/forms/bootstrap-forms.css +116 -0
- package/src/styles/less/input-groups.css +189 -0
- package/src/styles/less/list-group.css +1 -0
- package/src/styles/less/navbar.css +59 -0
- package/src/styles/less/neptune-addons.css +3 -0
- package/src/styles/less/neptune-core.css +185 -0
- package/src/styles/less/neptune.css +705 -0
- package/src/styles/less/popovers.css +59 -0
- package/src/styles/less/tooltip.css +29 -0
|
@@ -7,7 +7,7 @@ import { withRTLDiff } from '../../../../.storybook/decorators/RtlDiffDecorator'
|
|
|
7
7
|
export default {
|
|
8
8
|
component: CriticalCommsBanner,
|
|
9
9
|
title: 'Prompts/CriticalCommsBanner/Tests',
|
|
10
|
-
tags: ['!autodocs', 'deprecated'],
|
|
10
|
+
tags: ['!autodocs', 'deprecated', 'deprecated'],
|
|
11
11
|
} satisfies Meta<typeof CriticalCommsBanner>;
|
|
12
12
|
|
|
13
13
|
type Story = StoryObj<typeof CriticalCommsBanner>;
|
|
@@ -6,7 +6,7 @@ import InlineAlert from '..';
|
|
|
6
6
|
export default {
|
|
7
7
|
component: InlineAlert,
|
|
8
8
|
title: 'Prompts/InlineAlert/Tests',
|
|
9
|
-
tags: ['!autodocs', '!manifest'],
|
|
9
|
+
tags: ['!autodocs', '!manifest', 'deprecated'],
|
|
10
10
|
} satisfies Meta<typeof InlineAlert>;
|
|
11
11
|
|
|
12
12
|
type Story = StoryObj<typeof InlineAlert>;
|
|
@@ -9,7 +9,7 @@ import OverlayHeader from '..';
|
|
|
9
9
|
export default {
|
|
10
10
|
component: OverlayHeader,
|
|
11
11
|
title: 'Navigation/OverlayHeader/Tests',
|
|
12
|
-
tags: ['!autodocs', '!manifest'],
|
|
12
|
+
tags: ['!autodocs', '!manifest', 'deprecated'],
|
|
13
13
|
} satisfies Meta<typeof OverlayHeader>;
|
|
14
14
|
|
|
15
15
|
type Story = StoryObj<typeof OverlayHeader>;
|
|
@@ -152,11 +152,40 @@
|
|
|
152
152
|
letter-spacing: -0.006em;
|
|
153
153
|
font-weight: 400;
|
|
154
154
|
font-weight: var(--font-weight-regular);
|
|
155
|
+
word-wrap: break-word;
|
|
155
156
|
}
|
|
156
157
|
.np-theme-personal .np-dropdown-menu > li > a {
|
|
157
158
|
border-radius: 10px;
|
|
158
159
|
border-radius: var(--radius-small);
|
|
159
160
|
}
|
|
161
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
162
|
+
.np-dropdown-menu > li > a {
|
|
163
|
+
hyphens: auto;
|
|
164
|
+
hyphenate-limit-chars: 7 3;
|
|
165
|
+
}
|
|
166
|
+
@media (min-width: 840px) {
|
|
167
|
+
.np-dropdown-menu > li > a {
|
|
168
|
+
hyphenate-limit-chars: 8 3;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
@media (min-width: 1160px) {
|
|
172
|
+
.np-dropdown-menu > li > a {
|
|
173
|
+
hyphenate-limit-chars: 10 4 3;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
178
|
+
.np-dropdown-menu > li > a {
|
|
179
|
+
hyphens: auto;
|
|
180
|
+
-webkit-hyphenate-limit-before: 3;
|
|
181
|
+
-webkit-hyphenate-limit-after: 3;
|
|
182
|
+
}
|
|
183
|
+
@media (min-width: 1160px) {
|
|
184
|
+
.np-dropdown-menu > li > a {
|
|
185
|
+
-webkit-hyphenate-limit-before: 4;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
160
189
|
.np-dropdown-menu > li:first-child > a {
|
|
161
190
|
border-start-end-radius: 3px;
|
|
162
191
|
border-start-start-radius: 3px;
|
|
@@ -8,7 +8,7 @@ import Select from '..';
|
|
|
8
8
|
export default {
|
|
9
9
|
component: Select,
|
|
10
10
|
title: 'Forms/Select/Tests/RTL Diff',
|
|
11
|
-
tags: ['!autodocs', '!manifest'],
|
|
11
|
+
tags: ['!autodocs', '!manifest', 'deprecated'],
|
|
12
12
|
} satisfies Meta<typeof Select>;
|
|
13
13
|
|
|
14
14
|
type Story = StoryObj<typeof Select>;
|
|
@@ -8,7 +8,7 @@ import Select, { SelectOptionItem } from '../Select';
|
|
|
8
8
|
const meta = {
|
|
9
9
|
title: 'Forms/Select/Tests',
|
|
10
10
|
component: Select,
|
|
11
|
-
tags: ['!autodocs', '!manifest'],
|
|
11
|
+
tags: ['!autodocs', '!manifest', 'deprecated'],
|
|
12
12
|
} satisfies Meta<typeof Select>;
|
|
13
13
|
export default meta;
|
|
14
14
|
|