@transferwise/components 46.37.0 → 46.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/build/index.js +159 -317
- package/build/index.js.map +1 -1
- package/build/index.mjs +154 -311
- package/build/index.mjs.map +1 -1
- package/build/main.css +127 -108
- package/build/styles/main.css +127 -108
- package/build/styles/uploadInput/UploadInput.css +25 -27
- package/build/styles/uploadInput/uploadButton/UploadButton.css +24 -38
- package/build/styles/uploadInput/uploadItem/UploadItem.css +81 -46
- package/build/types/actionButton/ActionButton.d.ts +2 -2
- package/build/types/actionButton/ActionButton.d.ts.map +1 -1
- package/build/types/actionOption/ActionOption.d.ts +0 -1
- package/build/types/actionOption/ActionOption.d.ts.map +1 -1
- package/build/types/alert/Alert.d.ts +0 -1
- package/build/types/alert/Alert.d.ts.map +1 -1
- package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts +4 -11
- package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts.map +1 -1
- package/build/types/alert/inlineMarkdown/index.d.ts +2 -1
- package/build/types/alert/inlineMarkdown/index.d.ts.map +1 -1
- package/build/types/avatar/Avatar.d.ts +0 -1
- package/build/types/avatar/Avatar.d.ts.map +1 -1
- package/build/types/avatar/colors/colors.d.ts.map +1 -1
- package/build/types/avatarWrapper/AvatarWrapper.d.ts +0 -1
- package/build/types/avatarWrapper/AvatarWrapper.d.ts.map +1 -1
- package/build/types/body/Body.d.ts +2 -2
- package/build/types/body/Body.d.ts.map +1 -1
- package/build/types/button/Button.d.ts +0 -1
- package/build/types/button/Button.d.ts.map +1 -1
- package/build/types/button/Button.messages.d.ts +3 -3
- package/build/types/button/classMap.d.ts +6 -6
- package/build/types/card/Card.d.ts +16 -20
- package/build/types/card/Card.d.ts.map +1 -1
- package/build/types/card/index.d.ts +2 -1
- package/build/types/card/index.d.ts.map +1 -1
- package/build/types/checkbox/Checkbox.d.ts +15 -20
- package/build/types/checkbox/Checkbox.d.ts.map +1 -1
- package/build/types/checkbox/index.d.ts +2 -2
- package/build/types/checkbox/index.d.ts.map +1 -1
- package/build/types/checkboxOption/CheckboxOption.d.ts +2 -3
- package/build/types/checkboxOption/CheckboxOption.d.ts.map +1 -1
- package/build/types/chevron/Chevron.d.ts +0 -1
- package/build/types/chevron/Chevron.d.ts.map +1 -1
- package/build/types/chips/Chip.d.ts +0 -1
- package/build/types/chips/Chip.d.ts.map +1 -1
- package/build/types/chips/Chips.d.ts +0 -1
- package/build/types/chips/Chips.d.ts.map +1 -1
- package/build/types/circularButton/CircularButton.d.ts +0 -1
- package/build/types/circularButton/CircularButton.d.ts.map +1 -1
- package/build/types/common/RadioButton/RadioButton.d.ts +0 -1
- package/build/types/common/RadioButton/RadioButton.d.ts.map +1 -1
- package/build/types/common/action/Action.d.ts +0 -1
- package/build/types/common/action/Action.d.ts.map +1 -1
- package/build/types/common/closeButton/CloseButton.d.ts +4 -5
- package/build/types/common/closeButton/CloseButton.d.ts.map +1 -1
- package/build/types/common/commonProps.d.ts +0 -1
- package/build/types/common/commonProps.d.ts.map +1 -1
- package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts +1 -1
- package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +1 -1
- package/build/types/common/focusBoundary/FocusBoundary.d.ts +0 -1
- package/build/types/common/focusBoundary/FocusBoundary.d.ts.map +1 -1
- package/build/types/common/hooks/useDirection/useDirection.d.ts.map +1 -1
- package/build/types/common/hooks/useResizeObserver.d.ts +0 -1
- package/build/types/common/hooks/useResizeObserver.d.ts.map +1 -1
- package/build/types/common/panel/Panel.d.ts +8 -8
- package/build/types/common/panel/Panel.d.ts.map +1 -1
- package/build/types/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts +0 -1
- package/build/types/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +1 -1
- package/build/types/common/responsivePanel/ResponsivePanel.d.ts +8 -9
- package/build/types/common/responsivePanel/ResponsivePanel.d.ts.map +1 -1
- package/build/types/criticalBanner/CriticalCommsBanner.d.ts +0 -1
- package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +1 -1
- package/build/types/dateInput/DateInput.d.ts +0 -1
- package/build/types/dateInput/DateInput.d.ts.map +1 -1
- package/build/types/dateLookup/DateLookup.d.ts +1 -1
- package/build/types/dateLookup/DateLookup.d.ts.map +1 -1
- package/build/types/dateLookup/dateHeader/DateHeader.d.ts +0 -1
- package/build/types/dateLookup/dateHeader/DateHeader.d.ts.map +1 -1
- package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts +0 -1
- package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts.map +1 -1
- package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts +0 -1
- package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts.map +1 -1
- package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts +0 -1
- package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +1 -1
- package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts +0 -1
- package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts.map +1 -1
- package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts +0 -1
- package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +1 -1
- package/build/types/dateLookup/tableLink/TableLink.d.ts +0 -1
- package/build/types/dateLookup/tableLink/TableLink.d.ts.map +1 -1
- package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts +0 -1
- package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts.map +1 -1
- package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts +0 -1
- package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +1 -1
- package/build/types/decision/Decision.d.ts +1 -2
- package/build/types/decision/Decision.d.ts.map +1 -1
- package/build/types/definitionList/DefinitionList.d.ts +19 -24
- package/build/types/definitionList/DefinitionList.d.ts.map +1 -1
- package/build/types/definitionList/index.d.ts +2 -1
- package/build/types/definitionList/index.d.ts.map +1 -1
- package/build/types/dimmer/Dimmer.d.ts.map +1 -1
- package/build/types/drawer/Drawer.d.ts +18 -36
- package/build/types/drawer/Drawer.d.ts.map +1 -1
- package/build/types/drawer/index.d.ts +2 -1
- package/build/types/drawer/index.d.ts.map +1 -1
- package/build/types/dropFade/DropFade.d.ts.map +1 -1
- package/build/types/emphasis/Emphasis.d.ts +0 -1
- package/build/types/emphasis/Emphasis.d.ts.map +1 -1
- package/build/types/field/Field.d.ts +0 -1
- package/build/types/field/Field.d.ts.map +1 -1
- package/build/types/flowNavigation/FlowNavigation.d.ts +0 -1
- package/build/types/flowNavigation/FlowNavigation.d.ts.map +1 -1
- package/build/types/flowNavigation/backButton/BackButton.d.ts +3 -3
- package/build/types/flowNavigation/backButton/index.d.ts +1 -1
- package/build/types/flowNavigation/backButton/index.d.ts.map +1 -1
- package/build/types/header/Header.d.ts +0 -1
- package/build/types/header/Header.d.ts.map +1 -1
- package/build/types/image/Image.d.ts +0 -1
- package/build/types/image/Image.d.ts.map +1 -1
- package/build/types/index.d.ts +4 -0
- package/build/types/index.d.ts.map +1 -1
- package/build/types/info/Info.d.ts +0 -1
- package/build/types/info/Info.d.ts.map +1 -1
- package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts +0 -1
- package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +1 -1
- package/build/types/inputs/Input.d.ts +0 -1
- package/build/types/inputs/Input.d.ts.map +1 -1
- package/build/types/inputs/InputGroup.d.ts +0 -1
- package/build/types/inputs/InputGroup.d.ts.map +1 -1
- package/build/types/inputs/SearchInput.d.ts +0 -1
- package/build/types/inputs/SearchInput.d.ts.map +1 -1
- package/build/types/inputs/SelectInput.d.ts +0 -1
- package/build/types/inputs/SelectInput.d.ts.map +1 -1
- package/build/types/inputs/TextArea.d.ts +0 -1
- package/build/types/inputs/TextArea.d.ts.map +1 -1
- package/build/types/inputs/_BottomSheet.d.ts +0 -1
- package/build/types/inputs/_BottomSheet.d.ts.map +1 -1
- package/build/types/inputs/_ButtonInput.d.ts +0 -1
- package/build/types/inputs/_ButtonInput.d.ts.map +1 -1
- package/build/types/inputs/_Popover.d.ts +0 -1
- package/build/types/inputs/_Popover.d.ts.map +1 -1
- package/build/types/inputs/contexts.d.ts +0 -1
- package/build/types/inputs/contexts.d.ts.map +1 -1
- package/build/types/label/Label.d.ts +0 -1
- package/build/types/label/Label.d.ts.map +1 -1
- package/build/types/loader/Loader.d.ts +0 -1
- package/build/types/loader/Loader.d.ts.map +1 -1
- package/build/types/logo/Logo.d.ts +15 -23
- package/build/types/logo/Logo.d.ts.map +1 -1
- package/build/types/logo/index.d.ts +1 -2
- package/build/types/logo/index.d.ts.map +1 -1
- package/build/types/markdown/Markdown.d.ts +0 -1
- package/build/types/markdown/Markdown.d.ts.map +1 -1
- package/build/types/money/Money.d.ts +0 -1
- package/build/types/money/Money.d.ts.map +1 -1
- package/build/types/moneyInput/MoneyInput.d.ts +0 -1
- package/build/types/moneyInput/MoneyInput.d.ts.map +1 -1
- package/build/types/navigationOption/NavigationOption.d.ts +0 -1
- package/build/types/navigationOption/NavigationOption.d.ts.map +1 -1
- package/build/types/phoneNumberInput/PhoneNumberInput.d.ts +0 -1
- package/build/types/phoneNumberInput/PhoneNumberInput.d.ts.map +1 -1
- package/build/types/popover/Popover.d.ts +0 -1
- package/build/types/popover/Popover.d.ts.map +1 -1
- package/build/types/progress/Progress.d.ts +0 -1
- package/build/types/progress/Progress.d.ts.map +1 -1
- package/build/types/progressBar/ProgressBar.d.ts +0 -1
- package/build/types/progressBar/ProgressBar.d.ts.map +1 -1
- package/build/types/provider/Provider.d.ts +0 -1
- package/build/types/provider/Provider.d.ts.map +1 -1
- package/build/types/radio/Radio.d.ts +0 -1
- package/build/types/radio/Radio.d.ts.map +1 -1
- package/build/types/radioGroup/RadioGroup.d.ts +0 -1
- package/build/types/radioGroup/RadioGroup.d.ts.map +1 -1
- package/build/types/radioOption/RadioOption.d.ts +0 -1
- package/build/types/radioOption/RadioOption.d.ts.map +1 -1
- package/build/types/segmentedControl/SegmentedControl.d.ts +0 -1
- package/build/types/segmentedControl/SegmentedControl.d.ts.map +1 -1
- package/build/types/select/index.d.ts +1 -1
- package/build/types/select/index.d.ts.map +1 -1
- package/build/types/select/option/index.d.ts +1 -1
- package/build/types/select/option/index.d.ts.map +1 -1
- package/build/types/select/searchBox/SearchBox.d.ts +3 -3
- package/build/types/select/searchBox/SearchBox.d.ts.map +1 -1
- package/build/types/slidingPanel/SlidingPanel.d.ts +1 -1
- package/build/types/slidingPanel/SlidingPanel.d.ts.map +1 -1
- package/build/types/snackbar/Snackbar.d.ts +2 -1
- package/build/types/snackbar/Snackbar.d.ts.map +1 -1
- package/build/types/snackbar/SnackbarContext.d.ts +0 -1
- package/build/types/snackbar/SnackbarContext.d.ts.map +1 -1
- package/build/types/snackbar/SnackbarProvider.d.ts +0 -1
- package/build/types/snackbar/SnackbarProvider.d.ts.map +1 -1
- package/build/types/statusIcon/StatusIcon.d.ts +0 -1
- package/build/types/statusIcon/StatusIcon.d.ts.map +1 -1
- package/build/types/sticky/Sticky.d.ts +32 -4
- package/build/types/sticky/Sticky.d.ts.map +1 -1
- package/build/types/switchOption/SwitchOption.d.ts +0 -1
- package/build/types/switchOption/SwitchOption.d.ts.map +1 -1
- package/build/types/tabs/TabList.d.ts +1 -1
- package/build/types/tabs/TabPanel.d.ts +4 -4
- package/build/types/tabs/Tabs.d.ts.map +1 -1
- package/build/types/test-utils/story-config.d.ts +8 -0
- package/build/types/test-utils/story-config.d.ts.map +1 -1
- package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts +0 -1
- package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +1 -1
- package/build/types/tile/Tile.d.ts +16 -37
- package/build/types/tile/Tile.d.ts.map +1 -1
- package/build/types/tile/index.d.ts +1 -1
- package/build/types/tile/index.d.ts.map +1 -1
- package/build/types/typeahead/Typeahead.d.ts.map +1 -1
- package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts +0 -1
- package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +1 -1
- package/build/types/typeahead/util/highlight.d.ts +0 -1
- package/build/types/typeahead/util/highlight.d.ts.map +1 -1
- package/build/types/upload/Upload.d.ts.map +1 -1
- package/build/types/upload/Upload.messages.d.ts +20 -20
- package/build/types/upload/steps/completeStep/completeStep.d.ts +10 -10
- package/build/types/upload/steps/mediaUploadStep/mediaUploadStep.d.ts +8 -8
- package/build/types/upload/steps/processingStep/processingStep.d.ts +8 -8
- package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts +9 -9
- package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +1 -1
- package/build/types/uploadInput/UploadInput.d.ts +0 -1
- package/build/types/uploadInput/UploadInput.d.ts.map +1 -1
- package/build/types/uploadInput/types.d.ts +9 -1
- package/build/types/uploadInput/types.d.ts.map +1 -1
- package/build/types/uploadInput/uploadButton/UploadButton.d.ts +1 -6
- package/build/types/uploadInput/uploadButton/UploadButton.d.ts.map +1 -1
- package/build/types/uploadInput/uploadItem/UploadItem.d.ts +0 -1
- package/build/types/uploadInput/uploadItem/UploadItem.d.ts.map +1 -1
- package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -1
- package/build/types/withNextPortal/withNextPortal.d.ts +0 -1
- package/build/types/withNextPortal/withNextPortal.d.ts.map +1 -1
- package/package.json +1 -2
- package/src/alert/inlineMarkdown/InlineMarkdown.tsx +13 -0
- package/src/alert/inlineMarkdown/index.ts +2 -0
- package/src/card/{Card.story.js → Card.story.tsx} +6 -15
- package/src/card/{Card.js → Card.tsx} +23 -34
- package/src/card/index.ts +2 -0
- package/src/checkbox/{Checkbox.spec.js → Checkbox.spec.tsx} +5 -5
- package/src/checkbox/{Checkbox.js → Checkbox.tsx} +19 -41
- package/src/checkbox/index.ts +2 -0
- package/src/decision/Decision.tsx +1 -1
- package/src/definitionList/{DefinitionList.story.js → DefinitionList.story.tsx} +22 -2
- package/src/definitionList/DefinitionList.tsx +95 -0
- package/src/definitionList/index.ts +2 -0
- package/src/drawer/{Drawer.rtl.spec.js → Drawer.rtl.spec.tsx} +4 -2
- package/src/drawer/{Drawer.story.js → Drawer.story.tsx} +20 -28
- package/src/drawer/{Drawer.js → Drawer.tsx} +26 -31
- package/src/drawer/index.ts +2 -0
- package/src/index.ts +4 -0
- package/src/logo/Logo.story.tsx +3 -6
- package/src/logo/{Logo.js → Logo.tsx} +25 -35
- package/src/logo/index.ts +1 -0
- package/src/main.css +127 -108
- package/src/section/Section.story.tsx +0 -2
- package/src/slidingPanel/SlidingPanel.spec.js +2 -1
- package/src/slidingPanel/SlidingPanel.tsx +3 -0
- package/src/snackbar/Snackbar.story.tsx +20 -100
- package/src/snackbar/Snackbar.tests.story.tsx +281 -0
- package/src/snackbar/Snackbar.tsx +8 -12
- package/src/sticky/Sticky.spec.tsx +71 -0
- package/src/sticky/Sticky.story.tsx +72 -15
- package/src/sticky/Sticky.tsx +49 -5
- package/src/test-utils/Parameters.d.ts +8 -0
- package/src/test-utils/story-config.ts +5 -0
- package/src/tile/{Tile.spec.js → Tile.spec.tsx} +1 -1
- package/src/tile/{Tile.js → Tile.tsx} +24 -35
- package/src/uploadInput/UploadInput.css +25 -27
- package/src/uploadInput/UploadInput.less +24 -23
- package/src/uploadInput/UploadInput.story.tsx +60 -10
- package/src/uploadInput/UploadInput.tsx +1 -4
- package/src/uploadInput/types.ts +11 -1
- package/src/uploadInput/uploadButton/UploadButton.css +24 -38
- package/src/uploadInput/uploadButton/UploadButton.less +27 -40
- package/src/uploadInput/uploadButton/UploadButton.spec.tsx +0 -1
- package/src/uploadInput/uploadButton/UploadButton.tsx +12 -37
- package/src/uploadInput/uploadItem/UploadItem.css +81 -46
- package/src/uploadInput/uploadItem/UploadItem.less +75 -40
- package/src/uploadInput/uploadItem/UploadItem.tsx +30 -25
- package/src/uploadInput/uploadItem/UploadItemBody.tsx +1 -1
- package/build/types/logo/logoTypes.d.ts +0 -6
- package/build/types/logo/logoTypes.d.ts.map +0 -1
- package/src/alert/inlineMarkdown/InlineMarkdown.js +0 -21
- package/src/alert/inlineMarkdown/index.js +0 -1
- package/src/card/index.js +0 -1
- package/src/checkbox/index.js +0 -3
- package/src/definitionList/DefinitionList.js +0 -100
- package/src/definitionList/index.js +0 -1
- package/src/drawer/index.js +0 -1
- package/src/logo/index.js +0 -2
- package/src/logo/logoTypes.ts +0 -6
- package/src/snackbar/Snackbar.spec.js +0 -112
- package/src/sticky/Sticky.spec.js +0 -34
- /package/src/card/{Card.spec.js → Card.spec.tsx} +0 -0
- /package/src/checkbox/__snapshots__/{Checkbox.spec.js.snap → Checkbox.spec.tsx.snap} +0 -0
- /package/src/drawer/__snapshots__/{Drawer.rtl.spec.js.snap → Drawer.rtl.spec.tsx.snap} +0 -0
- /package/src/logo/{Logo.spec.js → Logo.spec.tsx} +0 -0
- /package/src/logo/__snapshots__/{Logo.spec.js.snap → Logo.spec.tsx.snap} +0 -0
- /package/src/tile/{Tile.story.js → Tile.story.tsx} +0 -0
- /package/src/tile/__snapshots__/{Tile.spec.js.snap → Tile.spec.tsx.snap} +0 -0
- /package/src/tile/{index.js → index.ts} +0 -0
package/build/main.css
CHANGED
|
@@ -5390,98 +5390,78 @@ html:not([dir="rtl"]) .np-navigation-option {
|
|
|
5390
5390
|
.tw-droppable-sm {
|
|
5391
5391
|
min-height: 245px;
|
|
5392
5392
|
}
|
|
5393
|
-
.np-upload-button {
|
|
5394
|
-
|
|
5395
|
-
border: 0 !important;
|
|
5396
|
-
padding: 12px 16px;
|
|
5397
|
-
padding: var(--size-12) var(--size-16);
|
|
5398
|
-
}
|
|
5399
|
-
.np-upload-button.np-upload-accent {
|
|
5400
|
-
color: #00a2dd;
|
|
5401
|
-
color: var(--color-interactive-accent);
|
|
5402
|
-
}
|
|
5403
|
-
label.np-upload-button:not(.disabled):hover,
|
|
5404
|
-
label.np-upload-button:not(.disabled):focus-visible,
|
|
5405
|
-
label.np-upload-button:not(.disabled):active {
|
|
5406
|
-
background-color: rgba(134,167,189,0.10196);
|
|
5407
|
-
background-color: var(--color-background-neutral);
|
|
5408
|
-
}
|
|
5409
|
-
.np-theme-personal label.np-upload-button:not(.disabled):hover,
|
|
5410
|
-
.np-theme-personal label.np-upload-button:not(.disabled):focus-visible,
|
|
5411
|
-
.np-theme-personal label.np-upload-button:not(.disabled):active {
|
|
5412
|
-
background-color: var(--color-background-screen-hover);
|
|
5413
|
-
}
|
|
5414
|
-
.np-theme-personal .disabled label.np-upload-button:not(.disabled):hover,
|
|
5415
|
-
.np-theme-personal .disabled label.np-upload-button:not(.disabled):focus-visible,
|
|
5416
|
-
.np-theme-personal .disabled label.np-upload-button:not(.disabled):active {
|
|
5417
|
-
background-color: transparent;
|
|
5418
|
-
}
|
|
5419
|
-
.np-upload-button .np-upload-icon {
|
|
5420
|
-
display: flex;
|
|
5421
|
-
align-items: center;
|
|
5422
|
-
}
|
|
5423
|
-
.np-upload-button-container.droppable {
|
|
5424
|
-
border: 0;
|
|
5393
|
+
.np-upload-button-container {
|
|
5394
|
+
border-style: solid;
|
|
5425
5395
|
}
|
|
5426
5396
|
.np-upload-button-container .droppable-card-content {
|
|
5427
5397
|
display: flex;
|
|
5428
5398
|
}
|
|
5429
|
-
.np-
|
|
5430
|
-
border-
|
|
5431
|
-
border-
|
|
5399
|
+
.np-upload-button-container.droppable-dropping {
|
|
5400
|
+
border-color: #c9cbce !important;
|
|
5401
|
+
border-color: var(--color-interactive-secondary) !important;
|
|
5432
5402
|
}
|
|
5433
5403
|
.np-upload-button-container input[type="file"] {
|
|
5434
5404
|
opacity: 0;
|
|
5435
5405
|
z-index: -1;
|
|
5436
5406
|
position: absolute;
|
|
5437
5407
|
}
|
|
5438
|
-
.np-upload-button-container
|
|
5439
|
-
|
|
5440
|
-
background-color: var(--color-background-neutral);
|
|
5408
|
+
.np-upload-button-container .np-upload-button {
|
|
5409
|
+
border: none;
|
|
5441
5410
|
}
|
|
5442
|
-
.np-upload-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
border-radius:
|
|
5411
|
+
.np-upload-button {
|
|
5412
|
+
width: 100%;
|
|
5413
|
+
padding: 16px;
|
|
5414
|
+
padding: var(--padding-small);
|
|
5415
|
+
border-radius: 0;
|
|
5447
5416
|
}
|
|
5448
|
-
.np-upload-
|
|
5449
|
-
|
|
5450
|
-
|
|
5417
|
+
label.np-upload-button:not(.disabled):hover,
|
|
5418
|
+
label.np-upload-button:not(.disabled):active {
|
|
5419
|
+
background-color: var(--color-background-screen-hover);
|
|
5420
|
+
}
|
|
5421
|
+
.disabled label.np-upload-button:not(.disabled):hover,
|
|
5422
|
+
.disabled label.np-upload-button:not(.disabled):active {
|
|
5423
|
+
background-color: transparent;
|
|
5424
|
+
}
|
|
5425
|
+
.np-upload-button .media {
|
|
5426
|
+
align-items: flex-start;
|
|
5451
5427
|
}
|
|
5452
5428
|
.np-upload-input.form-control {
|
|
5453
5429
|
height: auto;
|
|
5454
5430
|
padding: 0;
|
|
5455
5431
|
padding: initial;
|
|
5456
5432
|
}
|
|
5457
|
-
.np-
|
|
5458
|
-
|
|
5459
|
-
|
|
5433
|
+
.np-upload-input > div:first-child,
|
|
5434
|
+
.np-upload-input > div:first-child .np-upload-item--single-file,
|
|
5435
|
+
.np-upload-input > div:first-child .np-upload-item--link {
|
|
5436
|
+
border-top-left-radius: 10px;
|
|
5437
|
+
border-top-left-radius: var(--radius-small);
|
|
5438
|
+
border-top-right-radius: 10px;
|
|
5439
|
+
border-top-right-radius: var(--radius-small);
|
|
5440
|
+
}
|
|
5441
|
+
.np-upload-input > div:last-child {
|
|
5442
|
+
border-bottom-left-radius: 10px;
|
|
5443
|
+
border-bottom-left-radius: var(--radius-small);
|
|
5444
|
+
border-bottom-right-radius: 10px;
|
|
5445
|
+
border-bottom-right-radius: var(--radius-small);
|
|
5460
5446
|
}
|
|
5461
5447
|
.np-theme-personal .np-upload-input.disabled .btn {
|
|
5462
5448
|
cursor: inherit;
|
|
5463
5449
|
}
|
|
5464
|
-
.np-theme-personal .np-upload-input .np-upload-button {
|
|
5465
|
-
border-radius: calc(10px - 1px);
|
|
5466
|
-
border-radius: calc(var(--radius-small) - 1px);
|
|
5467
|
-
padding: 16px;
|
|
5468
|
-
padding: var(--padding-small);
|
|
5469
|
-
}
|
|
5470
|
-
.np-theme-personal .np-upload-input .np-upload-input--square-top {
|
|
5471
|
-
border-top-right-radius: 0px;
|
|
5472
|
-
border-top-left-radius: 0px;
|
|
5473
|
-
}
|
|
5474
|
-
.np-theme-personal .np-upload-input .np-upload-item__remove-button {
|
|
5475
|
-
border-radius: 0;
|
|
5476
|
-
border-radius: initial;
|
|
5477
|
-
}
|
|
5478
5450
|
.np-theme-personal .np-upload-input .np-upload-icon {
|
|
5479
5451
|
color: var(--color-interactive-primary);
|
|
5480
5452
|
}
|
|
5481
5453
|
.np-theme-personal .np-upload-input .media-body {
|
|
5454
|
+
padding-right: 32px;
|
|
5455
|
+
padding-right: var(--size-32);
|
|
5482
5456
|
color: var(--color-content-link);
|
|
5483
5457
|
white-space: break-spaces;
|
|
5484
5458
|
}
|
|
5459
|
+
@media (max-width: 320px) {
|
|
5460
|
+
.np-theme-personal .np-upload-input .media-body {
|
|
5461
|
+
padding-right: 64px;
|
|
5462
|
+
padding-right: var(--size-64);
|
|
5463
|
+
}
|
|
5464
|
+
}
|
|
5485
5465
|
.np-theme-personal .np-upload-input .media-body .np-text-body-large-bold {
|
|
5486
5466
|
-webkit-text-decoration: underline;
|
|
5487
5467
|
text-decoration: underline;
|
|
@@ -5496,6 +5476,10 @@ label.np-upload-button:not(.disabled):active {
|
|
|
5496
5476
|
.np-theme-personal .np-upload-input .media-body .text-negative {
|
|
5497
5477
|
color: var(--color-sentiment-negative) !important;
|
|
5498
5478
|
}
|
|
5479
|
+
.np-theme-personal .np-upload-input-errors {
|
|
5480
|
+
padding-left: 0;
|
|
5481
|
+
list-style-position: inside;
|
|
5482
|
+
}
|
|
5499
5483
|
.np-theme-personal .np-upload-input .status-circle {
|
|
5500
5484
|
width: 24px;
|
|
5501
5485
|
width: var(--size-x-small);
|
|
@@ -5510,79 +5494,114 @@ label.np-upload-button:not(.disabled):active {
|
|
|
5510
5494
|
height: var(--size-large);
|
|
5511
5495
|
}
|
|
5512
5496
|
}
|
|
5513
|
-
.np-upload-item
|
|
5497
|
+
.np-upload-item {
|
|
5498
|
+
border: 1px solid #c9cbce;
|
|
5499
|
+
border: 1px solid var(--color-interactive-secondary);
|
|
5500
|
+
}
|
|
5501
|
+
.np-upload-item:first-child ~ div:before {
|
|
5514
5502
|
display: block;
|
|
5515
5503
|
position: relative;
|
|
5516
|
-
|
|
5517
|
-
|
|
5504
|
+
height: 1px;
|
|
5505
|
+
background-color: rgba(0,0,0,0.10196);
|
|
5506
|
+
background-color: var(--color-border-neutral);
|
|
5518
5507
|
content: " ";
|
|
5519
5508
|
margin: 0 16px;
|
|
5520
5509
|
margin: 0 var(--size-16);
|
|
5521
5510
|
}
|
|
5522
|
-
.np-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
border-
|
|
5511
|
+
.np-upload-item:first-child ~ div {
|
|
5512
|
+
border-top: 0;
|
|
5513
|
+
}
|
|
5514
|
+
.np-upload-item:not(:last-child) {
|
|
5515
|
+
border-bottom: 0;
|
|
5516
|
+
}
|
|
5517
|
+
.np-upload-item.np-upload-item__link:hover:before,
|
|
5518
|
+
.np-upload-button-container:hover:before {
|
|
5519
|
+
margin: 0 !important;
|
|
5520
|
+
}
|
|
5521
|
+
.np-upload-item.np-upload-item__link:hover + div:before,
|
|
5522
|
+
.np-upload-button-container:hover + div:before {
|
|
5523
|
+
margin: 0 !important;
|
|
5524
|
+
}
|
|
5525
|
+
.np-upload-button-container:has(:focus-visible) {
|
|
5526
|
+
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
5527
|
+
outline-offset: var(--ring-outline-offset);
|
|
5528
|
+
border-color: transparent;
|
|
5529
|
+
outline-offset: -3px;
|
|
5527
5530
|
}
|
|
5528
|
-
.np-
|
|
5529
|
-
.np-
|
|
5530
|
-
.np-
|
|
5531
|
-
|
|
5532
|
-
border-top-right-radius: calc(var(--radius-small) - 1px);
|
|
5531
|
+
.np-upload-item--single-file:focus-visible,
|
|
5532
|
+
.np-upload-item--link:focus-visible,
|
|
5533
|
+
.np-upload-button-container:has(:focus-visible) {
|
|
5534
|
+
outline-width: 3px;
|
|
5533
5535
|
}
|
|
5534
5536
|
.np-upload-item__link a {
|
|
5535
5537
|
flex: 1;
|
|
5536
5538
|
-webkit-text-decoration: none;
|
|
5537
5539
|
text-decoration: none;
|
|
5538
|
-
|
|
5539
|
-
border-top-right-radius: 0;
|
|
5540
|
-
border-bottom-right-radius: 0;
|
|
5541
|
-
}
|
|
5542
|
-
.np-theme-personal .np-upload-item__link a {
|
|
5543
|
-
border-radius: 0;
|
|
5544
|
-
border-radius: initial;
|
|
5540
|
+
border-radius: inherit;
|
|
5545
5541
|
}
|
|
5546
|
-
.np-upload-item__link a
|
|
5547
|
-
|
|
5548
|
-
border-bottom-left-radius: calc(var(--radius-small) - 1px);
|
|
5542
|
+
.np-upload-item__link a:focus-visible {
|
|
5543
|
+
outline-offset: -2px;
|
|
5549
5544
|
}
|
|
5550
5545
|
.np-upload-item__link a:hover,
|
|
5551
|
-
.np-upload-item__link a:focus-visible,
|
|
5552
5546
|
.np-upload-item__link a:active {
|
|
5553
5547
|
-webkit-text-decoration: none;
|
|
5554
5548
|
text-decoration: none;
|
|
5555
5549
|
background-color: rgba(134,167,189,0.10196);
|
|
5556
5550
|
background-color: var(--color-background-neutral);
|
|
5557
5551
|
}
|
|
5558
|
-
.np-upload-item__link a:hover ~ .np-upload-item__remove-button,
|
|
5559
|
-
.np-upload-item__link a:focus-visible ~ .np-upload-item__remove-button,
|
|
5560
|
-
.np-upload-item__link a:active ~ .np-upload-item__remove-button {
|
|
5561
|
-
background-color: rgba(134,167,189,0.10196);
|
|
5562
|
-
background-color: var(--color-background-neutral);
|
|
5563
|
-
}
|
|
5564
|
-
.np-upload-item__link .np-upload-item__remove-button.np-upload-item--single-file {
|
|
5565
|
-
border-bottom-right-radius: calc(10px - 1px);
|
|
5566
|
-
border-bottom-right-radius: calc(var(--radius-small) - 1px);
|
|
5567
|
-
}
|
|
5568
5552
|
.np-upload-item__body {
|
|
5569
5553
|
display: flex;
|
|
5570
5554
|
align-items: center;
|
|
5571
5555
|
justify-content: space-between;
|
|
5556
|
+
position: relative;
|
|
5557
|
+
border-radius: inherit;
|
|
5572
5558
|
}
|
|
5573
5559
|
.np-upload-item__remove-button {
|
|
5574
|
-
|
|
5575
|
-
align-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5560
|
+
display: flex;
|
|
5561
|
+
align-items: center;
|
|
5562
|
+
justify-content: center;
|
|
5563
|
+
align-self: flex-start;
|
|
5564
|
+
position: absolute;
|
|
5565
|
+
height: 24px;
|
|
5566
|
+
height: var(--size-24);
|
|
5567
|
+
min-height: 0;
|
|
5568
|
+
width: 24px;
|
|
5569
|
+
width: var(--size-24);
|
|
5570
|
+
padding: 0;
|
|
5571
|
+
border-radius: 50% !important;
|
|
5572
|
+
outline-offset: 0 !important;
|
|
5573
|
+
background-color: rgba(134,167,189,0.10196);
|
|
5574
|
+
background-color: var(--color-background-neutral);
|
|
5575
|
+
color: var(--color-interactive-primary);
|
|
5576
|
+
right: 16px;
|
|
5577
|
+
right: var(--size-16);
|
|
5578
|
+
top: 16px;
|
|
5579
|
+
top: var(--size-16);
|
|
5580
|
+
transition: color, background-color 0.15s ease-in-out;
|
|
5581
|
+
}
|
|
5582
|
+
@media (max-width: 320px) {
|
|
5583
|
+
.np-upload-item__remove-button {
|
|
5584
|
+
top: 16px;
|
|
5585
|
+
top: var(--size-16);
|
|
5586
|
+
right: 16px;
|
|
5587
|
+
right: var(--size-16);
|
|
5588
|
+
height: 48px;
|
|
5589
|
+
height: var(--size-48);
|
|
5590
|
+
width: 48px;
|
|
5591
|
+
width: var(--size-48);
|
|
5592
|
+
}
|
|
5593
|
+
}
|
|
5594
|
+
.np-upload-item__remove-button:hover {
|
|
5595
|
+
background-color: var(--color-sentiment-negative);
|
|
5596
|
+
color: var(--color-contrast-overlay) !important;
|
|
5581
5597
|
}
|
|
5582
|
-
.np-upload-item__remove-button:
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5598
|
+
.np-upload-item__remove-button:before {
|
|
5599
|
+
display: block;
|
|
5600
|
+
width: 44px;
|
|
5601
|
+
height: 44px;
|
|
5602
|
+
content: '';
|
|
5603
|
+
border-radius: 50%;
|
|
5604
|
+
position: absolute;
|
|
5586
5605
|
}
|
|
5587
5606
|
.np-progress {
|
|
5588
5607
|
border-radius: 10px;
|
package/build/styles/main.css
CHANGED
|
@@ -5390,98 +5390,78 @@ html:not([dir="rtl"]) .np-navigation-option {
|
|
|
5390
5390
|
.tw-droppable-sm {
|
|
5391
5391
|
min-height: 245px;
|
|
5392
5392
|
}
|
|
5393
|
-
.np-upload-button {
|
|
5394
|
-
|
|
5395
|
-
border: 0 !important;
|
|
5396
|
-
padding: 12px 16px;
|
|
5397
|
-
padding: var(--size-12) var(--size-16);
|
|
5398
|
-
}
|
|
5399
|
-
.np-upload-button.np-upload-accent {
|
|
5400
|
-
color: #00a2dd;
|
|
5401
|
-
color: var(--color-interactive-accent);
|
|
5402
|
-
}
|
|
5403
|
-
label.np-upload-button:not(.disabled):hover,
|
|
5404
|
-
label.np-upload-button:not(.disabled):focus-visible,
|
|
5405
|
-
label.np-upload-button:not(.disabled):active {
|
|
5406
|
-
background-color: rgba(134,167,189,0.10196);
|
|
5407
|
-
background-color: var(--color-background-neutral);
|
|
5408
|
-
}
|
|
5409
|
-
.np-theme-personal label.np-upload-button:not(.disabled):hover,
|
|
5410
|
-
.np-theme-personal label.np-upload-button:not(.disabled):focus-visible,
|
|
5411
|
-
.np-theme-personal label.np-upload-button:not(.disabled):active {
|
|
5412
|
-
background-color: var(--color-background-screen-hover);
|
|
5413
|
-
}
|
|
5414
|
-
.np-theme-personal .disabled label.np-upload-button:not(.disabled):hover,
|
|
5415
|
-
.np-theme-personal .disabled label.np-upload-button:not(.disabled):focus-visible,
|
|
5416
|
-
.np-theme-personal .disabled label.np-upload-button:not(.disabled):active {
|
|
5417
|
-
background-color: transparent;
|
|
5418
|
-
}
|
|
5419
|
-
.np-upload-button .np-upload-icon {
|
|
5420
|
-
display: flex;
|
|
5421
|
-
align-items: center;
|
|
5422
|
-
}
|
|
5423
|
-
.np-upload-button-container.droppable {
|
|
5424
|
-
border: 0;
|
|
5393
|
+
.np-upload-button-container {
|
|
5394
|
+
border-style: solid;
|
|
5425
5395
|
}
|
|
5426
5396
|
.np-upload-button-container .droppable-card-content {
|
|
5427
5397
|
display: flex;
|
|
5428
5398
|
}
|
|
5429
|
-
.np-
|
|
5430
|
-
border-
|
|
5431
|
-
border-
|
|
5399
|
+
.np-upload-button-container.droppable-dropping {
|
|
5400
|
+
border-color: #c9cbce !important;
|
|
5401
|
+
border-color: var(--color-interactive-secondary) !important;
|
|
5432
5402
|
}
|
|
5433
5403
|
.np-upload-button-container input[type="file"] {
|
|
5434
5404
|
opacity: 0;
|
|
5435
5405
|
z-index: -1;
|
|
5436
5406
|
position: absolute;
|
|
5437
5407
|
}
|
|
5438
|
-
.np-upload-button-container
|
|
5439
|
-
|
|
5440
|
-
background-color: var(--color-background-neutral);
|
|
5408
|
+
.np-upload-button-container .np-upload-button {
|
|
5409
|
+
border: none;
|
|
5441
5410
|
}
|
|
5442
|
-
.np-upload-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
border-radius:
|
|
5411
|
+
.np-upload-button {
|
|
5412
|
+
width: 100%;
|
|
5413
|
+
padding: 16px;
|
|
5414
|
+
padding: var(--padding-small);
|
|
5415
|
+
border-radius: 0;
|
|
5447
5416
|
}
|
|
5448
|
-
.np-upload-
|
|
5449
|
-
|
|
5450
|
-
|
|
5417
|
+
label.np-upload-button:not(.disabled):hover,
|
|
5418
|
+
label.np-upload-button:not(.disabled):active {
|
|
5419
|
+
background-color: var(--color-background-screen-hover);
|
|
5420
|
+
}
|
|
5421
|
+
.disabled label.np-upload-button:not(.disabled):hover,
|
|
5422
|
+
.disabled label.np-upload-button:not(.disabled):active {
|
|
5423
|
+
background-color: transparent;
|
|
5424
|
+
}
|
|
5425
|
+
.np-upload-button .media {
|
|
5426
|
+
align-items: flex-start;
|
|
5451
5427
|
}
|
|
5452
5428
|
.np-upload-input.form-control {
|
|
5453
5429
|
height: auto;
|
|
5454
5430
|
padding: 0;
|
|
5455
5431
|
padding: initial;
|
|
5456
5432
|
}
|
|
5457
|
-
.np-
|
|
5458
|
-
|
|
5459
|
-
|
|
5433
|
+
.np-upload-input > div:first-child,
|
|
5434
|
+
.np-upload-input > div:first-child .np-upload-item--single-file,
|
|
5435
|
+
.np-upload-input > div:first-child .np-upload-item--link {
|
|
5436
|
+
border-top-left-radius: 10px;
|
|
5437
|
+
border-top-left-radius: var(--radius-small);
|
|
5438
|
+
border-top-right-radius: 10px;
|
|
5439
|
+
border-top-right-radius: var(--radius-small);
|
|
5440
|
+
}
|
|
5441
|
+
.np-upload-input > div:last-child {
|
|
5442
|
+
border-bottom-left-radius: 10px;
|
|
5443
|
+
border-bottom-left-radius: var(--radius-small);
|
|
5444
|
+
border-bottom-right-radius: 10px;
|
|
5445
|
+
border-bottom-right-radius: var(--radius-small);
|
|
5460
5446
|
}
|
|
5461
5447
|
.np-theme-personal .np-upload-input.disabled .btn {
|
|
5462
5448
|
cursor: inherit;
|
|
5463
5449
|
}
|
|
5464
|
-
.np-theme-personal .np-upload-input .np-upload-button {
|
|
5465
|
-
border-radius: calc(10px - 1px);
|
|
5466
|
-
border-radius: calc(var(--radius-small) - 1px);
|
|
5467
|
-
padding: 16px;
|
|
5468
|
-
padding: var(--padding-small);
|
|
5469
|
-
}
|
|
5470
|
-
.np-theme-personal .np-upload-input .np-upload-input--square-top {
|
|
5471
|
-
border-top-right-radius: 0px;
|
|
5472
|
-
border-top-left-radius: 0px;
|
|
5473
|
-
}
|
|
5474
|
-
.np-theme-personal .np-upload-input .np-upload-item__remove-button {
|
|
5475
|
-
border-radius: 0;
|
|
5476
|
-
border-radius: initial;
|
|
5477
|
-
}
|
|
5478
5450
|
.np-theme-personal .np-upload-input .np-upload-icon {
|
|
5479
5451
|
color: var(--color-interactive-primary);
|
|
5480
5452
|
}
|
|
5481
5453
|
.np-theme-personal .np-upload-input .media-body {
|
|
5454
|
+
padding-right: 32px;
|
|
5455
|
+
padding-right: var(--size-32);
|
|
5482
5456
|
color: var(--color-content-link);
|
|
5483
5457
|
white-space: break-spaces;
|
|
5484
5458
|
}
|
|
5459
|
+
@media (max-width: 320px) {
|
|
5460
|
+
.np-theme-personal .np-upload-input .media-body {
|
|
5461
|
+
padding-right: 64px;
|
|
5462
|
+
padding-right: var(--size-64);
|
|
5463
|
+
}
|
|
5464
|
+
}
|
|
5485
5465
|
.np-theme-personal .np-upload-input .media-body .np-text-body-large-bold {
|
|
5486
5466
|
-webkit-text-decoration: underline;
|
|
5487
5467
|
text-decoration: underline;
|
|
@@ -5496,6 +5476,10 @@ label.np-upload-button:not(.disabled):active {
|
|
|
5496
5476
|
.np-theme-personal .np-upload-input .media-body .text-negative {
|
|
5497
5477
|
color: var(--color-sentiment-negative) !important;
|
|
5498
5478
|
}
|
|
5479
|
+
.np-theme-personal .np-upload-input-errors {
|
|
5480
|
+
padding-left: 0;
|
|
5481
|
+
list-style-position: inside;
|
|
5482
|
+
}
|
|
5499
5483
|
.np-theme-personal .np-upload-input .status-circle {
|
|
5500
5484
|
width: 24px;
|
|
5501
5485
|
width: var(--size-x-small);
|
|
@@ -5510,79 +5494,114 @@ label.np-upload-button:not(.disabled):active {
|
|
|
5510
5494
|
height: var(--size-large);
|
|
5511
5495
|
}
|
|
5512
5496
|
}
|
|
5513
|
-
.np-upload-item
|
|
5497
|
+
.np-upload-item {
|
|
5498
|
+
border: 1px solid #c9cbce;
|
|
5499
|
+
border: 1px solid var(--color-interactive-secondary);
|
|
5500
|
+
}
|
|
5501
|
+
.np-upload-item:first-child ~ div:before {
|
|
5514
5502
|
display: block;
|
|
5515
5503
|
position: relative;
|
|
5516
|
-
|
|
5517
|
-
|
|
5504
|
+
height: 1px;
|
|
5505
|
+
background-color: rgba(0,0,0,0.10196);
|
|
5506
|
+
background-color: var(--color-border-neutral);
|
|
5518
5507
|
content: " ";
|
|
5519
5508
|
margin: 0 16px;
|
|
5520
5509
|
margin: 0 var(--size-16);
|
|
5521
5510
|
}
|
|
5522
|
-
.np-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
border-
|
|
5511
|
+
.np-upload-item:first-child ~ div {
|
|
5512
|
+
border-top: 0;
|
|
5513
|
+
}
|
|
5514
|
+
.np-upload-item:not(:last-child) {
|
|
5515
|
+
border-bottom: 0;
|
|
5516
|
+
}
|
|
5517
|
+
.np-upload-item.np-upload-item__link:hover:before,
|
|
5518
|
+
.np-upload-button-container:hover:before {
|
|
5519
|
+
margin: 0 !important;
|
|
5520
|
+
}
|
|
5521
|
+
.np-upload-item.np-upload-item__link:hover + div:before,
|
|
5522
|
+
.np-upload-button-container:hover + div:before {
|
|
5523
|
+
margin: 0 !important;
|
|
5524
|
+
}
|
|
5525
|
+
.np-upload-button-container:has(:focus-visible) {
|
|
5526
|
+
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
5527
|
+
outline-offset: var(--ring-outline-offset);
|
|
5528
|
+
border-color: transparent;
|
|
5529
|
+
outline-offset: -3px;
|
|
5527
5530
|
}
|
|
5528
|
-
.np-
|
|
5529
|
-
.np-
|
|
5530
|
-
.np-
|
|
5531
|
-
|
|
5532
|
-
border-top-right-radius: calc(var(--radius-small) - 1px);
|
|
5531
|
+
.np-upload-item--single-file:focus-visible,
|
|
5532
|
+
.np-upload-item--link:focus-visible,
|
|
5533
|
+
.np-upload-button-container:has(:focus-visible) {
|
|
5534
|
+
outline-width: 3px;
|
|
5533
5535
|
}
|
|
5534
5536
|
.np-upload-item__link a {
|
|
5535
5537
|
flex: 1;
|
|
5536
5538
|
-webkit-text-decoration: none;
|
|
5537
5539
|
text-decoration: none;
|
|
5538
|
-
|
|
5539
|
-
border-top-right-radius: 0;
|
|
5540
|
-
border-bottom-right-radius: 0;
|
|
5541
|
-
}
|
|
5542
|
-
.np-theme-personal .np-upload-item__link a {
|
|
5543
|
-
border-radius: 0;
|
|
5544
|
-
border-radius: initial;
|
|
5540
|
+
border-radius: inherit;
|
|
5545
5541
|
}
|
|
5546
|
-
.np-upload-item__link a
|
|
5547
|
-
|
|
5548
|
-
border-bottom-left-radius: calc(var(--radius-small) - 1px);
|
|
5542
|
+
.np-upload-item__link a:focus-visible {
|
|
5543
|
+
outline-offset: -2px;
|
|
5549
5544
|
}
|
|
5550
5545
|
.np-upload-item__link a:hover,
|
|
5551
|
-
.np-upload-item__link a:focus-visible,
|
|
5552
5546
|
.np-upload-item__link a:active {
|
|
5553
5547
|
-webkit-text-decoration: none;
|
|
5554
5548
|
text-decoration: none;
|
|
5555
5549
|
background-color: rgba(134,167,189,0.10196);
|
|
5556
5550
|
background-color: var(--color-background-neutral);
|
|
5557
5551
|
}
|
|
5558
|
-
.np-upload-item__link a:hover ~ .np-upload-item__remove-button,
|
|
5559
|
-
.np-upload-item__link a:focus-visible ~ .np-upload-item__remove-button,
|
|
5560
|
-
.np-upload-item__link a:active ~ .np-upload-item__remove-button {
|
|
5561
|
-
background-color: rgba(134,167,189,0.10196);
|
|
5562
|
-
background-color: var(--color-background-neutral);
|
|
5563
|
-
}
|
|
5564
|
-
.np-upload-item__link .np-upload-item__remove-button.np-upload-item--single-file {
|
|
5565
|
-
border-bottom-right-radius: calc(10px - 1px);
|
|
5566
|
-
border-bottom-right-radius: calc(var(--radius-small) - 1px);
|
|
5567
|
-
}
|
|
5568
5552
|
.np-upload-item__body {
|
|
5569
5553
|
display: flex;
|
|
5570
5554
|
align-items: center;
|
|
5571
5555
|
justify-content: space-between;
|
|
5556
|
+
position: relative;
|
|
5557
|
+
border-radius: inherit;
|
|
5572
5558
|
}
|
|
5573
5559
|
.np-upload-item__remove-button {
|
|
5574
|
-
|
|
5575
|
-
align-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5560
|
+
display: flex;
|
|
5561
|
+
align-items: center;
|
|
5562
|
+
justify-content: center;
|
|
5563
|
+
align-self: flex-start;
|
|
5564
|
+
position: absolute;
|
|
5565
|
+
height: 24px;
|
|
5566
|
+
height: var(--size-24);
|
|
5567
|
+
min-height: 0;
|
|
5568
|
+
width: 24px;
|
|
5569
|
+
width: var(--size-24);
|
|
5570
|
+
padding: 0;
|
|
5571
|
+
border-radius: 50% !important;
|
|
5572
|
+
outline-offset: 0 !important;
|
|
5573
|
+
background-color: rgba(134,167,189,0.10196);
|
|
5574
|
+
background-color: var(--color-background-neutral);
|
|
5575
|
+
color: var(--color-interactive-primary);
|
|
5576
|
+
right: 16px;
|
|
5577
|
+
right: var(--size-16);
|
|
5578
|
+
top: 16px;
|
|
5579
|
+
top: var(--size-16);
|
|
5580
|
+
transition: color, background-color 0.15s ease-in-out;
|
|
5581
|
+
}
|
|
5582
|
+
@media (max-width: 320px) {
|
|
5583
|
+
.np-upload-item__remove-button {
|
|
5584
|
+
top: 16px;
|
|
5585
|
+
top: var(--size-16);
|
|
5586
|
+
right: 16px;
|
|
5587
|
+
right: var(--size-16);
|
|
5588
|
+
height: 48px;
|
|
5589
|
+
height: var(--size-48);
|
|
5590
|
+
width: 48px;
|
|
5591
|
+
width: var(--size-48);
|
|
5592
|
+
}
|
|
5593
|
+
}
|
|
5594
|
+
.np-upload-item__remove-button:hover {
|
|
5595
|
+
background-color: var(--color-sentiment-negative);
|
|
5596
|
+
color: var(--color-contrast-overlay) !important;
|
|
5581
5597
|
}
|
|
5582
|
-
.np-upload-item__remove-button:
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5598
|
+
.np-upload-item__remove-button:before {
|
|
5599
|
+
display: block;
|
|
5600
|
+
width: 44px;
|
|
5601
|
+
height: 44px;
|
|
5602
|
+
content: '';
|
|
5603
|
+
border-radius: 50%;
|
|
5604
|
+
position: absolute;
|
|
5586
5605
|
}
|
|
5587
5606
|
.np-progress {
|
|
5588
5607
|
border-radius: 10px;
|