@transferwise/components 0.0.0-experimental-a18466a → 0.0.0-experimental-e789c10
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/criticalBanner/CriticalCommsBanner.js +68 -3
- package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
- package/build/criticalBanner/CriticalCommsBanner.mjs +69 -4
- package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
- package/build/dateInput/DateInput.js +12 -5
- package/build/dateInput/DateInput.js.map +1 -1
- package/build/dateInput/DateInput.mjs +11 -4
- package/build/dateInput/DateInput.mjs.map +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js +16 -8
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js.map +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs +14 -6
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs.map +1 -1
- package/build/index.js +12 -7
- package/build/index.js.map +1 -1
- package/build/index.mjs +9 -3
- package/build/index.mjs.map +1 -1
- package/build/inputs/{_BottomSheet.js → SelectInput/BottomSheet/SelectInputBottomSheet.js} +7 -7
- package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +1 -0
- package/build/inputs/{_BottomSheet.mjs → SelectInput/BottomSheet/SelectInputBottomSheet.mjs} +7 -7
- package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +1 -0
- package/build/inputs/{_ButtonInput.js → SelectInput/ButtonInput/SelectInputButtonInput.js} +5 -5
- package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.js.map +1 -0
- package/build/inputs/{_ButtonInput.mjs → SelectInput/ButtonInput/SelectInputButtonInput.mjs} +5 -5
- package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.mjs.map +1 -0
- package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js +26 -0
- package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js.map +1 -0
- package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs +24 -0
- package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs.map +1 -0
- package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js +59 -0
- package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js.map +1 -0
- package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs +56 -0
- package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs.map +1 -0
- package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js +50 -0
- package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js.map +1 -0
- package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs +48 -0
- package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs.map +1 -0
- package/build/inputs/SelectInput/ItemView/SelectInputItemView.js +47 -0
- package/build/inputs/SelectInput/ItemView/SelectInputItemView.js.map +1 -0
- package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs +45 -0
- package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs.map +1 -0
- package/build/inputs/SelectInput/Option/SelectInputOption.js +42 -0
- package/build/inputs/SelectInput/Option/SelectInputOption.js.map +1 -0
- package/build/inputs/SelectInput/Option/SelectInputOption.mjs +40 -0
- package/build/inputs/SelectInput/Option/SelectInputOption.mjs.map +1 -0
- package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js +40 -0
- package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +1 -0
- package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs +38 -0
- package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +1 -0
- package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js +48 -0
- package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js.map +1 -0
- package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs +46 -0
- package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs.map +1 -0
- package/build/inputs/SelectInput/Options/SelectInputOptions.js +300 -0
- package/build/inputs/SelectInput/Options/SelectInputOptions.js.map +1 -0
- package/build/inputs/SelectInput/Options/SelectInputOptions.mjs +298 -0
- package/build/inputs/SelectInput/Options/SelectInputOptions.mjs.map +1 -0
- package/build/inputs/{_Popover.js → SelectInput/Popover/SelectInputPopover.js} +7 -7
- package/build/inputs/SelectInput/Popover/SelectInputPopover.js.map +1 -0
- package/build/inputs/{_Popover.mjs → SelectInput/Popover/SelectInputPopover.mjs} +7 -7
- package/build/inputs/SelectInput/Popover/SelectInputPopover.mjs.map +1 -0
- package/build/inputs/SelectInput/SelectInput.contexts.js +29 -0
- package/build/inputs/SelectInput/SelectInput.contexts.js.map +1 -0
- package/build/inputs/SelectInput/SelectInput.contexts.mjs +24 -0
- package/build/inputs/SelectInput/SelectInput.contexts.mjs.map +1 -0
- package/build/inputs/SelectInput/SelectInput.js +222 -0
- package/build/inputs/SelectInput/SelectInput.js.map +1 -0
- package/build/inputs/SelectInput/SelectInput.messages.js.map +1 -0
- package/build/inputs/SelectInput/SelectInput.messages.mjs.map +1 -0
- package/build/inputs/SelectInput/SelectInput.mjs +216 -0
- package/build/inputs/SelectInput/SelectInput.mjs.map +1 -0
- package/build/inputs/SelectInput/SelectInput.utils.js +164 -0
- package/build/inputs/SelectInput/SelectInput.utils.js.map +1 -0
- package/build/inputs/SelectInput/SelectInput.utils.mjs +154 -0
- package/build/inputs/SelectInput/SelectInput.utils.mjs.map +1 -0
- package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js +42 -0
- package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js.map +1 -0
- package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs +36 -0
- package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs.map +1 -0
- package/build/main.css +123 -105
- package/build/moneyInput/MoneyInput.js +9 -2
- package/build/moneyInput/MoneyInput.js.map +1 -1
- package/build/moneyInput/MoneyInput.mjs +8 -1
- package/build/moneyInput/MoneyInput.mjs.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.js +10 -3
- package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.mjs +9 -2
- package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
- package/build/styles/criticalBanner/CriticalCommsBanner.css +33 -15
- package/build/styles/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +96 -0
- package/build/styles/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +16 -0
- package/build/styles/inputs/SelectInput/ClearButton/SelectInputClearButton.css +46 -0
- package/build/styles/inputs/SelectInput/ItemView/SelectInputItemView.css +16 -0
- package/build/styles/inputs/SelectInput/Option/SelectInputOption.css +33 -0
- package/build/styles/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +37 -0
- package/build/styles/inputs/SelectInput/Options/SelectInputOptions.css +81 -0
- package/build/styles/inputs/SelectInput/Popover/SelectInputPopover.css +46 -0
- package/build/styles/main.css +123 -105
- package/build/types/criticalBanner/CriticalCommsBanner.d.ts +4 -1
- package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +1 -1
- package/build/types/criticalBanner/index.d.ts +1 -0
- package/build/types/criticalBanner/index.d.ts.map +1 -1
- package/build/types/index.d.ts +2 -1
- package/build/types/index.d.ts.map +1 -1
- package/build/types/inputs/{_BottomSheet.d.ts → SelectInput/BottomSheet/SelectInputBottomSheet.d.ts} +3 -3
- package/build/types/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/BottomSheet/index.d.ts +3 -0
- package/build/types/inputs/SelectInput/BottomSheet/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts +5 -0
- package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/ButtonInput/index.d.ts +3 -0
- package/build/types/inputs/SelectInput/ButtonInput/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts +7 -0
- package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/ClearButton/index.d.ts +3 -0
- package/build/types/inputs/SelectInput/ClearButton/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts +16 -0
- package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts +2 -0
- package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts +9 -0
- package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts +3 -0
- package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts +11 -0
- package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/ItemView/index.d.ts +4 -0
- package/build/types/inputs/SelectInput/ItemView/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts +11 -0
- package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/Option/index.d.ts +3 -0
- package/build/types/inputs/SelectInput/Option/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts +13 -0
- package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/OptionContent/index.d.ts +3 -0
- package/build/types/inputs/SelectInput/OptionContent/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts +9 -0
- package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts +3 -0
- package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts +21 -0
- package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/Options/index.d.ts +4 -0
- package/build/types/inputs/SelectInput/Options/index.d.ts.map +1 -0
- package/build/types/inputs/{_Popover.d.ts → SelectInput/Popover/SelectInputPopover.d.ts} +3 -3
- package/build/types/inputs/SelectInput/Popover/SelectInputPopover.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/Popover/index.d.ts +3 -0
- package/build/types/inputs/SelectInput/Popover/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts +33 -0
- package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/SelectInput.d.ts +10 -0
- package/build/types/inputs/SelectInput/SelectInput.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/SelectInput.messages.d.ts.map +1 -0
- package/build/types/inputs/{SelectInput.d.ts → SelectInput/SelectInput.types.d.ts} +12 -38
- package/build/types/inputs/SelectInput/SelectInput.types.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/SelectInput.utils.d.ts +60 -0
- package/build/types/inputs/SelectInput/SelectInput.utils.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts +12 -0
- package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/TriggerButton/index.d.ts +3 -0
- package/build/types/inputs/SelectInput/TriggerButton/index.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/components.d.ts +10 -0
- package/build/types/inputs/SelectInput/components.d.ts.map +1 -0
- package/build/types/inputs/SelectInput/index.d.ts +10 -0
- package/build/types/inputs/SelectInput/index.d.ts.map +1 -0
- package/build/types/uploadInput/UploadInput.d.ts +2 -2
- package/build/types/uploadInput/UploadInput.d.ts.map +1 -1
- package/build/uploadInput/UploadInput.js.map +1 -1
- package/build/uploadInput/UploadInput.mjs.map +1 -1
- package/package.json +1 -1
- package/src/criticalBanner/CriticalCommsBanner.css +33 -15
- package/src/criticalBanner/CriticalCommsBanner.less +46 -36
- package/src/criticalBanner/CriticalCommsBanner.story.tsx +9 -15
- package/src/criticalBanner/CriticalCommsBanner.test.story.tsx +70 -0
- package/src/criticalBanner/CriticalCommsBanner.test.tsx +66 -0
- package/src/criticalBanner/CriticalCommsBanner.tsx +54 -5
- package/src/criticalBanner/index.ts +1 -0
- package/src/index.ts +1 -1
- package/src/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +96 -0
- package/src/inputs/{_BottomSheet.tsx → SelectInput/BottomSheet/SelectInputBottomSheet.tsx} +7 -7
- package/src/inputs/SelectInput/BottomSheet/index.ts +2 -0
- package/src/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +16 -0
- package/src/inputs/{_ButtonInput.tsx → SelectInput/ButtonInput/SelectInputButtonInput.tsx} +5 -5
- package/src/inputs/SelectInput/ButtonInput/index.ts +2 -0
- package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.css +46 -0
- package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.less +39 -0
- package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.tsx +27 -0
- package/src/inputs/SelectInput/ClearButton/index.ts +2 -0
- package/src/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.tsx +74 -0
- package/src/inputs/SelectInput/DefaultRenderTrigger/index.ts +5 -0
- package/src/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.tsx +61 -0
- package/src/inputs/SelectInput/ItemView/GroupItemView/index.ts +2 -0
- package/src/inputs/SelectInput/ItemView/SelectInputItemView.css +16 -0
- package/src/inputs/SelectInput/ItemView/SelectInputItemView.less +17 -0
- package/src/inputs/SelectInput/ItemView/SelectInputItemView.tsx +48 -0
- package/src/inputs/SelectInput/ItemView/index.ts +3 -0
- package/src/inputs/SelectInput/Option/SelectInputOption.css +33 -0
- package/src/inputs/SelectInput/Option/SelectInputOption.less +32 -0
- package/src/inputs/SelectInput/Option/SelectInputOption.tsx +57 -0
- package/src/inputs/SelectInput/Option/index.ts +2 -0
- package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +37 -0
- package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.less +38 -0
- package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +72 -0
- package/src/inputs/SelectInput/OptionContent/index.ts +2 -0
- package/src/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.tsx +59 -0
- package/src/inputs/SelectInput/Options/OptionsContainer/index.ts +2 -0
- package/src/inputs/SelectInput/Options/SelectInputOptions.css +81 -0
- package/src/inputs/SelectInput/Options/SelectInputOptions.less +77 -0
- package/src/inputs/SelectInput/Options/SelectInputOptions.tsx +411 -0
- package/src/inputs/SelectInput/Options/index.ts +3 -0
- package/src/inputs/SelectInput/Popover/SelectInputPopover.css +46 -0
- package/src/inputs/{_Popover.tsx → SelectInput/Popover/SelectInputPopover.tsx} +7 -7
- package/src/inputs/SelectInput/Popover/index.ts +2 -0
- package/src/inputs/SelectInput/SelectInput.contexts.tsx +40 -0
- package/src/inputs/SelectInput/SelectInput.less +22 -0
- package/src/inputs/{SelectInput.test.tsx → SelectInput/SelectInput.test.tsx} +9 -11
- package/src/inputs/SelectInput/SelectInput.tsx +257 -0
- package/src/inputs/SelectInput/SelectInput.types.ts +113 -0
- package/src/inputs/SelectInput/SelectInput.utils.ts +205 -0
- package/src/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.tsx +36 -0
- package/src/inputs/SelectInput/TriggerButton/index.ts +5 -0
- package/src/inputs/{SelectInput.docs.mdx → SelectInput/_stories/SelectInput.docs.mdx} +0 -1
- package/src/inputs/{SelectInput.story.tsx → SelectInput/_stories/SelectInput.story.tsx} +11 -8
- package/src/inputs/{SelectInput.test.story.tsx → SelectInput/_stories/SelectInput.test.story.tsx} +6 -10
- package/src/inputs/SelectInput/components.ts +10 -0
- package/src/inputs/SelectInput/index.ts +12 -0
- package/src/main.css +123 -105
- package/src/main.less +1 -1
- package/src/uploadInput/UploadInput.tsx +2 -2
- package/build/inputs/SelectInput.js +0 -890
- package/build/inputs/SelectInput.js.map +0 -1
- package/build/inputs/SelectInput.messages.js.map +0 -1
- package/build/inputs/SelectInput.messages.mjs.map +0 -1
- package/build/inputs/SelectInput.mjs +0 -881
- package/build/inputs/SelectInput.mjs.map +0 -1
- package/build/inputs/_BottomSheet.js.map +0 -1
- package/build/inputs/_BottomSheet.mjs.map +0 -1
- package/build/inputs/_ButtonInput.js.map +0 -1
- package/build/inputs/_ButtonInput.mjs.map +0 -1
- package/build/inputs/_Popover.js.map +0 -1
- package/build/inputs/_Popover.mjs.map +0 -1
- package/build/types/inputs/SelectInput.d.ts.map +0 -1
- package/build/types/inputs/SelectInput.messages.d.ts.map +0 -1
- package/build/types/inputs/_BottomSheet.d.ts.map +0 -1
- package/build/types/inputs/_ButtonInput.d.ts +0 -5
- package/build/types/inputs/_ButtonInput.d.ts.map +0 -1
- package/build/types/inputs/_Popover.d.ts.map +0 -1
- package/src/inputs/SelectInput.less +0 -219
- package/src/inputs/SelectInput.tsx +0 -1269
- package/build/inputs/{SelectInput.messages.js → SelectInput/SelectInput.messages.js} +0 -0
- package/build/inputs/{SelectInput.messages.mjs → SelectInput/SelectInput.messages.mjs} +0 -0
- package/build/styles/inputs/{SelectInput.css → SelectInput/SelectInput.css} +90 -90
- package/build/types/inputs/{SelectInput.messages.d.ts → SelectInput/SelectInput.messages.d.ts} +0 -0
- package/src/inputs/{_BottomSheet.less → SelectInput/BottomSheet/SelectInputBottomSheet.less} +0 -0
- package/src/inputs/{_ButtonInput.less → SelectInput/ButtonInput/SelectInputButtonInput.less} +0 -0
- package/src/inputs/{_Popover.less → SelectInput/Popover/SelectInputPopover.less} +0 -0
- package/src/inputs/{SelectInput.css → SelectInput/SelectInput.css} +90 -90
- /package/src/inputs/{SelectInput.messages.ts → SelectInput/SelectInput.messages.ts} +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Re-export all components from their new locations
|
|
2
|
+
export * from './ClearButton';
|
|
3
|
+
export * from './Option';
|
|
4
|
+
export * from './OptionContent';
|
|
5
|
+
export * from './TriggerButton';
|
|
6
|
+
export * from './ItemView';
|
|
7
|
+
export * from './Options';
|
|
8
|
+
export * from './BottomSheet';
|
|
9
|
+
export * from './Popover';
|
|
10
|
+
export * from './ButtonInput';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Export from the new structure
|
|
2
|
+
export * from './SelectInput';
|
|
3
|
+
export * from './SelectInput.types';
|
|
4
|
+
|
|
5
|
+
// Export components directly
|
|
6
|
+
export * from './ClearButton';
|
|
7
|
+
export * from './Option';
|
|
8
|
+
export * from './OptionContent';
|
|
9
|
+
export * from './TriggerButton';
|
|
10
|
+
export * from './DefaultRenderTrigger';
|
|
11
|
+
export * from './ItemView';
|
|
12
|
+
export * from './Options';
|
package/src/main.css
CHANGED
|
@@ -485,37 +485,55 @@
|
|
|
485
485
|
--color-sentiment-background-surface-hover: #CAF1F1;
|
|
486
486
|
--color-sentiment-background-surface-active: #B6ECEC;
|
|
487
487
|
}
|
|
488
|
-
.
|
|
489
|
-
|
|
490
|
-
|
|
488
|
+
.critical-comms {
|
|
489
|
+
border-radius: 16px;
|
|
490
|
+
border-radius: var(--radius-medium);
|
|
491
|
+
overflow: hidden;
|
|
491
492
|
}
|
|
492
|
-
.
|
|
493
|
-
color: var(--color-
|
|
493
|
+
.critical-comms .alert {
|
|
494
|
+
background-color: var(--color-sentiment-background-surface);
|
|
495
|
+
color: var(--color-sentiment-content-primary);
|
|
496
|
+
margin-bottom: 0;
|
|
497
|
+
}
|
|
498
|
+
.critical-comms .alert .np-text-title-body {
|
|
499
|
+
color: var(--color-sentiment-content-primary);
|
|
494
500
|
}
|
|
495
|
-
.
|
|
501
|
+
.critical-comms .status-circle.negative {
|
|
496
502
|
background-color: #ffffff;
|
|
497
503
|
background-color: var(--color-background-screen);
|
|
498
504
|
}
|
|
499
|
-
.
|
|
500
|
-
color:
|
|
505
|
+
.critical-comms .status-circle.negative .status-icon {
|
|
506
|
+
color: #37517e;
|
|
507
|
+
color: var(--color-content-primary);
|
|
501
508
|
}
|
|
502
|
-
.
|
|
509
|
+
.critical-comms .alert__message .alert__action {
|
|
503
510
|
margin-top: 16px;
|
|
504
511
|
margin-top: var(--size-16);
|
|
505
512
|
}
|
|
506
|
-
.
|
|
507
|
-
--Button-
|
|
508
|
-
--Button-
|
|
509
|
-
--Button-
|
|
513
|
+
.critical-comms .wds-Button {
|
|
514
|
+
--Button-color: var(--color-content-primary);
|
|
515
|
+
--Button-color-hover: var(--color-content-primary);
|
|
516
|
+
--Button-color-active: var(--color-content-primary);
|
|
517
|
+
--Button-background: var(--color-background-screen);
|
|
518
|
+
--Button-background-hover: var(--color-sentiment-interactive-primary-hover);
|
|
519
|
+
--Button-background-active: var(--color-sentiment-interactive-primary-active);
|
|
520
|
+
}
|
|
521
|
+
.critical-comms .alert-warning .wds-Button {
|
|
522
|
+
--Button-background-hover: var(--color-sentiment-interactive-secondary-neutral-hover);
|
|
523
|
+
--Button-background-active: var(--color-sentiment-interactive-secondary-neutral-active);
|
|
510
524
|
}
|
|
511
525
|
@media (min-width: 768px) {
|
|
512
|
-
.
|
|
526
|
+
.critical-comms .alert-warning .alert__message,
|
|
527
|
+
.critical-comms .alert-negative .alert__message,
|
|
528
|
+
.critical-comms .alert-neutral .alert__message {
|
|
513
529
|
flex-direction: row;
|
|
514
530
|
justify-content: space-between;
|
|
515
531
|
align-items: center;
|
|
516
532
|
width: 100%;
|
|
517
533
|
}
|
|
518
|
-
.
|
|
534
|
+
.critical-comms .alert-warning .alert__message .alert__action,
|
|
535
|
+
.critical-comms .alert-negative .alert__message .alert__action,
|
|
536
|
+
.critical-comms .alert-neutral .alert__message .alert__action {
|
|
519
537
|
margin-top: 0;
|
|
520
538
|
margin-left: 16px;
|
|
521
539
|
margin-left: var(--padding-small);
|
|
@@ -3984,14 +4002,91 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
3984
4002
|
color: #5d7079;
|
|
3985
4003
|
color: var(--color-content-secondary);
|
|
3986
4004
|
}
|
|
3987
|
-
.np-select-input-
|
|
4005
|
+
.np-select-input-option-container {
|
|
4006
|
+
display: flex;
|
|
4007
|
+
cursor: default;
|
|
4008
|
+
-webkit-user-select: none;
|
|
4009
|
+
-moz-user-select: none;
|
|
4010
|
+
user-select: none;
|
|
4011
|
+
align-items: center;
|
|
4012
|
+
-moz-column-gap: 8px;
|
|
4013
|
+
column-gap: 8px;
|
|
4014
|
+
-moz-column-gap: var(--size-8);
|
|
4015
|
+
column-gap: var(--size-8);
|
|
4016
|
+
border-radius: 10px;
|
|
4017
|
+
border-radius: var(--radius-small);
|
|
4018
|
+
padding: 12px 16px;
|
|
4019
|
+
padding: var(--size-12) var(--size-16);
|
|
4020
|
+
color: var(--color-interactive-primary);
|
|
4021
|
+
}
|
|
4022
|
+
.np-select-input-option-container:focus {
|
|
4023
|
+
outline: none;
|
|
4024
|
+
}
|
|
4025
|
+
.np-select-input-option-container--active {
|
|
4026
|
+
box-shadow: inset 0 0 0 1px #c9cbce;
|
|
4027
|
+
box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
|
|
4028
|
+
}
|
|
4029
|
+
.np-select-input-option-container--disabled {
|
|
4030
|
+
opacity: 0.45;
|
|
4031
|
+
}
|
|
4032
|
+
.np-select-input-option-check--not-selected {
|
|
4033
|
+
visibility: hidden;
|
|
4034
|
+
}
|
|
4035
|
+
.np-select-input-option {
|
|
4036
|
+
flex: 1;
|
|
4037
|
+
}
|
|
4038
|
+
.np-select-input-option-content-container {
|
|
4039
|
+
display: flex;
|
|
4040
|
+
align-items: center;
|
|
4041
|
+
-moz-column-gap: 8px;
|
|
4042
|
+
column-gap: 8px;
|
|
4043
|
+
-moz-column-gap: var(--size-8);
|
|
4044
|
+
column-gap: var(--size-8);
|
|
4045
|
+
color: #37517e;
|
|
4046
|
+
color: var(--color-content-primary);
|
|
4047
|
+
}
|
|
4048
|
+
.np-select-input-option-content-icon {
|
|
4049
|
+
display: flex;
|
|
4050
|
+
}
|
|
4051
|
+
.np-select-input-option-content-icon--not-within-trigger {
|
|
4052
|
+
align-self: flex-start;
|
|
4053
|
+
}
|
|
4054
|
+
.np-select-input-option-content-text {
|
|
4055
|
+
display: flex;
|
|
4056
|
+
flex: 1;
|
|
4057
|
+
flex-direction: column;
|
|
4058
|
+
overflow: hidden;
|
|
4059
|
+
}
|
|
4060
|
+
.np-select-input-option-content-text-secondary {
|
|
4061
|
+
color: #5d7079;
|
|
4062
|
+
color: var(--color-content-secondary);
|
|
4063
|
+
}
|
|
4064
|
+
.np-select-input-option-content-text-within-trigger {
|
|
3988
4065
|
overflow: hidden;
|
|
3989
4066
|
text-overflow: ellipsis;
|
|
3990
4067
|
white-space: nowrap;
|
|
3991
4068
|
}
|
|
3992
|
-
.np-select-input-
|
|
3993
|
-
|
|
3994
|
-
|
|
4069
|
+
.np-select-input-option-content-text-line-1 > :not([hidden]) ~ :not([hidden]) {
|
|
4070
|
+
margin-right: 8px;
|
|
4071
|
+
margin-right: var(--size-8);
|
|
4072
|
+
margin-left: 8px;
|
|
4073
|
+
margin-left: var(--size-8);
|
|
4074
|
+
}
|
|
4075
|
+
.np-select-input-group-item--without-needle:first-child {
|
|
4076
|
+
margin-top: calc(-1 * 8px);
|
|
4077
|
+
margin-top: calc(-1 * var(--size-8));
|
|
4078
|
+
}
|
|
4079
|
+
.np-select-input-group-item-header {
|
|
4080
|
+
position: sticky;
|
|
4081
|
+
top: 0px;
|
|
4082
|
+
z-index: 10;
|
|
4083
|
+
background-color: #ffffff;
|
|
4084
|
+
background-color: var(--color-background-elevated);
|
|
4085
|
+
}
|
|
4086
|
+
.np-select-input-separator-item {
|
|
4087
|
+
margin: 8px;
|
|
4088
|
+
margin: var(--size-8);
|
|
4089
|
+
border-top-width: 1px;
|
|
3995
4090
|
}
|
|
3996
4091
|
.np-select-input-options-container {
|
|
3997
4092
|
display: flex;
|
|
@@ -4070,92 +4165,6 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
4070
4165
|
contain: strict;
|
|
4071
4166
|
height: 100%;
|
|
4072
4167
|
}
|
|
4073
|
-
.np-select-input-separator-item {
|
|
4074
|
-
margin: 8px;
|
|
4075
|
-
margin: var(--size-8);
|
|
4076
|
-
border-top-width: 1px;
|
|
4077
|
-
}
|
|
4078
|
-
.np-select-input-group-item--without-needle:first-child {
|
|
4079
|
-
margin-top: calc(-1 * 8px);
|
|
4080
|
-
margin-top: calc(-1 * var(--size-8));
|
|
4081
|
-
}
|
|
4082
|
-
.np-select-input-group-item-header {
|
|
4083
|
-
position: sticky;
|
|
4084
|
-
top: 0px;
|
|
4085
|
-
z-index: 10;
|
|
4086
|
-
background-color: #ffffff;
|
|
4087
|
-
background-color: var(--color-background-elevated);
|
|
4088
|
-
}
|
|
4089
|
-
.np-select-input-option-container {
|
|
4090
|
-
display: flex;
|
|
4091
|
-
cursor: default;
|
|
4092
|
-
-webkit-user-select: none;
|
|
4093
|
-
-moz-user-select: none;
|
|
4094
|
-
user-select: none;
|
|
4095
|
-
align-items: center;
|
|
4096
|
-
-moz-column-gap: 8px;
|
|
4097
|
-
column-gap: 8px;
|
|
4098
|
-
-moz-column-gap: var(--size-8);
|
|
4099
|
-
column-gap: var(--size-8);
|
|
4100
|
-
border-radius: 10px;
|
|
4101
|
-
border-radius: var(--radius-small);
|
|
4102
|
-
padding: 12px 16px;
|
|
4103
|
-
padding: var(--size-12) var(--size-16);
|
|
4104
|
-
color: var(--color-interactive-primary);
|
|
4105
|
-
}
|
|
4106
|
-
.np-select-input-option-container:focus {
|
|
4107
|
-
outline: none;
|
|
4108
|
-
}
|
|
4109
|
-
.np-select-input-option-container--active {
|
|
4110
|
-
box-shadow: inset 0 0 0 1px #c9cbce;
|
|
4111
|
-
box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
|
|
4112
|
-
}
|
|
4113
|
-
.np-select-input-option-container--disabled {
|
|
4114
|
-
opacity: 0.45;
|
|
4115
|
-
}
|
|
4116
|
-
.np-select-input-option-check--not-selected {
|
|
4117
|
-
visibility: hidden;
|
|
4118
|
-
}
|
|
4119
|
-
.np-select-input-option {
|
|
4120
|
-
flex: 1;
|
|
4121
|
-
}
|
|
4122
|
-
.np-select-input-option-content-container {
|
|
4123
|
-
display: flex;
|
|
4124
|
-
align-items: center;
|
|
4125
|
-
-moz-column-gap: 8px;
|
|
4126
|
-
column-gap: 8px;
|
|
4127
|
-
-moz-column-gap: var(--size-8);
|
|
4128
|
-
column-gap: var(--size-8);
|
|
4129
|
-
color: #37517e;
|
|
4130
|
-
color: var(--color-content-primary);
|
|
4131
|
-
}
|
|
4132
|
-
.np-select-input-option-content-icon {
|
|
4133
|
-
display: flex;
|
|
4134
|
-
}
|
|
4135
|
-
.np-select-input-option-content-icon--not-within-trigger {
|
|
4136
|
-
align-self: flex-start;
|
|
4137
|
-
}
|
|
4138
|
-
.np-select-input-option-content-text {
|
|
4139
|
-
display: flex;
|
|
4140
|
-
flex: 1;
|
|
4141
|
-
flex-direction: column;
|
|
4142
|
-
overflow: hidden;
|
|
4143
|
-
}
|
|
4144
|
-
.np-select-input-option-content-text-secondary {
|
|
4145
|
-
color: #5d7079;
|
|
4146
|
-
color: var(--color-content-secondary);
|
|
4147
|
-
}
|
|
4148
|
-
.np-select-input-option-content-text-within-trigger {
|
|
4149
|
-
overflow: hidden;
|
|
4150
|
-
text-overflow: ellipsis;
|
|
4151
|
-
white-space: nowrap;
|
|
4152
|
-
}
|
|
4153
|
-
.np-select-input-option-content-text-line-1 > :not([hidden]) ~ :not([hidden]) {
|
|
4154
|
-
margin-right: 8px;
|
|
4155
|
-
margin-right: var(--size-8);
|
|
4156
|
-
margin-left: 8px;
|
|
4157
|
-
margin-left: var(--size-8);
|
|
4158
|
-
}
|
|
4159
4168
|
.np-select-input-footer {
|
|
4160
4169
|
padding: 4px 24px 16px;
|
|
4161
4170
|
padding: var(--size-4) var(--size-24) var(--size-16);
|
|
@@ -4206,6 +4215,15 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
4206
4215
|
border-inline-start: 1px solid rgba(0,0,0,0.10196);
|
|
4207
4216
|
border-inline-start: 1px solid var(--color-border-neutral);
|
|
4208
4217
|
}
|
|
4218
|
+
.np-select-input-content {
|
|
4219
|
+
overflow: hidden;
|
|
4220
|
+
text-overflow: ellipsis;
|
|
4221
|
+
white-space: nowrap;
|
|
4222
|
+
}
|
|
4223
|
+
.np-select-input-placeholder {
|
|
4224
|
+
color: #768e9c;
|
|
4225
|
+
color: var(--color-content-tertiary);
|
|
4226
|
+
}
|
|
4209
4227
|
.np-text-area {
|
|
4210
4228
|
min-height: 72px;
|
|
4211
4229
|
min-height: var(--size-72);
|
package/src/main.less
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
@import "./listItem/ListItem.less";
|
|
45
45
|
@import "./field/Field.less";
|
|
46
46
|
@import "./inputs/InputGroup.less";
|
|
47
|
-
@import "./inputs/SelectInput.less";
|
|
47
|
+
@import "./inputs/SelectInput/SelectInput.less";
|
|
48
48
|
@import "./inputs/TextArea.less";
|
|
49
49
|
@import "./instructionsList/InstructionsList.less";
|
|
50
50
|
@import "./link/Link.less";
|
|
@@ -99,9 +99,9 @@ export type UploadInputProps = {
|
|
|
99
99
|
} & {
|
|
100
100
|
/** @default false */
|
|
101
101
|
multiple?: UploadButtonProps['multiple'];
|
|
102
|
-
/** @default
|
|
102
|
+
/** @default ['.pdf,application/pdf', '.jpg,.jpeg,image/jpeg', '.png,image/png'] */
|
|
103
103
|
fileTypes?: UploadButtonProps['fileTypes'];
|
|
104
|
-
/** @default
|
|
104
|
+
/** @default 5000 */
|
|
105
105
|
sizeLimit?: UploadButtonProps['sizeLimit'];
|
|
106
106
|
} & Pick<UploadButtonProps, 'disabled' | 'description' | 'id' | 'uploadButtonTitle'> & {
|
|
107
107
|
onDownload?: UploadItemProps['onDownload'];
|