@transferwise/components 0.0.0-experimental-8cc553f → 0.0.0-experimental-769973c
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/checkbox/Checkbox.js +1 -1
- package/build/checkbox/Checkbox.js.map +1 -1
- package/build/checkbox/Checkbox.mjs +1 -1
- package/build/checkbox/Checkbox.mjs.map +1 -1
- package/build/common/Option/Option.js +2 -2
- package/build/common/Option/Option.js.map +1 -1
- package/build/common/Option/Option.mjs +2 -2
- package/build/common/Option/Option.mjs.map +1 -1
- package/build/main.css +5397 -5944
- package/build/moneyInput/MoneyInput.js +28 -12
- package/build/moneyInput/MoneyInput.js.map +1 -1
- package/build/moneyInput/MoneyInput.mjs +30 -14
- package/build/moneyInput/MoneyInput.mjs.map +1 -1
- package/build/moneyInput/currencyFormatting.js +8 -2
- package/build/moneyInput/currencyFormatting.js.map +1 -1
- package/build/moneyInput/currencyFormatting.mjs +5 -4
- package/build/moneyInput/currencyFormatting.mjs.map +1 -1
- package/build/styles/accordion/Accordion.css +23 -21
- package/build/styles/actionButton/ActionButton.css +8 -6
- package/build/styles/alert/Alert.css +2 -2
- package/build/styles/avatar/Avatar.css +65 -65
- package/build/styles/avatarLayout/AvatarLayout.css +11 -11
- package/build/styles/avatarView/AvatarView.css +3 -3
- package/build/styles/avatarView/Dot.css +3 -3
- package/build/styles/badge/Badge.css +8 -12
- package/build/styles/button/Button.css +6 -6
- package/build/styles/button/LegacyButton.css +3 -9
- package/build/styles/card/Card.css +27 -18
- package/build/styles/carousel/Carousel.css +28 -27
- package/build/styles/checkboxButton/CheckboxButton.css +10 -15
- package/build/styles/chips/Chip.css +26 -29
- package/build/styles/common/Option/Option.css +42 -44
- package/build/styles/common/baseCard/BaseCard.css +3 -7
- package/build/styles/common/bottomSheet/BottomSheet.css +30 -18
- package/build/styles/common/circle/Circle.css +10 -10
- package/build/styles/common/closeButton/CloseButton.css +36 -36
- package/build/styles/common/liveRegion/LiveRegion.css +1 -1
- package/build/styles/common/panel/Panel.css +7 -7
- package/build/styles/criticalBanner/CriticalCommsBanner.css +7 -7
- package/build/styles/css/accordion.css +35 -37
- package/build/styles/css/alerts.css +84 -96
- package/build/styles/css/badge.css +25 -23
- package/build/styles/css/breadcrumbs.css +6 -4
- package/build/styles/css/button-groups.css +157 -168
- package/build/styles/css/buttons.css +69 -74
- package/build/styles/css/circles.css +54 -60
- package/build/styles/css/close.css +2 -2
- package/build/styles/css/column-layout.css +45 -48
- package/build/styles/css/currency-flags.css +10 -12
- package/build/styles/css/decision.css +14 -12
- package/build/styles/css/dropdowns.css +116 -142
- package/build/styles/css/droppable.css +45 -36
- package/build/styles/css/flex.css +88 -104
- package/build/styles/css/footer.css +15 -14
- package/build/styles/css/grid.css +780 -975
- package/build/styles/css/input-groups.css +333 -361
- package/build/styles/css/link-callout.css +5 -6
- package/build/styles/css/list-group.css +72 -66
- package/build/styles/css/loaders.css +11 -11
- package/build/styles/css/media.css +21 -25
- package/build/styles/css/modals.css +57 -51
- package/build/styles/css/navbar.css +537 -581
- package/build/styles/css/navs.css +84 -88
- package/build/styles/css/neptune-social-media.css +17 -21
- package/build/styles/css/neptune.css +4217 -4545
- package/build/styles/css/panels.css +100 -102
- package/build/styles/css/popovers.css +189 -217
- package/build/styles/css/process.css +69 -71
- package/build/styles/css/progress-bars.css +13 -17
- package/build/styles/css/select.css +35 -39
- package/build/styles/css/sequences.css +147 -169
- package/build/styles/css/table.css +50 -39
- package/build/styles/css/tick.css +15 -10
- package/build/styles/css/tooltip.css +66 -64
- package/build/styles/css/utilities.css +24 -24
- package/build/styles/css/wells.css +20 -20
- package/build/styles/dateInput/DateInput.css +4 -4
- package/build/styles/dateLookup/DateLookup.css +10 -9
- package/build/styles/dateLookup/dateTrigger/DateTrigger.css +9 -15
- package/build/styles/definitionList/DefinitionList.css +8 -14
- package/build/styles/dimmer/Dimmer.css +9 -19
- package/build/styles/divider/Divider.css +8 -7
- package/build/styles/drawer/Drawer.css +16 -15
- package/build/styles/dropFade/DropFade.css +2 -2
- package/build/styles/expressiveMoneyInput/ExpressiveMoneyInput.css +11 -11
- package/build/styles/expressiveMoneyInput/amountInput/AmountInput.css +4 -4
- package/build/styles/expressiveMoneyInput/chevron/Chevron.css +5 -5
- package/build/styles/field/Field.css +5 -5
- package/build/styles/flowNavigation/FlowNavigation.css +29 -28
- package/build/styles/flowNavigation/animatedLabel/AnimatedLabel.css +5 -5
- package/build/styles/header/Header.css +11 -9
- package/build/styles/image/Image.css +7 -7
- package/build/styles/info/Info.css +1 -1
- package/build/styles/inputs/Input.css +24 -25
- package/build/styles/inputs/InputGroup.css +13 -13
- package/build/styles/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +10 -10
- package/build/styles/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +5 -5
- package/build/styles/inputs/SelectInput/ClearButton/SelectInputClearButton.css +6 -6
- package/build/styles/inputs/SelectInput/ItemView/SelectInputItemView.css +4 -4
- package/build/styles/inputs/SelectInput/Option/SelectInputOption.css +4 -2
- package/build/styles/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +4 -4
- package/build/styles/inputs/SelectInput/Options/SelectInputOptions.css +17 -12
- package/build/styles/inputs/SelectInput/Popover/SelectInputPopover.css +4 -4
- package/build/styles/inputs/SelectInput/SelectInput.css +54 -47
- package/build/styles/inputs/TextArea.css +26 -27
- package/build/styles/instructionsList/InstructionsList.css +5 -5
- package/build/styles/legacylistItem/LegacyListItem.css +1 -1
- package/build/styles/link/Link.css +2 -8
- package/build/styles/listItem/ListItem.css +38 -35
- package/build/styles/listItem/ListItem.grid.css +7 -7
- package/build/styles/loader/Loader.css +30 -30
- package/build/styles/main.css +5397 -5944
- package/build/styles/modal/Modal.css +17 -16
- package/build/styles/moneyInput/MoneyInput.css +10 -20
- package/build/styles/navigationOption/NavigationOption.css +6 -19
- package/build/styles/navigationOptionsList/NavigationOptionsList.css +3 -8
- package/build/styles/nudge/Nudge.css +46 -72
- package/build/styles/overlayHeader/OverlayHeader.css +7 -6
- package/build/styles/phoneNumberInput/PhoneNumberInput.css +3 -9
- package/build/styles/popover/Popover.css +13 -10
- package/build/styles/progress/Progress.css +3 -3
- package/build/styles/progressBar/ProgressBar.css +4 -4
- package/build/styles/promoCard/PromoCard.css +27 -41
- package/build/styles/prompt/ActionPrompt/ActionPrompt.css +8 -8
- package/build/styles/prompt/InfoPrompt/InfoPrompt.css +7 -7
- package/build/styles/prompt/InlinePrompt/InlinePrompt.css +5 -6
- package/build/styles/prompt/PrimitivePrompt/PrimitivePrompt.css +6 -6
- package/build/styles/radioGroup/RadioGroup.css +1 -1
- package/build/styles/section/Section.css +6 -6
- package/build/styles/segmentedControl/SegmentedControl.css +18 -15
- package/build/styles/select/Select.css +55 -99
- package/build/styles/slidingPanel/SlidingPanel.css +9 -31
- package/build/styles/snackbar/Snackbar.css +21 -35
- package/build/styles/stepper/Stepper.css +9 -12
- package/build/styles/styles/less/accordion.css +35 -37
- package/build/styles/styles/less/alerts.css +84 -96
- package/build/styles/styles/less/badge.css +25 -23
- package/build/styles/styles/less/breadcrumbs.css +6 -4
- package/build/styles/styles/less/button-groups.css +157 -168
- package/build/styles/styles/less/buttons.css +69 -74
- package/build/styles/styles/less/circles.css +54 -60
- package/build/styles/styles/less/close.css +2 -2
- package/build/styles/styles/less/column-layout.css +45 -48
- package/build/styles/styles/less/currency-flags.css +10 -12
- package/build/styles/styles/less/decision.css +14 -12
- package/build/styles/styles/less/dropdowns.css +116 -142
- package/build/styles/styles/less/droppable.css +45 -36
- package/build/styles/styles/less/flex.css +88 -104
- package/build/styles/styles/less/footer.css +15 -14
- package/build/styles/styles/less/forms/bootstrap-forms.css +244 -264
- package/build/styles/styles/less/forms/checkbox-radio.css +41 -41
- package/build/styles/styles/less/grid.css +780 -975
- package/build/styles/styles/less/input-groups.css +333 -361
- package/build/styles/styles/less/link-callout.css +5 -6
- package/build/styles/styles/less/list-group.css +72 -66
- package/build/styles/styles/less/loaders.css +11 -11
- package/build/styles/styles/less/media.css +21 -25
- package/build/styles/styles/less/modals.css +57 -51
- package/build/styles/styles/less/navbar.css +537 -581
- package/build/styles/styles/less/navs.css +84 -88
- package/build/styles/styles/less/neptune-social-media.css +17 -21
- package/build/styles/styles/less/neptune.css +4217 -4545
- package/build/styles/styles/less/panels.css +100 -102
- package/build/styles/styles/less/popovers.css +189 -217
- package/build/styles/styles/less/process.css +69 -71
- package/build/styles/styles/less/progress-bars.css +13 -17
- package/build/styles/styles/less/select.css +35 -39
- package/build/styles/styles/less/sequences.css +147 -169
- package/build/styles/styles/less/table.css +50 -39
- package/build/styles/styles/less/tick.css +15 -10
- package/build/styles/styles/less/tooltip.css +66 -64
- package/build/styles/styles/less/utilities.css +24 -24
- package/build/styles/styles/less/wells.css +20 -20
- package/build/styles/summary/Summary.css +19 -30
- package/build/styles/switch/Switch.css +5 -4
- package/build/styles/table/Table.css +60 -57
- package/build/styles/tabs/Tabs.css +18 -14
- package/build/styles/tile/Tile.css +12 -12
- package/build/styles/tooltip/Tooltip.css +2 -2
- package/build/styles/typeahead/Typeahead.css +40 -52
- package/build/styles/upload/Upload.css +11 -10
- package/build/styles/uploadInput/UploadInput.css +4 -4
- package/build/styles/uploadInput/uploadButton/UploadButton.css +20 -19
- package/build/styles/uploadInput/uploadItem/UploadItem.css +45 -44
- package/build/types/moneyInput/MoneyInput.d.ts +6 -0
- package/build/types/moneyInput/MoneyInput.d.ts.map +1 -1
- package/build/types/moneyInput/currencyFormatting.d.ts +4 -3
- package/build/types/moneyInput/currencyFormatting.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/accordion/Accordion.css +23 -21
- package/src/accordion/Accordion.less +3 -3
- package/src/actionButton/ActionButton.css +8 -6
- package/src/alert/Alert.css +2 -2
- package/src/avatar/Avatar.css +65 -65
- package/src/avatarLayout/AvatarLayout.css +11 -11
- package/src/avatarView/AvatarView.css +3 -3
- package/src/avatarView/Dot.css +3 -3
- package/src/badge/Badge.css +8 -12
- package/src/badge/Badge.less +1 -1
- package/src/button/Button.css +6 -6
- package/src/button/LegacyButton.css +3 -9
- package/src/button/LegacyButton.less +1 -1
- package/src/card/Card.css +27 -18
- package/src/card/Card.less +1 -1
- package/src/carousel/Carousel.css +28 -27
- package/src/checkbox/Checkbox.tsx +1 -1
- package/src/checkboxButton/CheckboxButton.css +10 -15
- package/src/checkboxButton/CheckboxButton.less +2 -2
- package/src/chips/Chip.css +26 -29
- package/src/chips/Chip.less +1 -1
- package/src/common/Option/Option.css +42 -44
- package/src/common/Option/Option.less +2 -2
- package/src/common/Option/Option.tsx +2 -2
- package/src/common/baseCard/BaseCard.css +3 -7
- package/src/common/baseCard/BaseCard.less +0 -5
- package/src/common/bottomSheet/BottomSheet.css +30 -18
- package/src/common/circle/Circle.css +10 -10
- package/src/common/closeButton/CloseButton.css +36 -36
- package/src/common/liveRegion/LiveRegion.css +1 -1
- package/src/common/panel/Panel.css +7 -7
- package/src/criticalBanner/CriticalCommsBanner.css +7 -7
- package/src/dateInput/DateInput.css +4 -4
- package/src/dateLookup/DateLookup.css +10 -9
- package/src/dateLookup/dateTrigger/DateTrigger.css +9 -15
- package/src/dateLookup/dateTrigger/DateTrigger.less +1 -1
- package/src/definitionList/DefinitionList.css +8 -14
- package/src/definitionList/DefinitionList.less +1 -1
- package/src/dimmer/Dimmer.css +9 -19
- package/src/dimmer/Dimmer.less +2 -3
- package/src/divider/Divider.css +8 -7
- package/src/drawer/Drawer.css +16 -15
- package/src/dropFade/DropFade.css +2 -2
- package/src/expressiveMoneyInput/ExpressiveMoneyInput.css +11 -11
- package/src/expressiveMoneyInput/amountInput/AmountInput.css +4 -4
- package/src/expressiveMoneyInput/chevron/Chevron.css +5 -5
- package/src/field/Field.css +5 -5
- package/src/flowNavigation/FlowNavigation.css +29 -28
- package/src/flowNavigation/animatedLabel/AnimatedLabel.css +5 -5
- package/src/header/Header.css +11 -9
- package/src/image/Image.css +7 -7
- package/src/info/Info.css +1 -1
- package/src/inputs/Input.css +24 -25
- package/src/inputs/InputGroup.css +13 -13
- package/src/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +10 -10
- package/src/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +5 -5
- package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.css +6 -6
- package/src/inputs/SelectInput/ItemView/SelectInputItemView.css +4 -4
- package/src/inputs/SelectInput/Option/SelectInputOption.css +4 -2
- package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +4 -4
- package/src/inputs/SelectInput/Options/SelectInputOptions.css +17 -12
- package/src/inputs/SelectInput/Popover/SelectInputPopover.css +4 -4
- package/src/inputs/SelectInput/SelectInput.css +54 -47
- package/src/inputs/TextArea.css +26 -27
- package/src/instructionsList/InstructionsList.css +5 -5
- package/src/legacylistItem/LegacyListItem.css +1 -1
- package/src/link/Link.css +2 -8
- package/src/link/Link.less +1 -1
- package/src/listItem/ListItem.css +38 -35
- package/src/listItem/ListItem.grid.css +7 -7
- package/src/loader/Loader.css +30 -30
- package/src/main.css +5397 -5944
- package/src/modal/Modal.css +17 -16
- package/src/moneyInput/MoneyInput.css +10 -20
- package/src/moneyInput/MoneyInput.less +4 -4
- package/src/moneyInput/MoneyInput.story.tsx +10 -1
- package/src/moneyInput/MoneyInput.test.story.tsx +141 -1
- package/src/moneyInput/MoneyInput.test.tsx +45 -0
- package/src/moneyInput/MoneyInput.tsx +27 -3
- package/src/moneyInput/currencyFormatting.ts +11 -5
- package/src/navigationOption/NavigationOption.css +6 -19
- package/src/navigationOption/NavigationOption.less +3 -4
- package/src/navigationOptionsList/NavigationOptionsList.css +3 -8
- package/src/navigationOptionsList/NavigationOptionsList.less +1 -1
- package/src/nudge/Nudge.css +46 -72
- package/src/nudge/Nudge.less +0 -8
- package/src/overlayHeader/OverlayHeader.css +7 -6
- package/src/phoneNumberInput/PhoneNumberInput.css +3 -9
- package/src/phoneNumberInput/PhoneNumberInput.less +1 -1
- package/src/popover/Popover.css +13 -10
- package/src/progress/Progress.css +3 -3
- package/src/progressBar/ProgressBar.css +4 -4
- package/src/promoCard/PromoCard.css +27 -41
- package/src/promoCard/PromoCard.less +12 -27
- package/src/prompt/ActionPrompt/ActionPrompt.css +8 -8
- package/src/prompt/InfoPrompt/InfoPrompt.css +7 -7
- package/src/prompt/InlinePrompt/InlinePrompt.css +5 -6
- package/src/prompt/PrimitivePrompt/PrimitivePrompt.css +6 -6
- package/src/radioGroup/RadioGroup.css +1 -1
- package/src/section/Section.css +6 -6
- package/src/section/Section.story.tsx +2 -8
- package/src/segmentedControl/SegmentedControl.css +18 -15
- package/src/select/Select.css +55 -99
- package/src/select/Select.less +9 -10
- package/src/slidingPanel/SlidingPanel.css +9 -31
- package/src/slidingPanel/SlidingPanel.less +4 -4
- package/src/snackbar/Snackbar.css +21 -35
- package/src/snackbar/Snackbar.less +3 -9
- package/src/stepper/Stepper.css +9 -12
- package/src/stepper/Stepper.less +1 -1
- package/src/styles/less/accordion.css +35 -37
- package/src/styles/less/alerts.css +84 -96
- package/src/styles/less/badge.css +25 -23
- package/src/styles/less/breadcrumbs.css +6 -4
- package/src/styles/less/button-groups.css +157 -168
- package/src/styles/less/buttons.css +69 -74
- package/src/styles/less/circles.css +54 -60
- package/src/styles/less/close.css +2 -2
- package/src/styles/less/column-layout.css +45 -48
- package/src/styles/less/currency-flags.css +10 -12
- package/src/styles/less/decision.css +14 -12
- package/src/styles/less/dropdowns.css +116 -142
- package/src/styles/less/droppable.css +45 -36
- package/src/styles/less/flex.css +88 -104
- package/src/styles/less/footer.css +15 -14
- package/src/styles/less/forms/bootstrap-forms.css +244 -264
- package/src/styles/less/forms/checkbox-radio.css +41 -41
- package/src/styles/less/grid.css +780 -975
- package/src/styles/less/input-groups.css +333 -361
- package/src/styles/less/link-callout.css +5 -6
- package/src/styles/less/list-group.css +72 -66
- package/src/styles/less/loaders.css +11 -11
- package/src/styles/less/media.css +21 -25
- package/src/styles/less/modals.css +57 -51
- package/src/styles/less/navbar.css +537 -581
- package/src/styles/less/navs.css +84 -88
- package/src/styles/less/neptune-social-media.css +17 -21
- package/src/styles/less/neptune.css +4217 -4545
- package/src/styles/less/panels.css +100 -102
- package/src/styles/less/popovers.css +189 -217
- package/src/styles/less/process.css +69 -71
- package/src/styles/less/progress-bars.css +13 -17
- package/src/styles/less/progress-bars.less +0 -5
- package/src/styles/less/select.css +35 -39
- package/src/styles/less/sequences.css +147 -169
- package/src/styles/less/table.css +50 -39
- package/src/styles/less/tick.css +15 -10
- package/src/styles/less/tick.less +6 -1
- package/src/styles/less/tooltip.css +66 -64
- package/src/styles/less/utilities.css +24 -24
- package/src/styles/less/wells.css +20 -20
- package/src/summary/Summary.css +19 -30
- package/src/summary/Summary.less +1 -6
- package/src/switch/Switch.css +5 -4
- package/src/table/Table.css +60 -57
- package/src/tabs/Tabs.css +18 -14
- package/src/tile/Tile.css +12 -12
- package/src/tooltip/Tooltip.css +2 -2
- package/src/typeahead/Typeahead.css +40 -52
- package/src/typeahead/Typeahead.less +2 -2
- package/src/upload/Upload.css +11 -10
- package/src/uploadInput/UploadInput.css +4 -4
- package/src/uploadInput/uploadButton/UploadButton.css +20 -19
- package/src/uploadInput/uploadItem/UploadItem.css +45 -44
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
display: block;
|
|
6
6
|
}
|
|
7
7
|
.typeahead .dropdown-menu {
|
|
8
|
-
max-
|
|
9
|
-
|
|
8
|
+
max-inline-size: 100%;
|
|
9
|
+
inline-size: 100%;
|
|
10
10
|
}
|
|
11
11
|
.np-theme-personal--forest-green .typeahead .dropdown-menu,
|
|
12
12
|
.np-theme-personal--bright-green .typeahead .dropdown-menu,
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
background-color: var(--color-background-elevated);
|
|
16
16
|
}
|
|
17
17
|
.typeahead--multiple .np-chip {
|
|
18
|
-
margin-
|
|
18
|
+
margin-block-end: auto;
|
|
19
19
|
animation-name: slide;
|
|
20
20
|
animation-duration: 0.03s;
|
|
21
21
|
animation-timing-function: ease-in-out;
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
animation-timing-function: ease-in-out;
|
|
30
30
|
}
|
|
31
31
|
.typeahead--multiple .form-control {
|
|
32
|
-
|
|
33
|
-
min-
|
|
34
|
-
padding-
|
|
35
|
-
padding-
|
|
32
|
+
block-size: auto;
|
|
33
|
+
min-block-size: auto;
|
|
34
|
+
padding-block-start: 0;
|
|
35
|
+
padding-block-end: 0;
|
|
36
36
|
overflow: auto;
|
|
37
37
|
}
|
|
38
38
|
.typeahead--multiple .typeahead__input {
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
padding: 0;
|
|
44
44
|
}
|
|
45
45
|
.typeahead--multiple .typeahead__input-aligner {
|
|
46
|
-
|
|
46
|
+
block-size: 40px;
|
|
47
47
|
display: inline-block;
|
|
48
|
-
|
|
48
|
+
inline-size: 0;
|
|
49
49
|
}
|
|
50
50
|
.typeahead--multiple .typeahead__input-container {
|
|
51
51
|
cursor: text;
|
|
@@ -55,84 +55,72 @@
|
|
|
55
55
|
white-space: pre;
|
|
56
56
|
position: absolute;
|
|
57
57
|
visibility: hidden;
|
|
58
|
-
|
|
58
|
+
inline-size: auto;
|
|
59
59
|
}
|
|
60
60
|
.typeahead--multiple.typeahead--has-value .typeahead__input-container {
|
|
61
|
-
padding-
|
|
62
|
-
padding-
|
|
63
|
-
}
|
|
64
|
-
[dir="rtl"] .typeahead--multiple.typeahead--has-value .typeahead__input-container {
|
|
65
|
-
padding-right: 8px;
|
|
66
|
-
padding-right: var(--size-8);
|
|
67
|
-
padding-left: 0;
|
|
68
|
-
padding-left: initial;
|
|
61
|
+
padding-inline-start: 8px;
|
|
62
|
+
padding-inline-start: var(--size-8);
|
|
69
63
|
}
|
|
70
64
|
.typeahead--multiple.typeahead--has-value .input-group-addon + .typeahead__input-container {
|
|
71
|
-
padding-
|
|
65
|
+
padding-inline-start: 0;
|
|
72
66
|
}
|
|
73
67
|
.typeahead--multiple.typeahead--has-value .typeahead__input {
|
|
74
|
-
margin-
|
|
75
|
-
margin-
|
|
76
|
-
margin-
|
|
77
|
-
margin-
|
|
78
|
-
}
|
|
79
|
-
[dir="rtl"] .typeahead--multiple.typeahead--has-value .typeahead__input {
|
|
80
|
-
margin-right: 4px;
|
|
81
|
-
margin-right: var(--size-4);
|
|
82
|
-
margin-left: 0;
|
|
83
|
-
margin-left: initial;
|
|
68
|
+
margin-block-end: calc(-1 * 8px + 1px);
|
|
69
|
+
margin-block-end: calc(-1 * var(--size-8) + 1px);
|
|
70
|
+
margin-inline-start: 4px;
|
|
71
|
+
margin-inline-start: var(--size-4);
|
|
84
72
|
}
|
|
85
73
|
.typeahead--multiple.typeahead--has-value .typeahead__input-wrapper::after {
|
|
86
74
|
content: "";
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
75
|
+
block-size: calc(8px - 1);
|
|
76
|
+
block-size: calc(var(--size-8) - 1);
|
|
77
|
+
inline-size: 100%;
|
|
90
78
|
}
|
|
91
79
|
.typeahead__input-wrapper {
|
|
92
|
-
|
|
93
|
-
margin-
|
|
80
|
+
inline-size: 100%;
|
|
81
|
+
margin-block-start: -1px;
|
|
94
82
|
display: flex;
|
|
95
83
|
flex-wrap: wrap;
|
|
96
84
|
flex: 1;
|
|
97
85
|
align-items: center;
|
|
98
86
|
}
|
|
99
87
|
.np-theme-personal .typeahead__input-wrapper {
|
|
100
|
-
margin-
|
|
88
|
+
margin-block-start: 0;
|
|
101
89
|
}
|
|
102
90
|
.typeahead--empty.typeahead--multiple .typeahead__input-wrapper {
|
|
103
91
|
padding: 0;
|
|
104
92
|
margin: 0;
|
|
105
93
|
}
|
|
106
94
|
.typeahead--prompt {
|
|
107
|
-
margin-
|
|
108
|
-
margin-
|
|
95
|
+
margin-block-start: 4px;
|
|
96
|
+
margin-block-start: var(--size-4);
|
|
109
97
|
}
|
|
110
98
|
.typeahead-sm.typeahead--multiple .typeahead__input-container {
|
|
111
|
-
min-
|
|
99
|
+
min-block-size: 32px;
|
|
112
100
|
}
|
|
113
101
|
.typeahead-sm.typeahead--multiple .typeahead__input {
|
|
114
|
-
padding-
|
|
102
|
+
padding-block-start: 0;
|
|
115
103
|
}
|
|
116
104
|
.typeahead-md.typeahead--multiple .typeahead__input-container {
|
|
117
|
-
min-
|
|
105
|
+
min-block-size: var(--input-height-base);
|
|
118
106
|
}
|
|
119
107
|
.typeahead-lg.typeahead--multiple .typeahead__input-container {
|
|
120
|
-
min-
|
|
108
|
+
min-block-size: var(--input-height-large);
|
|
121
109
|
}
|
|
122
110
|
.typeahead-lg.typeahead--multiple .typeahead__input {
|
|
123
|
-
padding-
|
|
124
|
-
padding-
|
|
111
|
+
padding-block-start: calc(8px - 1);
|
|
112
|
+
padding-block-start: calc(var(--size-8) - 1);
|
|
125
113
|
}
|
|
126
114
|
.typeahead-lg.typeahead--multiple .typeahead__input-wrapper {
|
|
127
|
-
padding-
|
|
128
|
-
padding-
|
|
115
|
+
padding-block-end: 8px;
|
|
116
|
+
padding-block-end: var(--size-8);
|
|
129
117
|
margin: 0;
|
|
130
118
|
}
|
|
131
119
|
.typeahead-lg.typeahead--multiple .typeahead__input-wrapper::after {
|
|
132
120
|
content: none;
|
|
133
121
|
}
|
|
134
122
|
.typeahead-lg.typeahead--multiple .np-chip {
|
|
135
|
-
margin-
|
|
123
|
+
margin-block-end: 0;
|
|
136
124
|
}
|
|
137
125
|
@keyframes slide {
|
|
138
126
|
from {
|
|
@@ -161,7 +149,7 @@
|
|
|
161
149
|
@media (max-width: 575px) {
|
|
162
150
|
.typeahead .dropdown.open .dropdown-menu {
|
|
163
151
|
position: absolute;
|
|
164
|
-
|
|
152
|
+
inset-block-end: auto;
|
|
165
153
|
overflow: scroll;
|
|
166
154
|
}
|
|
167
155
|
}
|
|
@@ -173,15 +161,15 @@
|
|
|
173
161
|
color: var(--color-interactive-secondary);
|
|
174
162
|
}
|
|
175
163
|
.np-theme-personal .typeahead .np-chip {
|
|
176
|
-
margin-
|
|
164
|
+
margin-block-start: 9px !important;
|
|
177
165
|
}
|
|
178
166
|
.np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold {
|
|
179
|
-
padding-
|
|
180
|
-
padding-
|
|
167
|
+
padding-inline-end: 16px;
|
|
168
|
+
padding-inline-end: var(--size-16);
|
|
181
169
|
}
|
|
182
170
|
@media (max-width: 320px) {
|
|
183
171
|
.np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold {
|
|
184
|
-
padding-
|
|
185
|
-
padding-
|
|
172
|
+
padding-inline-end: 32px;
|
|
173
|
+
padding-inline-end: var(--size-32);
|
|
186
174
|
}
|
|
187
175
|
}
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
|
|
80
80
|
&.typeahead--has-value {
|
|
81
81
|
.typeahead__input-container {
|
|
82
|
-
|
|
82
|
+
padding-left: var(--size-8);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
.input-group-addon + .typeahead__input-container {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
|
|
89
89
|
.typeahead__input {
|
|
90
90
|
margin-bottom: calc(-1 * var(--size-8) + 1px);
|
|
91
|
-
|
|
91
|
+
margin-left: var(--size-4);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.typeahead__input-wrapper {
|
package/src/upload/Upload.css
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
.tw-droppable-lg {
|
|
2
|
-
min-
|
|
2
|
+
min-block-size: 346px;
|
|
3
3
|
}
|
|
4
4
|
.tw-droppable-lg .thumbnail {
|
|
5
|
-
max-
|
|
5
|
+
max-block-size: 72px;
|
|
6
6
|
}
|
|
7
7
|
.tw-droppable-md {
|
|
8
|
-
min-
|
|
8
|
+
min-block-size: 315px;
|
|
9
9
|
}
|
|
10
10
|
.tw-droppable-md .thumbnail {
|
|
11
|
-
max-
|
|
11
|
+
max-block-size: 72px;
|
|
12
12
|
}
|
|
13
13
|
.tw-droppable-sm {
|
|
14
|
-
min-
|
|
14
|
+
min-block-size: 245px;
|
|
15
15
|
}
|
|
16
16
|
.tw-droppable-lg .btn:focus-visible,
|
|
17
17
|
.tw-droppable-md .btn:focus-visible,
|
|
@@ -20,14 +20,15 @@
|
|
|
20
20
|
outline-offset: var(--ring-outline-offset);
|
|
21
21
|
}
|
|
22
22
|
.upload-error-message {
|
|
23
|
-
margin-
|
|
24
|
-
margin-
|
|
25
|
-
border-
|
|
26
|
-
border-
|
|
23
|
+
margin-block-start: 24px;
|
|
24
|
+
margin-block-start: var(--padding-medium);
|
|
25
|
+
border-block-start: 1px solid rgba(0,0,0,0.10196);
|
|
26
|
+
border-block-start: 1px solid #0000001a;
|
|
27
|
+
border-block-start: 1px solid var(--color-border-neutral);
|
|
27
28
|
text-align: start;
|
|
28
29
|
}
|
|
29
30
|
.upload-error-message .alert {
|
|
30
|
-
min-
|
|
31
|
+
min-inline-size: 100px;
|
|
31
32
|
}
|
|
32
33
|
.np-theme-personal .droppable-dropping .droppable-complete-card {
|
|
33
34
|
display: none;
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
.np-upload-input .np-upload-input__section:only-child .np-upload-input__item {
|
|
10
10
|
border-radius: 10px;
|
|
11
11
|
border-radius: var(--radius-small);
|
|
12
|
-
border-
|
|
12
|
+
border-block-end: var(--outerBorder);
|
|
13
13
|
}
|
|
14
14
|
.np-upload-input .np-upload-input__section:has(.np-upload-input__item:last-child.is-interactive:hover):not(:has(.np-upload-input__item-button:hover)) + .np-upload-input__section--uploader .np-upload-input__upload-button::before {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
inset-inline-start: 0;
|
|
16
|
+
inline-size: 100%;
|
|
17
|
+
inset-block-start: 0;
|
|
18
18
|
}
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
display: flex;
|
|
6
6
|
align-items: center;
|
|
7
7
|
margin: 0;
|
|
8
|
-
border-
|
|
9
|
-
border-
|
|
10
|
-
border-
|
|
11
|
-
border-
|
|
8
|
+
border-end-start-radius: 10px;
|
|
9
|
+
border-end-start-radius: var(--radius-small);
|
|
10
|
+
border-end-end-radius: 10px;
|
|
11
|
+
border-end-end-radius: var(--radius-small);
|
|
12
12
|
border: var(--outerBorder);
|
|
13
13
|
cursor: pointer;
|
|
14
14
|
}
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
text-underline-offset: 0.3em;
|
|
20
20
|
}
|
|
21
21
|
.np-upload-input__upload-button .np-upload-input__title + .np-upload-input__text {
|
|
22
|
-
margin-
|
|
23
|
-
margin-
|
|
22
|
+
margin-block-start: 4px;
|
|
23
|
+
margin-block-start: var(--size-4);
|
|
24
24
|
}
|
|
25
25
|
.np-upload-input__upload-button .np-upload-input__icon {
|
|
26
|
-
padding-
|
|
27
|
-
padding-
|
|
26
|
+
padding-inline-end: 16px;
|
|
27
|
+
padding-inline-end: var(--size-16);
|
|
28
28
|
color: var(--color-interactive-primary);
|
|
29
29
|
}
|
|
30
30
|
.np-upload-input__upload-button.is-dropping .np-upload-input__icon,
|
|
@@ -47,29 +47,30 @@
|
|
|
47
47
|
.np-upload-input__upload-button .np-upload-input__drop-file-overlay {
|
|
48
48
|
display: flex;
|
|
49
49
|
flex: 1;
|
|
50
|
-
padding: 13px
|
|
50
|
+
padding-block: 13px !important;
|
|
51
|
+
padding-inline: 0;
|
|
51
52
|
background-color: transparent;
|
|
52
53
|
transition: transform 0.3s ease;
|
|
53
54
|
position: relative;
|
|
54
55
|
}
|
|
55
56
|
.np-upload-input__upload-button--with-entries {
|
|
56
|
-
border-
|
|
57
|
+
border-block-start-width: 0;
|
|
57
58
|
}
|
|
58
59
|
.np-upload-input__upload-button--with-entries:before {
|
|
59
60
|
display: block;
|
|
60
61
|
position: absolute;
|
|
61
|
-
|
|
62
|
+
block-size: 1px;
|
|
62
63
|
background-color: rgba(0,0,0,0.10196);
|
|
63
64
|
background-color: var(--color-border-neutral);
|
|
64
65
|
content: " ";
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
66
|
+
inset-inline-start: 16px;
|
|
67
|
+
inset-inline-start: var(--size-16);
|
|
68
|
+
inline-size: calc(100% - 2 * 16px);
|
|
69
|
+
inline-size: calc(100% - 2 * var(--size-16));
|
|
70
|
+
inset-block-start: 0;
|
|
70
71
|
}
|
|
71
72
|
.np-upload-input__upload-button--without-entries {
|
|
72
|
-
border-
|
|
73
|
+
border-block-start: var(--outerBorder);
|
|
73
74
|
border-radius: 10px;
|
|
74
75
|
border-radius: var(--radius-small);
|
|
75
76
|
}
|
|
@@ -82,8 +83,8 @@
|
|
|
82
83
|
.np-upload-input__upload-button--enabled.is-dropping:before,
|
|
83
84
|
.np-upload-input__upload-button--enabled:hover:before,
|
|
84
85
|
.np-upload-input__upload-button--enabled:active:before {
|
|
85
|
-
|
|
86
|
-
|
|
86
|
+
inline-size: 100%;
|
|
87
|
+
inset-inline-start: 0;
|
|
87
88
|
}
|
|
88
89
|
.np-upload-input__upload-button--disabled {
|
|
89
90
|
cursor: inherit;
|
|
@@ -4,38 +4,38 @@
|
|
|
4
4
|
padding: var(--size-16);
|
|
5
5
|
display: flex;
|
|
6
6
|
align-items: flex-start;
|
|
7
|
-
border-
|
|
8
|
-
border-
|
|
7
|
+
border-inline-start: var(--outerBorder);
|
|
8
|
+
border-inline-end: var(--outerBorder);
|
|
9
9
|
}
|
|
10
10
|
.np-upload-input__item:first-child {
|
|
11
|
-
border-
|
|
12
|
-
border-
|
|
13
|
-
border-
|
|
14
|
-
border-
|
|
15
|
-
border-
|
|
11
|
+
border-block-start: var(--outerBorder);
|
|
12
|
+
border-start-start-radius: 10px;
|
|
13
|
+
border-start-start-radius: var(--radius-small);
|
|
14
|
+
border-start-end-radius: 10px;
|
|
15
|
+
border-start-end-radius: var(--radius-small);
|
|
16
16
|
}
|
|
17
17
|
.np-upload-input__item + .np-upload-input__item:before {
|
|
18
18
|
content: " ";
|
|
19
19
|
display: block;
|
|
20
20
|
position: absolute;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
block-size: 1px;
|
|
22
|
+
inset-inline-start: 16px;
|
|
23
|
+
inset-inline-start: var(--size-16);
|
|
24
|
+
inline-size: calc(100% - 2 * 16px);
|
|
25
|
+
inline-size: calc(100% - 2 * var(--size-16));
|
|
26
|
+
inset-block-start: 0;
|
|
27
27
|
background: rgba(0,0,0,0.10196);
|
|
28
28
|
background: var(--color-border-neutral);
|
|
29
29
|
}
|
|
30
30
|
.np-upload-input__item .np-upload-input__item-content {
|
|
31
|
-
padding-
|
|
32
|
-
padding-
|
|
31
|
+
padding-inline-end: 32px;
|
|
32
|
+
padding-inline-end: var(--size-32);
|
|
33
33
|
flex: 1;
|
|
34
34
|
}
|
|
35
35
|
@media (max-width: 320px) {
|
|
36
36
|
.np-upload-input__item .np-upload-input__item-content {
|
|
37
|
-
padding-
|
|
38
|
-
padding-
|
|
37
|
+
padding-inline-end: 64px;
|
|
38
|
+
padding-inline-end: var(--size-64);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
.np-upload-input__item .np-upload-input__title,
|
|
@@ -47,18 +47,18 @@
|
|
|
47
47
|
color: var(--color-content-secondary);
|
|
48
48
|
}
|
|
49
49
|
.np-upload-input__item .np-upload-input__title + .np-upload-input__text {
|
|
50
|
-
margin-
|
|
51
|
-
margin-
|
|
50
|
+
margin-block-start: 4px;
|
|
51
|
+
margin-block-start: var(--size-4);
|
|
52
52
|
}
|
|
53
53
|
.np-upload-input__item .np-upload-input__icon {
|
|
54
|
-
padding-
|
|
55
|
-
padding-
|
|
54
|
+
padding-inline-end: 16px;
|
|
55
|
+
padding-inline-end: var(--size-16);
|
|
56
56
|
}
|
|
57
57
|
.np-upload-input__item .np-upload-input__item-link,
|
|
58
58
|
.np-upload-input__item .np-upload-input__item-container {
|
|
59
59
|
align-items: flex-start;
|
|
60
60
|
display: flex;
|
|
61
|
-
|
|
61
|
+
inline-size: 100%;
|
|
62
62
|
}
|
|
63
63
|
.np-upload-input__item .np-upload-input__item-action {
|
|
64
64
|
--iconSize: var(--size-24);
|
|
@@ -66,10 +66,10 @@
|
|
|
66
66
|
--buttonTopRightOffset: var(--size-16);
|
|
67
67
|
--clickAreaTopRightOffset: calc((var(--clickAreaSize) - var(--iconSize)) * -0.5);
|
|
68
68
|
position: absolute;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
inset-inline-end: 16px;
|
|
70
|
+
inset-inline-end: var(--buttonTopRightOffset);
|
|
71
|
+
inset-block-start: 16px;
|
|
72
|
+
inset-block-start: var(--buttonTopRightOffset);
|
|
73
73
|
}
|
|
74
74
|
@media (max-width: 320px) {
|
|
75
75
|
.np-upload-input__item .np-upload-input__item-action {
|
|
@@ -81,10 +81,11 @@
|
|
|
81
81
|
-webkit-appearance: none;
|
|
82
82
|
-moz-appearance: none;
|
|
83
83
|
appearance: none;
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
padding: 0
|
|
87
|
-
padding:
|
|
84
|
+
block-size: var(--iconSize);
|
|
85
|
+
inline-size: var(--iconSize);
|
|
86
|
+
padding-block: 0;
|
|
87
|
+
padding-inline: 4px;
|
|
88
|
+
padding-inline: var(--size-4);
|
|
88
89
|
border-radius: 50%;
|
|
89
90
|
border: 0;
|
|
90
91
|
background-color: rgba(134,167,189,0.10196);
|
|
@@ -99,12 +100,12 @@
|
|
|
99
100
|
.np-upload-input__item .np-upload-input__item-action .np-upload-input__item-button:before {
|
|
100
101
|
content: '';
|
|
101
102
|
display: block;
|
|
102
|
-
|
|
103
|
-
|
|
103
|
+
inline-size: var(--clickAreaSize);
|
|
104
|
+
block-size: var(--clickAreaSize);
|
|
104
105
|
border-radius: 50%;
|
|
105
106
|
position: absolute;
|
|
106
|
-
|
|
107
|
-
|
|
107
|
+
inset-block-start: var(--clickAreaTopRightOffset);
|
|
108
|
+
inset-inline-end: var(--clickAreaTopRightOffset);
|
|
108
109
|
}
|
|
109
110
|
.np-upload-input__item .np-upload-input__item-action .np-upload-input__item-button:hover {
|
|
110
111
|
background-color: var(--color-sentiment-negative);
|
|
@@ -118,8 +119,8 @@
|
|
|
118
119
|
}
|
|
119
120
|
.np-upload-input__item.is-interactive:hover:not(:has(.np-upload-input__item-button:hover)):before,
|
|
120
121
|
.np-upload-input__item.is-interactive:hover:not(:has(.np-upload-input__item-button:hover)) + .np-upload-input__item:before {
|
|
121
|
-
|
|
122
|
-
|
|
122
|
+
inline-size: 100%;
|
|
123
|
+
inset-inline-start: 0;
|
|
123
124
|
}
|
|
124
125
|
.np-upload-input__item.is-interactive .np-upload-input__item-link {
|
|
125
126
|
padding: 16px;
|
|
@@ -127,7 +128,7 @@
|
|
|
127
128
|
-webkit-text-decoration: none;
|
|
128
129
|
text-decoration: none;
|
|
129
130
|
border-radius: inherit;
|
|
130
|
-
border-
|
|
131
|
+
border-block-start: 1px solid transparent;
|
|
131
132
|
background-clip: padding-box;
|
|
132
133
|
}
|
|
133
134
|
.np-upload-input__item.is-interactive .np-upload-input__item-link:focus-visible {
|
|
@@ -140,27 +141,27 @@
|
|
|
140
141
|
background-color: var(--color-background-neutral);
|
|
141
142
|
}
|
|
142
143
|
.np-upload-input__item.is-interactive:first-child .np-upload-input__item-link {
|
|
143
|
-
border-
|
|
144
|
+
border-block-start-width: 0;
|
|
144
145
|
}
|
|
145
146
|
.np-upload-input__item .np-upload-input-errors {
|
|
146
|
-
padding-
|
|
147
|
+
padding-inline-start: 0;
|
|
147
148
|
list-style-type: "";
|
|
148
149
|
}
|
|
149
150
|
.np-upload-input__item .np-upload-input-errors > li {
|
|
150
151
|
position: relative;
|
|
151
|
-
padding-
|
|
152
|
-
padding-
|
|
152
|
+
padding-inline-start: 16px;
|
|
153
|
+
padding-inline-start: var(--size-16);
|
|
153
154
|
}
|
|
154
155
|
.np-upload-input__item .np-upload-input-errors > li::before {
|
|
155
156
|
content: '•' ;
|
|
156
157
|
content: '•' / '';
|
|
157
158
|
position: absolute;
|
|
158
159
|
display: block;
|
|
159
|
-
|
|
160
|
+
inset-inline-start: 0;
|
|
160
161
|
}
|
|
161
162
|
@media (max-width: 320px) {
|
|
162
163
|
.np-upload-input__item .np-upload-input-errors > li {
|
|
163
|
-
padding-
|
|
164
|
-
padding-
|
|
164
|
+
padding-inline-start: 32px;
|
|
165
|
+
padding-inline-start: var(--size-32);
|
|
165
166
|
}
|
|
166
167
|
}
|