@transferwise/components 46.165.5 → 46.167.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/Body/Body.js +2 -2
- package/build/Body/Body.js.map +1 -1
- package/build/Body/Body.mjs +2 -2
- 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/CardContainer/CardContainer.js +34 -0
- package/build/CardContainer/CardContainer.js.map +1 -0
- package/build/CardContainer/CardContainer.mjs +30 -0
- package/build/CardContainer/CardContainer.mjs.map +1 -0
- package/build/CardWidget/CardWidget.js +98 -0
- package/build/CardWidget/CardWidget.js.map +1 -0
- package/build/CardWidget/CardWidget.mjs +94 -0
- package/build/CardWidget/CardWidget.mjs.map +1 -0
- package/build/CardWidget/CardWidgetAction.js +73 -0
- package/build/CardWidget/CardWidgetAction.js.map +1 -0
- package/build/CardWidget/CardWidgetAction.mjs +68 -0
- package/build/CardWidget/CardWidgetAction.mjs.map +1 -0
- package/build/Display/Display.js +3 -1
- package/build/Display/Display.js.map +1 -1
- package/build/Display/Display.mjs +3 -1
- package/build/Display/Display.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/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/ListItem/ListItem.js +2 -0
- package/build/ListItem/ListItem.js.map +1 -1
- package/build/ListItem/ListItem.mjs +2 -0
- package/build/ListItem/ListItem.mjs.map +1 -1
- package/build/Stepper/Stepper.js +3 -2
- package/build/Stepper/Stepper.js.map +1 -1
- package/build/Stepper/Stepper.mjs +3 -2
- 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/Title/Title.js +2 -2
- package/build/Title/Title.js.map +1 -1
- package/build/Title/Title.mjs +2 -2
- package/build/Title/Title.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 +4 -0
- package/build/index.js.map +1 -1
- package/build/index.mjs +2 -0
- package/build/index.mjs.map +1 -1
- package/build/main.css +9245 -1899
- package/build/styles/Accordion/Accordion.css +7 -6
- package/build/styles/Body/Body.css +2 -1
- package/build/styles/Calendar/Calendar.css +5 -4
- package/build/styles/Calendar/TableLink/TableLink.css +5 -4
- package/build/styles/CardContainer/CardContainer.css +108 -0
- package/build/styles/CardWidget/CardWidget.css +78 -0
- 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/Inputs/Input/Input.css +98 -24
- package/build/styles/Inputs/TextArea/TextArea.css +98 -24
- package/build/styles/Label/Label.css +3 -0
- package/build/styles/ListItem/ListItem.css +8 -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 +30 -7
- 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 +53 -11
- 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 +53 -11
- package/build/styles/css/dropdowns.css +65 -18
- package/build/styles/css/droppable.css +28 -6
- package/build/styles/css/footer.css +41 -10
- package/build/styles/css/input-groups.css +249 -117
- package/build/styles/css/list-group.css +28 -8
- package/build/styles/css/modals.css +1 -1
- package/build/styles/css/navbar.css +92 -45
- package/build/styles/css/navs.css +8 -8
- package/build/styles/css/neptune-addons.css +15 -0
- package/build/styles/css/neptune-core.css +6230 -525
- package/build/styles/css/neptune.css +8790 -1768
- package/build/styles/css/panels.css +2 -2
- package/build/styles/css/popovers.css +64 -20
- 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 +9245 -1899
- package/build/styles/props/neptune-tokens.css +805 -3
- package/build/styles/styles/less/accordion.css +53 -11
- 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 +53 -11
- package/build/styles/styles/less/dropdowns.css +65 -18
- 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 +249 -117
- package/build/styles/styles/less/list-group.css +28 -8
- package/build/styles/styles/less/modals.css +1 -1
- package/build/styles/styles/less/navbar.css +92 -45
- 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 +6230 -525
- package/build/styles/styles/less/neptune.css +8790 -1768
- package/build/styles/styles/less/panels.css +2 -2
- package/build/styles/styles/less/popovers.css +64 -20
- 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/Body/Body.d.ts +2 -2
- package/build/types/Body/Body.d.ts.map +1 -1
- package/build/types/CardContainer/CardContainer.d.ts +8 -0
- package/build/types/CardContainer/CardContainer.d.ts.map +1 -0
- package/build/types/CardContainer/CardContainer.types.d.ts +55 -0
- package/build/types/CardContainer/CardContainer.types.d.ts.map +1 -0
- package/build/types/CardContainer/_stories/helpers.d.ts +3 -0
- package/build/types/CardContainer/_stories/helpers.d.ts.map +1 -0
- package/build/types/CardContainer/index.d.ts +3 -0
- package/build/types/CardContainer/index.d.ts.map +1 -0
- package/build/types/CardWidget/CardWidget.d.ts +10 -0
- package/build/types/CardWidget/CardWidget.d.ts.map +1 -0
- package/build/types/CardWidget/CardWidget.types.d.ts +55 -0
- package/build/types/CardWidget/CardWidget.types.d.ts.map +1 -0
- package/build/types/CardWidget/CardWidgetAction.d.ts +54 -0
- package/build/types/CardWidget/CardWidgetAction.d.ts.map +1 -0
- package/build/types/CardWidget/index.d.ts +4 -0
- package/build/types/CardWidget/index.d.ts.map +1 -0
- package/build/types/Display/Display.d.ts.map +1 -1
- package/build/types/ExpressiveMoneyInput/AmountInput/AmountInput.d.ts.map +1 -1
- package/build/types/IconButton/IconButton.d.ts +1 -1
- package/build/types/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts.map +1 -1
- package/build/types/Inputs/SelectInput/Popover/SelectInputPopover.d.ts.map +1 -1
- package/build/types/ListItem/ListItem.d.ts +1 -1
- package/build/types/ListItem/ListItem.d.ts.map +1 -1
- package/build/types/MoneyInput/MoneyInput.d.ts +1 -1
- package/build/types/MoneyInput/MoneyInput.d.ts.map +1 -1
- package/build/types/Stepper/Stepper.d.ts.map +1 -1
- package/build/types/Tabs/Tab/Tab.d.ts.map +1 -1
- package/build/types/Title/Title.d.ts +2 -2
- package/build/types/Upload/Steps/UploadImageStep/UploadImageStep.d.ts +1 -1
- package/build/types/Upload/Steps/UploadImageStep/UploadImageStep.d.ts.map +1 -1
- package/build/types/UploadInput/UploadItem/UploadItemLink.d.ts +1 -1
- package/build/types/_deprecated/Select/Select.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 +4 -0
- package/build/types/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/Accordion/Accordion.css +7 -6
- package/src/Accordion/Accordion.less +7 -6
- package/src/Body/Body.css +2 -1
- package/src/Body/Body.less +2 -1
- package/src/Body/Body.test.tsx +13 -4
- package/src/Body/Body.tsx +4 -3
- package/src/Body/_stories/Body.test.story.tsx +42 -0
- package/src/Calendar/Calendar.css +5 -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 +5 -4
- package/src/Calendar/TableLink/TableLink.less +5 -4
- package/src/Calendar/TableLink/TableLink.tsx +1 -1
- package/src/Calendar/_stories/Calendar.test.story.tsx +33 -0
- package/src/CardContainer/CardContainer.css +108 -0
- package/src/CardContainer/CardContainer.less +171 -0
- package/src/CardContainer/CardContainer.test.tsx +150 -0
- package/src/CardContainer/CardContainer.tsx +51 -0
- package/src/CardContainer/CardContainer.types.ts +62 -0
- package/src/CardContainer/_stories/CardContainer.story.tsx +167 -0
- package/src/CardContainer/_stories/CardContainer.test.story.tsx +103 -0
- package/src/CardContainer/_stories/helpers.tsx +50 -0
- package/src/CardContainer/index.ts +6 -0
- package/src/CardWidget/CardWidget.css +78 -0
- package/src/CardWidget/CardWidget.less +107 -0
- package/src/CardWidget/CardWidget.test.tsx +221 -0
- package/src/CardWidget/CardWidget.tsx +78 -0
- package/src/CardWidget/CardWidget.types.ts +63 -0
- package/src/CardWidget/CardWidgetAction.tsx +128 -0
- package/src/CardWidget/_stories/CardWidget.story.tsx +238 -0
- package/src/CardWidget/_stories/CardWidget.test.story.tsx +350 -0
- package/src/CardWidget/index.ts +3 -0
- 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 +45 -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/Display.test.tsx +43 -0
- package/src/Display/Display.tsx +11 -1
- package/src/Display/_stories/Display.story.tsx +36 -21
- package/src/Display/_stories/Display.test.story.tsx +108 -0
- 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/Inputs/Input/Input.css +98 -24
- package/src/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.tsx +4 -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 +6 -2
- package/src/Inputs/SelectInput/_stories/SelectInput.story.tsx +1 -1
- package/src/Inputs/TextArea/TextArea.css +98 -24
- 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/ListItem/ListItem.css +8 -0
- package/src/ListItem/ListItem.less +8 -0
- package/src/ListItem/ListItem.test.tsx +20 -0
- package/src/ListItem/ListItem.tsx +3 -1
- package/src/ListItem/_stories/ListItem.layout.test.story.tsx +1 -1
- package/src/ListItem/_stories/ListItem.story.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 +30 -7
- package/src/Popover/Popover.less +2 -2
- package/src/ProgressBar/ProgressBar.css +3 -2
- package/src/ProgressBar/ProgressBar.less +12 -11
- package/src/Prompt/CriticalBanner/_stories/CriticalBanner.docs.mdx +122 -0
- package/src/Prompt/CriticalBanner/_stories/CriticalBanner.story.tsx +0 -2
- 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 +4 -2
- package/src/Table/Header/TableHeader.tsx +1 -1
- package/src/Table/StatusText/TableStatusText.test.tsx +20 -5
- package/src/Table/Table.css +18 -8
- package/src/Table/Table.less +20 -9
- package/src/Tabs/Tab/Tab.tsx +11 -5
- 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/Title/Title.test.tsx +22 -3
- package/src/Title/Title.tsx +2 -2
- 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 +4 -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.test.tsx +16 -0
- package/src/_deprecated/Select/Select.tsx +6 -1
- 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 +13 -0
- package/src/main.css +9245 -1899
- package/src/main.less +5 -2
- package/src/styles/less/accordion.css +53 -11
- 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 +91 -236
- 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 +53 -11
- package/src/styles/less/decision.less +2 -2
- package/src/styles/less/dropdowns.css +65 -18
- 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 +249 -117
- package/src/styles/less/input-groups.less +23 -9
- package/src/styles/less/list-group.css +28 -8
- 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 +92 -45
- 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 +6230 -525
- package/src/styles/less/neptune.bundle.less +4 -0
- package/src/styles/less/neptune.css +8790 -1768
- package/src/styles/less/panels.css +2 -2
- package/src/styles/less/panels.less +2 -2
- package/src/styles/less/popovers.css +64 -20
- 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/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/src/FlowNavigation/_stories/FlowNavigation.CriticalBanner.docs.mdx +0 -66
- 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
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
.panel-title {
|
|
20
20
|
margin-block-start: 0;
|
|
21
21
|
margin-block-end: 0;
|
|
22
|
-
line-height: calc(var(--line-height-title) + 8px);
|
|
22
|
+
line-height: calc(var(--wds-line-height-title-section) + 8px);
|
|
23
23
|
}
|
|
24
24
|
.panel-title > a {
|
|
25
25
|
-webkit-text-decoration: none;
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
@media (min-width: 840px) {
|
|
71
71
|
.panel-title {
|
|
72
|
-
line-height: calc(var(--line-height-title) * 2);
|
|
72
|
+
line-height: calc(var(--wds-line-height-title-section) * 2);
|
|
73
73
|
}
|
|
74
74
|
.panel-heading > .btn-sm {
|
|
75
75
|
margin-block-start: 8px;
|
|
@@ -1,4 +1,62 @@
|
|
|
1
|
-
.
|
|
1
|
+
.popover-title {
|
|
2
|
+
margin: 0;color: var(--color-content-primary);word-wrap: break-word;
|
|
3
|
+
}
|
|
4
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
5
|
+
.popover-title {
|
|
6
|
+
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
7
|
+
}
|
|
8
|
+
@media (min-width: 840px) {
|
|
9
|
+
.popover-title {
|
|
10
|
+
hyphenate-limit-chars: 8 3;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
@media (min-width: 1160px) {
|
|
14
|
+
.popover-title {
|
|
15
|
+
hyphenate-limit-chars: 10 4 3;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
19
|
+
.popover-title {
|
|
20
|
+
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
21
|
+
}
|
|
22
|
+
@media (min-width: 1160px) {
|
|
23
|
+
.popover-title {
|
|
24
|
+
-webkit-hyphenate-limit-before: 4;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}.popover,
|
|
28
|
+
.popover-content {
|
|
29
|
+
word-wrap: break-word;
|
|
30
|
+
}
|
|
31
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
32
|
+
.popover,
|
|
33
|
+
.popover-content {
|
|
34
|
+
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
35
|
+
}
|
|
36
|
+
@media (min-width: 840px) {
|
|
37
|
+
.popover,
|
|
38
|
+
.popover-content {
|
|
39
|
+
hyphenate-limit-chars: 8 3;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
@media (min-width: 1160px) {
|
|
43
|
+
.popover,
|
|
44
|
+
.popover-content {
|
|
45
|
+
hyphenate-limit-chars: 10 4 3;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
49
|
+
.popover,
|
|
50
|
+
.popover-content {
|
|
51
|
+
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
52
|
+
}
|
|
53
|
+
@media (min-width: 1160px) {
|
|
54
|
+
.popover,
|
|
55
|
+
.popover-content {
|
|
56
|
+
-webkit-hyphenate-limit-before: 4;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}.close {
|
|
2
60
|
float: inline-end;
|
|
3
61
|
color: var(--color-content-accent);
|
|
4
62
|
-webkit-text-decoration: none;
|
|
@@ -46,7 +104,7 @@ button.close {
|
|
|
46
104
|
inline-size: 276px;
|
|
47
105
|
padding-block: 18px;
|
|
48
106
|
padding-inline: 24px;
|
|
49
|
-
font-family: var(--font-family-regular);
|
|
107
|
+
font-family: var(--wds-font-family-regular);
|
|
50
108
|
font-style: normal;
|
|
51
109
|
font-weight: normal;
|
|
52
110
|
letter-spacing: normal;
|
|
@@ -61,10 +119,6 @@ button.close {
|
|
|
61
119
|
word-break: normal;
|
|
62
120
|
word-spacing: normal;
|
|
63
121
|
word-wrap: normal;
|
|
64
|
-
font-size: var(--font-size-14);
|
|
65
|
-
line-height: 155%;
|
|
66
|
-
letter-spacing: -0.006em;
|
|
67
|
-
font-weight: var(--font-weight-regular);
|
|
68
122
|
word-wrap: break-word;
|
|
69
123
|
background-color: var(--color-background-screen);
|
|
70
124
|
background-clip: padding-box;
|
|
@@ -253,13 +307,7 @@ button.close {
|
|
|
253
307
|
padding: 0;
|
|
254
308
|
margin: 0;
|
|
255
309
|
color: var(--color-content-primary);
|
|
256
|
-
line-height: var(--line-height-title);
|
|
257
|
-
letter-spacing: 0;
|
|
258
310
|
word-wrap: break-word;
|
|
259
|
-
font-size: var(--font-size-18);
|
|
260
|
-
font-weight: var(--font-weight-semi-bold);
|
|
261
|
-
letter-spacing: -0.014em;
|
|
262
|
-
line-height: 135%;
|
|
263
311
|
background-color: var(--color-background-screen);
|
|
264
312
|
border-block-end: 0;
|
|
265
313
|
border-start-start-radius: 2px;
|
|
@@ -303,10 +351,6 @@ button.close {
|
|
|
303
351
|
}
|
|
304
352
|
.popover-content {
|
|
305
353
|
padding: 0;
|
|
306
|
-
font-size: var(--font-size-14);
|
|
307
|
-
line-height: 155%;
|
|
308
|
-
letter-spacing: -0.006em;
|
|
309
|
-
font-weight: var(--font-weight-regular);
|
|
310
354
|
word-wrap: break-word;
|
|
311
355
|
color: var(--color-content-secondary);
|
|
312
356
|
}
|
|
@@ -475,13 +519,13 @@ button.popover-close {
|
|
|
475
519
|
}
|
|
476
520
|
}
|
|
477
521
|
.popover-promotion .popover-title {
|
|
478
|
-
font-size: var(--font-size-
|
|
479
|
-
line-height: var(--line-height-
|
|
522
|
+
font-size: var(--wds-font-size-body-large);
|
|
523
|
+
line-height: var(--wds-line-height-body-large);
|
|
480
524
|
}
|
|
481
525
|
@media (min-width: 840px) {
|
|
482
526
|
.popover-promotion .popover-title {
|
|
483
|
-
font-size: var(--font-size-
|
|
484
|
-
line-height: var(--line-height-title);
|
|
527
|
+
font-size: var(--wds-font-size-title-body);
|
|
528
|
+
line-height: var(--wds-line-height-title-body);
|
|
485
529
|
}
|
|
486
530
|
}
|
|
487
531
|
@media (max-width: 320px) {
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
inset-block-start: calc(-1 * var(--progress-bar-border-width));
|
|
16
16
|
inset-inline-start: calc(-1 * var(--progress-bar-start-shift));
|
|
17
17
|
block-size: calc(var(--progress-bar-height) + var(--progress-bar-border-width) * 2);
|
|
18
|
-
font-size: var(--font-size-
|
|
19
|
-
font-weight: var(--font-weight-bold);
|
|
18
|
+
font-size: var(--wds-font-size-body-large);
|
|
19
|
+
font-weight: var(--wds-font-weight-body-bold);
|
|
20
20
|
color: #fff;
|
|
21
21
|
text-align: end;
|
|
22
22
|
background-color: var(--color-content-accent);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
margin-inline-start: 25px;
|
|
5
5
|
margin-block-start: 0;
|
|
6
6
|
margin-block-end: 0;
|
|
7
|
-
font-size: var(--font-size-
|
|
7
|
+
font-size: var(--wds-font-size-body);
|
|
8
8
|
border-color: var(--color-border-neutral);
|
|
9
9
|
}
|
|
10
10
|
.sequence > li {
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
@media (min-width: 840px) {
|
|
82
82
|
.sequence {
|
|
83
83
|
padding-inline-end: 24px;
|
|
84
|
-
font-size: var(--font-size-
|
|
84
|
+
font-size: var(--wds-font-size-body-large);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
.sequence > li {
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
display: block;
|
|
95
95
|
-webkit-text-decoration: none;
|
|
96
96
|
text-decoration: none;
|
|
97
|
-
font-weight: var(--font-weight-regular);
|
|
97
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
98
98
|
color: var(--color-content-accent);
|
|
99
99
|
outline-offset: -1px;
|
|
100
100
|
}
|
|
@@ -123,6 +123,10 @@
|
|
|
123
123
|
.sequence > li .h2,
|
|
124
124
|
.sequence > li .h3,
|
|
125
125
|
.sequence > li .h4,
|
|
126
|
+
.sequence > li .wds-text-title-screen,
|
|
127
|
+
.sequence > li .wds-text-title-section,
|
|
128
|
+
.sequence > li .wds-text-title-subsection,
|
|
129
|
+
.sequence > li .wds-text-title-body,
|
|
126
130
|
.sequence > li .btn-toolbar {
|
|
127
131
|
margin-block-end: 16px;
|
|
128
132
|
}
|
|
@@ -159,7 +163,7 @@
|
|
|
159
163
|
-webkit-text-decoration: none;
|
|
160
164
|
text-decoration: none;
|
|
161
165
|
color: var(--color-content-primary);
|
|
162
|
-
font-weight: var(--font-weight-
|
|
166
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
163
167
|
}
|
|
164
168
|
.sequence > .active > a:hover,
|
|
165
169
|
.sequence > .active > a:focus {
|
|
@@ -184,7 +188,7 @@
|
|
|
184
188
|
.sequence a {
|
|
185
189
|
-webkit-text-decoration: none;
|
|
186
190
|
text-decoration: none;
|
|
187
|
-
font-weight: var(--font-weight-regular);
|
|
191
|
+
font-weight: var(--wds-font-weight-body-regular);
|
|
188
192
|
}
|
|
189
193
|
.sequence-top > li:first-child::after {
|
|
190
194
|
inset-block-start: 0;
|
|
@@ -203,7 +207,8 @@
|
|
|
203
207
|
}
|
|
204
208
|
.sequence-inverse > .active .small,
|
|
205
209
|
.sequence-inverse > .active .body-2,
|
|
206
|
-
.sequence-inverse > .active .np-text-body-default
|
|
210
|
+
.sequence-inverse > .active .np-text-body-default,
|
|
211
|
+
.sequence-inverse > .active .wds-text-body-default {
|
|
207
212
|
color: var(--color-content-secondary);
|
|
208
213
|
}
|
|
209
214
|
.sequence-inverse > .active::after,
|
|
@@ -351,7 +356,7 @@
|
|
|
351
356
|
font-size: var(--font-size-12);
|
|
352
357
|
}
|
|
353
358
|
.sequence-icon .icon {
|
|
354
|
-
font-size: var(--font-size-
|
|
359
|
+
font-size: var(--wds-font-size-body-large);
|
|
355
360
|
line-height: 23px;
|
|
356
361
|
}
|
|
357
362
|
.sequence-inverse .sequence-icon {
|
|
@@ -442,14 +447,14 @@
|
|
|
442
447
|
block-size: 32px;
|
|
443
448
|
line-height: 30px;
|
|
444
449
|
margin-block-start: -6px;
|
|
445
|
-
font-size: var(--font-size-
|
|
450
|
+
font-size: var(--wds-font-size-body);
|
|
446
451
|
}
|
|
447
452
|
.sequence-icon-lg {
|
|
448
453
|
inline-size: 40px;
|
|
449
454
|
block-size: 40px;
|
|
450
455
|
line-height: 38px;
|
|
451
456
|
margin-block-start: -6px;
|
|
452
|
-
font-size: var(--font-size-
|
|
457
|
+
font-size: var(--wds-font-size-body-large);
|
|
453
458
|
}
|
|
454
459
|
.sequence-icon-lg .icon {
|
|
455
460
|
font-size: 22px;
|
|
@@ -30,7 +30,7 @@ th {
|
|
|
30
30
|
.table > tfoot > tr > td {
|
|
31
31
|
padding-block: var(--size-24);
|
|
32
32
|
padding-inline: var(--size-16);
|
|
33
|
-
line-height: var(--line-height-body);
|
|
33
|
+
line-height: var(--wds-line-height-body-large);
|
|
34
34
|
vertical-align: top;
|
|
35
35
|
border-block-start: 1px solid var(--color-border-neutral);
|
|
36
36
|
border-block-end: 0;
|
|
@@ -41,7 +41,7 @@ th {
|
|
|
41
41
|
.table > .tfoot > ol > li {
|
|
42
42
|
padding-block: var(--size-24);
|
|
43
43
|
padding-inline: var(--size-16);
|
|
44
|
-
line-height: var(--line-height-body);
|
|
44
|
+
line-height: var(--wds-line-height-body-large);
|
|
45
45
|
vertical-align: top;
|
|
46
46
|
border-block-start: 1px solid var(--color-border-neutral);
|
|
47
47
|
border-block-end: 0;
|
|
@@ -81,12 +81,12 @@ th {
|
|
|
81
81
|
.table > tfoot,
|
|
82
82
|
.table > .thead,
|
|
83
83
|
.table > .tfoot {
|
|
84
|
-
font-size: var(--font-size-
|
|
84
|
+
font-size: var(--wds-font-size-body);
|
|
85
85
|
color: var(--color-content-primary);
|
|
86
86
|
}
|
|
87
87
|
.table > tbody,
|
|
88
88
|
.table > .tbody {
|
|
89
|
-
font-size: var(--font-size-
|
|
89
|
+
font-size: var(--wds-font-size-body);
|
|
90
90
|
}
|
|
91
91
|
.table > tbody > tr > th,
|
|
92
92
|
.table > .tbody > dl > .th {
|
|
@@ -328,7 +328,7 @@ table col[class*="col-"] {
|
|
|
328
328
|
}
|
|
329
329
|
.table > .thead > ol > li {
|
|
330
330
|
display: table-cell;
|
|
331
|
-
font-weight: var(--font-weight-
|
|
331
|
+
font-weight: var(--wds-font-weight-title-body);
|
|
332
332
|
color: var(--color-content-primary);
|
|
333
333
|
}
|
|
334
334
|
.table > .tbody {
|
|
@@ -342,7 +342,7 @@ table col[class*="col-"] {
|
|
|
342
342
|
}
|
|
343
343
|
.table > .tbody > dl > dd {
|
|
344
344
|
display: table-cell;
|
|
345
|
-
font-size: var(--font-size-
|
|
345
|
+
font-size: var(--wds-font-size-body);
|
|
346
346
|
color: var(--color-content-secondary);
|
|
347
347
|
}
|
|
348
348
|
.table > .tfoot {
|
|
@@ -358,7 +358,7 @@ table col[class*="col-"] {
|
|
|
358
358
|
border-radius: 3px;
|
|
359
359
|
margin-block-end: var(--size-24);
|
|
360
360
|
padding-block: var(--size-24) 0;
|
|
361
|
-
padding-inline: var(--line-height-body);
|
|
361
|
+
padding-inline: var(--wds-line-height-body-large);
|
|
362
362
|
}
|
|
363
363
|
.table > .tbody > dl > dd {
|
|
364
364
|
padding: 0;
|
|
@@ -1,8 +1,34 @@
|
|
|
1
|
-
.tooltip {
|
|
1
|
+
.tooltip-inner {
|
|
2
|
+
word-wrap: break-word;
|
|
3
|
+
}
|
|
4
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
5
|
+
.tooltip-inner {
|
|
6
|
+
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
7
|
+
}
|
|
8
|
+
@media (min-width: 840px) {
|
|
9
|
+
.tooltip-inner {
|
|
10
|
+
hyphenate-limit-chars: 8 3;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
@media (min-width: 1160px) {
|
|
14
|
+
.tooltip-inner {
|
|
15
|
+
hyphenate-limit-chars: 10 4 3;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
19
|
+
.tooltip-inner {
|
|
20
|
+
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
21
|
+
}
|
|
22
|
+
@media (min-width: 1160px) {
|
|
23
|
+
.tooltip-inner {
|
|
24
|
+
-webkit-hyphenate-limit-before: 4;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}.tooltip {
|
|
2
28
|
position: absolute;
|
|
3
29
|
z-index: 1070;
|
|
4
30
|
display: block;
|
|
5
|
-
font-family: var(--font-family-regular);
|
|
31
|
+
font-family: var(--wds-font-family-regular);
|
|
6
32
|
font-style: normal;
|
|
7
33
|
font-weight: normal;
|
|
8
34
|
letter-spacing: normal;
|
|
@@ -43,10 +69,6 @@
|
|
|
43
69
|
padding-inline: 5px;
|
|
44
70
|
}
|
|
45
71
|
.tooltip-inner {
|
|
46
|
-
font-size: var(--font-size-14);
|
|
47
|
-
line-height: 155%;
|
|
48
|
-
letter-spacing: -0.006em;
|
|
49
|
-
font-weight: var(--font-weight-regular);
|
|
50
72
|
word-wrap: break-word;
|
|
51
73
|
max-inline-size: 200px;
|
|
52
74
|
min-inline-size: 120px;
|
|
@@ -11,7 +11,7 @@ export type BodyProps = HTMLAttributes<HTMLSpanElement | HTMLParagraphElement> &
|
|
|
11
11
|
*/
|
|
12
12
|
preserveNewlines?: boolean;
|
|
13
13
|
};
|
|
14
|
-
declare const Body: import("react").ForwardRefExoticComponent<HTMLAttributes<
|
|
14
|
+
declare const Body: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement | HTMLParagraphElement> & {
|
|
15
15
|
/** @default 'body-default' */
|
|
16
16
|
type?: BodyTypes;
|
|
17
17
|
/** @default 'div' */
|
|
@@ -21,6 +21,6 @@ declare const Body: import("react").ForwardRefExoticComponent<HTMLAttributes<HTM
|
|
|
21
21
|
* @default false
|
|
22
22
|
*/
|
|
23
23
|
preserveNewlines?: boolean;
|
|
24
|
-
} & import("react").RefAttributes<HTMLDivElement |
|
|
24
|
+
} & import("react").RefAttributes<HTMLDivElement | HTMLSpanElement | HTMLParagraphElement | null>>;
|
|
25
25
|
export default Body;
|
|
26
26
|
//# sourceMappingURL=Body.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../src/Body/Body.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,cAAc,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAc,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAWzE,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,eAAe,GAAG,oBAAoB,CAAC,GAAG;IAC/E,8BAA8B;IAC9B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,qBAAqB;IACrB,EAAE,CAAC,EAAE,MAAM,GAAG,GAAG,GAAG,KAAK,CAAC;IAC1B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,QAAA,MAAM,IAAI;IAXR,8BAA8B;WACvB,SAAS;IAChB,qBAAqB;SAChB,MAAM,GAAG,GAAG,GAAG,KAAK;IACzB;;;OAGG;uBACgB,OAAO;
|
|
1
|
+
{"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../src/Body/Body.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,cAAc,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAc,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAWzE,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,eAAe,GAAG,oBAAoB,CAAC,GAAG;IAC/E,8BAA8B;IAC9B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,qBAAqB;IACrB,EAAE,CAAC,EAAE,MAAM,GAAG,GAAG,GAAG,KAAK,CAAC;IAC1B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,QAAA,MAAM,IAAI;IAXR,8BAA8B;WACvB,SAAS;IAChB,qBAAqB;SAChB,MAAM,GAAG,GAAG,GAAG,KAAK;IACzB;;;OAGG;uBACgB,OAAO;kGA2B1B,CAAC;AAEH,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CardContainerProps } from './CardContainer.types';
|
|
2
|
+
/**
|
|
3
|
+
* A bounded surface that groups related content. It has no slots of its own: children are stacked
|
|
4
|
+
* with no gap between them. For a card with a title and actions, use `CardWidget`.
|
|
5
|
+
*/
|
|
6
|
+
declare const CardContainer: import("react").ForwardRefExoticComponent<CardContainerProps & import("react").RefAttributes<HTMLElement>>;
|
|
7
|
+
export default CardContainer;
|
|
8
|
+
//# sourceMappingURL=CardContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardContainer.d.ts","sourceRoot":"","sources":["../../../src/CardContainer/CardContainer.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE;;;GAGG;AACH,QAAA,MAAM,aAAa,4GAqClB,CAAC;AAIF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Highlights the card, matching `ListItem`'s `spotlight`.
|
|
4
|
+
*
|
|
5
|
+
* - `active` — live content the user can act on. Raised, with a soft shadow and a hairline border.
|
|
6
|
+
* - `inactive` — a feature the user has not set up yet. Recessed, with a dashed stroke.
|
|
7
|
+
*
|
|
8
|
+
* Without a spotlight the card is flat, with a solid stroke, for content that is present but not
|
|
9
|
+
* actionable.
|
|
10
|
+
*/
|
|
11
|
+
export type CardContainerSpotlight = 'active' | 'inactive';
|
|
12
|
+
/**
|
|
13
|
+
* - `md` — 8px, and 16px from the `md` breakpoint up.
|
|
14
|
+
* - `none` — content runs to the card's edges.
|
|
15
|
+
*/
|
|
16
|
+
export type CardContainerPadding = 'md' | 'none';
|
|
17
|
+
export interface CardContainerProps extends HTMLAttributes<HTMLElement> {
|
|
18
|
+
/**
|
|
19
|
+
* Highlights the card as live content (`active`) or as a feature not set up yet (`inactive`).
|
|
20
|
+
* Leave unset for a flat card.
|
|
21
|
+
* @default undefined
|
|
22
|
+
*/
|
|
23
|
+
spotlight?: CardContainerSpotlight;
|
|
24
|
+
/**
|
|
25
|
+
* Space between the card's edge and its content. `none` lets content such as images or charts
|
|
26
|
+
* run to the card's edges, clipped to its rounded corners. Anything clipped at the edges
|
|
27
|
+
* includes focus rings, so use `none` for non-interactive content, and keep lists on `md`.
|
|
28
|
+
* @default 'md'
|
|
29
|
+
*/
|
|
30
|
+
padding?: CardContainerPadding;
|
|
31
|
+
/**
|
|
32
|
+
* Content, stacked with no gap.
|
|
33
|
+
* @default undefined
|
|
34
|
+
*/
|
|
35
|
+
children?: ReactNode;
|
|
36
|
+
/**
|
|
37
|
+
* Element rendered as the root. Use `section` when the card is a standalone, major part of the
|
|
38
|
+
* page, or `article` for self-contained content such as a feed item. Leave most cards as a `div`,
|
|
39
|
+
* so a page of cards doesn't fill the landmark list with a region per card.
|
|
40
|
+
* @default 'div'
|
|
41
|
+
*/
|
|
42
|
+
as?: 'div' | 'section' | 'article';
|
|
43
|
+
/**
|
|
44
|
+
* Shows the card as hovered or pressed while a direct child link (with an `href`) or enabled
|
|
45
|
+
* button is, such as a link that fills the card, and as hovered while that child has keyboard
|
|
46
|
+
* focus. The rest of the card,
|
|
47
|
+
* and controls nested deeper, don't trigger the states, so the card is only shown as something
|
|
48
|
+
* to act on where it can be clicked.
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
51
|
+
interactive?: boolean;
|
|
52
|
+
className?: string;
|
|
53
|
+
'data-testid'?: string;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=CardContainer.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardContainer.types.d.ts","sourceRoot":"","sources":["../../../src/CardContainer/CardContainer.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;;;;;;;GAQG;AACH,MAAM,MAAM,sBAAsB,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE3D;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,IAAI,GAAG,MAAM,CAAC;AAEjD,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,WAAW,CAAC;IACrE;;;;OAIG;IACH,SAAS,CAAC,EAAE,sBAAsB,CAAC;IAEnC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAE/B;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;;;;OAKG;IACH,EAAE,CAAC,EAAE,KAAK,GAAG,SAAS,GAAG,SAAS,CAAC;IAEnC;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/CardContainer/_stories/helpers.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa,mCAKzB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAoCrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/CardContainer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,YAAY,EACV,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CardWidgetProps } from './CardWidget.types';
|
|
2
|
+
/**
|
|
3
|
+
* A `CardContainer` with an optional header — a title, a title link and up to two actions — above
|
|
4
|
+
* its content. The card shows as hovered or pressed while the title link is, and as hovered while
|
|
5
|
+
* the link has keyboard focus. Hovering or pressing the rest of the card, or its actions, leaves it
|
|
6
|
+
* at rest.
|
|
7
|
+
*/
|
|
8
|
+
declare const CardWidget: import("react").ForwardRefExoticComponent<CardWidgetProps & import("react").RefAttributes<HTMLElement>>;
|
|
9
|
+
export default CardWidget;
|
|
10
|
+
//# sourceMappingURL=CardWidget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardWidget.d.ts","sourceRoot":"","sources":["../../../src/CardWidget/CardWidget.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAoB,eAAe,EAAE,MAAM,oBAAoB,CAAC;AA6C5E;;;;;GAKG;AACH,QAAA,MAAM,UAAU,yGAcf,CAAC;AAIF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { Heading } from '../common';
|
|
3
|
+
import type { CardContainerProps } from '../CardContainer';
|
|
4
|
+
import type { LinkProps } from '../Link';
|
|
5
|
+
import type { CardWidgetActionButton } from './CardWidgetAction';
|
|
6
|
+
/**
|
|
7
|
+
* Props passed to the [Link](https://storybook.wise.design/?path=/docs/typography-link--docs)
|
|
8
|
+
* that the title is rendered as. A trailing chevron is rendered automatically, so do not put one
|
|
9
|
+
* in `title`.
|
|
10
|
+
*/
|
|
11
|
+
export type CardWidgetTitleAction = Pick<LinkProps, 'href' | 'target' | 'onClick'>;
|
|
12
|
+
export interface CardWidgetHeader {
|
|
13
|
+
/** The widget's title. */
|
|
14
|
+
title: ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Heading element rendered for the title.
|
|
17
|
+
* @default 'h3'
|
|
18
|
+
*/
|
|
19
|
+
as?: Heading;
|
|
20
|
+
/**
|
|
21
|
+
* Makes the title a link with a trailing chevron.
|
|
22
|
+
* @default undefined
|
|
23
|
+
*/
|
|
24
|
+
titleAction?: CardWidgetTitleAction;
|
|
25
|
+
/**
|
|
26
|
+
* A `CardWidgetActionButton` object (with a `label` or an `icon`) renders a small button,
|
|
27
|
+
* anchored to the inline end. Any other node is rendered as given.
|
|
28
|
+
* @default undefined
|
|
29
|
+
*/
|
|
30
|
+
action?: CardWidgetActionButton | ReactNode;
|
|
31
|
+
/**
|
|
32
|
+
* Second action, at a lower emphasis, rendered before `action`. Two is the maximum, to keep
|
|
33
|
+
* the title legible. Takes the same values as `action`, and keeps its lower emphasis when used
|
|
34
|
+
* on its own.
|
|
35
|
+
* @default undefined
|
|
36
|
+
*/
|
|
37
|
+
actionSecondary?: CardWidgetActionButton | ReactNode;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* The widget always has the card's default padding, so its header and content line up, and its
|
|
41
|
+
* states always follow its title link.
|
|
42
|
+
*/
|
|
43
|
+
export interface CardWidgetProps extends Omit<CardContainerProps, 'padding' | 'interactive'> {
|
|
44
|
+
/**
|
|
45
|
+
* The widget's header: a title, optionally a link, and up to two actions.
|
|
46
|
+
* @default undefined
|
|
47
|
+
*/
|
|
48
|
+
header?: CardWidgetHeader;
|
|
49
|
+
/**
|
|
50
|
+
* The widget's content, rendered under the header.
|
|
51
|
+
* @default undefined
|
|
52
|
+
*/
|
|
53
|
+
children?: ReactNode;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=CardWidget.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardWidget.types.d.ts","sourceRoot":"","sources":["../../../src/CardWidget/CardWidget.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEjE;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC,CAAC;AAEnF,MAAM,WAAW,gBAAgB;IAC/B,0BAA0B;IAC1B,KAAK,EAAE,SAAS,CAAC;IAEjB;;;OAGG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC;IAEb;;;OAGG;IACH,WAAW,CAAC,EAAE,qBAAqB,CAAC;IAEpC;;;;OAIG;IACH,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAE5C;;;;;OAKG;IACH,eAAe,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;CACtD;AAED;;;GAGG;AACH,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,kBAAkB,EAAE,SAAS,GAAG,aAAa,CAAC;IAC1F;;;OAGG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAE1B;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { type MouseEventHandler, type ReactNode } from 'react';
|
|
2
|
+
import type { ButtonProps } from '../Button/Button.types';
|
|
3
|
+
/** The action slot a `CardWidgetActionButton` was passed to, which is what determines its emphasis. */
|
|
4
|
+
export type CardWidgetActionSlot = 'action' | 'actionSecondary';
|
|
5
|
+
type CardWidgetActionButtonBase = Pick<ButtonProps, 'href' | 'target' | 'disabled'> & {
|
|
6
|
+
/**
|
|
7
|
+
* `HTMLElement` rather than a narrower target, because an action is a `button` or an `a`
|
|
8
|
+
* depending on whether `href` is set.
|
|
9
|
+
* @default undefined
|
|
10
|
+
*/
|
|
11
|
+
onClick?: MouseEventHandler<HTMLElement>;
|
|
12
|
+
/**
|
|
13
|
+
* Rendered after `label`, or as the only content of an unlabelled action.
|
|
14
|
+
* Size it yourself — 16px is expected in both cases.
|
|
15
|
+
* @default undefined
|
|
16
|
+
*/
|
|
17
|
+
icon?: ReactNode;
|
|
18
|
+
'data-testid'?: string;
|
|
19
|
+
};
|
|
20
|
+
/** An action with a visible label, rendered as a small button. */
|
|
21
|
+
type CardWidgetLabelledActionButton = CardWidgetActionButtonBase & {
|
|
22
|
+
/** Non-rendering values are excluded, so an unlabelled action has to meet the icon-only rules. */
|
|
23
|
+
label: Exclude<ButtonProps['children'], null | undefined | boolean>;
|
|
24
|
+
/** @default undefined */
|
|
25
|
+
'aria-label'?: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* An action with no visible label, rendered as a 32px icon button. The icon is
|
|
29
|
+
* the only thing on screen and `aria-label` is the only accessible name, so
|
|
30
|
+
* both are required.
|
|
31
|
+
*/
|
|
32
|
+
type CardWidgetIconActionButton = CardWidgetActionButtonBase & {
|
|
33
|
+
label?: never;
|
|
34
|
+
icon: ReactNode;
|
|
35
|
+
'aria-label': string;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* An action the `CardWidget` header renders as a button. With a `label` it is a small `Button`; without
|
|
39
|
+
* one, a 32px `IconButton`, which requires both an `icon` and an `aria-label`. Emphasis is not
|
|
40
|
+
* part of the object — it comes from the slot the action is passed to.
|
|
41
|
+
*/
|
|
42
|
+
export type CardWidgetActionButton = CardWidgetLabelledActionButton | CardWidgetIconActionButton;
|
|
43
|
+
/**
|
|
44
|
+
* Tells a `CardWidgetActionButton` object apart from any other node passed to an action slot.
|
|
45
|
+
* Every button action has a `label` or an `icon`, which no React element, portal or array does.
|
|
46
|
+
*/
|
|
47
|
+
export declare const isCardWidgetActionButton: (value: unknown) => value is CardWidgetActionButton;
|
|
48
|
+
/** Renders a `CardWidgetActionButton` at the emphasis of the slot it was passed to. */
|
|
49
|
+
declare const CardWidgetAction: ({ action: { label, icon, "aria-label": ariaLabel, "data-testid": dataTestId, href, target, onClick, disabled, }, slot, }: {
|
|
50
|
+
action: CardWidgetActionButton;
|
|
51
|
+
slot: CardWidgetActionSlot;
|
|
52
|
+
}) => import("react").JSX.Element;
|
|
53
|
+
export default CardWidgetAction;
|
|
54
|
+
//# sourceMappingURL=CardWidgetAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardWidgetAction.d.ts","sourceRoot":"","sources":["../../../src/CardWidget/CardWidgetAction.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG/E,OAAO,KAAK,EAAkB,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAG1E,uGAAuG;AACvG,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,iBAAiB,CAAC;AAEhE,KAAK,0BAA0B,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC,GAAG;IACpF;;;;OAIG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC;IAEzC;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,kEAAkE;AAClE,KAAK,8BAA8B,GAAG,0BAA0B,GAAG;IACjE,kGAAkG;IAClG,KAAK,EAAE,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,OAAO,CAAC,CAAC;IACpE,yBAAyB;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;;GAIG;AACH,KAAK,0BAA0B,GAAG,0BAA0B,GAAG;IAC7D,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,8BAA8B,GAAG,0BAA0B,CAAC;AAYjG;;;GAGG;AACH,eAAO,MAAM,wBAAwB,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,sBAK5B,CAAC;AAExC,uFAAuF;AACvF,QAAA,MAAM,gBAAgB,GAA6B,0HAYhD;IACD,MAAM,EAAE,sBAAsB,CAAC;IAC/B,IAAI,EAAE,oBAAoB,CAAC;CAC5B,gCAoCA,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/CardWidget/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACnG,YAAY,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Display.d.ts","sourceRoot":"","sources":["../../../src/Display/Display.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAc,MAAM,WAAW,CAAC;AAErD,MAAM,MAAM,YAAY,GAAG,iBAAiB,CAAC;IAC3C,EAAE,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC7C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AAEH,iBAAS,OAAO,CAAC,EACf,EAAE,EAAE,OAAc,EAClB,IAA+B,EAC/B,QAAQ,EACR,SAAS,EACT,EAAE,GACH,EAAE,YAAY,+
|
|
1
|
+
{"version":3,"file":"Display.d.ts","sourceRoot":"","sources":["../../../src/Display/Display.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAc,MAAM,WAAW,CAAC;AAErD,MAAM,MAAM,YAAY,GAAG,iBAAiB,CAAC;IAC3C,EAAE,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC7C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AAEH,iBAAS,OAAO,CAAC,EACf,EAAE,EAAE,OAAc,EAClB,IAA+B,EAC/B,QAAQ,EACR,SAAS,EACT,EAAE,GACH,EAAE,YAAY,+BAgBd;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmountInput.d.ts","sourceRoot":"","sources":["../../../../src/ExpressiveMoneyInput/AmountInput/AmountInput.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAezE,KAAK,gBAAgB,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1C,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C,GAAG,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC,CAAC;AAE/C,eAAO,MAAM,WAAW,GAAI,uFASzB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"AmountInput.d.ts","sourceRoot":"","sources":["../../../../src/ExpressiveMoneyInput/AmountInput/AmountInput.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAezE,KAAK,gBAAgB,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1C,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C,GAAG,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC,CAAC;AAE/C,eAAO,MAAM,WAAW,GAAI,uFASzB,gBAAgB,gCAgTlB,CAAC"}
|
|
@@ -16,6 +16,6 @@ declare const IconButton: import("react").ForwardRefExoticComponent<{
|
|
|
16
16
|
/** @default 'default' */
|
|
17
17
|
type?: "default" | "negative";
|
|
18
18
|
'data-testid'?: string;
|
|
19
|
-
} & Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "onClick" | "target" | "href"> & Pick<ButtonHTMLAttributes<HTMLButtonElement>, "disabled" | "onClick"> & Pick<HTMLAttributes<HTMLDivElement>, "
|
|
19
|
+
} & Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "onClick" | "target" | "href"> & Pick<ButtonHTMLAttributes<HTMLButtonElement>, "disabled" | "onClick"> & Pick<HTMLAttributes<HTMLDivElement>, "children" | "className" | "id" | "tabIndex" | "role" | "aria-label"> & import("react").RefAttributes<unknown>>;
|
|
20
20
|
export default IconButton;
|
|
21
21
|
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectInputBottomSheet.d.ts","sourceRoot":"","sources":["../../../../../src/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.tsx"],"names":[],"mappings":"AAmBA,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,OAAO,CAAC;IACd,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE;QACrB,GAAG,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;QAChC,mBAAmB,EAAE,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK;YACvE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;SACxB,CAAC;KACH,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC7D,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EACJ,aAAa,EACb,KAAK,EACL,eAAe,EACf,OAAc,EACd,QAAQ,EACR,OAAO,EACP,UAAU,GACX,EAAE,2BAA2B,+
|
|
1
|
+
{"version":3,"file":"SelectInputBottomSheet.d.ts","sourceRoot":"","sources":["../../../../../src/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.tsx"],"names":[],"mappings":"AAmBA,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,OAAO,CAAC;IACd,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE;QACrB,GAAG,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;QAChC,mBAAmB,EAAE,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK;YACvE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;SACxB,CAAC;KACH,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC7D,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EACJ,aAAa,EACb,KAAK,EACL,eAAe,EACf,OAAc,EACd,QAAQ,EACR,OAAO,EACP,UAAU,GACX,EAAE,2BAA2B,+BAkG7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectInputPopover.d.ts","sourceRoot":"","sources":["../../../../../src/Inputs/SelectInput/Popover/SelectInputPopover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,SAAS,EAOf,MAAM,oBAAoB,CAAC;AAS5B,MAAM,WAAW,uBAAuB;IACtC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,aAAa,EAAE,CAAC,IAAI,EAAE;QACpB,GAAG,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;QAChC,mBAAmB,EAAE,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK;YACvE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;SACxB,CAAC;KACH,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAID,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,IAAI,EACJ,aAAa,EACb,KAAK,EACL,IAAW,EACX,OAAc,EACd,QAAQ,EACR,OAAO,EACP,UAAU,GACX,EAAE,uBAAuB,+
|
|
1
|
+
{"version":3,"file":"SelectInputPopover.d.ts","sourceRoot":"","sources":["../../../../../src/Inputs/SelectInput/Popover/SelectInputPopover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,SAAS,EAOf,MAAM,oBAAoB,CAAC;AAS5B,MAAM,WAAW,uBAAuB;IACtC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,aAAa,EAAE,CAAC,IAAI,EAAE;QACpB,GAAG,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;QAChC,mBAAmB,EAAE,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK;YACvE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;SACxB,CAAC;KACH,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAID,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,IAAI,EACJ,aAAa,EACb,KAAK,EACL,IAAW,EACX,OAAc,EACd,QAAQ,EACR,OAAO,EACP,UAAU,GACX,EAAE,uBAAuB,+BA2FzB"}
|