@transferwise/components 0.0.0-experimental-db6cf60 → 0.0.0-experimental-4678400
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/Body/Body.js +1 -1
- package/build/Body/Body.js.map +1 -1
- package/build/Body/Body.mjs +1 -1
- package/build/Body/Body.mjs.map +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.js +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.js.map +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs.map +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js.map +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs.map +1 -1
- package/build/Calendar/TableLink/TableLink.js +1 -1
- package/build/Calendar/TableLink/TableLink.js.map +1 -1
- package/build/Calendar/TableLink/TableLink.mjs +1 -1
- package/build/Calendar/TableLink/TableLink.mjs.map +1 -1
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.js +1 -1
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.js.map +1 -1
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.mjs +1 -1
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.mjs.map +1 -1
- package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.js +1 -1
- package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.js.map +1 -1
- package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.mjs +1 -1
- package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.mjs.map +1 -1
- package/build/Header/Header.js +8 -57
- package/build/Header/Header.js.map +1 -1
- package/build/Header/Header.mjs +9 -58
- package/build/Header/Header.mjs.map +1 -1
- package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js +2 -2
- package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +1 -1
- package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs +2 -2
- package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +1 -1
- package/build/Inputs/SelectInput/Option/SelectInputOption.js +1 -1
- package/build/Inputs/SelectInput/Option/SelectInputOption.js.map +1 -1
- package/build/Inputs/SelectInput/Option/SelectInputOption.mjs +1 -1
- package/build/Inputs/SelectInput/Option/SelectInputOption.mjs.map +1 -1
- package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.js +3 -3
- package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +1 -1
- package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs +3 -3
- package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +1 -1
- package/build/Inputs/SelectInput/Popover/SelectInputPopover.js +2 -2
- package/build/Inputs/SelectInput/Popover/SelectInputPopover.js.map +1 -1
- package/build/Inputs/SelectInput/Popover/SelectInputPopover.mjs +2 -2
- package/build/Inputs/SelectInput/Popover/SelectInputPopover.mjs.map +1 -1
- package/build/Label/Label.js +1 -1
- package/build/Label/Label.js.map +1 -1
- package/build/Label/Label.mjs +1 -1
- package/build/Label/Label.mjs.map +1 -1
- package/build/Stepper/Stepper.js +1 -1
- package/build/Stepper/Stepper.js.map +1 -1
- package/build/Stepper/Stepper.mjs +1 -1
- package/build/Stepper/Stepper.mjs.map +1 -1
- package/build/Table/Header/TableHeader.js +1 -1
- package/build/Table/Header/TableHeader.js.map +1 -1
- package/build/Table/Header/TableHeader.mjs +1 -1
- package/build/Table/Header/TableHeader.mjs.map +1 -1
- package/build/Tabs/Tab/Tab.js +1 -1
- package/build/Tabs/Tab/Tab.js.map +1 -1
- package/build/Tabs/Tab/Tab.mjs +1 -1
- package/build/Tabs/Tab/Tab.mjs.map +1 -1
- package/build/Tag/Tag.js +1 -1
- package/build/Tag/Tag.js.map +1 -1
- package/build/Tag/Tag.mjs +1 -1
- package/build/Tag/Tag.mjs.map +1 -1
- package/build/Typeahead/TypeaheadOption/TypeaheadOption.js +2 -2
- package/build/Typeahead/TypeaheadOption/TypeaheadOption.js.map +1 -1
- package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs +2 -2
- package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs.map +1 -1
- package/build/Upload/Steps/UploadImageStep/UploadImageStep.js +2 -2
- package/build/Upload/Steps/UploadImageStep/UploadImageStep.js.map +1 -1
- package/build/Upload/Steps/UploadImageStep/UploadImageStep.mjs +2 -2
- package/build/Upload/Steps/UploadImageStep/UploadImageStep.mjs.map +1 -1
- package/build/_deprecated/ActionButton/ActionButton.js +1 -1
- package/build/_deprecated/ActionButton/ActionButton.js.map +1 -1
- package/build/_deprecated/ActionButton/ActionButton.mjs +1 -1
- package/build/_deprecated/ActionButton/ActionButton.mjs.map +1 -1
- package/build/_deprecated/Avatar/Avatar.js +1 -1
- package/build/_deprecated/Avatar/Avatar.js.map +1 -1
- package/build/_deprecated/Avatar/Avatar.mjs +1 -1
- package/build/_deprecated/Avatar/Avatar.mjs.map +1 -1
- package/build/_deprecated/Select/Select.js +2 -2
- package/build/_deprecated/Select/Select.js.map +1 -1
- package/build/_deprecated/Select/Select.mjs +2 -2
- package/build/_deprecated/Select/Select.mjs.map +1 -1
- package/build/common/PropsValues/typography.js +6 -0
- package/build/common/PropsValues/typography.js.map +1 -1
- package/build/common/PropsValues/typography.mjs +6 -0
- package/build/common/PropsValues/typography.mjs.map +1 -1
- package/build/index.js +0 -2
- package/build/index.js.map +1 -1
- package/build/index.mjs +0 -1
- package/build/index.mjs.map +1 -1
- package/build/main.css +8673 -2355
- package/build/styles/Accordion/Accordion.css +7 -6
- package/build/styles/Body/Body.css +1 -1
- package/build/styles/Calendar/Calendar.css +11 -4
- package/build/styles/Calendar/TableLink/TableLink.css +11 -4
- package/build/styles/Chips/Chip/Chip.css +5 -3
- package/build/styles/Decision/Decision.css +4 -3
- package/build/styles/Emphasis/Emphasis.css +1 -1
- package/build/styles/ExpressiveMoneyInput/AmountInput/AmountInput.css +2 -1
- package/build/styles/ExpressiveMoneyInput/ExpressiveMoneyInput.css +2 -1
- package/build/styles/Header/Header.css +0 -46
- package/build/styles/Inputs/Input/Input.css +69 -57
- package/build/styles/Inputs/TextArea/TextArea.css +69 -57
- package/build/styles/Label/Label.css +3 -0
- package/build/styles/Markup/Markup.css +2 -2
- package/build/styles/MoneyInput/MoneyInput.css +9 -6
- package/build/styles/Nudge/Nudge.css +3 -3
- package/build/styles/Popover/Popover.css +4 -43
- package/build/styles/ProgressBar/ProgressBar.css +3 -2
- package/build/styles/Prompt/PrimitivePrompt/PrimitivePrompt.css +2 -1
- package/build/styles/Snackbar/Snackbar.css +1 -1
- package/build/styles/Table/Table.css +18 -8
- package/build/styles/Tabs/Tabs.css +3 -3
- package/build/styles/Tag/Tag.css +1 -1
- package/build/styles/Tile/Tile.css +4 -3
- package/build/styles/Typeahead/Typeahead.css +4 -2
- package/build/styles/UploadInput/UploadInput.css +1 -1
- package/build/styles/_deprecated/ActionButton/ActionButton.css +3 -4
- package/build/styles/_deprecated/Avatar/Avatar.css +2 -2
- package/build/styles/_deprecated/CriticalBanner/CriticalCommsBanner.css +2 -1
- package/build/styles/_deprecated/Select/Select.css +49 -14
- package/build/styles/_deprecated/Summary/Summary.css +2 -2
- package/build/styles/common/Circle/Circle.css +1 -1
- package/build/styles/common/Option/Option.css +4 -4
- package/build/styles/css/accordion.css +22 -44
- package/build/styles/css/badge.css +2 -2
- package/build/styles/css/button-groups.css +29 -6
- package/build/styles/css/buttons.css +35 -11
- package/build/styles/css/decision.css +22 -44
- package/build/styles/css/dropdowns.css +39 -54
- package/build/styles/css/droppable.css +28 -6
- package/build/styles/css/footer.css +41 -10
- package/build/styles/css/input-groups.css +205 -162
- package/build/styles/css/list-group.css +1 -42
- package/build/styles/css/modals.css +1 -1
- package/build/styles/css/navbar.css +66 -81
- package/build/styles/css/navs.css +8 -8
- package/build/styles/css/neptune-addons.css +15 -0
- package/build/styles/css/neptune-core.css +5887 -524
- package/build/styles/css/neptune.css +8348 -1945
- package/build/styles/css/panels.css +2 -2
- package/build/styles/css/popovers.css +39 -56
- package/build/styles/css/progress-bars.css +2 -2
- package/build/styles/css/sequences.css +14 -9
- package/build/styles/css/table.css +7 -7
- package/build/styles/css/tooltip.css +28 -6
- package/build/styles/less/legacy-variables.less +3 -3
- package/build/styles/less/neptune-tokens.less +0 -48
- package/build/styles/main.css +8673 -2355
- package/build/styles/props/neptune-tokens.css +805 -3
- package/build/styles/styles/less/accordion.css +22 -44
- package/build/styles/styles/less/badge.css +2 -2
- package/build/styles/styles/less/button-groups.css +29 -6
- package/build/styles/styles/less/buttons.css +35 -11
- package/build/styles/styles/less/decision.css +22 -44
- package/build/styles/styles/less/dropdowns.css +39 -54
- package/build/styles/styles/less/droppable.css +28 -6
- package/build/styles/styles/less/footer.css +41 -10
- package/build/styles/styles/less/forms/bootstrap-forms.css +153 -100
- package/build/styles/styles/less/forms/checkbox-radio.css +3 -3
- package/build/styles/styles/less/input-groups.css +205 -162
- package/build/styles/styles/less/list-group.css +1 -42
- package/build/styles/styles/less/modals.css +1 -1
- package/build/styles/styles/less/navbar.css +66 -81
- package/build/styles/styles/less/navs.css +8 -8
- package/build/styles/styles/less/neptune-addons.css +15 -0
- package/build/styles/styles/less/neptune-core.css +5887 -524
- package/build/styles/styles/less/neptune.css +8348 -1945
- package/build/styles/styles/less/panels.css +2 -2
- package/build/styles/styles/less/popovers.css +39 -56
- package/build/styles/styles/less/progress-bars.css +2 -2
- package/build/styles/styles/less/sequences.css +14 -9
- package/build/styles/styles/less/table.css +7 -7
- package/build/styles/styles/less/tooltip.css +28 -6
- package/build/types/ExpressiveMoneyInput/AmountInput/AmountInput.d.ts.map +1 -1
- package/build/types/Header/Header.d.ts +4 -31
- package/build/types/Header/Header.d.ts.map +1 -1
- package/build/types/Header/index.d.ts +1 -2
- package/build/types/Header/index.d.ts.map +1 -1
- package/build/types/common/PropsValues/typography.d.ts +13 -1
- package/build/types/common/PropsValues/typography.d.ts.map +1 -1
- package/build/types/index.d.ts +1 -3
- package/build/types/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/Accordion/Accordion.css +7 -6
- package/src/Accordion/Accordion.less +7 -6
- package/src/Body/Body.css +1 -1
- package/src/Body/Body.less +1 -1
- package/src/Body/Body.test.tsx +4 -4
- package/src/Body/Body.tsx +2 -2
- package/src/Calendar/Calendar.css +11 -4
- package/src/Calendar/DayCalendar/Table/DayCalendarTable.tsx +2 -2
- package/src/Calendar/MonthCalendar/Table/MonthCalendarTable.tsx +1 -1
- package/src/Calendar/TableLink/TableLink.css +11 -4
- package/src/Calendar/TableLink/TableLink.less +14 -4
- package/src/Calendar/TableLink/TableLink.tsx +1 -1
- package/src/Chips/Chip/Chip.css +5 -3
- package/src/Chips/Chip/Chip.less +3 -2
- package/src/CircularButton/_stories/CircularButton.story.tsx +6 -16
- package/src/DateInput/_stories/DateInput.rtl.test.story.tsx +46 -0
- package/src/Decision/Decision.css +4 -3
- package/src/Decision/Decision.less +4 -3
- package/src/DefinitionList/_stories/DefinitionList.story.tsx +1 -1
- package/src/Display/_stories/Display.story.tsx +20 -6
- package/src/Emphasis/Emphasis.css +1 -1
- package/src/Emphasis/Emphasis.less +1 -1
- package/src/ExpressiveMoneyInput/AmountInput/AmountInput.css +2 -1
- package/src/ExpressiveMoneyInput/AmountInput/AmountInput.less +2 -1
- package/src/ExpressiveMoneyInput/AmountInput/AmountInput.tsx +1 -4
- package/src/ExpressiveMoneyInput/ExpressiveMoneyInput.css +2 -1
- package/src/FlowNavigation/AnimatedLabel/AnimatedLabel.tsx +1 -1
- package/src/Header/Header.css +0 -46
- package/src/Header/Header.less +1 -63
- package/src/Header/Header.test.tsx +1 -133
- package/src/Header/Header.tsx +11 -107
- package/src/Header/_stories/Header.story.tsx +2 -97
- package/src/Header/_stories/Header.test.story.tsx +0 -32
- package/src/Header/index.ts +1 -2
- package/src/Inputs/Input/Input.css +69 -57
- package/src/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.tsx +2 -2
- package/src/Inputs/SelectInput/Option/SelectInputOption.tsx +1 -1
- package/src/Inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +3 -3
- package/src/Inputs/SelectInput/Popover/SelectInputPopover.tsx +2 -2
- package/src/Inputs/SelectInput/_stories/SelectInput.story.tsx +1 -1
- package/src/Inputs/TextArea/TextArea.css +69 -57
- package/src/Inputs/_common.less +16 -10
- package/src/Label/Label.css +3 -0
- package/src/Label/Label.less +8 -0
- package/src/Label/Label.tsx +1 -1
- package/src/Markup/Markup.css +2 -2
- package/src/Markup/Markup.less +2 -2
- package/src/MoneyInput/MoneyInput.css +9 -6
- package/src/MoneyInput/MoneyInput.less +10 -7
- package/src/Nudge/Nudge.css +3 -3
- package/src/Nudge/Nudge.less +3 -3
- package/src/PocketSurface/_stories/PocketSurface.story.tsx +2 -2
- package/src/Popover/Popover.css +4 -43
- package/src/Popover/Popover.less +2 -2
- package/src/ProgressBar/ProgressBar.css +3 -2
- package/src/ProgressBar/ProgressBar.less +12 -11
- package/src/Prompt/PrimitivePrompt/PrimitivePrompt.css +2 -1
- package/src/Prompt/PrimitivePrompt/PrimitivePrompt.less +2 -1
- package/src/SentimentSurface/_stories/SentimentSurface.story.tsx +1 -1
- package/src/Snackbar/Snackbar.css +1 -1
- package/src/Snackbar/Snackbar.less +1 -1
- package/src/Stepper/Stepper.tsx +1 -1
- package/src/Table/Header/TableHeader.tsx +1 -1
- package/src/Table/StatusText/TableStatusText.test.tsx +5 -5
- package/src/Table/Table.css +18 -8
- package/src/Table/Table.less +20 -9
- package/src/Tabs/Tab/Tab.tsx +1 -1
- package/src/Tabs/Tabs.css +3 -3
- package/src/Tabs/Tabs.less +3 -3
- package/src/Tag/Tag.css +1 -1
- package/src/Tag/Tag.less +1 -1
- package/src/Tag/Tag.tsx +1 -1
- package/src/Tag/_stories/Tag.story.tsx +1 -1
- package/src/Tile/Tile.css +4 -3
- package/src/Tile/Tile.less +4 -3
- package/src/Typeahead/Typeahead.css +4 -2
- package/src/Typeahead/Typeahead.less +2 -1
- package/src/Typeahead/TypeaheadOption/TypeaheadOption.tsx +2 -2
- package/src/Upload/Steps/UploadImageStep/UploadImageStep.tsx +2 -2
- package/src/UploadInput/UploadInput.css +1 -1
- package/src/UploadInput/UploadInput.less +7 -4
- package/src/_deprecated/ActionButton/ActionButton.css +3 -4
- package/src/_deprecated/ActionButton/ActionButton.less +4 -5
- package/src/_deprecated/ActionButton/ActionButton.tsx +1 -1
- package/src/_deprecated/Avatar/Avatar.css +2 -2
- package/src/_deprecated/Avatar/Avatar.less +2 -2
- package/src/_deprecated/Avatar/Avatar.tsx +1 -1
- package/src/_deprecated/CriticalBanner/CriticalCommsBanner.css +2 -1
- package/src/_deprecated/CriticalBanner/CriticalCommsBanner.less +2 -1
- package/src/_deprecated/NavigationOption/_stories/NavigationOption.story.tsx +6 -6
- package/src/_deprecated/Select/Select.css +49 -14
- package/src/_deprecated/Select/Select.less +14 -10
- package/src/_deprecated/Select/Select.tsx +2 -2
- package/src/_deprecated/Summary/Summary.css +2 -2
- package/src/_deprecated/Summary/Summary.less +2 -2
- package/src/common/Circle/Circle.css +1 -1
- package/src/common/Circle/Circle.less +1 -1
- package/src/common/Option/Option.css +4 -4
- package/src/common/Option/Option.less +4 -4
- package/src/common/PropsValues/typography.ts +20 -1
- package/src/index.ts +1 -3
- package/src/main.css +8673 -2355
- package/src/main.less +3 -3
- package/src/styles/less/accordion.css +22 -44
- package/src/styles/less/addons/_background-utilities.less +5 -0
- package/src/styles/less/badge.css +2 -2
- package/src/styles/less/badge.less +2 -2
- package/src/styles/less/button-groups.css +29 -6
- package/src/styles/less/button-groups.less +3 -2
- package/src/styles/less/buttons.css +35 -11
- package/src/styles/less/buttons.less +7 -7
- package/src/styles/less/core/_fonts.less +7 -75
- package/src/styles/less/core/_scaffolding.less +4 -4
- package/src/styles/less/core/_typography-utilities.less +3 -3
- package/src/styles/less/core/_typography.less +81 -235
- package/src/styles/less/core/fonts/_fonts-ar.less +86 -0
- package/src/styles/less/core/fonts/_fonts-base.less +99 -0
- package/src/styles/less/core/fonts/_fonts-he.less +8 -0
- package/src/styles/less/core/fonts/_fonts-ja.less +4247 -0
- package/src/styles/less/core/fonts/_fonts-ko.less +1079 -0
- package/src/styles/less/core/fonts/_fonts-th.less +8 -0
- package/src/styles/less/core/fonts/_fonts-zh.less +872 -0
- package/src/styles/less/decision.css +22 -44
- package/src/styles/less/decision.less +2 -2
- package/src/styles/less/dropdowns.css +39 -54
- package/src/styles/less/dropdowns.less +8 -7
- package/src/styles/less/droppable.css +28 -6
- package/src/styles/less/droppable.less +4 -4
- package/src/styles/less/footer.css +41 -10
- package/src/styles/less/footer.less +4 -3
- package/src/styles/less/forms/bootstrap-forms.css +153 -100
- package/src/styles/less/forms/bootstrap-forms.less +85 -72
- package/src/styles/less/forms/checkbox-radio.css +3 -3
- package/src/styles/less/forms/checkbox-radio.less +3 -3
- package/src/styles/less/input-groups.css +205 -162
- package/src/styles/less/input-groups.less +23 -9
- package/src/styles/less/list-group.css +1 -42
- package/src/styles/less/list-group.less +8 -5
- package/src/styles/less/mixins/_reset-text.less +1 -1
- package/src/styles/less/mixins/_text-emphasis.less +7 -1
- package/src/styles/less/modals.css +1 -1
- package/src/styles/less/modals.less +1 -1
- package/src/styles/less/navbar.css +66 -81
- package/src/styles/less/navbar.less +19 -19
- package/src/styles/less/navs.css +8 -8
- package/src/styles/less/navs.less +8 -8
- package/src/styles/less/neptune-addons.css +15 -0
- package/src/styles/less/neptune-core.css +5887 -524
- package/src/styles/less/neptune.bundle.less +4 -0
- package/src/styles/less/neptune.css +8348 -1945
- package/src/styles/less/panels.css +2 -2
- package/src/styles/less/panels.less +2 -2
- package/src/styles/less/popovers.css +39 -56
- package/src/styles/less/popovers.less +7 -7
- package/src/styles/less/progress-bars.css +2 -2
- package/src/styles/less/progress-bars.less +2 -2
- package/src/styles/less/sequences.css +14 -9
- package/src/styles/less/sequences.less +15 -10
- package/src/styles/less/table.css +7 -7
- package/src/styles/less/table.less +7 -7
- package/src/styles/less/tooltip.css +28 -6
- package/src/styles/less/tooltip.less +1 -1
- package/src/styles/variables/legacy-variables.less +3 -3
- package/build/CardContainer/CardContainer.js +0 -30
- package/build/CardContainer/CardContainer.js.map +0 -1
- package/build/CardContainer/CardContainer.mjs +0 -26
- package/build/CardContainer/CardContainer.mjs.map +0 -1
- package/build/Header/HeaderActionButton.js +0 -70
- package/build/Header/HeaderActionButton.js.map +0 -1
- package/build/Header/HeaderActionButton.mjs +0 -65
- package/build/Header/HeaderActionButton.mjs.map +0 -1
- package/build/styles/CardContainer/CardContainer.css +0 -78
- package/build/styles/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/build/styles/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
- package/build/styles/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/build/styles/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
- package/build/styles/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/build/styles/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
- package/build/styles/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
- package/build/styles/fonts/rubik/rubik-body-cyrillic-330-normal.woff2 +0 -0
- package/build/styles/fonts/rubik/rubik-body-cyrillic-600-normal.woff2 +0 -0
- package/build/styles/fonts/rubik/rubik-body-cyrillic-ext-330-normal.woff2 +0 -0
- package/build/styles/fonts/rubik/rubik-body-cyrillic-ext-600-normal.woff2 +0 -0
- package/build/styles/fonts/rubik/rubik-cyrillic-900-normal.woff2 +0 -0
- package/build/styles/fonts/rubik/rubik-cyrillic-ext-900-normal.woff2 +0 -0
- package/build/types/CardContainer/CardContainer.d.ts +0 -8
- package/build/types/CardContainer/CardContainer.d.ts.map +0 -1
- package/build/types/CardContainer/CardContainer.types.d.ts +0 -32
- package/build/types/CardContainer/CardContainer.types.d.ts.map +0 -1
- package/build/types/CardContainer/_stories/helpers.d.ts +0 -3
- package/build/types/CardContainer/_stories/helpers.d.ts.map +0 -1
- package/build/types/CardContainer/index.d.ts +0 -3
- package/build/types/CardContainer/index.d.ts.map +0 -1
- package/build/types/Header/HeaderActionButton.d.ts +0 -53
- package/build/types/Header/HeaderActionButton.d.ts.map +0 -1
- package/src/CardContainer/CardContainer.css +0 -78
- package/src/CardContainer/CardContainer.less +0 -111
- package/src/CardContainer/CardContainer.test.tsx +0 -103
- package/src/CardContainer/CardContainer.tsx +0 -36
- package/src/CardContainer/CardContainer.types.ts +0 -36
- package/src/CardContainer/_stories/CardContainer.story.tsx +0 -99
- package/src/CardContainer/_stories/CardContainer.test.story.tsx +0 -375
- package/src/CardContainer/_stories/CardContainer.withHeader.story.tsx +0 -149
- package/src/CardContainer/_stories/helpers.tsx +0 -50
- package/src/CardContainer/index.ts +0 -2
- package/src/Header/HeaderActionButton.tsx +0 -125
- package/src/styles/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/src/styles/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
- package/src/styles/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/src/styles/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
- package/src/styles/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/src/styles/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
- package/src/styles/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
- package/src/styles/fonts/rubik/rubik-body-cyrillic-330-normal.woff2 +0 -0
- package/src/styles/fonts/rubik/rubik-body-cyrillic-600-normal.woff2 +0 -0
- package/src/styles/fonts/rubik/rubik-body-cyrillic-ext-330-normal.woff2 +0 -0
- package/src/styles/fonts/rubik/rubik-body-cyrillic-ext-600-normal.woff2 +0 -0
- package/src/styles/fonts/rubik/rubik-cyrillic-900-normal.woff2 +0 -0
- package/src/styles/fonts/rubik/rubik-cyrillic-ext-900-normal.woff2 +0 -0
|
@@ -36,7 +36,7 @@ const ActionButton = forwardRef<HTMLButtonElement, ActionButtonProps>(
|
|
|
36
36
|
type="button"
|
|
37
37
|
className={clsx(
|
|
38
38
|
'np-action-btn',
|
|
39
|
-
'
|
|
39
|
+
'wds-text-body-default-bold',
|
|
40
40
|
priority === Priority.TERTIARY
|
|
41
41
|
? 'btn-priority-3'
|
|
42
42
|
: priority === Priority.SECONDARY
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
.tw-avatar.tw-avatar--initials,
|
|
41
41
|
.tw-avatar.tw-avatar--emoji {
|
|
42
42
|
font-family: Arial, sans-serif;
|
|
43
|
-
font-weight: var(--font-weight-
|
|
43
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
44
44
|
}
|
|
45
45
|
.tw-avatar.tw-avatar--initials,
|
|
46
46
|
.tw-avatar.tw-avatar--icon {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
font-family: Arial, sans-serif;
|
|
52
52
|
}
|
|
53
53
|
.tw-avatar.tw-avatar--branded .tw-avatar__content {
|
|
54
|
-
font-family: var(--font-family-display);
|
|
54
|
+
font-family: var(--wds-font-family-display);
|
|
55
55
|
font-feature-settings: "ss01";
|
|
56
56
|
color: var(--color-dark-charcoal);
|
|
57
57
|
line-height: 1;
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
&.tw-avatar--initials,
|
|
56
56
|
&.tw-avatar--emoji {
|
|
57
57
|
font-family: Arial, sans-serif;
|
|
58
|
-
font-weight: var(--font-weight-
|
|
58
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
&.tw-avatar--initials,
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
&.tw-avatar--branded .tw-avatar__content {
|
|
74
|
-
font-family: var(--font-family-display);
|
|
74
|
+
font-family: var(--wds-font-family-display);
|
|
75
75
|
font-feature-settings: "ss01";
|
|
76
76
|
color: var(--color-dark-charcoal);
|
|
77
77
|
line-height: 1;
|
|
@@ -86,7 +86,7 @@ const Avatar: React.FC<AvatarProps> = ({
|
|
|
86
86
|
className={clsx('tw-avatar', className, `tw-avatar--${size}`, `tw-avatar--${type}`, {
|
|
87
87
|
'tw-avatar--outlined': outlined,
|
|
88
88
|
'tw-avatar--branded': Boolean(backgroundColorFromSeed),
|
|
89
|
-
'
|
|
89
|
+
'wds-text-title-body': type === 'initials',
|
|
90
90
|
})}
|
|
91
91
|
aria-label={ariaLabel}
|
|
92
92
|
>
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
color: var(--color-sentiment-content-primary);
|
|
8
8
|
margin-block-end: 0;
|
|
9
9
|
}
|
|
10
|
-
.critical-comms .alert .np-text-title-body
|
|
10
|
+
.critical-comms .alert .np-text-title-body,
|
|
11
|
+
.critical-comms .alert .wds-text-title-body {
|
|
11
12
|
color: var(--color-sentiment-content-primary);
|
|
12
13
|
}
|
|
13
14
|
.critical-comms .status-circle.negative {
|
|
@@ -74,7 +74,7 @@ export const Variants: StoryObj<StoryArgs> = {
|
|
|
74
74
|
render: ({ hasTitleOnly, ...args }: StoryArgs) => (
|
|
75
75
|
<div>
|
|
76
76
|
<div className="m-b-2">
|
|
77
|
-
<div className="title-
|
|
77
|
+
<div className="wds-text-title-body m-b-1">Has Title Only</div>
|
|
78
78
|
<NavigationOption
|
|
79
79
|
{...args}
|
|
80
80
|
content={null}
|
|
@@ -83,7 +83,7 @@ export const Variants: StoryObj<StoryArgs> = {
|
|
|
83
83
|
/>
|
|
84
84
|
</div>
|
|
85
85
|
<div className="m-b-2">
|
|
86
|
-
<div className="title-
|
|
86
|
+
<div className="wds-text-title-body m-b-1">Full Content</div>
|
|
87
87
|
<NavigationOption
|
|
88
88
|
{...args}
|
|
89
89
|
content={hasTitleOnly ? null : args.content}
|
|
@@ -92,7 +92,7 @@ export const Variants: StoryObj<StoryArgs> = {
|
|
|
92
92
|
/>
|
|
93
93
|
</div>
|
|
94
94
|
<div className="m-b-2">
|
|
95
|
-
<div className="title-
|
|
95
|
+
<div className="wds-text-title-body m-b-1">With Icon</div>
|
|
96
96
|
<NavigationOption
|
|
97
97
|
{...args}
|
|
98
98
|
media={<BankIcon size={24} />}
|
|
@@ -101,7 +101,7 @@ export const Variants: StoryObj<StoryArgs> = {
|
|
|
101
101
|
/>
|
|
102
102
|
</div>
|
|
103
103
|
<div className="m-b-2">
|
|
104
|
-
<div className="title-
|
|
104
|
+
<div className="wds-text-title-body m-b-1">With Icon Avatar</div>
|
|
105
105
|
<NavigationOption
|
|
106
106
|
{...args}
|
|
107
107
|
showMediaCircle={false}
|
|
@@ -115,7 +115,7 @@ export const Variants: StoryObj<StoryArgs> = {
|
|
|
115
115
|
/>
|
|
116
116
|
</div>
|
|
117
117
|
<div className="m-b-2">
|
|
118
|
-
<div className="title-
|
|
118
|
+
<div className="wds-text-title-body m-b-1">With Contact Avatar</div>
|
|
119
119
|
<NavigationOption
|
|
120
120
|
{...args}
|
|
121
121
|
showMediaCircle={false}
|
|
@@ -125,7 +125,7 @@ export const Variants: StoryObj<StoryArgs> = {
|
|
|
125
125
|
/>
|
|
126
126
|
</div>
|
|
127
127
|
<div className="m-t-4 m-b-2">
|
|
128
|
-
<div className="title-
|
|
128
|
+
<div className="wds-text-title-body m-b-1">Not recommended usage</div>
|
|
129
129
|
<p>
|
|
130
130
|
Rendering an Avatar on top of showMediaCircle causes the Avatar background-colour and the
|
|
131
131
|
circle background-colour to overlap which also causes clipping issues with the Badge
|
|
@@ -1,9 +1,35 @@
|
|
|
1
|
-
.np-
|
|
1
|
+
.np-dropdown-menu > li > a {
|
|
2
|
+
word-wrap: break-word;
|
|
3
|
+
}
|
|
4
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
5
|
+
.np-dropdown-menu > li > a {
|
|
6
|
+
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
7
|
+
}
|
|
8
|
+
@media (min-width: 840px) {
|
|
9
|
+
.np-dropdown-menu > li > a {
|
|
10
|
+
hyphenate-limit-chars: 8 3;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
@media (min-width: 1160px) {
|
|
14
|
+
.np-dropdown-menu > li > a {
|
|
15
|
+
hyphenate-limit-chars: 10 4 3;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
19
|
+
.np-dropdown-menu > li > a {
|
|
20
|
+
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
21
|
+
}
|
|
22
|
+
@media (min-width: 1160px) {
|
|
23
|
+
.np-dropdown-menu > li > a {
|
|
24
|
+
-webkit-hyphenate-limit-before: 4;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}.np-select .np-dropdown-toggle {
|
|
2
28
|
background-color: var(--color-background-screen);
|
|
3
29
|
border: 1px solid var(--color-interactive-secondary);
|
|
4
30
|
border-radius: var(--radius-small);
|
|
5
31
|
color: var(--color-content-primary);
|
|
6
|
-
font-weight: var(--font-weight-regular);
|
|
32
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
7
33
|
overflow: hidden;
|
|
8
34
|
padding-inline-start: var(--size-16);
|
|
9
35
|
text-align: start;
|
|
@@ -116,10 +142,6 @@
|
|
|
116
142
|
clear: both;
|
|
117
143
|
border-radius: var(--radius-small);
|
|
118
144
|
color: var(--color-content-primary);
|
|
119
|
-
font-size: var(--font-size-14);
|
|
120
|
-
line-height: 155%;
|
|
121
|
-
letter-spacing: -0.006em;
|
|
122
|
-
font-weight: var(--font-weight-regular);
|
|
123
145
|
word-wrap: break-word;
|
|
124
146
|
}
|
|
125
147
|
.np-theme-personal .np-dropdown-menu > li > a {
|
|
@@ -191,8 +213,12 @@
|
|
|
191
213
|
.np-dropdown-menu > .selected > a strong {
|
|
192
214
|
color: inherit;
|
|
193
215
|
}
|
|
216
|
+
.np-dropdown-menu > .active > a .body-2,
|
|
217
|
+
.np-dropdown-menu > .selected > a .body-2,
|
|
194
218
|
.np-dropdown-menu > .active > a .np-text-body-default,
|
|
195
|
-
.np-dropdown-menu > .selected > a .np-text-body-default
|
|
219
|
+
.np-dropdown-menu > .selected > a .np-text-body-default,
|
|
220
|
+
.np-dropdown-menu > .active > a .wds-text-body-default,
|
|
221
|
+
.np-dropdown-menu > .selected > a .wds-text-body-default {
|
|
196
222
|
color: #c9cbce;
|
|
197
223
|
}
|
|
198
224
|
.np-dropdown-menu .np-select-filter,
|
|
@@ -208,12 +234,12 @@
|
|
|
208
234
|
.np-dropdown-menu .np-dropdown-header {
|
|
209
235
|
padding-block: var(--size-8);
|
|
210
236
|
padding-inline: var(--size-16);
|
|
237
|
+
white-space: nowrap;
|
|
211
238
|
color: var(--color-content-secondary);
|
|
212
239
|
display: block;
|
|
213
|
-
font-size: var(--font-size-
|
|
214
|
-
font-weight: var(--font-weight-regular);
|
|
215
|
-
line-height: var(--line-height-body);
|
|
216
|
-
white-space: nowrap;
|
|
240
|
+
font-size: var(--wds-font-size-body);
|
|
241
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
242
|
+
line-height: var(--wds-line-height-body);
|
|
217
243
|
}
|
|
218
244
|
.np-select .tw-icon,
|
|
219
245
|
.np-dropdown-menu .tw-icon,
|
|
@@ -224,7 +250,9 @@
|
|
|
224
250
|
vertical-align: middle;
|
|
225
251
|
}
|
|
226
252
|
.np-select .np-text-body-default,
|
|
227
|
-
.np-dropdown-menu .np-text-body-default
|
|
253
|
+
.np-dropdown-menu .np-text-body-default,
|
|
254
|
+
.np-select .wds-text-body-default,
|
|
255
|
+
.np-dropdown-menu .wds-text-body-default {
|
|
228
256
|
color: var(--color-content-secondary);
|
|
229
257
|
}
|
|
230
258
|
.np-select .tw-icon-search,
|
|
@@ -282,7 +310,13 @@
|
|
|
282
310
|
.np-theme-personal .np-dropdown-menu .active a:focus .np-text-body-default,
|
|
283
311
|
.np-theme-personal .np-dropdown-menu .selected a:focus .np-text-body-default,
|
|
284
312
|
.np-theme-personal .np-dropdown-menu .active a:hover .np-text-body-default,
|
|
285
|
-
.np-theme-personal .np-dropdown-menu .selected a:hover .np-text-body-default
|
|
313
|
+
.np-theme-personal .np-dropdown-menu .selected a:hover .np-text-body-default,
|
|
314
|
+
.np-theme-personal .np-dropdown-menu .active a .wds-text-body-default,
|
|
315
|
+
.np-theme-personal .np-dropdown-menu .selected a .wds-text-body-default,
|
|
316
|
+
.np-theme-personal .np-dropdown-menu .active a:focus .wds-text-body-default,
|
|
317
|
+
.np-theme-personal .np-dropdown-menu .selected a:focus .wds-text-body-default,
|
|
318
|
+
.np-theme-personal .np-dropdown-menu .active a:hover .wds-text-body-default,
|
|
319
|
+
.np-theme-personal .np-dropdown-menu .selected a:hover .wds-text-body-default {
|
|
286
320
|
color: var(--color-interactive-primary);
|
|
287
321
|
}
|
|
288
322
|
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active {
|
|
@@ -290,7 +324,8 @@
|
|
|
290
324
|
background-color: var(--color-background-neutral-active) !important;
|
|
291
325
|
}
|
|
292
326
|
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .body-2,
|
|
293
|
-
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .np-text-body-default
|
|
327
|
+
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .np-text-body-default,
|
|
328
|
+
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .wds-text-body-default {
|
|
294
329
|
color: var(--color-interactive-primary);
|
|
295
330
|
}
|
|
296
331
|
.np-theme-personal .np-dropdown-menu .np-dropdown-item {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
border: 1px solid var(--color-interactive-secondary);
|
|
19
19
|
border-radius: var(--radius-small);
|
|
20
20
|
color: var(--color-content-primary);
|
|
21
|
-
font-weight: var(--font-weight-regular);
|
|
21
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
22
22
|
overflow: hidden;
|
|
23
23
|
padding-left: var(--size-16);
|
|
24
24
|
text-align: left;
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
border-radius: var(--radius-small);
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
.
|
|
173
|
+
.wds-text-body-default;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
> li:first-child > a {
|
|
@@ -215,7 +215,9 @@
|
|
|
215
215
|
color: inherit;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
.
|
|
218
|
+
.body-2,
|
|
219
|
+
.np-text-body-default,
|
|
220
|
+
.wds-text-body-default {
|
|
219
221
|
color: @color-navy-content-secondary;
|
|
220
222
|
}
|
|
221
223
|
}
|
|
@@ -238,10 +240,9 @@
|
|
|
238
240
|
white-space: nowrap;
|
|
239
241
|
color: var(--color-content-secondary);
|
|
240
242
|
display: block;
|
|
241
|
-
font-size: var(--font-size-
|
|
242
|
-
font-weight: var(--font-weight-regular);
|
|
243
|
-
line-height: var(--line-height-body);
|
|
244
|
-
white-space: nowrap;
|
|
243
|
+
font-size: var(--wds-font-size-body);
|
|
244
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
245
|
+
line-height: var(--wds-line-height-body);
|
|
245
246
|
}
|
|
246
247
|
}
|
|
247
248
|
|
|
@@ -255,7 +256,8 @@
|
|
|
255
256
|
vertical-align: middle;
|
|
256
257
|
}
|
|
257
258
|
|
|
258
|
-
.np-text-body-default
|
|
259
|
+
.np-text-body-default,
|
|
260
|
+
.wds-text-body-default {
|
|
259
261
|
color: var(--color-content-secondary);
|
|
260
262
|
}
|
|
261
263
|
|
|
@@ -313,7 +315,8 @@
|
|
|
313
315
|
background-color: var(--color-background-neutral-active);
|
|
314
316
|
|
|
315
317
|
.body-2,
|
|
316
|
-
.np-text-body-default
|
|
318
|
+
.np-text-body-default,
|
|
319
|
+
.wds-text-body-default {
|
|
317
320
|
color: var(--color-interactive-primary);
|
|
318
321
|
}
|
|
319
322
|
}
|
|
@@ -324,7 +327,8 @@
|
|
|
324
327
|
background-color: var(--color-background-neutral-active) !important;
|
|
325
328
|
|
|
326
329
|
.body-2,
|
|
327
|
-
.np-text-body-default
|
|
330
|
+
.np-text-body-default,
|
|
331
|
+
.wds-text-body-default {
|
|
328
332
|
color: var(--color-interactive-primary);
|
|
329
333
|
}
|
|
330
334
|
}
|
|
@@ -457,7 +457,7 @@ export default function Select({
|
|
|
457
457
|
function HeaderOption({ children }: { children?: React.ReactNode }) {
|
|
458
458
|
return (
|
|
459
459
|
<li // eslint-disable-line jsx-a11y/no-noninteractive-element-interactions
|
|
460
|
-
className={clsx(s('np-dropdown-header'), s('
|
|
460
|
+
className={clsx(s('np-dropdown-header'), s('wds-text-title-group'))}
|
|
461
461
|
onClick={stopPropagation}
|
|
462
462
|
onKeyPress={stopPropagation}
|
|
463
463
|
>
|
|
@@ -562,7 +562,7 @@ export default function Select({
|
|
|
562
562
|
htmlType="button"
|
|
563
563
|
className={clsx(
|
|
564
564
|
s('np-dropdown-toggle'),
|
|
565
|
-
s('
|
|
565
|
+
s('wds-text-body-large'),
|
|
566
566
|
inverse ? s('np-dropdown-toggle-navy') : null,
|
|
567
567
|
)}
|
|
568
568
|
// reset Button's styles
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
.np-summary__title {
|
|
8
8
|
margin-block-start: 2px;
|
|
9
9
|
line-height: calc(22 / 16);
|
|
10
|
-
font-weight: var(--font-weight-
|
|
10
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
11
11
|
justify-content: space-between;
|
|
12
12
|
margin-block-start: 0;
|
|
13
13
|
}
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
.np-summary__description {
|
|
46
46
|
margin-block-start: var(--size-4);
|
|
47
|
-
font-size: var(--font-size-
|
|
47
|
+
font-size: var(--wds-font-size-body);
|
|
48
48
|
line-height: calc(20 / 14);
|
|
49
49
|
color: var(--color-content-secondary);
|
|
50
50
|
padding-inline-end: calc(var(--size-24) + var(--size-8));
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
&__title {
|
|
9
9
|
margin-top: 2px;
|
|
10
10
|
line-height: calc(22 / 16);
|
|
11
|
-
font-weight: var(--font-weight-
|
|
11
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
12
12
|
justify-content: space-between;
|
|
13
13
|
margin-top: 0;
|
|
14
14
|
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
|
|
60
60
|
&__description {
|
|
61
61
|
margin-top: var(--size-4);
|
|
62
|
-
font-size: var(--font-size-
|
|
62
|
+
font-size: var(--wds-font-size-body);
|
|
63
63
|
line-height: calc(20 / 14);
|
|
64
64
|
|
|
65
65
|
color: var(--color-content-secondary);
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
--circle-border-color: var(--color-border-neutral);
|
|
7
7
|
--circle-border-width: 1px;
|
|
8
8
|
font-size: var(--circle-font-size);
|
|
9
|
-
font-weight: var(--font-weight-
|
|
9
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
10
10
|
line-height: 1;
|
|
11
11
|
}
|
|
12
12
|
.np-circle .np-display {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
// circle like components have custom typography styles for for default (Inter) font
|
|
11
11
|
font-size: var(--circle-font-size);
|
|
12
|
-
font-weight: var(--font-weight-
|
|
12
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
13
13
|
line-height: 1;
|
|
14
14
|
|
|
15
15
|
// circle like components have custom typography styles for Wise Sand font
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
.np-option__title {
|
|
14
14
|
color: var(--color-content-primary);
|
|
15
15
|
font-size: 1rem;
|
|
16
|
-
font-weight: var(--font-weight-
|
|
16
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
17
17
|
letter-spacing: 0;
|
|
18
|
-
line-height: var(--line-height-body);
|
|
18
|
+
line-height: var(--wds-line-height-body);
|
|
19
19
|
margin: 0;
|
|
20
20
|
}
|
|
21
21
|
.np-option__body {
|
|
22
22
|
margin-block-start: var(--size-4);
|
|
23
23
|
color: var(--color-content-secondary);
|
|
24
|
-
font-size: var(--font-size-
|
|
25
|
-
font-weight: var(--font-weight-regular);
|
|
24
|
+
font-size: var(--wds-font-size-body);
|
|
25
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
26
26
|
line-height: 1.42857;
|
|
27
27
|
}
|
|
28
28
|
.np-option__sm-media.decision .media-left {
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
&__title {
|
|
19
19
|
color: var(--color-content-primary);
|
|
20
20
|
font-size: 1rem;
|
|
21
|
-
font-weight: var(--font-weight-
|
|
21
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
22
22
|
letter-spacing: 0;
|
|
23
|
-
line-height: var(--line-height-body);
|
|
23
|
+
line-height: var(--wds-line-height-body);
|
|
24
24
|
margin: 0;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&__body {
|
|
28
28
|
margin-top: var(--size-4);
|
|
29
29
|
color: var(--color-content-secondary);
|
|
30
|
-
font-size: var(--font-size-
|
|
31
|
-
font-weight: var(--font-weight-regular);
|
|
30
|
+
font-size: var(--wds-font-size-body);
|
|
31
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
32
32
|
line-height: 1.42857;
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -6,7 +6,13 @@ export enum Typography {
|
|
|
6
6
|
DISPLAY_LARGE = 'display-large',
|
|
7
7
|
DISPLAY_MEDIUM = 'display-medium',
|
|
8
8
|
DISPLAY_SMALL = 'display-small',
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Use {@link Typography.DISPLAY_NUMBER_SMALL} instead.
|
|
11
|
+
*/
|
|
9
12
|
DISPLAY_NUMBER = 'display-number',
|
|
13
|
+
DISPLAY_NUMBER_SMALL = 'display-number-small',
|
|
14
|
+
DISPLAY_NUMBER_MEDIUM = 'display-number-medium',
|
|
15
|
+
DISPLAY_NUMBER_LARGE = 'display-number-large',
|
|
10
16
|
|
|
11
17
|
TITLE_SCREEN = 'title-screen',
|
|
12
18
|
TITLE_SECTION = 'title-section',
|
|
@@ -30,10 +36,23 @@ export type DisplayExtraLarge = 'display-extra-large';
|
|
|
30
36
|
export type DisplayLarge = 'display-large';
|
|
31
37
|
export type DisplayMedium = 'display-medium';
|
|
32
38
|
export type DisplaySmall = 'display-small';
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated Use {@link DisplayNumberSmall} instead.
|
|
41
|
+
*/
|
|
33
42
|
export type DisplayNumber = 'display-number';
|
|
43
|
+
export type DisplayNumberSmall = 'display-number-small';
|
|
44
|
+
export type DisplayNumberMedium = 'display-number-medium';
|
|
45
|
+
export type DisplayNumberLarge = 'display-number-large';
|
|
34
46
|
|
|
35
47
|
export type DisplayTypes =
|
|
36
|
-
|
|
48
|
+
| DisplayExtraLarge
|
|
49
|
+
| DisplayLarge
|
|
50
|
+
| DisplayMedium
|
|
51
|
+
| DisplaySmall
|
|
52
|
+
| DisplayNumber
|
|
53
|
+
| DisplayNumberSmall
|
|
54
|
+
| DisplayNumberMedium
|
|
55
|
+
| DisplayNumberLarge;
|
|
37
56
|
|
|
38
57
|
export type TitleScreen = 'title-screen';
|
|
39
58
|
export type TitleSection = 'title-section';
|
package/src/index.ts
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* Types
|
|
5
5
|
*/
|
|
6
6
|
export type { ContainerProps } from './Container';
|
|
7
|
-
export type { CardContainerProps, CardContainerSpotlight } from './CardContainer';
|
|
8
7
|
export type { LogoProps, LogoSize, LogoAssetName } from './Logo';
|
|
9
8
|
export type { FlowNavigationProps, CriticalBannerLegacyData } from './FlowNavigation';
|
|
10
9
|
export type { AccordionItem, AccordionProps } from './Accordion';
|
|
@@ -69,7 +68,7 @@ export type { DimmerProps } from './Dimmer';
|
|
|
69
68
|
export type { DisplayProps } from './Display';
|
|
70
69
|
export type { DrawerProps } from './Drawer';
|
|
71
70
|
export type { DividerProps } from './Divider';
|
|
72
|
-
export type { HeaderProps
|
|
71
|
+
export type { HeaderProps } from './Header';
|
|
73
72
|
export type { EmphasisProps } from './Emphasis';
|
|
74
73
|
export type { FieldProps } from './Field';
|
|
75
74
|
export type { InfoProps } from './Info';
|
|
@@ -219,7 +218,6 @@ export { default as Chevron } from './Chevron';
|
|
|
219
218
|
export { Chip, default as Chips } from './Chips';
|
|
220
219
|
export { default as CircularButton } from './CircularButton';
|
|
221
220
|
export { default as Container } from './Container';
|
|
222
|
-
export { default as CardContainer } from './CardContainer';
|
|
223
221
|
export { default as Option } from './common/Option';
|
|
224
222
|
export { default as BottomSheet } from './common/BottomSheet';
|
|
225
223
|
export { default as BaseCard } from './common/BaseCard';
|