@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/Nudge/Nudge.css
CHANGED
|
@@ -22,137 +22,163 @@
|
|
|
22
22
|
flex: 1;
|
|
23
23
|
gap: 16px;
|
|
24
24
|
gap: var(--nudge-flex-gap);
|
|
25
|
-
min-
|
|
26
|
-
min-
|
|
25
|
+
min-height: 106px;
|
|
26
|
+
min-height: var(--nudge-min-height);
|
|
27
27
|
padding: 0;
|
|
28
28
|
padding: var(--nudge-padding);
|
|
29
29
|
position: relative;
|
|
30
30
|
overflow: hidden;
|
|
31
|
-
|
|
31
|
+
width: 100%;
|
|
32
32
|
}
|
|
33
33
|
.wds-nudge-media {
|
|
34
34
|
flex-basis: var(--nudge-media-width);
|
|
35
|
-
max-
|
|
35
|
+
max-width: var(--nudge-media-width);
|
|
36
36
|
}
|
|
37
37
|
.wds-nudge-media-globe {
|
|
38
|
-
margin-
|
|
39
|
-
margin-
|
|
38
|
+
margin-left: -76px;
|
|
39
|
+
margin-top: -5px;
|
|
40
40
|
position: absolute;
|
|
41
|
-
|
|
41
|
+
width: 161px;
|
|
42
42
|
}
|
|
43
43
|
[dir="rtl"] .wds-nudge-media-globe {
|
|
44
44
|
transform: scaleX(-1);
|
|
45
|
+
margin-left: 0;
|
|
46
|
+
margin-right: -76px;
|
|
45
47
|
}
|
|
46
48
|
.wds-nudge-media-lock {
|
|
47
|
-
margin-
|
|
48
|
-
margin-
|
|
49
|
+
margin-left: -11px;
|
|
50
|
+
margin-top: 18px;
|
|
49
51
|
position: absolute;
|
|
50
|
-
|
|
52
|
+
width: 104px;
|
|
51
53
|
transform: rotate(-14.86deg);
|
|
52
54
|
}
|
|
53
55
|
[dir="rtl"] .wds-nudge-media-lock {
|
|
54
56
|
transform: scaleX(-1);
|
|
57
|
+
margin-left: 0;
|
|
58
|
+
margin-right: -11px;
|
|
55
59
|
}
|
|
56
60
|
.wds-nudge-media-wallet {
|
|
57
|
-
margin-
|
|
58
|
-
margin-
|
|
61
|
+
margin-left: -15px;
|
|
62
|
+
margin-top: 18px;
|
|
59
63
|
position: absolute;
|
|
60
|
-
|
|
64
|
+
width: 107px;
|
|
61
65
|
}
|
|
62
66
|
[dir="rtl"] .wds-nudge-media-wallet {
|
|
63
67
|
transform: scaleX(-1);
|
|
68
|
+
margin-left: 0;
|
|
69
|
+
margin-right: -15px;
|
|
64
70
|
}
|
|
65
71
|
.wds-nudge-media-gear {
|
|
66
|
-
margin-
|
|
67
|
-
margin-
|
|
72
|
+
margin-left: -18px;
|
|
73
|
+
margin-top: 19px;
|
|
68
74
|
position: absolute;
|
|
69
|
-
|
|
75
|
+
width: 111px;
|
|
70
76
|
}
|
|
71
77
|
[dir="rtl"] .wds-nudge-media-gear {
|
|
72
78
|
transform: scaleX(-1);
|
|
79
|
+
margin-left: 0;
|
|
80
|
+
margin-right: -18px;
|
|
73
81
|
}
|
|
74
82
|
.wds-nudge-media-invite-letter {
|
|
75
|
-
margin-
|
|
76
|
-
margin-
|
|
83
|
+
margin-left: -17px;
|
|
84
|
+
margin-top: -2px;
|
|
77
85
|
position: absolute;
|
|
78
|
-
|
|
86
|
+
width: 105px;
|
|
79
87
|
}
|
|
80
88
|
[dir="rtl"] .wds-nudge-media-invite-letter {
|
|
81
89
|
transform: scaleX(-1);
|
|
90
|
+
margin-left: 0;
|
|
91
|
+
margin-right: -17px;
|
|
82
92
|
}
|
|
83
93
|
.wds-nudge-media-personal-card,
|
|
84
94
|
.wds-nudge-media-business-card {
|
|
85
|
-
margin-
|
|
86
|
-
margin-
|
|
95
|
+
margin-left: -15px;
|
|
96
|
+
margin-top: 2px;
|
|
87
97
|
position: absolute;
|
|
88
|
-
|
|
98
|
+
width: 104px;
|
|
89
99
|
}
|
|
90
100
|
[dir="rtl"] .wds-nudge-media-personal-card,
|
|
91
101
|
[dir="rtl"] .wds-nudge-media-business-card {
|
|
92
102
|
transform: scaleX(-1);
|
|
103
|
+
margin-left: 0;
|
|
104
|
+
margin-right: -15px;
|
|
93
105
|
}
|
|
94
106
|
.wds-nudge-media-heart {
|
|
95
|
-
margin-
|
|
96
|
-
margin-
|
|
107
|
+
margin-left: -7px;
|
|
108
|
+
margin-top: 11px;
|
|
97
109
|
position: absolute;
|
|
98
|
-
|
|
110
|
+
width: 95px;
|
|
99
111
|
}
|
|
100
112
|
[dir="rtl"] .wds-nudge-media-heart {
|
|
101
113
|
transform: scaleX(-1);
|
|
114
|
+
margin-left: 0;
|
|
115
|
+
margin-right: -7px;
|
|
102
116
|
}
|
|
103
117
|
.wds-nudge-media-multi-currency {
|
|
104
|
-
margin-
|
|
105
|
-
margin-
|
|
118
|
+
margin-left: -30px;
|
|
119
|
+
margin-top: 1px;
|
|
106
120
|
position: absolute;
|
|
107
|
-
|
|
121
|
+
width: 131px;
|
|
108
122
|
}
|
|
109
123
|
[dir="rtl"] .wds-nudge-media-multi-currency {
|
|
110
124
|
transform: scaleX(-1);
|
|
125
|
+
margin-left: 0;
|
|
126
|
+
margin-right: -30px;
|
|
111
127
|
}
|
|
112
128
|
.wds-nudge-media-shopping-bag {
|
|
113
|
-
margin-
|
|
114
|
-
margin-
|
|
129
|
+
margin-left: -9px;
|
|
130
|
+
margin-top: 14px;
|
|
115
131
|
position: absolute;
|
|
116
|
-
|
|
132
|
+
width: 116px;
|
|
117
133
|
}
|
|
118
134
|
[dir="rtl"] .wds-nudge-media-shopping-bag {
|
|
119
135
|
transform: scaleX(-1);
|
|
136
|
+
margin-left: 0;
|
|
137
|
+
margin-right: -9px;
|
|
120
138
|
}
|
|
121
139
|
.wds-nudge-media-flower {
|
|
122
|
-
margin-
|
|
123
|
-
margin-
|
|
140
|
+
margin-left: -24px;
|
|
141
|
+
margin-top: 11px;
|
|
124
142
|
position: absolute;
|
|
125
|
-
|
|
143
|
+
width: 156px;
|
|
126
144
|
}
|
|
127
145
|
[dir="rtl"] .wds-nudge-media-flower {
|
|
128
146
|
transform: scaleX(-1);
|
|
147
|
+
margin-left: 0;
|
|
148
|
+
margin-right: -24px;
|
|
129
149
|
}
|
|
130
150
|
.wds-nudge-media-backpack {
|
|
131
|
-
margin-
|
|
132
|
-
margin-
|
|
151
|
+
margin-left: -16px;
|
|
152
|
+
margin-top: 6px;
|
|
133
153
|
position: absolute;
|
|
134
|
-
|
|
154
|
+
width: 123px;
|
|
135
155
|
}
|
|
136
156
|
[dir="rtl"] .wds-nudge-media-backpack {
|
|
137
157
|
transform: scaleX(-1);
|
|
158
|
+
margin-left: 0;
|
|
159
|
+
margin-right: -16px;
|
|
138
160
|
}
|
|
139
161
|
.wds-nudge-media-gift-box {
|
|
140
|
-
margin-
|
|
141
|
-
margin-
|
|
162
|
+
margin-left: -22px;
|
|
163
|
+
margin-top: 6px;
|
|
142
164
|
position: absolute;
|
|
143
|
-
|
|
165
|
+
width: 129px;
|
|
144
166
|
}
|
|
145
167
|
[dir="rtl"] .wds-nudge-media-gift-box {
|
|
146
168
|
transform: scaleX(-1);
|
|
169
|
+
margin-left: 0;
|
|
170
|
+
margin-right: -22px;
|
|
147
171
|
}
|
|
148
172
|
.wds-nudge-media-documents {
|
|
149
|
-
margin-
|
|
150
|
-
margin-
|
|
173
|
+
margin-left: -8px;
|
|
174
|
+
margin-top: 8px;
|
|
151
175
|
position: absolute;
|
|
152
|
-
|
|
176
|
+
width: 120px;
|
|
153
177
|
}
|
|
154
178
|
[dir="rtl"] .wds-nudge-media-documents {
|
|
155
179
|
transform: scaleX(-1);
|
|
180
|
+
margin-left: 0;
|
|
181
|
+
margin-right: -8px;
|
|
156
182
|
}
|
|
157
183
|
.wds-nudge-container {
|
|
158
184
|
align-items: stretch;
|
|
@@ -160,12 +186,14 @@
|
|
|
160
186
|
flex: 1;
|
|
161
187
|
gap: var(--nudge-flex-gap);
|
|
162
188
|
justify-content: space-between;
|
|
163
|
-
padding
|
|
164
|
-
|
|
165
|
-
|
|
189
|
+
padding: var(--nudge-container-padding) var(--nudge-container-padding) var(--nudge-container-padding) 0;
|
|
190
|
+
width: 100%;
|
|
191
|
+
}
|
|
192
|
+
[dir="rtl"] .wds-nudge-container {
|
|
193
|
+
padding: var(--nudge-container-padding) 0 var(--nudge-container-padding) var(--nudge-container-padding);
|
|
166
194
|
}
|
|
167
195
|
.np-theme-personal .wds-nudge-container:first-child {
|
|
168
|
-
padding-
|
|
196
|
+
padding-left: var(--nudge-flex-gap);
|
|
169
197
|
}
|
|
170
198
|
.wds-nudge-container .wds-nudge-content {
|
|
171
199
|
align-self: var(--nudge-content-flex-alignment);
|
|
@@ -182,8 +210,8 @@
|
|
|
182
210
|
.wds-nudge-container .wds-nudge-content .wds-nudge-link {
|
|
183
211
|
font-weight: 600;
|
|
184
212
|
font-weight: var(--font-weight-semi-bold);
|
|
185
|
-
margin-
|
|
186
|
-
margin-
|
|
213
|
+
margin-top: 4px;
|
|
214
|
+
margin-top: var(--size-4);
|
|
187
215
|
-webkit-text-decoration: var(--nudge-link-text-decoration);
|
|
188
216
|
text-decoration: var(--nudge-link-text-decoration);
|
|
189
217
|
}
|
package/src/Nudge/Nudge.less
CHANGED
|
@@ -96,6 +96,11 @@
|
|
|
96
96
|
var(--nudge-container-padding) 0;
|
|
97
97
|
width: 100%;
|
|
98
98
|
|
|
99
|
+
[dir="rtl"] & {
|
|
100
|
+
padding: var(--nudge-container-padding) 0 var(--nudge-container-padding)
|
|
101
|
+
var(--nudge-container-padding);
|
|
102
|
+
}
|
|
103
|
+
|
|
99
104
|
.np-theme-personal & {
|
|
100
105
|
&:first-child {
|
|
101
106
|
padding-left: var(--nudge-flex-gap);
|
|
@@ -132,5 +137,8 @@
|
|
|
132
137
|
|
|
133
138
|
[dir="rtl"] & {
|
|
134
139
|
transform: scaleX(-1);
|
|
140
|
+
transform: scaleX(-1);
|
|
141
|
+
margin-left: 0;
|
|
142
|
+
margin-right: @margin-left;
|
|
135
143
|
}
|
|
136
144
|
}
|
|
@@ -2,15 +2,21 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
}
|
|
4
4
|
.tw-telephone .tw-telephone__number-input {
|
|
5
|
-
margin-
|
|
6
|
-
margin-
|
|
5
|
+
margin-left: 12px;
|
|
6
|
+
margin-left: var(--size-12);
|
|
7
|
+
}
|
|
8
|
+
[dir="rtl"] .tw-telephone .tw-telephone__number-input {
|
|
9
|
+
margin-right: 12px;
|
|
10
|
+
margin-right: var(--size-12);
|
|
11
|
+
margin-left: 0;
|
|
12
|
+
margin-left: initial;
|
|
7
13
|
}
|
|
8
14
|
.tw-telephone__country-select {
|
|
9
15
|
flex-basis: 120px;
|
|
10
16
|
flex-shrink: 0;
|
|
11
17
|
}
|
|
12
18
|
.tw-telephone__country-select .np-input-group {
|
|
13
|
-
|
|
19
|
+
width: 100%;
|
|
14
20
|
}
|
|
15
21
|
.tw-telephone__country-select--with-input-group-addon-start .np-button-input {
|
|
16
22
|
padding-inline-start: 48px;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
@import (reference) "./../styles/less/mixins/_logical-properties.less";
|
|
2
|
+
|
|
1
3
|
@four-digit-country-code-width: 120px;
|
|
2
4
|
|
|
3
5
|
.tw-telephone {
|
|
4
6
|
display: flex;
|
|
5
7
|
|
|
6
8
|
.tw-telephone__number-input {
|
|
7
|
-
margin
|
|
9
|
+
.margin(left, var(--size-12));
|
|
8
10
|
}
|
|
9
11
|
}
|
|
10
12
|
|
package/src/Popover/Popover.css
CHANGED
|
@@ -9,14 +9,12 @@
|
|
|
9
9
|
font-size: var(--font-size-14);
|
|
10
10
|
}
|
|
11
11
|
.np-popover__container .np-popover__content p:last-child {
|
|
12
|
-
margin-
|
|
12
|
+
margin-bottom: 0;
|
|
13
13
|
}
|
|
14
14
|
.np-popover__container.np-panel .np-popover__content {
|
|
15
|
-
padding
|
|
16
|
-
padding
|
|
17
|
-
|
|
18
|
-
padding-inline: var(--size-24);
|
|
19
|
-
max-inline-size: 276px;
|
|
15
|
+
padding: 16px 24px;
|
|
16
|
+
padding: var(--size-16) var(--size-24);
|
|
17
|
+
max-width: 276px;
|
|
20
18
|
}
|
|
21
19
|
.np-theme-personal .np-popover__container.np-panel .np-popover__content {
|
|
22
20
|
padding: 24px;
|
|
@@ -29,7 +27,8 @@
|
|
|
29
27
|
line-height: 1.2;
|
|
30
28
|
line-height: var(--line-height-title);
|
|
31
29
|
letter-spacing: 0;
|
|
32
|
-
margin-
|
|
30
|
+
margin-bottom: 0;
|
|
31
|
+
margin-bottom: initial;
|
|
33
32
|
font-weight: 600;
|
|
34
33
|
font-weight: var(--font-weight-semi-bold);
|
|
35
34
|
font-size: 1.625rem;
|
|
@@ -68,12 +67,10 @@
|
|
|
68
67
|
.np-popover__container.np-bottom-sheet .np-popover__title + p,
|
|
69
68
|
.np-popover__container.np-bottom-sheet .np-popover__title + ul:not(.list-unstyled),
|
|
70
69
|
.np-popover__container.np-bottom-sheet .np-popover__title + ol:not(.list-unstyled) {
|
|
71
|
-
margin-
|
|
72
|
-
margin-
|
|
70
|
+
margin-top: 8px;
|
|
71
|
+
margin-top: var(--size-8);
|
|
73
72
|
}
|
|
74
73
|
.np-popover__container.np-bottom-sheet .np-popover__content {
|
|
75
|
-
padding
|
|
76
|
-
padding
|
|
77
|
-
padding-inline: 24px;
|
|
78
|
-
padding-inline: var(--size-24);
|
|
74
|
+
padding: 32px 24px;
|
|
75
|
+
padding: var(--size-32) var(--size-24);
|
|
79
76
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
.np-progress {
|
|
2
2
|
border-radius: 10px;
|
|
3
3
|
border-radius: var(--radius-small);
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 8px;
|
|
6
|
+
height: var(--size-8);
|
|
7
7
|
}
|
|
8
8
|
.np-progress::-webkit-progress-bar {
|
|
9
9
|
background-color: rgba(134,167,189,0.10196);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
.np-progress-bar__title .h4 {
|
|
2
2
|
color: #37517e;
|
|
3
3
|
color: var(--color-content-primary);
|
|
4
|
-
margin-
|
|
5
|
-
margin-
|
|
4
|
+
margin-bottom: 4px;
|
|
5
|
+
margin-bottom: var(--size-4);
|
|
6
6
|
}
|
|
7
7
|
.np-progress-bar p {
|
|
8
8
|
color: #37517e;
|
|
9
9
|
color: var(--color-content-primary);
|
|
10
|
-
margin-
|
|
11
|
-
margin-
|
|
10
|
+
margin-top: 4px;
|
|
11
|
+
margin-top: var(--size-4);
|
|
12
12
|
font-weight: 600;
|
|
13
13
|
font-weight: var(--font-weight-semi-bold);
|
|
14
14
|
}
|
|
@@ -17,34 +17,43 @@
|
|
|
17
17
|
.np-Card-image {
|
|
18
18
|
transform: scale(var(--Card-image-scale)) translateY(var(--Card-image-translate));
|
|
19
19
|
transition: transform 0.5s ease-in-out;
|
|
20
|
-
margin
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
inset-inline-start: calc(var(--size-24) * -1);
|
|
20
|
+
margin: 0 auto;
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: auto;
|
|
23
|
+
width: calc(100% + 48px);
|
|
24
|
+
width: calc(100% + var(--size-48));
|
|
25
|
+
left: calc(24px * -1);
|
|
26
|
+
left: calc(var(--size-24) * -1);
|
|
28
27
|
position: relative;
|
|
29
28
|
}
|
|
29
|
+
[dir="rtl"] .np-Card-image {
|
|
30
|
+
left: auto;
|
|
31
|
+
right: calc(24px * -1);
|
|
32
|
+
right: calc(var(--size-24) * -1);
|
|
33
|
+
}
|
|
30
34
|
.np-Card-description {
|
|
31
35
|
color: #5d7079;
|
|
32
36
|
color: var(--color-content-secondary);
|
|
33
37
|
}
|
|
34
38
|
.np-Card-indicator {
|
|
35
39
|
position: absolute;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
right: 8px;
|
|
41
|
+
right: var(--size-8);
|
|
42
|
+
bottom: 8px;
|
|
43
|
+
bottom: var(--size-8);
|
|
40
44
|
display: flex;
|
|
41
45
|
gap: 4px;
|
|
42
46
|
gap: var(--size-4);
|
|
43
47
|
}
|
|
48
|
+
[dir="rtl"] .np-Card-indicator {
|
|
49
|
+
right: auto;
|
|
50
|
+
left: 8px;
|
|
51
|
+
left: var(--size-8);
|
|
52
|
+
}
|
|
44
53
|
.np-Card-indicatorText {
|
|
45
54
|
display: inline-block;
|
|
46
55
|
vertical-align: middle;
|
|
47
|
-
text-align:
|
|
56
|
+
text-align: left;
|
|
48
57
|
background: var(--Card-indicator-text-background-color);
|
|
49
58
|
padding: 16px;
|
|
50
59
|
padding: var(--size-16);
|
|
@@ -121,12 +130,12 @@
|
|
|
121
130
|
outline: none;
|
|
122
131
|
}
|
|
123
132
|
.np-Card--link .np-Card-titleLink::after {
|
|
124
|
-
content:
|
|
133
|
+
content: '';
|
|
125
134
|
display: block;
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
135
|
+
width: 100%;
|
|
136
|
+
height: 100%;
|
|
137
|
+
left: 0;
|
|
138
|
+
top: 0;
|
|
130
139
|
position: absolute;
|
|
131
140
|
z-index: 10;
|
|
132
141
|
}
|
|
@@ -140,18 +149,23 @@
|
|
|
140
149
|
border-radius: 9999px;
|
|
141
150
|
border-radius: var(--radius-full);
|
|
142
151
|
display: flex;
|
|
143
|
-
|
|
144
|
-
|
|
152
|
+
height: 40px;
|
|
153
|
+
height: var(--size-40);
|
|
145
154
|
position: absolute;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
155
|
+
right: 8px;
|
|
156
|
+
right: var(--size-8);
|
|
157
|
+
top: 8px;
|
|
158
|
+
top: var(--size-8);
|
|
159
|
+
width: 40px;
|
|
160
|
+
width: var(--size-40);
|
|
152
161
|
justify-content: center;
|
|
153
162
|
align-items: center;
|
|
154
163
|
}
|
|
164
|
+
[dir="rtl"] .np-Card--checked.is-checked .np-Card-check {
|
|
165
|
+
right: auto;
|
|
166
|
+
left: 8px;
|
|
167
|
+
left: var(--size-8);
|
|
168
|
+
}
|
|
155
169
|
.np-Card--checked.is-checked:focus-visible:not(.is-disabled):not(:disabled) {
|
|
156
170
|
box-shadow: none;
|
|
157
171
|
}
|
|
@@ -160,7 +174,7 @@
|
|
|
160
174
|
flex-direction: column;
|
|
161
175
|
gap: 24px;
|
|
162
176
|
gap: var(--size-24);
|
|
163
|
-
|
|
177
|
+
width: 100%;
|
|
164
178
|
}
|
|
165
179
|
@media (min-width: 840px) {
|
|
166
180
|
.np-CardGroup {
|
|
@@ -168,5 +182,5 @@
|
|
|
168
182
|
}
|
|
169
183
|
}
|
|
170
184
|
.np-CardGroup .np-Card.np-Card--promoCard {
|
|
171
|
-
max-
|
|
185
|
+
max-width: 100%;
|
|
172
186
|
}
|
|
@@ -12,26 +12,31 @@
|
|
|
12
12
|
--Card-max-width: 358px;
|
|
13
13
|
|
|
14
14
|
&.is-disabled {
|
|
15
|
-
opacity:
|
|
15
|
+
opacity: .45;
|
|
16
16
|
filter: grayscale(1);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
&-image {
|
|
21
21
|
transform: scale(var(--Card-image-scale)) translateY(var(--Card-image-translate));
|
|
22
|
-
transition: transform
|
|
22
|
+
transition: transform .5s ease-in-out;
|
|
23
23
|
margin: 0 auto;
|
|
24
24
|
width: 100%;
|
|
25
25
|
height: auto;
|
|
26
26
|
width: calc(100% + var(--size-48)); // Ensures we have 100% width to parent
|
|
27
27
|
left: calc(var(--size-24) * -1);
|
|
28
28
|
position: relative;
|
|
29
|
+
|
|
30
|
+
[dir="rtl"] & {
|
|
31
|
+
left: auto;
|
|
32
|
+
right: calc(var(--size-24) * -1);
|
|
33
|
+
}
|
|
29
34
|
}
|
|
30
35
|
|
|
31
36
|
&-description {
|
|
32
37
|
color: var(--color-content-secondary);
|
|
33
38
|
}
|
|
34
|
-
|
|
39
|
+
|
|
35
40
|
&-indicator {
|
|
36
41
|
position: absolute;
|
|
37
42
|
right: var(--size-8);
|
|
@@ -39,6 +44,11 @@
|
|
|
39
44
|
display: flex;
|
|
40
45
|
gap: var(--size-4);
|
|
41
46
|
|
|
47
|
+
[dir="rtl"] & {
|
|
48
|
+
right: auto;
|
|
49
|
+
left: var(--size-8);
|
|
50
|
+
}
|
|
51
|
+
|
|
42
52
|
&Text {
|
|
43
53
|
display: inline-block;
|
|
44
54
|
vertical-align: middle;
|
|
@@ -47,7 +57,7 @@
|
|
|
47
57
|
padding: var(--size-16);
|
|
48
58
|
border-radius: 100px;
|
|
49
59
|
}
|
|
50
|
-
|
|
60
|
+
|
|
51
61
|
&Icon .tw-icon {
|
|
52
62
|
color: var(--Card-indicator-icon-color);
|
|
53
63
|
|
|
@@ -57,26 +67,19 @@
|
|
|
57
67
|
}
|
|
58
68
|
}
|
|
59
69
|
}
|
|
60
|
-
|
|
70
|
+
|
|
61
71
|
&--checked,
|
|
62
72
|
&--link {
|
|
63
73
|
color: currentColor;
|
|
64
74
|
cursor: pointer;
|
|
65
75
|
box-shadow: none;
|
|
66
76
|
transform: scale(1);
|
|
67
|
-
transition:
|
|
68
|
-
box-shadow 0.2s ease-in-out,
|
|
69
|
-
transform 0.5s ease-in-out;
|
|
77
|
+
transition: box-shadow .2s ease-in-out, transform .5s ease-in-out;
|
|
70
78
|
|
|
71
|
-
// Defines a box shadow for the Card component that is only applied
|
|
72
|
-
// when it is a child of an element with the class np-theme-personal
|
|
79
|
+
// Defines a box shadow for the Card component that is only applied
|
|
80
|
+
// when it is a child of an element with the class np-theme-personal
|
|
73
81
|
// and does not have the class `'np-theme-personal--(dark|bright-green|forest-green)'`.
|
|
74
|
-
.np-theme-personal:not(
|
|
75
|
-
.np-theme-personal--dark,
|
|
76
|
-
.np-theme-personal--bright-green,
|
|
77
|
-
.np-theme-personal--forest-green
|
|
78
|
-
)
|
|
79
|
-
& {
|
|
82
|
+
.np-theme-personal:not(.np-theme-personal--dark, .np-theme-personal--bright-green, .np-theme-personal--forest-green) & {
|
|
80
83
|
--Card-box-shadow: 0px 20px var(--size-40) 0px var(--color-background-neutral);
|
|
81
84
|
--Card-check-color: var(--color-interactive-accent);
|
|
82
85
|
}
|
|
@@ -84,25 +87,25 @@
|
|
|
84
87
|
&.is-disabled {
|
|
85
88
|
cursor: not-allowed;
|
|
86
89
|
}
|
|
87
|
-
|
|
90
|
+
|
|
88
91
|
// Removes all animations for users who prefer reduced motion
|
|
89
92
|
@media (prefers-reduced-motion: reduce) {
|
|
90
93
|
transition: none;
|
|
91
94
|
}
|
|
92
|
-
|
|
95
|
+
|
|
93
96
|
&:hover:not(.is-disabled, :disabled, .is-checked, :focus-within) {
|
|
94
97
|
--Card-image-scale: 1.1;
|
|
95
98
|
box-shadow: var(--Card-box-shadow);
|
|
96
99
|
}
|
|
97
|
-
|
|
98
|
-
&:active:not(.is-disabled, :disabled, .is-checked) {
|
|
100
|
+
|
|
101
|
+
&:active:not(.is-disabled, :disabled, .is-checked) {
|
|
99
102
|
--Card-background-color: var(--color-background-neutral-active);
|
|
100
103
|
--Card-image-scale: 1.1;
|
|
101
104
|
--Card-image-translate: var(--size-8);
|
|
102
105
|
transform: scale(98%);
|
|
103
106
|
box-shadow: var(--Card-box-shadow);
|
|
104
107
|
|
|
105
|
-
// Required as --color-background-elevated isn't present within the
|
|
108
|
+
// Required as --color-background-elevated isn't present within the
|
|
106
109
|
// bright-green theme
|
|
107
110
|
.np-theme-personal--bright-green & {
|
|
108
111
|
--Card-background-color: var(--color-background-neutral);
|
|
@@ -132,7 +135,7 @@
|
|
|
132
135
|
}
|
|
133
136
|
|
|
134
137
|
&::after {
|
|
135
|
-
content:
|
|
138
|
+
content: '';
|
|
136
139
|
display: block;
|
|
137
140
|
width: 100%;
|
|
138
141
|
height: 100%;
|
|
@@ -147,7 +150,7 @@
|
|
|
147
150
|
&--checked {
|
|
148
151
|
&.is-checked {
|
|
149
152
|
box-shadow: 0 0 0 var(--size-4) var(--color-interactive-primary);
|
|
150
|
-
|
|
153
|
+
|
|
151
154
|
.np-Card-check {
|
|
152
155
|
color: var(--Card-check-color);
|
|
153
156
|
background: var(--Card-check-background-color);
|
|
@@ -160,8 +163,13 @@
|
|
|
160
163
|
width: var(--size-40);
|
|
161
164
|
justify-content: center;
|
|
162
165
|
align-items: center;
|
|
163
|
-
}
|
|
164
166
|
|
|
167
|
+
[dir="rtl"] & {
|
|
168
|
+
right: auto;
|
|
169
|
+
left: var(--size-8);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
165
173
|
&:focus-visible:not(.is-disabled, :disabled) {
|
|
166
174
|
box-shadow: none;
|
|
167
175
|
}
|
|
@@ -6,26 +6,26 @@
|
|
|
6
6
|
--Prompt-border-radius: var(--radius-large);
|
|
7
7
|
}
|
|
8
8
|
.wds-action-prompt--media-image {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
width: 48px;
|
|
10
|
+
width: var(--size-48);
|
|
11
|
+
height: 48px;
|
|
12
|
+
height: var(--size-48);
|
|
13
13
|
-o-object-fit: contain;
|
|
14
14
|
object-fit: contain;
|
|
15
15
|
}
|
|
16
16
|
@media (max-width: 599.98px) {
|
|
17
17
|
.wds-action-prompt .wds-action-prompt__action {
|
|
18
|
-
|
|
18
|
+
width: 100%;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
@media (max-width: 599.98px) {
|
|
22
22
|
.wds-action-prompt--with-two-actions .wds-action-prompt__action {
|
|
23
23
|
flex: 1 1 calc(50% - (var(--Prompt-actions-gap) / 2));
|
|
24
|
-
min-
|
|
25
|
-
min-
|
|
24
|
+
min-width: -moz-fit-content;
|
|
25
|
+
min-width: fit-content;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
.wds-action-prompt__content {
|
|
29
|
-
max-
|
|
30
|
-
max-
|
|
29
|
+
max-width: calc(48px * 10);
|
|
30
|
+
max-width: calc(var(--size-48) * 10);
|
|
31
31
|
}
|