@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
|
@@ -10,20 +10,26 @@ table th[class*="col-"] {
|
|
|
10
10
|
display: table-cell;
|
|
11
11
|
}
|
|
12
12
|
caption {
|
|
13
|
-
padding-
|
|
14
|
-
padding-
|
|
13
|
+
padding-top: 16px;
|
|
14
|
+
padding-bottom: 16px;
|
|
15
15
|
color: #5d7079;
|
|
16
16
|
color: var(--color-content-secondary);
|
|
17
|
-
text-align:
|
|
17
|
+
text-align: left;
|
|
18
|
+
}
|
|
19
|
+
[dir="rtl"] caption {
|
|
20
|
+
text-align: right;
|
|
18
21
|
}
|
|
19
22
|
th {
|
|
20
|
-
text-align:
|
|
23
|
+
text-align: left;
|
|
24
|
+
}
|
|
25
|
+
[dir="rtl"] th {
|
|
26
|
+
text-align: right;
|
|
21
27
|
}
|
|
22
28
|
.table {
|
|
23
|
-
|
|
24
|
-
max-
|
|
25
|
-
margin-
|
|
26
|
-
margin-
|
|
29
|
+
width: 100%;
|
|
30
|
+
max-width: 100%;
|
|
31
|
+
margin-bottom: 24px;
|
|
32
|
+
margin-bottom: var(--size-24);
|
|
27
33
|
}
|
|
28
34
|
.table > thead > tr > th,
|
|
29
35
|
.table > tbody > tr > th,
|
|
@@ -31,33 +37,27 @@ th {
|
|
|
31
37
|
.table > thead > tr > td,
|
|
32
38
|
.table > tbody > tr > td,
|
|
33
39
|
.table > tfoot > tr > td {
|
|
34
|
-
padding
|
|
35
|
-
padding
|
|
36
|
-
padding-inline: 16px;
|
|
37
|
-
padding-inline: var(--size-16);
|
|
40
|
+
padding: 24px 16px;
|
|
41
|
+
padding: var(--size-24) var(--size-16);
|
|
38
42
|
line-height: 1.5;
|
|
39
43
|
line-height: var(--line-height-body);
|
|
40
44
|
vertical-align: top;
|
|
41
|
-
border-
|
|
42
|
-
border-
|
|
43
|
-
border-
|
|
44
|
-
border-block-end: 0;
|
|
45
|
+
border-top: 1px solid rgba(0,0,0,0.10196);
|
|
46
|
+
border-top: 1px solid var(--color-border-neutral);
|
|
47
|
+
border-bottom: 0;
|
|
45
48
|
transition: border ease 0.15s;
|
|
46
49
|
}
|
|
47
50
|
.table > .thead > ol > li,
|
|
48
51
|
.table > .tbody > dl > dd,
|
|
49
52
|
.table > .tfoot > ol > li {
|
|
50
|
-
padding
|
|
51
|
-
padding
|
|
52
|
-
padding-inline: 16px;
|
|
53
|
-
padding-inline: var(--size-16);
|
|
53
|
+
padding: 24px 16px;
|
|
54
|
+
padding: var(--size-24) var(--size-16);
|
|
54
55
|
line-height: 1.5;
|
|
55
56
|
line-height: var(--line-height-body);
|
|
56
57
|
vertical-align: top;
|
|
57
|
-
border-
|
|
58
|
-
border-
|
|
59
|
-
border-
|
|
60
|
-
border-block-end: 0;
|
|
58
|
+
border-top: 1px solid rgba(0,0,0,0.10196);
|
|
59
|
+
border-top: 1px solid var(--color-border-neutral);
|
|
60
|
+
border-bottom: 0;
|
|
61
61
|
transition: border ease 0.15s;
|
|
62
62
|
}
|
|
63
63
|
.table > thead > tr > th,
|
|
@@ -71,7 +71,7 @@ th {
|
|
|
71
71
|
}
|
|
72
72
|
.table > thead > tr > th .tw-icon,
|
|
73
73
|
.table > .thead > ol > li .tw-icon {
|
|
74
|
-
margin-
|
|
74
|
+
margin-top: -3px;
|
|
75
75
|
}
|
|
76
76
|
.table > caption + thead > tr:first-child > th,
|
|
77
77
|
.table > colgroup + thead > tr:first-child > th,
|
|
@@ -79,15 +79,14 @@ th {
|
|
|
79
79
|
.table > caption + thead > tr:first-child > td,
|
|
80
80
|
.table > colgroup + thead > tr:first-child > td,
|
|
81
81
|
.table > thead:first-child > tr:first-child > td {
|
|
82
|
-
border-
|
|
82
|
+
border-top: 0;
|
|
83
83
|
}
|
|
84
84
|
.table > .thead:first-child > ol:first-child > li {
|
|
85
|
-
border-
|
|
85
|
+
border-top: 0;
|
|
86
86
|
}
|
|
87
87
|
.table > tbody + tbody {
|
|
88
|
-
border-
|
|
89
|
-
border-
|
|
90
|
-
border-block-start: 1px solid var(--color-border-neutral);
|
|
88
|
+
border-top: 1px solid rgba(0,0,0,0.10196);
|
|
89
|
+
border-top: 1px solid var(--color-border-neutral);
|
|
91
90
|
}
|
|
92
91
|
.table .table {
|
|
93
92
|
background-color: #ffffff;
|
|
@@ -315,21 +314,21 @@ table col[class*="col-"] {
|
|
|
315
314
|
}
|
|
316
315
|
.table-responsive {
|
|
317
316
|
overflow-x: auto;
|
|
318
|
-
min-
|
|
317
|
+
min-height: 0.01%;
|
|
319
318
|
}
|
|
320
319
|
.table-responsive.table-bordered {
|
|
321
320
|
border: 0;
|
|
322
321
|
}
|
|
323
322
|
@media screen and (max-width: 839.98px) {
|
|
324
323
|
.table-responsive {
|
|
325
|
-
|
|
326
|
-
margin-
|
|
327
|
-
margin-
|
|
324
|
+
width: 100%;
|
|
325
|
+
margin-bottom: 24px;
|
|
326
|
+
margin-bottom: var(--size-24);
|
|
328
327
|
overflow-y: hidden;
|
|
329
328
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
330
329
|
}
|
|
331
330
|
.table-responsive > .table {
|
|
332
|
-
margin-
|
|
331
|
+
margin-bottom: 0;
|
|
333
332
|
}
|
|
334
333
|
.table-responsive > .table > thead > tr > th,
|
|
335
334
|
.table-responsive > .table > tbody > tr > th,
|
|
@@ -346,7 +345,7 @@ table col[class*="col-"] {
|
|
|
346
345
|
.table-responsive > .table-bordered > tfoot > tr:last-child > th,
|
|
347
346
|
.table-responsive > .table-bordered > tbody > tr:last-child > td,
|
|
348
347
|
.table-responsive > .table-bordered > tfoot > tr:last-child > td {
|
|
349
|
-
border-
|
|
348
|
+
border-bottom: 0;
|
|
350
349
|
}
|
|
351
350
|
.table-responsive.table-bordered {
|
|
352
351
|
border: 1px solid rgba(134,167,189,0.10196);
|
|
@@ -399,12 +398,10 @@ table col[class*="col-"] {
|
|
|
399
398
|
border: 1px #c9cbce solid;
|
|
400
399
|
border: 1px var(--color-interactive-secondary) solid;
|
|
401
400
|
border-radius: 3px;
|
|
402
|
-
margin-
|
|
403
|
-
margin-
|
|
404
|
-
padding
|
|
405
|
-
padding
|
|
406
|
-
padding-inline: 1.5;
|
|
407
|
-
padding-inline: var(--line-height-body);
|
|
401
|
+
margin-bottom: 24px;
|
|
402
|
+
margin-bottom: var(--size-24);
|
|
403
|
+
padding: 24px 1.5 0;
|
|
404
|
+
padding: var(--size-24) var(--line-height-body) 0;
|
|
408
405
|
}
|
|
409
406
|
.table > .tbody > dl > dd {
|
|
410
407
|
padding: 0;
|
|
@@ -416,22 +413,20 @@ table col[class*="col-"] {
|
|
|
416
413
|
}
|
|
417
414
|
@media (max-width: 599.98px) {
|
|
418
415
|
.table > .tbody > dl {
|
|
419
|
-
padding-
|
|
416
|
+
padding-bottom: 8px;
|
|
420
417
|
}
|
|
421
418
|
}
|
|
422
419
|
/* Deprecated - Table CSS for components moved inside @transferwise/components */
|
|
423
420
|
.table-calendar {
|
|
424
|
-
min-
|
|
421
|
+
min-width: 300px;
|
|
425
422
|
}
|
|
426
423
|
.table-calendar > tbody > tr > td {
|
|
427
424
|
padding: 0;
|
|
428
425
|
}
|
|
429
426
|
.table-calendar > tbody > tr > td > a {
|
|
430
427
|
display: block;
|
|
431
|
-
padding
|
|
432
|
-
|
|
433
|
-
margin-block: 4px;
|
|
434
|
-
margin-inline: 2px;
|
|
428
|
+
padding: 4px 0;
|
|
429
|
+
margin: 4px 2px;
|
|
435
430
|
border-radius: 3px;
|
|
436
431
|
text-align: center;
|
|
437
432
|
-webkit-text-decoration: none;
|
package/src/styles/less/tick.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.tw-checkbox-check {
|
|
2
2
|
position: relative;
|
|
3
3
|
display: inline-block;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
width: 10px;
|
|
5
|
+
height: 8px;
|
|
6
6
|
}
|
|
7
7
|
.tw-checkbox-check::before,
|
|
8
8
|
.tw-checkbox-check::after {
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
background: var(--color-background-screen);
|
|
13
13
|
transform: translateX(0.5px) rotate(-45deg);
|
|
14
14
|
transform-origin: left bottom;
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
left: 8px;
|
|
16
|
+
left: var(--size-8);
|
|
17
17
|
}
|
|
18
18
|
.tw-checkbox-check .has-error::before,
|
|
19
19
|
.tw-checkbox-check .has-error::after {
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
background-color: var(--color-interactive-negative);
|
|
22
22
|
}
|
|
23
23
|
.tw-checkbox-check::before {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
top: 9px;
|
|
25
|
+
height: 6px;
|
|
26
|
+
width: 2px;
|
|
27
27
|
}
|
|
28
28
|
.tw-checkbox-check::after {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
bottom: 5px;
|
|
30
|
+
height: 2px;
|
|
31
|
+
width: 11px;
|
|
32
32
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
line-break: auto;
|
|
11
11
|
line-height: 24px;
|
|
12
12
|
line-height: var(--size-24);
|
|
13
|
-
text-align:
|
|
13
|
+
text-align: left;
|
|
14
14
|
-webkit-text-decoration: none;
|
|
15
15
|
text-decoration: none;
|
|
16
16
|
text-shadow: none;
|
|
@@ -21,28 +21,37 @@
|
|
|
21
21
|
word-wrap: normal;
|
|
22
22
|
opacity: 0;
|
|
23
23
|
}
|
|
24
|
+
[dir="rtl"] .tooltip {
|
|
25
|
+
text-align: right;
|
|
26
|
+
}
|
|
24
27
|
.tooltip.in {
|
|
25
28
|
opacity: 1;
|
|
26
29
|
}
|
|
27
30
|
.tooltip.top {
|
|
28
|
-
margin-
|
|
29
|
-
padding
|
|
30
|
-
padding-inline: 0;
|
|
31
|
+
margin-top: -3px;
|
|
32
|
+
padding: 5px 0;
|
|
31
33
|
}
|
|
32
34
|
.tooltip.right {
|
|
33
|
-
margin-
|
|
34
|
-
padding
|
|
35
|
-
|
|
35
|
+
margin-left: 3px;
|
|
36
|
+
padding: 0 5px;
|
|
37
|
+
}
|
|
38
|
+
[dir="rtl"] .tooltip.right {
|
|
39
|
+
margin-right: 3px;
|
|
40
|
+
margin-left: 0;
|
|
41
|
+
margin-left: initial;
|
|
36
42
|
}
|
|
37
43
|
.tooltip.bottom {
|
|
38
|
-
margin-
|
|
39
|
-
padding
|
|
40
|
-
padding-inline: 0;
|
|
44
|
+
margin-top: 3px;
|
|
45
|
+
padding: 5px 0;
|
|
41
46
|
}
|
|
42
47
|
.tooltip.left {
|
|
43
|
-
margin-
|
|
44
|
-
padding
|
|
45
|
-
|
|
48
|
+
margin-left: -3px;
|
|
49
|
+
padding: 0 5px;
|
|
50
|
+
}
|
|
51
|
+
[dir="rtl"] .tooltip.left {
|
|
52
|
+
margin-right: -3px;
|
|
53
|
+
margin-left: 0;
|
|
54
|
+
margin-left: initial;
|
|
46
55
|
}
|
|
47
56
|
.tooltip-inner {
|
|
48
57
|
font-size: 0.875rem;
|
|
@@ -51,12 +60,10 @@
|
|
|
51
60
|
letter-spacing: -0.006em;
|
|
52
61
|
font-weight: 400;
|
|
53
62
|
font-weight: var(--font-weight-regular);
|
|
54
|
-
max-
|
|
55
|
-
min-
|
|
56
|
-
padding
|
|
57
|
-
padding
|
|
58
|
-
padding-inline: 16px;
|
|
59
|
-
padding-inline: var(--size-16);
|
|
63
|
+
max-width: 200px;
|
|
64
|
+
min-width: 120px;
|
|
65
|
+
padding: 16px 16px;
|
|
66
|
+
padding: var(--size-16) var(--size-16);
|
|
60
67
|
color: #37517e;
|
|
61
68
|
color: var(--color-content-primary);
|
|
62
69
|
text-align: center;
|
|
@@ -72,46 +79,72 @@
|
|
|
72
79
|
}
|
|
73
80
|
.tooltip-arrow {
|
|
74
81
|
position: absolute;
|
|
75
|
-
|
|
76
|
-
|
|
82
|
+
width: 0;
|
|
83
|
+
height: 0;
|
|
77
84
|
border-color: transparent;
|
|
78
85
|
border-style: solid;
|
|
79
86
|
}
|
|
80
87
|
.tooltip.top .tooltip-arrow {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
margin-
|
|
84
|
-
border-width
|
|
85
|
-
border-
|
|
86
|
-
border-
|
|
87
|
-
|
|
88
|
+
bottom: 0;
|
|
89
|
+
left: 50%;
|
|
90
|
+
margin-left: -5px;
|
|
91
|
+
border-width: 5px 5px 0;
|
|
92
|
+
border-top-color: #ffffff;
|
|
93
|
+
border-top-color: var(--color-background-screen);
|
|
94
|
+
}
|
|
95
|
+
[dir="rtl"] .tooltip.top .tooltip-arrow {
|
|
96
|
+
right: 50%;
|
|
97
|
+
left: auto;
|
|
98
|
+
left: initial;
|
|
99
|
+
}
|
|
100
|
+
[dir="rtl"] .tooltip.top .tooltip-arrow {
|
|
101
|
+
margin-right: -5px;
|
|
102
|
+
margin-left: 0;
|
|
103
|
+
margin-left: initial;
|
|
88
104
|
}
|
|
89
105
|
.tooltip.right .tooltip-arrow {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
margin-
|
|
93
|
-
border-width
|
|
94
|
-
border-
|
|
95
|
-
border-
|
|
96
|
-
|
|
106
|
+
top: 50%;
|
|
107
|
+
left: 0;
|
|
108
|
+
margin-top: -5px;
|
|
109
|
+
border-width: 5px 5px 5px 0;
|
|
110
|
+
border-right-color: #ffffff;
|
|
111
|
+
border-right-color: var(--color-background-screen);
|
|
112
|
+
}
|
|
113
|
+
[dir="rtl"] .tooltip.right .tooltip-arrow {
|
|
114
|
+
right: 0;
|
|
115
|
+
left: auto;
|
|
116
|
+
left: initial;
|
|
97
117
|
}
|
|
98
118
|
.tooltip.left .tooltip-arrow {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
margin-
|
|
102
|
-
border-width
|
|
103
|
-
border-
|
|
104
|
-
border-
|
|
105
|
-
|
|
119
|
+
top: 50%;
|
|
120
|
+
right: 0;
|
|
121
|
+
margin-top: -5px;
|
|
122
|
+
border-width: 5px 0 5px 5px;
|
|
123
|
+
border-left-color: #ffffff;
|
|
124
|
+
border-left-color: var(--color-background-screen);
|
|
125
|
+
}
|
|
126
|
+
[dir="rtl"] .tooltip.left .tooltip-arrow {
|
|
127
|
+
left: 0;
|
|
128
|
+
right: auto;
|
|
129
|
+
right: initial;
|
|
106
130
|
}
|
|
107
131
|
.tooltip.bottom .tooltip-arrow {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
margin-
|
|
111
|
-
border-width
|
|
112
|
-
border-
|
|
113
|
-
border-
|
|
114
|
-
|
|
132
|
+
top: 0;
|
|
133
|
+
left: 50%;
|
|
134
|
+
margin-left: -5px;
|
|
135
|
+
border-width: 0 5px 5px;
|
|
136
|
+
border-bottom-color: #ffffff;
|
|
137
|
+
border-bottom-color: var(--color-background-screen);
|
|
138
|
+
}
|
|
139
|
+
[dir="rtl"] .tooltip.bottom .tooltip-arrow {
|
|
140
|
+
right: 50%;
|
|
141
|
+
left: auto;
|
|
142
|
+
left: initial;
|
|
143
|
+
}
|
|
144
|
+
[dir="rtl"] .tooltip.bottom .tooltip-arrow {
|
|
145
|
+
margin-right: -5px;
|
|
146
|
+
margin-left: 0;
|
|
147
|
+
margin-left: initial;
|
|
115
148
|
}
|
|
116
149
|
[data-toggle="tooltip"]:not(.btn) {
|
|
117
150
|
cursor: pointer;
|
|
@@ -14,26 +14,40 @@
|
|
|
14
14
|
}
|
|
15
15
|
.center-block {
|
|
16
16
|
display: block;
|
|
17
|
-
margin-
|
|
18
|
-
margin-
|
|
17
|
+
margin-left: auto;
|
|
18
|
+
margin-right: auto;
|
|
19
19
|
}
|
|
20
20
|
.pull-right,
|
|
21
21
|
.pull-xs-right {
|
|
22
|
-
float:
|
|
22
|
+
float: right !important;
|
|
23
|
+
}
|
|
24
|
+
[dir="rtl"] .pull-right,
|
|
25
|
+
[dir="rtl"] .pull-xs-right {
|
|
26
|
+
float: left !important;
|
|
23
27
|
}
|
|
24
28
|
.pull-left,
|
|
25
29
|
.pull-xs-left {
|
|
26
|
-
float:
|
|
30
|
+
float: left !important;
|
|
31
|
+
}
|
|
32
|
+
[dir="rtl"] .pull-left,
|
|
33
|
+
[dir="rtl"] .pull-xs-left {
|
|
34
|
+
float: right !important;
|
|
27
35
|
}
|
|
28
36
|
.pull-xs-none {
|
|
29
37
|
float: none !important;
|
|
30
38
|
}
|
|
31
39
|
@media (min-width: 600px) {
|
|
32
40
|
.pull-sm-left {
|
|
33
|
-
float:
|
|
41
|
+
float: left !important;
|
|
42
|
+
}
|
|
43
|
+
[dir="rtl"] .pull-sm-left {
|
|
44
|
+
float: right !important;
|
|
34
45
|
}
|
|
35
46
|
.pull-sm-right {
|
|
36
|
-
float:
|
|
47
|
+
float: right !important;
|
|
48
|
+
}
|
|
49
|
+
[dir="rtl"] .pull-sm-right {
|
|
50
|
+
float: left !important;
|
|
37
51
|
}
|
|
38
52
|
.pull-sm-none {
|
|
39
53
|
float: none !important;
|
|
@@ -41,10 +55,16 @@
|
|
|
41
55
|
}
|
|
42
56
|
@media (min-width: 840px) {
|
|
43
57
|
.pull-md-left {
|
|
44
|
-
float:
|
|
58
|
+
float: left !important;
|
|
59
|
+
}
|
|
60
|
+
[dir="rtl"] .pull-md-left {
|
|
61
|
+
float: right !important;
|
|
45
62
|
}
|
|
46
63
|
.pull-md-right {
|
|
47
|
-
float:
|
|
64
|
+
float: right !important;
|
|
65
|
+
}
|
|
66
|
+
[dir="rtl"] .pull-md-right {
|
|
67
|
+
float: left !important;
|
|
48
68
|
}
|
|
49
69
|
.pull-md-none {
|
|
50
70
|
float: none !important;
|
|
@@ -53,11 +73,19 @@
|
|
|
53
73
|
@media (min-width: 1160px) {
|
|
54
74
|
.pull-lg-left,
|
|
55
75
|
.pull-xl-left {
|
|
56
|
-
float:
|
|
76
|
+
float: left !important;
|
|
77
|
+
}
|
|
78
|
+
[dir="rtl"] .pull-lg-left,
|
|
79
|
+
[dir="rtl"] .pull-xl-left {
|
|
80
|
+
float: right !important;
|
|
57
81
|
}
|
|
58
82
|
.pull-lg-right,
|
|
59
83
|
.pull-xl-right {
|
|
60
|
-
float:
|
|
84
|
+
float: right !important;
|
|
85
|
+
}
|
|
86
|
+
[dir="rtl"] .pull-lg-right,
|
|
87
|
+
[dir="rtl"] .pull-xl-right {
|
|
88
|
+
float: left !important;
|
|
61
89
|
}
|
|
62
90
|
.pull-lg-none,
|
|
63
91
|
.pull-xl-none {
|
|
@@ -65,10 +93,10 @@
|
|
|
65
93
|
}
|
|
66
94
|
}
|
|
67
95
|
.pull-left-single-direction {
|
|
68
|
-
float:
|
|
96
|
+
float: left !important;
|
|
69
97
|
}
|
|
70
98
|
.pull-right-single-direction {
|
|
71
|
-
float:
|
|
99
|
+
float: right !important;
|
|
72
100
|
}
|
|
73
101
|
.hide {
|
|
74
102
|
display: none !important;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
.well,
|
|
2
2
|
.well-xs {
|
|
3
|
-
min-
|
|
4
|
-
min-
|
|
5
|
-
margin-
|
|
6
|
-
margin-
|
|
3
|
+
min-height: 24px;
|
|
4
|
+
min-height: var(--size-24);
|
|
5
|
+
margin-bottom: 24px;
|
|
6
|
+
margin-bottom: var(--size-24);
|
|
7
7
|
border-radius: 10px;
|
|
8
8
|
border-radius: var(--radius-small);
|
|
9
9
|
border: solid 1px rgba(0,0,0,0.10196);
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
}
|
|
15
15
|
@media only screen and (min-width: 600px) {
|
|
16
16
|
.well-sm {
|
|
17
|
-
min-
|
|
18
|
-
min-
|
|
19
|
-
margin-
|
|
20
|
-
margin-
|
|
17
|
+
min-height: 24px;
|
|
18
|
+
min-height: var(--size-24);
|
|
19
|
+
margin-bottom: 24px;
|
|
20
|
+
margin-bottom: var(--size-24);
|
|
21
21
|
border-radius: 10px;
|
|
22
22
|
border-radius: var(--radius-small);
|
|
23
23
|
border: solid 1px rgba(0,0,0,0.10196);
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
}
|
|
30
30
|
@media only screen and (min-width: 840px) {
|
|
31
31
|
.well-md {
|
|
32
|
-
min-
|
|
33
|
-
min-
|
|
34
|
-
margin-
|
|
35
|
-
margin-
|
|
32
|
+
min-height: 24px;
|
|
33
|
+
min-height: var(--size-24);
|
|
34
|
+
margin-bottom: 24px;
|
|
35
|
+
margin-bottom: var(--size-24);
|
|
36
36
|
border-radius: 10px;
|
|
37
37
|
border-radius: var(--radius-small);
|
|
38
38
|
border: solid 1px rgba(0,0,0,0.10196);
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
@media only screen and (min-width: 1160px) {
|
|
46
46
|
.well-lg,
|
|
47
47
|
.well-xl {
|
|
48
|
-
min-
|
|
49
|
-
min-
|
|
50
|
-
margin-
|
|
51
|
-
margin-
|
|
48
|
+
min-height: 24px;
|
|
49
|
+
min-height: var(--size-24);
|
|
50
|
+
margin-bottom: 24px;
|
|
51
|
+
margin-bottom: var(--size-24);
|
|
52
52
|
border-radius: 10px;
|
|
53
53
|
border-radius: var(--radius-small);
|
|
54
54
|
border: solid 1px rgba(0,0,0,0.10196);
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var clsx = require('clsx');
|
|
6
|
-
var React = require('react');
|
|
7
|
-
var reactIntl = require('react-intl');
|
|
8
|
-
var Calendar_messages = require('../Calendar.messages.js');
|
|
9
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
10
|
-
|
|
11
|
-
const TableLink = ({
|
|
12
|
-
item,
|
|
13
|
-
type,
|
|
14
|
-
title,
|
|
15
|
-
longTitle,
|
|
16
|
-
active,
|
|
17
|
-
disabled,
|
|
18
|
-
today,
|
|
19
|
-
autofocus,
|
|
20
|
-
onClick
|
|
21
|
-
}) => {
|
|
22
|
-
const buttonRef = React.useRef(null);
|
|
23
|
-
const intl = reactIntl.useIntl();
|
|
24
|
-
React.useEffect(() => {
|
|
25
|
-
if (autofocus) {
|
|
26
|
-
setTimeout(() => {
|
|
27
|
-
buttonRef.current?.focus();
|
|
28
|
-
}, 0);
|
|
29
|
-
}
|
|
30
|
-
}, [autofocus]);
|
|
31
|
-
const onCalendarClick = event => {
|
|
32
|
-
event.preventDefault();
|
|
33
|
-
if (!disabled) {
|
|
34
|
-
onClick(item);
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
const calculateAriaLabel = () => {
|
|
38
|
-
if (active) {
|
|
39
|
-
return `${longTitle || title || ''}, ${intl.formatMessage(Calendar_messages.default.selected)} ${intl.formatMessage(Calendar_messages.default[type])}`;
|
|
40
|
-
}
|
|
41
|
-
return longTitle || title;
|
|
42
|
-
};
|
|
43
|
-
return /*#__PURE__*/jsxRuntime.jsx("button", {
|
|
44
|
-
ref: buttonRef,
|
|
45
|
-
type: "button",
|
|
46
|
-
className: clsx.clsx(`tw-date-lookup-${type}-option np-text-body-default-bold`, {
|
|
47
|
-
active: !!active
|
|
48
|
-
}, {
|
|
49
|
-
today: !!today
|
|
50
|
-
}),
|
|
51
|
-
disabled: disabled,
|
|
52
|
-
tabIndex: autofocus ? 0 : -1,
|
|
53
|
-
"aria-label": calculateAriaLabel(),
|
|
54
|
-
"aria-pressed": active,
|
|
55
|
-
onClick: onCalendarClick,
|
|
56
|
-
children: title || item
|
|
57
|
-
});
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
exports.default = TableLink;
|
|
61
|
-
//# sourceMappingURL=TableLink.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableLink.js","sources":["../../../src/Calendar/tableLink/TableLink.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useEffect, useRef } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport messages from '../Calendar.messages';\n\ninterface TableLinkProps {\n item: number;\n type: 'day' | 'month' | 'year';\n title?: string;\n longTitle?: string;\n active: boolean;\n disabled: boolean;\n today: boolean;\n autofocus?: boolean;\n onClick: (item: number) => void;\n}\n\nconst TableLink = ({\n item,\n type,\n title,\n longTitle,\n active,\n disabled,\n today,\n autofocus,\n onClick,\n}: TableLinkProps) => {\n const buttonRef = useRef<HTMLButtonElement>(null);\n const intl = useIntl();\n\n useEffect(() => {\n if (autofocus) {\n setTimeout(() => {\n buttonRef.current?.focus();\n }, 0);\n }\n }, [autofocus]);\n\n const onCalendarClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n event.preventDefault();\n if (!disabled) {\n onClick(item);\n }\n };\n\n const calculateAriaLabel = () => {\n if (active) {\n return `${longTitle || title || ''}, ${intl.formatMessage(\n messages.selected,\n )} ${intl.formatMessage(messages[type])}`;\n }\n return longTitle || title;\n };\n\n return (\n <button\n ref={buttonRef}\n type=\"button\"\n className={clsx(\n `tw-date-lookup-${type}-option np-text-body-default-bold`,\n { active: !!active },\n { today: !!today },\n )}\n disabled={disabled}\n tabIndex={autofocus ? 0 : -1}\n aria-label={calculateAriaLabel()}\n aria-pressed={active}\n onClick={onCalendarClick}\n >\n {title || item}\n </button>\n );\n};\n\nexport default TableLink;\n"],"names":["TableLink","item","type","title","longTitle","active","disabled","today","autofocus","onClick","buttonRef","useRef","intl","useIntl","useEffect","setTimeout","current","focus","onCalendarClick","event","preventDefault","calculateAriaLabel","formatMessage","messages","selected","_jsx","ref","className","clsx","tabIndex","children"],"mappings":";;;;;;;;;;AAkBA,MAAMA,SAAS,GAAGA,CAAC;EACjBC,IAAI;EACJC,IAAI;EACJC,KAAK;EACLC,SAAS;EACTC,MAAM;EACNC,QAAQ;EACRC,KAAK;EACLC,SAAS;AACTC,EAAAA;AAAO,CACQ,KAAI;AACnB,EAAA,MAAMC,SAAS,GAAGC,YAAM,CAAoB,IAAI,CAAC;AACjD,EAAA,MAAMC,IAAI,GAAGC,iBAAO,EAAE;AAEtBC,EAAAA,eAAS,CAAC,MAAK;AACb,IAAA,IAAIN,SAAS,EAAE;AACbO,MAAAA,UAAU,CAAC,MAAK;AACdL,QAAAA,SAAS,CAACM,OAAO,EAAEC,KAAK,EAAE;MAC5B,CAAC,EAAE,CAAC,CAAC;AACP,IAAA;AACF,EAAA,CAAC,EAAE,CAACT,SAAS,CAAC,CAAC;EAEf,MAAMU,eAAe,GAAIC,KAA0C,IAAI;IACrEA,KAAK,CAACC,cAAc,EAAE;IACtB,IAAI,CAACd,QAAQ,EAAE;MACbG,OAAO,CAACR,IAAI,CAAC;AACf,IAAA;EACF,CAAC;EAED,MAAMoB,kBAAkB,GAAGA,MAAK;AAC9B,IAAA,IAAIhB,MAAM,EAAE;MACV,OAAO,CAAA,EAAGD,SAAS,IAAID,KAAK,IAAI,EAAE,CAAA,EAAA,EAAKS,IAAI,CAACU,aAAa,CACvDC,yBAAQ,CAACC,QAAQ,CAClB,CAAA,CAAA,EAAIZ,IAAI,CAACU,aAAa,CAACC,yBAAQ,CAACrB,IAAI,CAAC,CAAC,CAAA,CAAE;AAC3C,IAAA;IACA,OAAOE,SAAS,IAAID,KAAK;EAC3B,CAAC;AAED,EAAA,oBACEsB,cAAA,CAAA,QAAA,EAAA;AACEC,IAAAA,GAAG,EAAEhB,SAAU;AACfR,IAAAA,IAAI,EAAC,QAAQ;AACbyB,IAAAA,SAAS,EAAEC,SAAI,CACb,CAAA,eAAA,EAAkB1B,IAAI,mCAAmC,EACzD;MAAEG,MAAM,EAAE,CAAC,CAACA;AAAM,KAAE,EACpB;MAAEE,KAAK,EAAE,CAAC,CAACA;KAAO,CAClB;AACFD,IAAAA,QAAQ,EAAEA,QAAS;AACnBuB,IAAAA,QAAQ,EAAErB,SAAS,GAAG,CAAC,GAAG,EAAG;IAC7B,YAAA,EAAYa,kBAAkB,EAAG;AACjC,IAAA,cAAA,EAAchB,MAAO;AACrBI,IAAAA,OAAO,EAAES,eAAgB;IAAAY,QAAA,EAExB3B,KAAK,IAAIF;AAAI,GACR,CAAC;AAEb;;;;"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { clsx } from 'clsx';
|
|
2
|
-
import { useRef, useEffect } from 'react';
|
|
3
|
-
import { useIntl } from 'react-intl';
|
|
4
|
-
import messages from '../Calendar.messages.mjs';
|
|
5
|
-
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
const TableLink = ({
|
|
8
|
-
item,
|
|
9
|
-
type,
|
|
10
|
-
title,
|
|
11
|
-
longTitle,
|
|
12
|
-
active,
|
|
13
|
-
disabled,
|
|
14
|
-
today,
|
|
15
|
-
autofocus,
|
|
16
|
-
onClick
|
|
17
|
-
}) => {
|
|
18
|
-
const buttonRef = useRef(null);
|
|
19
|
-
const intl = useIntl();
|
|
20
|
-
useEffect(() => {
|
|
21
|
-
if (autofocus) {
|
|
22
|
-
setTimeout(() => {
|
|
23
|
-
buttonRef.current?.focus();
|
|
24
|
-
}, 0);
|
|
25
|
-
}
|
|
26
|
-
}, [autofocus]);
|
|
27
|
-
const onCalendarClick = event => {
|
|
28
|
-
event.preventDefault();
|
|
29
|
-
if (!disabled) {
|
|
30
|
-
onClick(item);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
const calculateAriaLabel = () => {
|
|
34
|
-
if (active) {
|
|
35
|
-
return `${longTitle || title || ''}, ${intl.formatMessage(messages.selected)} ${intl.formatMessage(messages[type])}`;
|
|
36
|
-
}
|
|
37
|
-
return longTitle || title;
|
|
38
|
-
};
|
|
39
|
-
return /*#__PURE__*/jsx("button", {
|
|
40
|
-
ref: buttonRef,
|
|
41
|
-
type: "button",
|
|
42
|
-
className: clsx(`tw-date-lookup-${type}-option np-text-body-default-bold`, {
|
|
43
|
-
active: !!active
|
|
44
|
-
}, {
|
|
45
|
-
today: !!today
|
|
46
|
-
}),
|
|
47
|
-
disabled: disabled,
|
|
48
|
-
tabIndex: autofocus ? 0 : -1,
|
|
49
|
-
"aria-label": calculateAriaLabel(),
|
|
50
|
-
"aria-pressed": active,
|
|
51
|
-
onClick: onCalendarClick,
|
|
52
|
-
children: title || item
|
|
53
|
-
});
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
export { TableLink as default };
|
|
57
|
-
//# sourceMappingURL=TableLink.mjs.map
|