@transferwise/components 0.0.0-experimental-c1f5b0b → 0.0.0-experimental-fe160ab
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/Calendar/Calendar.constants.js +10 -0
- package/build/Calendar/Calendar.constants.js.map +1 -0
- package/build/Calendar/Calendar.constants.mjs +8 -0
- package/build/Calendar/Calendar.constants.mjs.map +1 -0
- package/build/Calendar/Calendar.js +116 -16
- package/build/Calendar/Calendar.js.map +1 -1
- package/build/Calendar/Calendar.messages.js +12 -0
- package/build/Calendar/Calendar.messages.js.map +1 -1
- package/build/Calendar/Calendar.messages.mjs +12 -0
- package/build/Calendar/Calendar.messages.mjs.map +1 -1
- package/build/Calendar/Calendar.mjs +117 -17
- package/build/Calendar/Calendar.mjs.map +1 -1
- package/build/Calendar/DateHeader/DateHeader.js +5 -1
- package/build/Calendar/DateHeader/DateHeader.js.map +1 -1
- package/build/Calendar/DateHeader/DateHeader.mjs +5 -1
- package/build/Calendar/DateHeader/DateHeader.mjs.map +1 -1
- package/build/Calendar/DayCalendar/DayCalendar.js +20 -2
- package/build/Calendar/DayCalendar/DayCalendar.js.map +1 -1
- package/build/Calendar/DayCalendar/DayCalendar.mjs +20 -2
- package/build/Calendar/DayCalendar/DayCalendar.mjs.map +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.js +60 -19
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.js.map +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs +60 -19
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs.map +1 -1
- package/build/Calendar/MonthCalendar/MonthCalendar.js +6 -0
- package/build/Calendar/MonthCalendar/MonthCalendar.js.map +1 -1
- package/build/Calendar/MonthCalendar/MonthCalendar.mjs +6 -0
- package/build/Calendar/MonthCalendar/MonthCalendar.mjs.map +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js +8 -3
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js.map +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs +8 -3
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs.map +1 -1
- package/build/Calendar/TableLink/TableLink.js +91 -0
- package/build/Calendar/TableLink/TableLink.js.map +1 -0
- package/build/Calendar/TableLink/TableLink.mjs +87 -0
- package/build/Calendar/TableLink/TableLink.mjs.map +1 -0
- package/build/Calendar/YearCalendar/Table/YearCalendarTable.js +8 -3
- package/build/Calendar/YearCalendar/Table/YearCalendarTable.js.map +1 -1
- package/build/Calendar/YearCalendar/Table/YearCalendarTable.mjs +8 -3
- package/build/Calendar/YearCalendar/Table/YearCalendarTable.mjs.map +1 -1
- package/build/Calendar/YearCalendar/YearCalendar.js +7 -0
- package/build/Calendar/YearCalendar/YearCalendar.js.map +1 -1
- package/build/Calendar/YearCalendar/YearCalendar.mjs +7 -0
- package/build/Calendar/YearCalendar/YearCalendar.mjs.map +1 -1
- package/build/Calendar/_helpers/hasDisabledDatesInMonth/hasDisabledDatesInMonth.js +33 -0
- package/build/Calendar/_helpers/hasDisabledDatesInMonth/hasDisabledDatesInMonth.js.map +1 -0
- package/build/Calendar/_helpers/hasDisabledDatesInMonth/hasDisabledDatesInMonth.mjs +31 -0
- package/build/Calendar/_helpers/hasDisabledDatesInMonth/hasDisabledDatesInMonth.mjs.map +1 -0
- package/build/Calendar/_helpers/isDateDisabled/isDateDisabled.js +40 -0
- package/build/Calendar/_helpers/isDateDisabled/isDateDisabled.js.map +1 -0
- package/build/Calendar/_helpers/isDateDisabled/isDateDisabled.mjs +38 -0
- package/build/Calendar/_helpers/isDateDisabled/isDateDisabled.mjs.map +1 -0
- package/build/DateLookup/DateLookup.js +20 -9
- package/build/DateLookup/DateLookup.js.map +1 -1
- package/build/DateLookup/DateLookup.mjs +20 -9
- package/build/DateLookup/DateLookup.mjs.map +1 -1
- package/build/i18n/en.json +4 -0
- package/build/i18n/en.json.js +4 -0
- package/build/i18n/en.json.js.map +1 -1
- package/build/i18n/en.json.mjs +4 -0
- package/build/i18n/en.json.mjs.map +1 -1
- package/build/index.js +2 -2
- package/build/index.mjs +1 -1
- package/build/main.css +8798 -4478
- package/build/styles/Accordion/Accordion.css +21 -23
- package/build/styles/AvatarLayout/AvatarLayout.css +11 -11
- package/build/styles/AvatarView/AvatarView.css +3 -3
- package/build/styles/AvatarView/Dot/Dot.css +3 -3
- package/build/styles/Button/Button.css +6 -6
- package/build/styles/Button/LegacyButton/LegacyButton.css +9 -3
- package/build/styles/Calendar/Calendar.css +119 -45
- package/build/styles/Calendar/TableLink/TableLink.css +115 -0
- package/build/styles/Carousel/Carousel.css +27 -28
- package/build/styles/CheckboxButton/CheckboxButton.css +15 -10
- package/build/styles/Chips/Chip/Chip.css +29 -26
- package/build/styles/Container/Container.css +5 -5
- package/build/styles/DateInput/DateInput.css +4 -4
- package/build/styles/DateLookup/DateLookup.css +1 -1
- package/build/styles/DateLookup/DateTrigger/DateTrigger.css +15 -9
- package/build/styles/DefinitionList/DefinitionList.css +83 -0
- package/build/styles/Dimmer/Dimmer.css +19 -9
- package/build/styles/Divider/Divider.css +7 -8
- package/build/styles/Drawer/Drawer.css +15 -16
- package/build/styles/DropFade/DropFade.css +2 -2
- package/build/styles/ExpressiveMoneyInput/AmountInput/AmountInput.css +4 -4
- package/build/styles/ExpressiveMoneyInput/Chevron/Chevron.css +5 -5
- package/build/styles/ExpressiveMoneyInput/ExpressiveMoneyInput.css +11 -11
- package/build/styles/Field/Field.css +12 -13
- package/build/styles/FlowNavigation/AnimatedLabel/AnimatedLabel.css +5 -5
- package/build/styles/FlowNavigation/FlowNavigation.css +46 -25
- package/build/styles/Header/Header.css +9 -11
- package/build/styles/Image/Image.css +7 -7
- package/build/styles/Info/Info.css +1 -1
- package/build/styles/Inputs/Input/Input.css +25 -24
- package/build/styles/Inputs/InputGroup/InputGroup.css +13 -13
- package/build/styles/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +10 -10
- package/build/styles/Inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +7 -7
- 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 +2 -4
- package/build/styles/Inputs/SelectInput/OptionContent/SelectInputOptionContent.css +4 -4
- package/build/styles/Inputs/SelectInput/Options/SelectInputOptions.css +12 -17
- package/build/styles/Inputs/SelectInput/Popover/SelectInputPopover.css +4 -4
- package/build/styles/Inputs/SelectInput/SelectInput.css +49 -56
- package/build/styles/Inputs/TextArea/TextArea.css +27 -26
- package/build/styles/InstructionsList/InstructionsList.css +5 -5
- package/build/styles/Link/Link.css +8 -2
- package/build/styles/ListItem/ListItem.css +35 -38
- package/build/styles/ListItem/ListItem.grid.css +7 -7
- package/build/styles/Loader/Loader.css +31 -31
- package/build/styles/Logo/Logo.css +2 -2
- package/build/styles/Modal/Modal.css +14 -15
- package/build/styles/MoneyInput/MoneyInput.css +20 -10
- package/build/styles/Nudge/Nudge.css +77 -49
- package/build/styles/PhoneNumberInput/PhoneNumberInput.css +9 -3
- package/build/styles/Popover/Popover.css +10 -13
- package/build/styles/Progress/Progress.css +3 -3
- package/build/styles/ProgressBar/ProgressBar.css +4 -4
- package/build/styles/PromoCard/PromoCard.css +42 -28
- package/build/styles/Prompt/ActionPrompt/ActionPrompt.css +9 -9
- package/build/styles/Prompt/CriticalBanner/CriticalBanner.css +23 -23
- package/build/styles/Prompt/InfoPrompt/InfoPrompt.css +15 -15
- package/build/styles/Prompt/InlinePrompt/InlinePrompt.css +6 -5
- package/build/styles/Prompt/PrimitivePrompt/PrimitivePrompt.css +8 -10
- package/build/styles/RadioGroup/RadioGroup.css +1 -1
- package/build/styles/Section/Section.css +6 -6
- package/build/styles/SegmentedControl/SegmentedControl.css +15 -18
- package/build/styles/SlidingPanel/SlidingPanel.css +40 -9
- package/build/styles/Snackbar/Snackbar.css +35 -21
- package/build/styles/Stepper/Stepper.css +15 -9
- package/build/styles/Sticky/Sticky.css +2 -2
- package/build/styles/Switch/Switch.css +7 -5
- package/build/styles/Table/Table.css +57 -60
- package/build/styles/Tabs/Tabs.css +14 -18
- package/build/styles/Tile/Tile.css +12 -12
- package/build/styles/Tooltip/Tooltip.css +2 -2
- package/build/styles/Typeahead/Typeahead.css +52 -40
- package/build/styles/Upload/Upload.css +10 -11
- package/build/styles/UploadInput/UploadButton/UploadButton.css +19 -20
- package/build/styles/UploadInput/UploadInput.css +4 -4
- package/build/styles/UploadInput/UploadItem/UploadItem.css +44 -45
- package/build/styles/_deprecated/ActionButton/ActionButton.css +6 -8
- package/build/styles/_deprecated/Alert/Alert.css +2 -2
- package/build/styles/_deprecated/Avatar/Avatar.css +65 -65
- package/build/styles/_deprecated/Badge/Badge.css +12 -8
- package/build/styles/_deprecated/Card/Card.css +18 -27
- package/build/styles/_deprecated/CriticalBanner/CriticalCommsBanner.css +7 -7
- package/build/styles/_deprecated/LegacyListItem/LegacyListItem.css +1 -1
- package/build/styles/_deprecated/NavigationOption/NavigationOption.css +19 -6
- package/build/styles/_deprecated/NavigationOptionsList/NavigationOptionsList.css +8 -3
- package/build/styles/_deprecated/OverlayHeader/OverlayHeader.css +6 -7
- package/build/styles/_deprecated/Select/Select.css +104 -57
- package/build/styles/_deprecated/Summary/Summary.css +30 -19
- package/build/styles/common/BaseCard/BaseCard.css +7 -3
- package/build/styles/common/BottomSheet/BottomSheet.css +18 -30
- 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/Option/Option.css +44 -42
- package/build/styles/common/Panel/Panel.css +7 -7
- package/build/styles/css/accordion.css +52 -24
- package/build/styles/css/alerts.css +124 -56
- package/build/styles/css/badge.css +30 -20
- package/build/styles/css/breadcrumbs.css +4 -6
- package/build/styles/css/button-groups.css +258 -114
- package/build/styles/css/buttons.css +94 -49
- package/build/styles/css/chevron.css +6 -0
- package/build/styles/css/circles.css +76 -38
- package/build/styles/css/close.css +4 -1
- package/build/styles/css/column-layout.css +59 -37
- package/build/styles/css/currency-flags.css +17 -4
- package/build/styles/css/decision.css +12 -14
- package/build/styles/css/dropdowns.css +209 -58
- package/build/styles/css/droppable.css +38 -43
- package/build/styles/css/flex.css +136 -40
- package/build/styles/css/footer.css +14 -15
- package/build/styles/css/grid.css +1434 -381
- package/build/styles/css/input-groups.css +546 -252
- package/build/styles/css/link-callout.css +8 -2
- package/build/styles/css/list-group.css +92 -57
- package/build/styles/css/loaders.css +11 -11
- package/build/styles/css/media.css +34 -10
- package/build/styles/css/modals.css +59 -49
- package/build/styles/css/navbar.css +811 -371
- package/build/styles/css/navs.css +124 -59
- package/build/styles/css/neptune-social-media.css +44 -4
- package/build/styles/css/neptune.css +7118 -3155
- package/build/styles/css/panels.css +243 -143
- package/build/styles/css/popovers.css +295 -114
- package/build/styles/css/process.css +77 -64
- package/build/styles/css/progress-bars.css +21 -11
- package/build/styles/css/select.css +52 -20
- package/build/styles/css/sequences.css +219 -99
- package/build/styles/css/table.css +43 -48
- package/build/styles/css/tick.css +10 -10
- package/build/styles/css/tooltip.css +82 -49
- package/build/styles/css/utilities.css +40 -12
- package/build/styles/css/wells.css +16 -16
- package/build/styles/main.css +8798 -4478
- package/build/styles/styles/less/accordion.css +52 -24
- package/build/styles/styles/less/alerts.css +124 -56
- package/build/styles/styles/less/badge.css +30 -20
- package/build/styles/styles/less/breadcrumbs.css +4 -6
- package/build/styles/styles/less/button-groups.css +258 -114
- package/build/styles/styles/less/buttons.css +94 -49
- package/build/styles/styles/less/chevron.css +6 -0
- package/build/styles/styles/less/circles.css +76 -38
- package/build/styles/styles/less/close.css +4 -1
- package/build/styles/styles/less/column-layout.css +59 -37
- package/build/styles/styles/less/currency-flags.css +17 -4
- package/build/styles/styles/less/decision.css +12 -14
- package/build/styles/styles/less/dropdowns.css +209 -58
- package/build/styles/styles/less/droppable.css +38 -43
- package/build/styles/styles/less/flex.css +136 -40
- package/build/styles/styles/less/footer.css +14 -15
- package/build/styles/styles/less/forms/bootstrap-forms.css +348 -178
- package/build/styles/styles/less/forms/checkbox-radio.css +56 -29
- package/build/styles/styles/less/grid.css +1434 -381
- package/build/styles/styles/less/input-groups.css +546 -252
- package/build/styles/styles/less/link-callout.css +8 -2
- package/build/styles/styles/less/list-group.css +92 -57
- package/build/styles/styles/less/loaders.css +11 -11
- package/build/styles/styles/less/media.css +34 -10
- package/build/styles/styles/less/modals.css +59 -49
- package/build/styles/styles/less/navbar.css +811 -371
- package/build/styles/styles/less/navs.css +124 -59
- package/build/styles/styles/less/neptune-social-media.css +44 -4
- package/build/styles/styles/less/neptune.css +7118 -3155
- package/build/styles/styles/less/panels.css +243 -143
- package/build/styles/styles/less/popovers.css +295 -114
- package/build/styles/styles/less/process.css +77 -64
- package/build/styles/styles/less/progress-bars.css +21 -11
- package/build/styles/styles/less/select.css +52 -20
- package/build/styles/styles/less/sequences.css +219 -99
- package/build/styles/styles/less/table.css +43 -48
- package/build/styles/styles/less/tick.css +10 -10
- package/build/styles/styles/less/tooltip.css +82 -49
- package/build/styles/styles/less/utilities.css +40 -12
- package/build/styles/styles/less/wells.css +16 -16
- package/build/types/Calendar/Calendar.constants.d.ts +2 -0
- package/build/types/Calendar/Calendar.constants.d.ts.map +1 -0
- package/build/types/Calendar/Calendar.d.ts +16 -3
- package/build/types/Calendar/Calendar.d.ts.map +1 -1
- package/build/types/Calendar/Calendar.messages.d.ts +20 -0
- package/build/types/Calendar/Calendar.messages.d.ts.map +1 -1
- package/build/types/Calendar/Calendar.types.d.ts +32 -0
- package/build/types/Calendar/Calendar.types.d.ts.map +1 -0
- package/build/types/Calendar/DateHeader/DateHeader.d.ts +2 -0
- package/build/types/Calendar/DateHeader/DateHeader.d.ts.map +1 -1
- package/build/types/Calendar/DayCalendar/DayCalendar.d.ts +7 -1
- package/build/types/Calendar/DayCalendar/DayCalendar.d.ts.map +1 -1
- package/build/types/Calendar/DayCalendar/Table/DayCalendarTable.d.ts +6 -0
- package/build/types/Calendar/DayCalendar/Table/DayCalendarTable.d.ts.map +1 -1
- package/build/types/Calendar/MonthCalendar/MonthCalendar.d.ts +1 -0
- package/build/types/Calendar/MonthCalendar/MonthCalendar.d.ts.map +1 -1
- package/build/types/Calendar/MonthCalendar/Table/MonthCalendarTable.d.ts +2 -1
- package/build/types/Calendar/MonthCalendar/Table/MonthCalendarTable.d.ts.map +1 -1
- package/build/types/Calendar/{tableLink → TableLink}/TableLink.d.ts +5 -1
- package/build/types/Calendar/TableLink/TableLink.d.ts.map +1 -0
- package/build/types/Calendar/TableLink/index.d.ts.map +1 -0
- package/build/types/Calendar/YearCalendar/Table/YearCalendarTable.d.ts +2 -1
- package/build/types/Calendar/YearCalendar/Table/YearCalendarTable.d.ts.map +1 -1
- package/build/types/Calendar/YearCalendar/YearCalendar.d.ts +1 -0
- package/build/types/Calendar/YearCalendar/YearCalendar.d.ts.map +1 -1
- package/build/types/Calendar/_helpers/hasDisabledDatesInMonth/hasDisabledDatesInMonth.d.ts +3 -0
- package/build/types/Calendar/_helpers/hasDisabledDatesInMonth/hasDisabledDatesInMonth.d.ts.map +1 -0
- package/build/types/Calendar/_helpers/index.d.ts +3 -0
- package/build/types/Calendar/_helpers/index.d.ts.map +1 -0
- package/build/types/Calendar/_helpers/isDateDisabled/isDateDisabled.d.ts +3 -0
- package/build/types/Calendar/_helpers/isDateDisabled/isDateDisabled.d.ts.map +1 -0
- package/build/types/Calendar/index.d.ts +1 -0
- package/build/types/Calendar/index.d.ts.map +1 -1
- package/build/types/DateLookup/DateLookup.d.ts +24 -5
- package/build/types/DateLookup/DateLookup.d.ts.map +1 -1
- package/build/types/DateLookup/index.d.ts +1 -0
- package/build/types/DateLookup/index.d.ts.map +1 -1
- package/build/types/index.d.ts +3 -2
- package/build/types/index.d.ts.map +1 -1
- package/build/types/test-utils/index.d.ts +8 -0
- package/build/types/test-utils/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/Accordion/Accordion.css +21 -23
- package/src/Accordion/Accordion.less +4 -3
- package/src/AvatarLayout/AvatarLayout.css +11 -11
- package/src/AvatarView/AvatarView.css +3 -3
- package/src/AvatarView/Dot/Dot.css +3 -3
- package/src/Button/Button.css +6 -6
- package/src/Button/LegacyButton/LegacyButton.css +9 -3
- package/src/Button/LegacyButton/LegacyButton.less +3 -1
- package/src/Calendar/Calendar.constants.ts +5 -0
- package/src/Calendar/Calendar.css +119 -45
- package/src/Calendar/Calendar.disabledDates.test.tsx +593 -0
- package/src/Calendar/Calendar.less +5 -35
- package/src/Calendar/Calendar.messages.ts +21 -0
- package/src/Calendar/Calendar.test.tsx +310 -28
- package/src/Calendar/Calendar.tsx +159 -18
- package/src/Calendar/Calendar.types.ts +35 -0
- package/src/Calendar/DateHeader/DateHeader.tsx +6 -0
- package/src/Calendar/DayCalendar/DayCalendar.tsx +39 -1
- package/src/Calendar/DayCalendar/Table/DayCalendarTable.tsx +67 -27
- package/src/Calendar/MonthCalendar/MonthCalendar.tsx +8 -0
- package/src/Calendar/MonthCalendar/Table/MonthCalendarTable.tsx +15 -3
- package/src/Calendar/TableLink/TableLink.css +115 -0
- package/src/Calendar/TableLink/TableLink.less +68 -0
- package/src/Calendar/TableLink/TableLink.tsx +112 -0
- package/src/Calendar/YearCalendar/Table/YearCalendarTable.tsx +15 -3
- package/src/Calendar/YearCalendar/YearCalendar.tsx +9 -0
- package/src/Calendar/_helpers/hasDisabledDatesInMonth/hasDisabledDatesInMonth.test.ts +98 -0
- package/src/Calendar/_helpers/hasDisabledDatesInMonth/hasDisabledDatesInMonth.ts +45 -0
- package/src/Calendar/_helpers/index.ts +2 -0
- package/src/Calendar/_helpers/isDateDisabled/isDateDisabled.test.ts +169 -0
- package/src/Calendar/_helpers/isDateDisabled/isDateDisabled.ts +59 -0
- package/src/Calendar/_stories/Calendar.accessibility.docs.mdx +118 -0
- package/src/Calendar/_stories/Calendar.story.tsx +138 -4
- package/src/Calendar/_stories/Calendar.test.story.tsx +114 -0
- package/src/Calendar/index.ts +7 -0
- package/src/Carousel/Carousel.css +27 -28
- package/src/CheckboxButton/CheckboxButton.css +15 -10
- package/src/CheckboxButton/CheckboxButton.less +4 -4
- package/src/Chips/Chip/Chip.css +29 -26
- package/src/Chips/Chip/Chip.less +3 -5
- package/src/Container/Container.css +5 -5
- package/src/DateInput/DateInput.css +4 -4
- package/src/DateLookup/DateLookup.css +1 -1
- package/src/DateLookup/DateLookup.disabledDates.test.tsx +293 -0
- package/src/DateLookup/DateLookup.test.tsx +34 -37
- package/src/DateLookup/DateLookup.tsx +37 -13
- package/src/DateLookup/DateTrigger/DateTrigger.css +15 -9
- package/src/DateLookup/DateTrigger/DateTrigger.less +2 -1
- package/src/DateLookup/_stories/DateLookup.accessibility.docs.mdx +108 -0
- package/src/DateLookup/_stories/DateLookup.story.tsx +124 -2
- package/src/DateLookup/index.ts +6 -0
- package/src/Decision/Decision.less +2 -0
- package/src/DefinitionList/DefinitionList.css +83 -0
- package/src/DefinitionList/DefinitionList.less +3 -1
- package/src/Dimmer/Dimmer.css +19 -9
- package/src/Dimmer/Dimmer.less +3 -2
- package/src/Divider/Divider.css +7 -8
- package/src/Drawer/Drawer.css +15 -16
- package/src/DropFade/DropFade.css +2 -2
- package/src/ExpressiveMoneyInput/AmountInput/AmountInput.css +4 -4
- package/src/ExpressiveMoneyInput/Chevron/Chevron.css +5 -5
- package/src/ExpressiveMoneyInput/ExpressiveMoneyInput.css +11 -11
- package/src/Field/Field.css +12 -13
- package/src/FlowNavigation/AnimatedLabel/AnimatedLabel.css +5 -5
- package/src/FlowNavigation/FlowNavigation.css +46 -25
- package/src/Header/Header.css +9 -11
- package/src/Image/Image.css +7 -7
- package/src/Info/Info.css +1 -1
- package/src/Inputs/Input/Input.css +25 -24
- package/src/Inputs/InputGroup/InputGroup.css +13 -13
- package/src/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +10 -10
- package/src/Inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +7 -7
- 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 +2 -4
- package/src/Inputs/SelectInput/OptionContent/SelectInputOptionContent.css +4 -4
- package/src/Inputs/SelectInput/Options/SelectInputOptions.css +12 -17
- package/src/Inputs/SelectInput/Popover/SelectInputPopover.css +4 -4
- package/src/Inputs/SelectInput/SelectInput.css +49 -56
- package/src/Inputs/TextArea/TextArea.css +27 -26
- package/src/InstructionsList/InstructionsList.css +5 -5
- package/src/Link/Link.css +8 -2
- package/src/Link/Link.less +3 -3
- package/src/ListItem/ListItem.css +35 -38
- package/src/ListItem/ListItem.grid.css +7 -7
- package/src/Loader/Loader.css +31 -31
- package/src/Logo/Logo.css +2 -2
- package/src/Modal/Modal.css +14 -15
- package/src/MoneyInput/MoneyInput.css +20 -10
- package/src/MoneyInput/MoneyInput.less +3 -2
- package/src/Nudge/Nudge.css +77 -49
- package/src/Nudge/Nudge.less +8 -0
- package/src/PhoneNumberInput/PhoneNumberInput.css +9 -3
- package/src/PhoneNumberInput/PhoneNumberInput.less +3 -1
- package/src/Popover/Popover.css +10 -13
- package/src/Progress/Progress.css +3 -3
- package/src/ProgressBar/ProgressBar.css +4 -4
- package/src/PromoCard/PromoCard.css +42 -28
- package/src/PromoCard/PromoCard.less +32 -24
- package/src/Prompt/ActionPrompt/ActionPrompt.css +9 -9
- package/src/Prompt/CriticalBanner/CriticalBanner.css +23 -23
- package/src/Prompt/InfoPrompt/InfoPrompt.css +15 -15
- package/src/Prompt/InlinePrompt/InlinePrompt.css +6 -5
- package/src/Prompt/PrimitivePrompt/PrimitivePrompt.css +8 -10
- package/src/RadioGroup/RadioGroup.css +1 -1
- package/src/Section/Section.css +6 -6
- package/src/SegmentedControl/SegmentedControl.css +15 -18
- package/src/SlidingPanel/SlidingPanel.css +40 -9
- package/src/SlidingPanel/SlidingPanel.less +4 -4
- package/src/Snackbar/Snackbar.css +35 -21
- package/src/Snackbar/Snackbar.less +9 -3
- package/src/Stepper/Stepper.css +15 -9
- package/src/Stepper/Stepper.less +1 -1
- package/src/Sticky/Sticky.css +2 -2
- package/src/Sticky/Sticky.less +4 -1
- package/src/Switch/Switch.css +7 -5
- package/src/Table/Table.css +57 -60
- package/src/Tabs/Tabs.css +14 -18
- package/src/Tabs/Tabs.less +1 -0
- package/src/Tile/Tile.css +12 -12
- package/src/Tooltip/Tooltip.css +2 -2
- package/src/Typeahead/Typeahead.css +52 -40
- package/src/Typeahead/Typeahead.less +3 -2
- package/src/Upload/Upload.css +10 -11
- package/src/UploadInput/UploadButton/UploadButton.css +19 -20
- package/src/UploadInput/UploadInput.css +4 -4
- package/src/UploadInput/UploadItem/UploadItem.css +44 -45
- package/src/_deprecated/ActionButton/ActionButton.css +6 -8
- package/src/_deprecated/Alert/Alert.css +2 -2
- package/src/_deprecated/Avatar/Avatar.css +65 -65
- package/src/_deprecated/Avatar/Avatar.less +1 -0
- package/src/_deprecated/Badge/Badge.css +12 -8
- package/src/_deprecated/Badge/Badge.less +13 -13
- package/src/_deprecated/Card/Card.css +18 -27
- package/src/_deprecated/Card/Card.less +2 -1
- package/src/_deprecated/CriticalBanner/CriticalCommsBanner.css +7 -7
- package/src/_deprecated/LegacyListItem/LegacyListItem.css +1 -1
- package/src/_deprecated/NavigationOption/NavigationOption.css +19 -6
- package/src/_deprecated/NavigationOption/NavigationOption.less +4 -3
- package/src/_deprecated/NavigationOptionsList/NavigationOptionsList.css +8 -3
- package/src/_deprecated/NavigationOptionsList/NavigationOptionsList.less +3 -1
- package/src/_deprecated/OverlayHeader/OverlayHeader.css +6 -7
- package/src/_deprecated/Select/Select.css +104 -57
- package/src/_deprecated/Select/Select.less +11 -10
- package/src/_deprecated/Summary/Summary.css +30 -19
- package/src/_deprecated/Summary/Summary.less +8 -1
- package/src/common/BaseCard/BaseCard.css +7 -3
- package/src/common/BaseCard/BaseCard.less +5 -0
- package/src/common/BottomSheet/BottomSheet.css +18 -30
- 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/Option/Option.css +44 -42
- package/src/common/Option/Option.less +10 -8
- package/src/common/Panel/Panel.css +7 -7
- package/src/i18n/en.json +4 -0
- package/src/index.ts +3 -2
- package/src/main.css +8798 -4478
- package/src/styles/less/accordion.css +52 -24
- package/src/styles/less/alerts.css +124 -56
- package/src/styles/less/badge.css +30 -20
- package/src/styles/less/breadcrumbs.css +4 -6
- package/src/styles/less/button-groups.css +258 -114
- package/src/styles/less/buttons.css +94 -49
- package/src/styles/less/buttons.less +10 -2
- package/src/styles/less/chevron.css +6 -0
- package/src/styles/less/circles.css +76 -38
- package/src/styles/less/close.css +4 -1
- package/src/styles/less/column-layout.css +59 -37
- package/src/styles/less/currency-flags.css +17 -4
- package/src/styles/less/decision.css +12 -14
- package/src/styles/less/dropdowns.css +209 -58
- package/src/styles/less/droppable.css +38 -43
- package/src/styles/less/flex.css +136 -40
- package/src/styles/less/footer.css +14 -15
- package/src/styles/less/forms/bootstrap-forms.css +348 -178
- package/src/styles/less/forms/checkbox-radio.css +56 -29
- package/src/styles/less/grid.css +1434 -381
- package/src/styles/less/input-groups.css +546 -252
- package/src/styles/less/link-callout.css +8 -2
- package/src/styles/less/list-group.css +92 -57
- package/src/styles/less/loaders.css +11 -11
- package/src/styles/less/media.css +34 -10
- package/src/styles/less/mixins/_logical-properties.less +2 -2
- package/src/styles/less/mixins/_physical-properties.less +5 -77
- package/src/styles/less/modals.css +59 -49
- package/src/styles/less/navbar.css +811 -371
- package/src/styles/less/navs.css +124 -59
- package/src/styles/less/neptune-social-media.css +44 -4
- package/src/styles/less/neptune-social-media.less +18 -4
- package/src/styles/less/neptune.css +7118 -3155
- package/src/styles/less/panels.css +243 -143
- package/src/styles/less/popovers.css +295 -114
- package/src/styles/less/process.css +77 -64
- package/src/styles/less/progress-bars.css +21 -11
- package/src/styles/less/progress-bars.less +6 -1
- package/src/styles/less/select.css +52 -20
- package/src/styles/less/sequences.css +219 -99
- package/src/styles/less/table.css +43 -48
- package/src/styles/less/tick.css +10 -10
- package/src/styles/less/tooltip.css +82 -49
- package/src/styles/less/utilities.css +40 -12
- package/src/styles/less/wells.css +16 -16
- package/build/Calendar/tableLink/TableLink.js +0 -61
- package/build/Calendar/tableLink/TableLink.js.map +0 -1
- package/build/Calendar/tableLink/TableLink.mjs +0 -57
- package/build/Calendar/tableLink/TableLink.mjs.map +0 -1
- package/build/types/Calendar/tableLink/TableLink.d.ts.map +0 -1
- package/build/types/Calendar/tableLink/index.d.ts.map +0 -1
- package/src/Calendar/tableLink/TableLink.tsx +0 -77
- /package/build/types/Calendar/{tableLink → TableLink}/index.d.ts +0 -0
- /package/src/Calendar/{tableLink → TableLink}/index.ts +0 -0
package/src/Switch/Switch.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
display: inline-flex;
|
|
5
5
|
overflow: hidden;
|
|
6
|
-
|
|
6
|
+
width: 50px;
|
|
7
7
|
padding: 2px;
|
|
8
8
|
border-radius: 16px;
|
|
9
9
|
-webkit-user-select: none;
|
|
@@ -39,21 +39,23 @@
|
|
|
39
39
|
.np-switch--checked .np-switch--thumb {
|
|
40
40
|
transform: translateX(20px) ;
|
|
41
41
|
}
|
|
42
|
+
[dir="rtl"] .np-switch--checked .np-switch--thumb {
|
|
43
|
+
transform: translateX(-20px) ;
|
|
44
|
+
}
|
|
42
45
|
.np-switch.disabled {
|
|
43
46
|
filter: grayscale(1);
|
|
44
47
|
opacity: 0.45;
|
|
45
48
|
cursor: not-allowed !important;
|
|
46
49
|
}
|
|
47
50
|
.np-theme-personal .np-switch {
|
|
48
|
-
padding
|
|
49
|
-
padding-inline: 2px;
|
|
51
|
+
padding: 1px 2px;
|
|
50
52
|
}
|
|
51
53
|
.np-theme-personal .np-switch--checked {
|
|
52
54
|
background: var(--color-interactive-primary);
|
|
53
55
|
}
|
|
54
56
|
.np-theme-personal .np-switch--thumb {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
+
width: 20px;
|
|
58
|
+
height: 20px;
|
|
57
59
|
margin: 3px;
|
|
58
60
|
border-radius: 50%;
|
|
59
61
|
background-color: #ffffff;
|
package/src/Table/Table.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.np-table {
|
|
2
|
-
|
|
2
|
+
width: 100%;
|
|
3
3
|
background-color: transparent;
|
|
4
4
|
}
|
|
5
5
|
.np-table-outer-container {
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
outline-offset: 0;
|
|
18
18
|
}
|
|
19
19
|
.np-table-outer-container--center {
|
|
20
|
-
margin-
|
|
21
|
-
margin-
|
|
20
|
+
margin-right: auto;
|
|
21
|
+
margin-left: auto;
|
|
22
22
|
}
|
|
23
23
|
@media (max-width: 839.98px) {
|
|
24
24
|
.np-table-outer-container--center {
|
|
25
|
-
|
|
25
|
+
width: 100%;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
.np-table-outer-container--full-width {
|
|
29
|
-
|
|
29
|
+
width: 100%;
|
|
30
30
|
}
|
|
31
31
|
.np-table-container {
|
|
32
32
|
padding: 8px;
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
background-image: linear-gradient(to right, var(--color-contrast-overlay), var(--color-contrast-overlay)), linear-gradient(to right, var(--color-contrast-overlay), var(--color-contrast-overlay)), linear-gradient(to right, #000000, rgba(0, 0, 0, 0)), linear-gradient(to left, #000000, rgba(0, 0, 0, 0));
|
|
53
53
|
}
|
|
54
54
|
.np-table-row:last-child .np-table-cell:first-child {
|
|
55
|
-
border-
|
|
55
|
+
border-bottom-left-radius: 10px;
|
|
56
56
|
}
|
|
57
57
|
.np-table-row:last-child .np-table-cell:last-child {
|
|
58
|
-
border-
|
|
58
|
+
border-bottom-right-radius: 10px;
|
|
59
59
|
}
|
|
60
60
|
.np-table-row:focus {
|
|
61
61
|
outline: none;
|
|
@@ -75,40 +75,40 @@
|
|
|
75
75
|
display: none;
|
|
76
76
|
content: "";
|
|
77
77
|
position: absolute;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
78
|
+
height: 100%;
|
|
79
|
+
width: 100%;
|
|
80
|
+
top: 0;
|
|
81
|
+
left: 0;
|
|
82
82
|
background-color: var(--color-background-screen-hover);
|
|
83
83
|
}
|
|
84
84
|
.np-table-row--clickable .np-table-cell:first-child:before,
|
|
85
85
|
.np-table-row--clickable .np-table-cell:last-child:before {
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
width: calc(100% - 8px);
|
|
87
|
+
width: calc(100% - var(--size-8));
|
|
88
88
|
}
|
|
89
89
|
.np-table-row--clickable .np-table-cell:first-child:before {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
border-
|
|
93
|
-
border-
|
|
90
|
+
left: 8px;
|
|
91
|
+
left: var(--size-8);
|
|
92
|
+
border-top-left-radius: 6px;
|
|
93
|
+
border-bottom-left-radius: 6px;
|
|
94
94
|
}
|
|
95
95
|
.np-table-row--clickable .np-table-cell:last-child:before {
|
|
96
|
-
border-
|
|
97
|
-
border-
|
|
96
|
+
border-top-right-radius: 6px;
|
|
97
|
+
border-bottom-right-radius: 6px;
|
|
98
98
|
}
|
|
99
99
|
.np-table-row--clickable:hover .np-table-cell:before {
|
|
100
100
|
display: block;
|
|
101
101
|
}
|
|
102
102
|
.np-table-row--clickable:hover:focus-visible .np-table-cell:first-child:before,
|
|
103
103
|
.np-table-row--clickable:hover:focus-visible .np-table-cell:last-child:before {
|
|
104
|
-
|
|
104
|
+
width: 100%;
|
|
105
105
|
}
|
|
106
106
|
.np-table-row--clickable:hover:focus-visible .np-table-cell:first-child:before {
|
|
107
|
-
|
|
107
|
+
left: 0;
|
|
108
108
|
}
|
|
109
109
|
.np-table-row--cosmetic .np-table-cell {
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
height: 8px;
|
|
111
|
+
height: var(--size-8);
|
|
112
112
|
padding: 0;
|
|
113
113
|
}
|
|
114
114
|
.np-table-header,
|
|
@@ -117,34 +117,34 @@
|
|
|
117
117
|
}
|
|
118
118
|
.np-table-header:first-child,
|
|
119
119
|
.np-table-cell:first-child {
|
|
120
|
-
padding-
|
|
121
|
-
padding-
|
|
120
|
+
padding-left: 16px;
|
|
121
|
+
padding-left: var(--size-16);
|
|
122
122
|
}
|
|
123
123
|
.np-table-header:first-child .np-table-header-content,
|
|
124
124
|
.np-table-cell:first-child .np-table-header-content,
|
|
125
125
|
.np-table-header:first-child .np-table-cell-content,
|
|
126
126
|
.np-table-cell:first-child .np-table-cell-content {
|
|
127
|
-
padding-
|
|
127
|
+
padding-left: 0;
|
|
128
128
|
}
|
|
129
129
|
.np-table-header:last-child,
|
|
130
130
|
.np-table-cell:last-child {
|
|
131
|
-
padding-
|
|
132
|
-
padding-
|
|
131
|
+
padding-right: 16px;
|
|
132
|
+
padding-right: var(--size-16);
|
|
133
133
|
}
|
|
134
134
|
.np-table-header:last-child .np-table-header-content,
|
|
135
135
|
.np-table-cell:last-child .np-table-header-content,
|
|
136
136
|
.np-table-header:last-child .np-table-cell-content,
|
|
137
137
|
.np-table-cell:last-child .np-table-cell-content {
|
|
138
|
-
padding-
|
|
138
|
+
padding-right: 0;
|
|
139
139
|
}
|
|
140
140
|
.np-table-header.np-table-header--right > .np-text-body-default,
|
|
141
141
|
.np-table-cell.np-table-cell--right > .np-text-body-default {
|
|
142
|
-
text-align:
|
|
142
|
+
text-align: right;
|
|
143
143
|
}
|
|
144
144
|
.np-table-header.np-table-header--right + .np-table-header:not(.np-table-header--right),
|
|
145
145
|
.np-table-cell.np-table-cell--right + .np-table-cell:not(.np-table-cell--right) {
|
|
146
|
-
padding-
|
|
147
|
-
padding-
|
|
146
|
+
padding-left: calc(8px + 12px);
|
|
147
|
+
padding-left: calc(var(--size-8) + var(--size-12));
|
|
148
148
|
}
|
|
149
149
|
.np-table-header.np-table-header--right .np-table-header-content,
|
|
150
150
|
.np-table-cell.np-table-cell--right .np-table-content {
|
|
@@ -157,20 +157,20 @@
|
|
|
157
157
|
justify-content: start;
|
|
158
158
|
}
|
|
159
159
|
.np-table-header {
|
|
160
|
-
min-
|
|
161
|
-
padding-
|
|
162
|
-
padding-
|
|
163
|
-
padding-
|
|
164
|
-
padding-
|
|
165
|
-
padding-
|
|
166
|
-
padding-
|
|
160
|
+
min-width: 160px;
|
|
161
|
+
padding-right: 8px;
|
|
162
|
+
padding-right: var(--size-8);
|
|
163
|
+
padding-bottom: 8px;
|
|
164
|
+
padding-bottom: var(--size-8);
|
|
165
|
+
padding-left: 8px;
|
|
166
|
+
padding-left: var(--size-8);
|
|
167
167
|
background-color: rgba(134,167,189,0.10196);
|
|
168
168
|
background-color: var(--color-background-neutral);
|
|
169
169
|
color: var(--color-interactive-primary);
|
|
170
170
|
}
|
|
171
171
|
.np-table-header-content {
|
|
172
|
-
padding-
|
|
173
|
-
padding-
|
|
172
|
+
padding-top: 5px;
|
|
173
|
+
padding-bottom: 5px;
|
|
174
174
|
white-space: nowrap;
|
|
175
175
|
line-height: 1.375rem;
|
|
176
176
|
line-height: var(--line-height-22);
|
|
@@ -181,35 +181,33 @@
|
|
|
181
181
|
color: var(--color-sentiment-negative);
|
|
182
182
|
}
|
|
183
183
|
.np-table-header--action {
|
|
184
|
-
min-
|
|
184
|
+
min-width: 0;
|
|
185
185
|
padding: 0;
|
|
186
186
|
}
|
|
187
187
|
.np-table-cell {
|
|
188
|
-
padding
|
|
189
|
-
padding
|
|
190
|
-
padding-inline: 8px;
|
|
191
|
-
padding-inline: var(--size-8);
|
|
188
|
+
padding: 16px 8px;
|
|
189
|
+
padding: var(--size-16) var(--size-8);
|
|
192
190
|
position: relative;
|
|
193
191
|
}
|
|
194
192
|
.np-table-cell--cosmetic {
|
|
195
193
|
padding: 0;
|
|
196
194
|
}
|
|
197
195
|
.np-table-cell--primary {
|
|
198
|
-
min-
|
|
196
|
+
min-width: 200px;
|
|
199
197
|
}
|
|
200
198
|
.np-table-cell--currency .np-text-body-default {
|
|
201
199
|
white-space: nowrap;
|
|
202
200
|
}
|
|
203
201
|
.np-table-cell .tw-chevron {
|
|
204
|
-
margin-
|
|
205
|
-
margin-
|
|
202
|
+
margin-left: 8px;
|
|
203
|
+
margin-left: var(--size-8);
|
|
206
204
|
}
|
|
207
205
|
.np-table-cell-separator {
|
|
208
|
-
margin-
|
|
209
|
-
margin-
|
|
210
|
-
margin-
|
|
211
|
-
margin-
|
|
212
|
-
|
|
206
|
+
margin-top: 4px;
|
|
207
|
+
margin-top: var(--size-4);
|
|
208
|
+
margin-bottom: 4px;
|
|
209
|
+
margin-bottom: var(--size-4);
|
|
210
|
+
height: 1px;
|
|
213
211
|
background-color: rgba(134,167,189,0.10196);
|
|
214
212
|
background-color: var(--color-background-neutral);
|
|
215
213
|
padding: 0;
|
|
@@ -228,13 +226,12 @@
|
|
|
228
226
|
color: var(--color-sentiment-negative);
|
|
229
227
|
}
|
|
230
228
|
.np-table-cell .tw-loader {
|
|
231
|
-
margin
|
|
232
|
-
margin-inline: auto;
|
|
229
|
+
margin: 150px auto;
|
|
233
230
|
}
|
|
234
231
|
@media (max-width: 320px) {
|
|
235
232
|
.np-table-cell .tw-loader {
|
|
236
|
-
margin-
|
|
237
|
-
margin-
|
|
233
|
+
margin-top: 70px;
|
|
234
|
+
margin-bottom: 70px;
|
|
238
235
|
}
|
|
239
236
|
}
|
|
240
237
|
.np-table-content {
|
|
@@ -272,6 +269,6 @@
|
|
|
272
269
|
align-items: center;
|
|
273
270
|
}
|
|
274
271
|
.np-table-empty-data .status-circle {
|
|
275
|
-
margin-
|
|
276
|
-
margin-
|
|
272
|
+
margin-right: 12px;
|
|
273
|
+
margin-right: var(--size-12);
|
|
277
274
|
}
|
package/src/Tabs/Tabs.css
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
text-align: center;
|
|
8
8
|
padding: 8px;
|
|
9
9
|
padding: var(--size-8);
|
|
10
|
-
margin-
|
|
10
|
+
margin-bottom: -2px;
|
|
11
11
|
color: #37517e;
|
|
12
12
|
color: var(--color-content-primary);
|
|
13
13
|
font-weight: 600;
|
|
@@ -63,23 +63,22 @@
|
|
|
63
63
|
list-style: none;
|
|
64
64
|
padding: 0;
|
|
65
65
|
margin: 0;
|
|
66
|
-
border-
|
|
67
|
-
border-
|
|
68
|
-
border-block-end: 1px solid var(--color-border-neutral);
|
|
66
|
+
border-bottom: 1px solid rgba(0,0,0,0.10196);
|
|
67
|
+
border-bottom: 1px solid var(--color-border-neutral);
|
|
69
68
|
}
|
|
70
69
|
.tabs__line {
|
|
71
|
-
|
|
70
|
+
height: 2px;
|
|
72
71
|
background-color: #00a2dd;
|
|
73
72
|
background-color: var(--color-interactive-accent);
|
|
74
73
|
transition: transform cubic-bezier(0, 0.94, 0.62, 1) 350ms;
|
|
75
74
|
position: relative;
|
|
76
|
-
|
|
75
|
+
bottom: -1px;
|
|
77
76
|
}
|
|
78
77
|
.np-theme-personal .tabs__line {
|
|
79
78
|
background-color: var(--color-interactive-primary);
|
|
80
79
|
}
|
|
81
80
|
.tabs__panel-container {
|
|
82
|
-
|
|
81
|
+
width: 100%;
|
|
83
82
|
}
|
|
84
83
|
.tabs__slider {
|
|
85
84
|
display: flex;
|
|
@@ -98,28 +97,25 @@
|
|
|
98
97
|
opacity: 0;
|
|
99
98
|
}
|
|
100
99
|
.tabs--inverse .tabs__tab-list {
|
|
101
|
-
border-
|
|
102
|
-
border-
|
|
103
|
-
border-block-end-color: var(--color-border-neutral);
|
|
100
|
+
border-bottom-color: rgba(0,0,0,0.10196);
|
|
101
|
+
border-bottom-color: var(--color-border-neutral);
|
|
104
102
|
}
|
|
105
103
|
.tabs--inverse .tabs__tab:not(.tabs__tab--selected) {
|
|
106
104
|
color: #fff;
|
|
107
105
|
}
|
|
108
106
|
.tabs.tabs--auto-width .tabs__tab {
|
|
109
107
|
display: inline-flex;
|
|
110
|
-
min-
|
|
111
|
-
min-
|
|
112
|
-
padding
|
|
113
|
-
padding
|
|
114
|
-
padding-inline: var(--size-12);
|
|
108
|
+
min-height: 40px;
|
|
109
|
+
min-height: var(--size-40);
|
|
110
|
+
padding: 0 12px;
|
|
111
|
+
padding: 0 var(--size-12);
|
|
115
112
|
justify-content: center;
|
|
116
113
|
align-items: center;
|
|
117
114
|
vertical-align: middle;
|
|
118
115
|
}
|
|
119
116
|
@media (min-width: 600px) {
|
|
120
117
|
.tabs.tabs--auto-width .tabs__tab {
|
|
121
|
-
padding
|
|
122
|
-
padding
|
|
123
|
-
padding-inline: var(--size-24);
|
|
118
|
+
padding: 0 24px;
|
|
119
|
+
padding: 0 var(--size-24);
|
|
124
120
|
}
|
|
125
121
|
}
|
package/src/Tabs/Tabs.less
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@import (reference) "./../styles/variables/neptune-tokens.less";
|
|
2
2
|
@import (reference) "./../styles/variables/legacy-variables.less";
|
|
3
|
+
@import (reference) "./../styles/less/mixins/_logical-properties.less";
|
|
3
4
|
@import (reference) "./../styles/less/ring.less";
|
|
4
5
|
|
|
5
6
|
@transition-timing-function: ease-in-out;
|
package/src/Tile/Tile.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.np-tile {
|
|
2
|
-
min-
|
|
2
|
+
min-width: 120px;
|
|
3
3
|
border-radius: 10px;
|
|
4
4
|
border-radius: var(--radius-small);
|
|
5
|
-
|
|
5
|
+
width: 100%;
|
|
6
6
|
}
|
|
7
7
|
.np-theme-personal .np-tile {
|
|
8
8
|
background-color: rgba(134,167,189,0.10196);
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
background-color: var(--color-contrast);
|
|
13
13
|
}
|
|
14
14
|
.np-tile.decision {
|
|
15
|
-
margin-
|
|
15
|
+
margin-top: 0;
|
|
16
16
|
border: 1px solid rgba(0,0,0,0.10196);
|
|
17
17
|
border: 1px solid var(--color-border-neutral);
|
|
18
18
|
}
|
|
@@ -30,24 +30,24 @@
|
|
|
30
30
|
color: var(--color-content-secondary);
|
|
31
31
|
}
|
|
32
32
|
.np-tile.np-decision__tile--fixed-width {
|
|
33
|
-
|
|
33
|
+
width: 300px;
|
|
34
34
|
}
|
|
35
35
|
.np-tile__media {
|
|
36
|
-
|
|
36
|
+
width: 100%;
|
|
37
37
|
}
|
|
38
38
|
.np-tile__description {
|
|
39
39
|
color: #5d7079;
|
|
40
40
|
color: var(--color-content-secondary);
|
|
41
|
-
margin-
|
|
42
|
-
margin-
|
|
41
|
+
margin-top: 12px;
|
|
42
|
+
margin-top: var(--size-12);
|
|
43
43
|
display: inline-block;
|
|
44
44
|
}
|
|
45
45
|
.np-tile--small.np-decision__tile--fixed-width {
|
|
46
|
-
|
|
46
|
+
width: 260px;
|
|
47
47
|
}
|
|
48
48
|
.np-tile--small .np-tile__description {
|
|
49
|
-
margin-
|
|
50
|
-
margin-
|
|
49
|
+
margin-top: 4px;
|
|
50
|
+
margin-top: var(--size-4);
|
|
51
51
|
}
|
|
52
52
|
.np-tile:hover .tw-avatar {
|
|
53
53
|
pointer-events: none;
|
|
@@ -63,6 +63,6 @@
|
|
|
63
63
|
font-weight: var(--font-weight-regular);
|
|
64
64
|
line-height: 1.5;
|
|
65
65
|
line-height: var(--line-height-body);
|
|
66
|
-
margin-
|
|
67
|
-
margin-
|
|
66
|
+
margin-top: 12px;
|
|
67
|
+
margin-top: var(--size-12);
|
|
68
68
|
}
|
package/src/Tooltip/Tooltip.css
CHANGED
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
visibility: initial;
|
|
44
44
|
}
|
|
45
45
|
.np-panel[data-popper-placement^="right"] > .np-panel__content.tooltip-inner .np-panel__arrow {
|
|
46
|
-
|
|
46
|
+
left: -7px;
|
|
47
47
|
}
|
|
48
48
|
.np-panel[data-popper-placement^="left"] > .np-panel__content.tooltip-inner .np-panel__arrow {
|
|
49
|
-
|
|
49
|
+
right: -7px;
|
|
50
50
|
}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
display: block;
|
|
6
6
|
}
|
|
7
7
|
.typeahead .dropdown-menu {
|
|
8
|
-
max-
|
|
9
|
-
|
|
8
|
+
max-width: 100%;
|
|
9
|
+
width: 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-bottom: 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
|
+
height: auto;
|
|
33
|
+
min-height: auto;
|
|
34
|
+
padding-top: 0;
|
|
35
|
+
padding-bottom: 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
|
+
height: 40px;
|
|
47
47
|
display: inline-block;
|
|
48
|
-
|
|
48
|
+
width: 0;
|
|
49
49
|
}
|
|
50
50
|
.typeahead--multiple .typeahead__input-container {
|
|
51
51
|
cursor: text;
|
|
@@ -55,72 +55,84 @@
|
|
|
55
55
|
white-space: pre;
|
|
56
56
|
position: absolute;
|
|
57
57
|
visibility: hidden;
|
|
58
|
-
|
|
58
|
+
width: auto;
|
|
59
59
|
}
|
|
60
60
|
.typeahead--multiple.typeahead--has-value .typeahead__input-container {
|
|
61
|
-
padding-
|
|
62
|
-
padding-
|
|
61
|
+
padding-left: 8px;
|
|
62
|
+
padding-left: var(--size-8);
|
|
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;
|
|
63
69
|
}
|
|
64
70
|
.typeahead--multiple.typeahead--has-value .input-group-addon + .typeahead__input-container {
|
|
65
|
-
padding-
|
|
71
|
+
padding-left: 0;
|
|
66
72
|
}
|
|
67
73
|
.typeahead--multiple.typeahead--has-value .typeahead__input {
|
|
68
|
-
margin-
|
|
69
|
-
margin-
|
|
70
|
-
margin-
|
|
71
|
-
margin-
|
|
74
|
+
margin-bottom: calc(-1 * 8px + 1px);
|
|
75
|
+
margin-bottom: calc(-1 * var(--size-8) + 1px);
|
|
76
|
+
margin-left: 4px;
|
|
77
|
+
margin-left: var(--size-4);
|
|
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;
|
|
72
84
|
}
|
|
73
85
|
.typeahead--multiple.typeahead--has-value .typeahead__input-wrapper::after {
|
|
74
86
|
content: "";
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
87
|
+
height: calc(8px - 1);
|
|
88
|
+
height: calc(var(--size-8) - 1);
|
|
89
|
+
width: 100%;
|
|
78
90
|
}
|
|
79
91
|
.typeahead__input-wrapper {
|
|
80
|
-
|
|
81
|
-
margin-
|
|
92
|
+
width: 100%;
|
|
93
|
+
margin-top: -1px;
|
|
82
94
|
display: flex;
|
|
83
95
|
flex-wrap: wrap;
|
|
84
96
|
flex: 1;
|
|
85
97
|
align-items: center;
|
|
86
98
|
}
|
|
87
99
|
.np-theme-personal .typeahead__input-wrapper {
|
|
88
|
-
margin-
|
|
100
|
+
margin-top: 0;
|
|
89
101
|
}
|
|
90
102
|
.typeahead--empty.typeahead--multiple .typeahead__input-wrapper {
|
|
91
103
|
padding: 0;
|
|
92
104
|
margin: 0;
|
|
93
105
|
}
|
|
94
106
|
.typeahead--prompt {
|
|
95
|
-
margin-
|
|
96
|
-
margin-
|
|
107
|
+
margin-top: 4px;
|
|
108
|
+
margin-top: var(--size-4);
|
|
97
109
|
}
|
|
98
110
|
.typeahead-sm.typeahead--multiple .typeahead__input-container {
|
|
99
|
-
min-
|
|
111
|
+
min-height: 32px;
|
|
100
112
|
}
|
|
101
113
|
.typeahead-sm.typeahead--multiple .typeahead__input {
|
|
102
|
-
padding-
|
|
114
|
+
padding-top: 0;
|
|
103
115
|
}
|
|
104
116
|
.typeahead-md.typeahead--multiple .typeahead__input-container {
|
|
105
|
-
min-
|
|
117
|
+
min-height: var(--input-height-base);
|
|
106
118
|
}
|
|
107
119
|
.typeahead-lg.typeahead--multiple .typeahead__input-container {
|
|
108
|
-
min-
|
|
120
|
+
min-height: var(--input-height-large);
|
|
109
121
|
}
|
|
110
122
|
.typeahead-lg.typeahead--multiple .typeahead__input {
|
|
111
|
-
padding-
|
|
112
|
-
padding-
|
|
123
|
+
padding-top: calc(8px - 1);
|
|
124
|
+
padding-top: calc(var(--size-8) - 1);
|
|
113
125
|
}
|
|
114
126
|
.typeahead-lg.typeahead--multiple .typeahead__input-wrapper {
|
|
115
|
-
padding-
|
|
116
|
-
padding-
|
|
127
|
+
padding-bottom: 8px;
|
|
128
|
+
padding-bottom: var(--size-8);
|
|
117
129
|
margin: 0;
|
|
118
130
|
}
|
|
119
131
|
.typeahead-lg.typeahead--multiple .typeahead__input-wrapper::after {
|
|
120
132
|
content: none;
|
|
121
133
|
}
|
|
122
134
|
.typeahead-lg.typeahead--multiple .np-chip {
|
|
123
|
-
margin-
|
|
135
|
+
margin-bottom: 0;
|
|
124
136
|
}
|
|
125
137
|
@keyframes slide {
|
|
126
138
|
from {
|
|
@@ -149,7 +161,7 @@
|
|
|
149
161
|
@media (max-width: 599.98px) {
|
|
150
162
|
.typeahead .dropdown.open .dropdown-menu {
|
|
151
163
|
position: absolute;
|
|
152
|
-
|
|
164
|
+
bottom: auto;
|
|
153
165
|
overflow: scroll;
|
|
154
166
|
}
|
|
155
167
|
}
|
|
@@ -161,15 +173,15 @@
|
|
|
161
173
|
color: var(--color-interactive-secondary);
|
|
162
174
|
}
|
|
163
175
|
.np-theme-personal .typeahead .np-chip {
|
|
164
|
-
margin-
|
|
176
|
+
margin-top: 9px !important;
|
|
165
177
|
}
|
|
166
178
|
.np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold {
|
|
167
|
-
padding-
|
|
168
|
-
padding-
|
|
179
|
+
padding-right: 16px;
|
|
180
|
+
padding-right: var(--size-16);
|
|
169
181
|
}
|
|
170
182
|
@media (max-width: 320px) {
|
|
171
183
|
.np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold {
|
|
172
|
-
padding-
|
|
173
|
-
padding-
|
|
184
|
+
padding-right: 32px;
|
|
185
|
+
padding-right: var(--size-32);
|
|
174
186
|
}
|
|
175
187
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import (reference) "./../styles/variables/legacy-variables.less";
|
|
2
|
+
@import (reference) "./../styles/less/mixins/_logical-properties.less";
|
|
2
3
|
|
|
3
4
|
@animation-timing-function: ease-in-out;
|
|
4
5
|
@animation-duration: 0.03s;
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
|
|
79
80
|
&.typeahead--has-value {
|
|
80
81
|
.typeahead__input-container {
|
|
81
|
-
padding
|
|
82
|
+
.padding(left, var(--size-8));
|
|
82
83
|
}
|
|
83
84
|
|
|
84
85
|
.input-group-addon + .typeahead__input-container {
|
|
@@ -87,7 +88,7 @@
|
|
|
87
88
|
|
|
88
89
|
.typeahead__input {
|
|
89
90
|
margin-bottom: calc(-1 * var(--size-8) + 1px);
|
|
90
|
-
margin
|
|
91
|
+
.margin(left, var(--size-4));
|
|
91
92
|
}
|
|
92
93
|
|
|
93
94
|
.typeahead__input-wrapper {
|
package/src/Upload/Upload.css
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
.tw-droppable-lg {
|
|
2
|
-
min-
|
|
2
|
+
min-height: 346px;
|
|
3
3
|
}
|
|
4
4
|
.tw-droppable-lg .thumbnail {
|
|
5
|
-
max-
|
|
5
|
+
max-height: 72px;
|
|
6
6
|
}
|
|
7
7
|
.tw-droppable-md {
|
|
8
|
-
min-
|
|
8
|
+
min-height: 315px;
|
|
9
9
|
}
|
|
10
10
|
.tw-droppable-md .thumbnail {
|
|
11
|
-
max-
|
|
11
|
+
max-height: 72px;
|
|
12
12
|
}
|
|
13
13
|
.tw-droppable-sm {
|
|
14
|
-
min-
|
|
14
|
+
min-height: 245px;
|
|
15
15
|
}
|
|
16
16
|
.tw-droppable-lg .btn:focus-visible,
|
|
17
17
|
.tw-droppable-md .btn:focus-visible,
|
|
@@ -20,15 +20,14 @@
|
|
|
20
20
|
outline-offset: var(--ring-outline-offset);
|
|
21
21
|
}
|
|
22
22
|
.upload-error-message {
|
|
23
|
-
margin-
|
|
24
|
-
margin-
|
|
25
|
-
border-
|
|
26
|
-
border-
|
|
27
|
-
border-block-start: 1px solid var(--color-border-neutral);
|
|
23
|
+
margin-top: 24px;
|
|
24
|
+
margin-top: var(--padding-medium);
|
|
25
|
+
border-top: 1px solid rgba(0,0,0,0.10196);
|
|
26
|
+
border-top: 1px solid var(--color-border-neutral);
|
|
28
27
|
text-align: start;
|
|
29
28
|
}
|
|
30
29
|
.upload-error-message .alert {
|
|
31
|
-
min-
|
|
30
|
+
min-width: 100px;
|
|
32
31
|
}
|
|
33
32
|
.np-theme-personal .droppable-dropping .droppable-complete-card {
|
|
34
33
|
display: none;
|