diff --git a/.changeset/empty-hairs-tie.md b/.changeset/empty-hairs-tie.md new file mode 100644 index 00000000000..906bfc37e9a --- /dev/null +++ b/.changeset/empty-hairs-tie.md @@ -0,0 +1,12 @@ +--- +'@razorpay/blade': major +--- + +feat: revamp Blade with brand refresh changes + +> [!WARNING] +> +> Breaking Change! +> This is a breaking change for all components in the library. +> +> Refer the [detailed v11 upgrade guide](https://github.com/razorpay/blade/blob/master/packages/blade/upgrade-v11.md) that contains instructions on how to use codemods for auto-upgrade along with manual steps if required diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000000..e0aea699366 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,21 @@ +## Description + + + +## Changes + + + +## Additional Information + + + +## Component Checklist + + + +- [ ] Update Component Status Page +- [ ] Perform Manual Testing in Other Browsers +- [ ] Add KitchenSink Story +- [ ] Add Interaction Tests (if applicable) +- [ ] Add changeset diff --git a/package.json b/package.json index 9023c41e4af..9aa4debec55 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,6 @@ "workspaces": { "packages": [ "packages/blade", - "packages/razorsharp", "packages/eslint-plugin-blade" ], "nohoist": [ diff --git a/packages/blade-coverage-extension/src/App.tsx b/packages/blade-coverage-extension/src/App.tsx index cb50f5ee0e9..ba3ca0fb239 100644 --- a/packages/blade-coverage-extension/src/App.tsx +++ b/packages/blade-coverage-extension/src/App.tsx @@ -13,12 +13,9 @@ import { Text, Checkbox, } from '@razorpay/blade/components'; -import { paymentTheme } from '@razorpay/blade/tokens'; +import { bladeTheme } from '@razorpay/blade/tokens'; import styled from 'styled-components'; -import '@fontsource/lato/400.css'; -import '@fontsource/lato/400-italic.css'; -import '@fontsource/lato/700.css'; -import '@fontsource/lato/700-italic.css'; +import '@razorpay/blade/fonts.css'; import BarChartImg from './bar-chart.png'; import { useMediaQuery } from './useMediaQuery'; @@ -55,7 +52,7 @@ const App = (): ReactElement => { }, ); return ( - + diff --git a/packages/blade-coverage-extension/src/index.css b/packages/blade-coverage-extension/src/index.css index ec2585e8c0b..d5f7eb27939 100644 --- a/packages/blade-coverage-extension/src/index.css +++ b/packages/blade-coverage-extension/src/index.css @@ -3,8 +3,6 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; } code { diff --git a/packages/blade/.storybook/react-native/Storybook.tsx b/packages/blade/.storybook/react-native/Storybook.tsx index c7764e99f92..24963928df2 100644 --- a/packages/blade/.storybook/react-native/Storybook.tsx +++ b/packages/blade/.storybook/react-native/Storybook.tsx @@ -3,7 +3,7 @@ import React from 'react'; import { AppRegistry } from 'react-native'; import { getStorybookUI } from '@storybook/react-native'; import { BladeProvider } from '../../src/components/BladeProvider'; -import { paymentTheme } from '../../src/tokens/theme'; +import { bladeTheme } from '../../src/tokens/theme'; import './storybook.requires'; import { name as appName } from '../../app.json'; @@ -12,21 +12,21 @@ const App = (): React.ReactElement => { const Storybook = getStorybookUI({ shouldPersistSelection: true, // keeping in comments becuase this is not documented properly in the docs - // theme: { - // backgroundColor: 'white', - // headerTextColor: 'black', - // labelColor: 'black', - // borderColor: '#e6e6e6', - // previewBorderColor: '#b3b3b3', - // buttonTextColor: '#999999', - // buttonActiveTextColor: '#444444', - // }, + theme: { + backgroundColor: bladeTheme.colors.onLight.surface.background.gray.subtle, + // headerTextColor: 'black', + // labelColor: 'black', + // borderColor: '#e6e6e6', + // previewBorderColor: '#b3b3b3', + // buttonTextColor: '#999999', + // buttonActiveTextColor: '#444444', + }, }); return ( diff --git a/packages/blade/.storybook/react-native/main.tsx b/packages/blade/.storybook/react-native/main.tsx index f9ddcc7e707..872f4fea6d9 100644 --- a/packages/blade/.storybook/react-native/main.tsx +++ b/packages/blade/.storybook/react-native/main.tsx @@ -1,6 +1,6 @@ module.exports = { stories: [ - '../../src/**/!(_KitchenSink)*.stories.?(ts|tsx|js|jsx)', + '../../src/**/!(_KitchenSink|*.test)*.stories.?(ts|tsx|js|jsx)', '../../src/**/*.stories.internal.?(ts|tsx|js|jsx)', ], addons: [ diff --git a/packages/blade/.storybook/react-native/storybook.requires.js b/packages/blade/.storybook/react-native/storybook.requires.js index 343e22a6532..887025e7040 100644 --- a/packages/blade/.storybook/react-native/storybook.requires.js +++ b/packages/blade/.storybook/react-native/storybook.requires.js @@ -1,37 +1,32 @@ /* do not change this file, it is auto generated by storybook. */ -import { - configure, - addDecorator, - addParameters, - addArgsEnhancer, -} from "@storybook/react-native"; +import { configure, addDecorator, addParameters, addArgsEnhancer } from '@storybook/react-native'; global.STORIES = [ { - titlePrefix: "", - directory: "./src", - files: "**/!(_KitchenSink)*.stories.?(ts|tsx|js|jsx)", + titlePrefix: '', + directory: './src', + files: '**/!(_KitchenSink|*.test)*.stories.?(ts|tsx|js|jsx)', importPathMatcher: - "^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?:(?!(?:_KitchenSink))[^/]*?)[^/]*?\\.stories\\.(?:ts|tsx|js|jsx)?)$", + '^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?:(?!(?:_KitchenSink|[^/]*?\\.test))[^/]*?)[^/]*?\\.stories\\.(?:ts|tsx|js|jsx)?)$', }, { - titlePrefix: "", - directory: "./src", - files: "**/*.stories.internal.?(ts|tsx|js|jsx)", + titlePrefix: '', + directory: './src', + files: '**/*.stories.internal.?(ts|tsx|js|jsx)', importPathMatcher: - "^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.internal\\.(?:ts|tsx|js|jsx)?)$", + '^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.internal\\.(?:ts|tsx|js|jsx)?)$', }, ]; -import "@storybook/addon-ondevice-notes/register"; -import "@storybook/addon-ondevice-controls/register"; -import "@storybook/addon-ondevice-backgrounds/register"; -import "@storybook/addon-ondevice-actions/register"; +import '@storybook/addon-ondevice-notes/register'; +import '@storybook/addon-ondevice-controls/register'; +import '@storybook/addon-ondevice-backgrounds/register'; +import '@storybook/addon-ondevice-actions/register'; -import { argsEnhancers } from "@storybook/addon-actions/dist/preview"; +import { argsEnhancers } from '@storybook/addon-actions/dist/preview'; -import { decorators, parameters } from "./preview"; +import { decorators, parameters } from './preview'; if (decorators) { decorators.forEach((decorator) => addDecorator(decorator)); @@ -47,83 +42,82 @@ try { const getStories = () => { return { - "./src/components/Accordion/Accordion.stories.tsx": require("../../src/components/Accordion/Accordion.stories.tsx"), - "./src/components/ActionList/ActionList.stories.tsx": require("../../src/components/ActionList/ActionList.stories.tsx"), - "./src/components/Alert/Alert.stories.tsx": require("../../src/components/Alert/Alert.stories.tsx"), - "./src/components/Amount/Amount.stories.tsx": require("../../src/components/Amount/Amount.stories.tsx"), - "./src/components/Badge/Badge.stories.tsx": require("../../src/components/Badge/Badge.stories.tsx"), - "./src/components/BaseHeaderFooter/BaseHeaderFooter.internal.stories.tsx": require("../../src/components/BaseHeaderFooter/BaseHeaderFooter.internal.stories.tsx"), - "./src/components/BottomSheet/BottomSheet.stories.tsx": require("../../src/components/BottomSheet/BottomSheet.stories.tsx"), - "./src/components/Box/BaseBox/BaseBox.internal.stories.tsx": require("../../src/components/Box/BaseBox/BaseBox.internal.stories.tsx"), - "./src/components/Box/Box.stories.tsx": require("../../src/components/Box/Box.stories.tsx"), - "./src/components/Box/styledProps/StyledProps.stories.tsx": require("../../src/components/Box/styledProps/StyledProps.stories.tsx"), - "./src/components/Button/BaseButton/BaseButton.internal.stories.tsx": require("../../src/components/Button/BaseButton/BaseButton.internal.stories.tsx"), - "./src/components/Button/Button/Button.stories.tsx": require("../../src/components/Button/Button/Button.stories.tsx"), - "./src/components/Button/IconButton/IconButton.stories.tsx": require("../../src/components/Button/IconButton/IconButton.stories.tsx"), - "./src/components/Card/Card.stories.tsx": require("../../src/components/Card/Card.stories.tsx"), - "./src/components/Card/CardInteractive.stories.tsx": require("../../src/components/Card/CardInteractive.stories.tsx"), - "./src/components/Carousel/Carousel.stories.tsx": require("../../src/components/Carousel/Carousel.stories.tsx"), - "./src/components/Checkbox/Checkbox.stories.tsx": require("../../src/components/Checkbox/Checkbox.stories.tsx"), - "./src/components/Checkbox/CheckboxGroup.stories.tsx": require("../../src/components/Checkbox/CheckboxGroup.stories.tsx"), - "./src/components/Chip/Chip.stories.tsx": require("../../src/components/Chip/Chip.stories.tsx"), - "./src/components/Chip/ChipGroup.stories.tsx": require("../../src/components/Chip/ChipGroup.stories.tsx"), - "./src/components/Collapsible/Collapsible.stories.tsx": require("../../src/components/Collapsible/Collapsible.stories.tsx"), - "./src/components/Counter/Counter.stories.tsx": require("../../src/components/Counter/Counter.stories.tsx"), - "./src/components/Divider/Divider.stories.tsx": require("../../src/components/Divider/Divider.stories.tsx"), - "./src/components/Dropdown/docs/DropdownWithAutoComplete.stories.tsx": require("../../src/components/Dropdown/docs/DropdownWithAutoComplete.stories.tsx"), - "./src/components/Dropdown/docs/DropdownWithButton.stories.tsx": require("../../src/components/Dropdown/docs/DropdownWithButton.stories.tsx"), - "./src/components/Dropdown/docs/DropdownWithSelect.stories.tsx": require("../../src/components/Dropdown/docs/DropdownWithSelect.stories.tsx"), - "./src/components/Icons/Icons.stories.tsx": require("../../src/components/Icons/Icons.stories.tsx"), - "./src/components/Indicator/Indicator.stories.tsx": require("../../src/components/Indicator/Indicator.stories.tsx"), - "./src/components/Input/BaseInput/BaseInput.stories.tsx": require("../../src/components/Input/BaseInput/BaseInput.stories.tsx"), - "./src/components/Input/DropdownInputTriggers/AutoComplete.stories.tsx": require("../../src/components/Input/DropdownInputTriggers/AutoComplete.stories.tsx"), - "./src/components/Input/DropdownInputTriggers/SelectInput.stories.tsx": require("../../src/components/Input/DropdownInputTriggers/SelectInput.stories.tsx"), - "./src/components/Input/OTPInput/OTPInput.stories.tsx": require("../../src/components/Input/OTPInput/OTPInput.stories.tsx"), - "./src/components/Input/PasswordInput/PasswordInput.stories.tsx": require("../../src/components/Input/PasswordInput/PasswordInput.stories.tsx"), - "./src/components/Input/TextArea/TextArea.stories.tsx": require("../../src/components/Input/TextArea/TextArea.stories.tsx"), - "./src/components/Input/TextInput/TextInput.stories.tsx": require("../../src/components/Input/TextInput/TextInput.stories.tsx"), - "./src/components/Link/BaseLink/BaseLink.stories.tsx": require("../../src/components/Link/BaseLink/BaseLink.stories.tsx"), - "./src/components/Link/Link/Link.stories.tsx": require("../../src/components/Link/Link/Link.stories.tsx"), - "./src/components/List/List.stories.tsx": require("../../src/components/List/List.stories.tsx"), - "./src/components/Modal/docs/ModalExamples.stories.tsx": require("../../src/components/Modal/docs/ModalExamples.stories.tsx"), - "./src/components/Modal/docs/SimpleModal.stories.tsx": require("../../src/components/Modal/docs/SimpleModal.stories.tsx"), - "./src/components/Popover/Popover.stories.tsx": require("../../src/components/Popover/Popover.stories.tsx"), - "./src/components/ProgressBar/ProgressBar.stories.tsx": require("../../src/components/ProgressBar/ProgressBar.stories.tsx"), - "./src/components/Radio/Radio.stories.tsx": require("../../src/components/Radio/Radio.stories.tsx"), - "./src/components/Skeleton/Skeleton.stories.tsx": require("../../src/components/Skeleton/Skeleton.stories.tsx"), - "./src/components/SkipNav/SkipNav.stories.tsx": require("../../src/components/SkipNav/SkipNav.stories.tsx"), - "./src/components/Spinner/BaseSpinner/BaseSpinner.stories.tsx": require("../../src/components/Spinner/BaseSpinner/BaseSpinner.stories.tsx"), - "./src/components/Spinner/Spinner/Spinner.stories.tsx": require("../../src/components/Spinner/Spinner/Spinner.stories.tsx"), - "./src/components/SpotlightPopoverTour/docs/Tour.stories.tsx": require("../../src/components/SpotlightPopoverTour/docs/Tour.stories.tsx"), - "./src/components/Switch/Switch.stories.tsx": require("../../src/components/Switch/Switch.stories.tsx"), - "./src/components/Table/docs/APIStories/TableAPI.stories.tsx": require("../../src/components/Table/docs/APIStories/TableAPI.stories.tsx"), - "./src/components/Table/docs/APIStories/TableBodyAPI.stories.tsx": require("../../src/components/Table/docs/APIStories/TableBodyAPI.stories.tsx"), - "./src/components/Table/docs/APIStories/TableCellAPI.stories.tsx": require("../../src/components/Table/docs/APIStories/TableCellAPI.stories.tsx"), - "./src/components/Table/docs/APIStories/TableFooterAPI.stories.tsx": require("../../src/components/Table/docs/APIStories/TableFooterAPI.stories.tsx"), - "./src/components/Table/docs/APIStories/TableFooterCellAPI.stories.tsx": require("../../src/components/Table/docs/APIStories/TableFooterCellAPI.stories.tsx"), - "./src/components/Table/docs/APIStories/TableFooterRowAPI.stories.tsx": require("../../src/components/Table/docs/APIStories/TableFooterRowAPI.stories.tsx"), - "./src/components/Table/docs/APIStories/TableHeaderAPI.stories.tsx": require("../../src/components/Table/docs/APIStories/TableHeaderAPI.stories.tsx"), - "./src/components/Table/docs/APIStories/TableHeaderCellAPI.stories.tsx": require("../../src/components/Table/docs/APIStories/TableHeaderCellAPI.stories.tsx"), - "./src/components/Table/docs/APIStories/TableHeaderRowAPI.stories.tsx": require("../../src/components/Table/docs/APIStories/TableHeaderRowAPI.stories.tsx"), - "./src/components/Table/docs/APIStories/TablePaginationAPI.stories.tsx": require("../../src/components/Table/docs/APIStories/TablePaginationAPI.stories.tsx"), - "./src/components/Table/docs/APIStories/TableRowAPI.stories.tsx": require("../../src/components/Table/docs/APIStories/TableRowAPI.stories.tsx"), - "./src/components/Table/docs/APIStories/TableToolbarActionsAPI.stories.tsx": require("../../src/components/Table/docs/APIStories/TableToolbarActionsAPI.stories.tsx"), - "./src/components/Table/docs/APIStories/TableToolbarAPI.stories.tsx": require("../../src/components/Table/docs/APIStories/TableToolbarAPI.stories.tsx"), - "./src/components/Table/docs/BasicTable.stories.tsx": require("../../src/components/Table/docs/BasicTable.stories.tsx"), - "./src/components/Table/docs/TableExamples.stories.tsx": require("../../src/components/Table/docs/TableExamples.stories.tsx"), - "./src/components/Tabs/Tabs.stories.tsx": require("../../src/components/Tabs/Tabs.stories.tsx"), - "./src/components/Tag/Tag.stories.tsx": require("../../src/components/Tag/Tag.stories.tsx"), - "./src/components/Tooltip/Tooltip.stories.tsx": require("../../src/components/Tooltip/Tooltip.stories.tsx"), - "./src/components/Typography/BaseText/BaseText.stories.tsx": require("../../src/components/Typography/BaseText/BaseText.stories.tsx"), - "./src/components/Typography/Code/Code.stories.tsx": require("../../src/components/Typography/Code/Code.stories.tsx"), - "./src/components/Typography/Display/Display.stories.tsx": require("../../src/components/Typography/Display/Display.stories.tsx"), - "./src/components/Typography/Heading/Heading.stories.tsx": require("../../src/components/Typography/Heading/Heading.stories.tsx"), - "./src/components/Typography/Text/Text.stories.tsx": require("../../src/components/Typography/Text/Text.stories.tsx"), - "./src/components/Typography/Title/Title.stories.tsx": require("../../src/components/Typography/Title/Title.stories.tsx"), - "./src/components/VisuallyHidden/VisuallyHidden.stories.tsx": require("../../src/components/VisuallyHidden/VisuallyHidden.stories.tsx"), - "./src/storybook-recipes/AccessibilityInterop/AccessibilityInteropDemo.stories.tsx": require("../../src/storybook-recipes/AccessibilityInterop/AccessibilityInteropDemo.stories.tsx"), - "./src/storybook-recipes/SimpleDashboard.stories.tsx": require("../../src/storybook-recipes/SimpleDashboard.stories.tsx"), - "./src/storybook-recipes/SimpleForm.stories.tsx": require("../../src/storybook-recipes/SimpleForm.stories.tsx"), + './src/components/Accordion/Accordion.stories.tsx': require('../../src/components/Accordion/Accordion.stories.tsx'), + './src/components/ActionList/ActionList.stories.tsx': require('../../src/components/ActionList/ActionList.stories.tsx'), + './src/components/Alert/Alert.stories.tsx': require('../../src/components/Alert/Alert.stories.tsx'), + './src/components/Amount/Amount.stories.tsx': require('../../src/components/Amount/Amount.stories.tsx'), + './src/components/Badge/Badge.stories.tsx': require('../../src/components/Badge/Badge.stories.tsx'), + './src/components/BaseHeaderFooter/BaseHeaderFooter.internal.stories.tsx': require('../../src/components/BaseHeaderFooter/BaseHeaderFooter.internal.stories.tsx'), + './src/components/BottomSheet/BottomSheet.stories.tsx': require('../../src/components/BottomSheet/BottomSheet.stories.tsx'), + './src/components/Box/BaseBox/BaseBox.internal.stories.tsx': require('../../src/components/Box/BaseBox/BaseBox.internal.stories.tsx'), + './src/components/Box/Box.stories.tsx': require('../../src/components/Box/Box.stories.tsx'), + './src/components/Box/styledProps/StyledProps.stories.tsx': require('../../src/components/Box/styledProps/StyledProps.stories.tsx'), + './src/components/Button/BaseButton/BaseButton.internal.stories.tsx': require('../../src/components/Button/BaseButton/BaseButton.internal.stories.tsx'), + './src/components/Button/Button/Button.stories.tsx': require('../../src/components/Button/Button/Button.stories.tsx'), + './src/components/Button/IconButton/IconButton.stories.tsx': require('../../src/components/Button/IconButton/IconButton.stories.tsx'), + './src/components/Card/Card.stories.tsx': require('../../src/components/Card/Card.stories.tsx'), + './src/components/Card/CardInteractive.stories.tsx': require('../../src/components/Card/CardInteractive.stories.tsx'), + './src/components/Carousel/Carousel.stories.tsx': require('../../src/components/Carousel/Carousel.stories.tsx'), + './src/components/Checkbox/Checkbox.stories.tsx': require('../../src/components/Checkbox/Checkbox.stories.tsx'), + './src/components/Checkbox/CheckboxGroup.stories.tsx': require('../../src/components/Checkbox/CheckboxGroup.stories.tsx'), + './src/components/Chip/Chip.stories.tsx': require('../../src/components/Chip/Chip.stories.tsx'), + './src/components/Chip/ChipGroup.stories.tsx': require('../../src/components/Chip/ChipGroup.stories.tsx'), + './src/components/Collapsible/Collapsible.stories.tsx': require('../../src/components/Collapsible/Collapsible.stories.tsx'), + './src/components/Counter/Counter.stories.tsx': require('../../src/components/Counter/Counter.stories.tsx'), + './src/components/Divider/Divider.stories.tsx': require('../../src/components/Divider/Divider.stories.tsx'), + './src/components/Dropdown/docs/DropdownWithAutoComplete.stories.tsx': require('../../src/components/Dropdown/docs/DropdownWithAutoComplete.stories.tsx'), + './src/components/Dropdown/docs/DropdownWithButton.stories.tsx': require('../../src/components/Dropdown/docs/DropdownWithButton.stories.tsx'), + './src/components/Dropdown/docs/DropdownWithSelect.stories.tsx': require('../../src/components/Dropdown/docs/DropdownWithSelect.stories.tsx'), + './src/components/Icons/Icons.stories.tsx': require('../../src/components/Icons/Icons.stories.tsx'), + './src/components/Indicator/Indicator.stories.tsx': require('../../src/components/Indicator/Indicator.stories.tsx'), + './src/components/Input/BaseInput/BaseInput.stories.tsx': require('../../src/components/Input/BaseInput/BaseInput.stories.tsx'), + './src/components/Input/DropdownInputTriggers/AutoComplete.stories.tsx': require('../../src/components/Input/DropdownInputTriggers/AutoComplete.stories.tsx'), + './src/components/Input/DropdownInputTriggers/SelectInput.stories.tsx': require('../../src/components/Input/DropdownInputTriggers/SelectInput.stories.tsx'), + './src/components/Input/OTPInput/OTPInput.stories.tsx': require('../../src/components/Input/OTPInput/OTPInput.stories.tsx'), + './src/components/Input/PasswordInput/PasswordInput.stories.tsx': require('../../src/components/Input/PasswordInput/PasswordInput.stories.tsx'), + './src/components/Input/TextArea/TextArea.stories.tsx': require('../../src/components/Input/TextArea/TextArea.stories.tsx'), + './src/components/Input/TextInput/TextInput.stories.tsx': require('../../src/components/Input/TextInput/TextInput.stories.tsx'), + './src/components/Link/BaseLink/BaseLink.stories.tsx': require('../../src/components/Link/BaseLink/BaseLink.stories.tsx'), + './src/components/Link/Link/Link.stories.tsx': require('../../src/components/Link/Link/Link.stories.tsx'), + './src/components/List/List.stories.tsx': require('../../src/components/List/List.stories.tsx'), + './src/components/Modal/docs/ModalExamples.stories.tsx': require('../../src/components/Modal/docs/ModalExamples.stories.tsx'), + './src/components/Modal/docs/SimpleModal.stories.tsx': require('../../src/components/Modal/docs/SimpleModal.stories.tsx'), + './src/components/Popover/Popover.stories.tsx': require('../../src/components/Popover/Popover.stories.tsx'), + './src/components/ProgressBar/ProgressBar.stories.tsx': require('../../src/components/ProgressBar/ProgressBar.stories.tsx'), + './src/components/Radio/Radio.stories.tsx': require('../../src/components/Radio/Radio.stories.tsx'), + './src/components/Skeleton/Skeleton.stories.tsx': require('../../src/components/Skeleton/Skeleton.stories.tsx'), + './src/components/SkipNav/SkipNav.stories.tsx': require('../../src/components/SkipNav/SkipNav.stories.tsx'), + './src/components/Spinner/BaseSpinner/BaseSpinner.stories.tsx': require('../../src/components/Spinner/BaseSpinner/BaseSpinner.stories.tsx'), + './src/components/Spinner/Spinner/Spinner.stories.tsx': require('../../src/components/Spinner/Spinner/Spinner.stories.tsx'), + './src/components/SpotlightPopoverTour/docs/Tour.stories.tsx': require('../../src/components/SpotlightPopoverTour/docs/Tour.stories.tsx'), + './src/components/Switch/Switch.stories.tsx': require('../../src/components/Switch/Switch.stories.tsx'), + './src/components/Table/docs/APIStories/TableAPI.stories.tsx': require('../../src/components/Table/docs/APIStories/TableAPI.stories.tsx'), + './src/components/Table/docs/APIStories/TableBodyAPI.stories.tsx': require('../../src/components/Table/docs/APIStories/TableBodyAPI.stories.tsx'), + './src/components/Table/docs/APIStories/TableCellAPI.stories.tsx': require('../../src/components/Table/docs/APIStories/TableCellAPI.stories.tsx'), + './src/components/Table/docs/APIStories/TableFooterAPI.stories.tsx': require('../../src/components/Table/docs/APIStories/TableFooterAPI.stories.tsx'), + './src/components/Table/docs/APIStories/TableFooterCellAPI.stories.tsx': require('../../src/components/Table/docs/APIStories/TableFooterCellAPI.stories.tsx'), + './src/components/Table/docs/APIStories/TableFooterRowAPI.stories.tsx': require('../../src/components/Table/docs/APIStories/TableFooterRowAPI.stories.tsx'), + './src/components/Table/docs/APIStories/TableHeaderAPI.stories.tsx': require('../../src/components/Table/docs/APIStories/TableHeaderAPI.stories.tsx'), + './src/components/Table/docs/APIStories/TableHeaderCellAPI.stories.tsx': require('../../src/components/Table/docs/APIStories/TableHeaderCellAPI.stories.tsx'), + './src/components/Table/docs/APIStories/TableHeaderRowAPI.stories.tsx': require('../../src/components/Table/docs/APIStories/TableHeaderRowAPI.stories.tsx'), + './src/components/Table/docs/APIStories/TablePaginationAPI.stories.tsx': require('../../src/components/Table/docs/APIStories/TablePaginationAPI.stories.tsx'), + './src/components/Table/docs/APIStories/TableRowAPI.stories.tsx': require('../../src/components/Table/docs/APIStories/TableRowAPI.stories.tsx'), + './src/components/Table/docs/APIStories/TableToolbarActionsAPI.stories.tsx': require('../../src/components/Table/docs/APIStories/TableToolbarActionsAPI.stories.tsx'), + './src/components/Table/docs/APIStories/TableToolbarAPI.stories.tsx': require('../../src/components/Table/docs/APIStories/TableToolbarAPI.stories.tsx'), + './src/components/Table/docs/BasicTable.stories.tsx': require('../../src/components/Table/docs/BasicTable.stories.tsx'), + './src/components/Table/docs/TableExamples.stories.tsx': require('../../src/components/Table/docs/TableExamples.stories.tsx'), + './src/components/Tabs/Tabs.stories.tsx': require('../../src/components/Tabs/Tabs.stories.tsx'), + './src/components/Tag/Tag.stories.tsx': require('../../src/components/Tag/Tag.stories.tsx'), + './src/components/Tooltip/Tooltip.stories.tsx': require('../../src/components/Tooltip/Tooltip.stories.tsx'), + './src/components/Typography/BaseText/BaseText.stories.tsx': require('../../src/components/Typography/BaseText/BaseText.stories.tsx'), + './src/components/Typography/Code/Code.stories.tsx': require('../../src/components/Typography/Code/Code.stories.tsx'), + './src/components/Typography/Display/Display.stories.tsx': require('../../src/components/Typography/Display/Display.stories.tsx'), + './src/components/Typography/Heading/Heading.stories.tsx': require('../../src/components/Typography/Heading/Heading.stories.tsx'), + './src/components/Typography/Text/Text.stories.tsx': require('../../src/components/Typography/Text/Text.stories.tsx'), + './src/components/VisuallyHidden/VisuallyHidden.stories.tsx': require('../../src/components/VisuallyHidden/VisuallyHidden.stories.tsx'), + './src/storybook-recipes/AccessibilityInterop/AccessibilityInteropDemo.stories.tsx': require('../../src/storybook-recipes/AccessibilityInterop/AccessibilityInteropDemo.stories.tsx'), + './src/storybook-recipes/SimpleDashboard.stories.tsx': require('../../src/storybook-recipes/SimpleDashboard.stories.tsx'), + './src/storybook-recipes/SimpleForm.stories.tsx': require('../../src/storybook-recipes/SimpleForm.stories.tsx'), }; }; diff --git a/packages/blade/.storybook/react/global.css b/packages/blade/.storybook/react/global.css index 9ca01a72414..56b59b983e4 100644 --- a/packages/blade/.storybook/react/global.css +++ b/packages/blade/.storybook/react/global.css @@ -7,4 +7,6 @@ body { width: 100%; height: 100%; padding: 0 !important; + -webkit-font-smoothing: unset !important; + -moz-osx-font-smoothing: unset !important; } diff --git a/packages/blade/.storybook/react/main.ts b/packages/blade/.storybook/react/main.ts index f108ec91156..63f5225ee1d 100644 --- a/packages/blade/.storybook/react/main.ts +++ b/packages/blade/.storybook/react/main.ts @@ -29,7 +29,7 @@ const config: StorybookConfig = { '@storybook/addon-docs', '@storybook/addon-a11y', '@storybook/preset-create-react-app', - '@storybook/addon-interactions' + '@storybook/addon-interactions', ], framework: { name: '@storybook/react-webpack5', diff --git a/packages/blade/.storybook/react/manager-head.html b/packages/blade/.storybook/react/manager-head.html index 54f0f21b83a..9a048367f18 100644 --- a/packages/blade/.storybook/react/manager-head.html +++ b/packages/blade/.storybook/react/manager-head.html @@ -1,6 +1,4 @@ - - - + - - - + + \ No newline at end of file diff --git a/packages/blade/.storybook/react/preview.tsx b/packages/blade/.storybook/react/preview.tsx index 4072bac8c8d..21ed6450193 100644 --- a/packages/blade/.storybook/react/preview.tsx +++ b/packages/blade/.storybook/react/preview.tsx @@ -2,7 +2,7 @@ import styled from 'styled-components'; import { theme, toggleHiddenStoryStyle } from './manager'; import { global } from '@storybook/design-system'; import { BladeProvider } from '../../src/components'; -import { paymentTheme, bankingTheme } from '../../src/tokens/theme'; +import { bladeTheme } from '../../src/tokens/theme'; import { createTheme } from '../../src/tokens/theme/createTheme'; import ErrorBoundary from './ErrorBoundary'; import { INTERNAL_STORY_ADDON_PARAM } from './constants'; @@ -84,13 +84,15 @@ export const parameters = { if (context.store.globals.globals.brandColor) { return createTheme({ brandColor: context.store.globals.globals.brandColor }); } - if (context.store.globals.globals.themeTokenName === 'paymentTheme') { - return paymentTheme; - } - if (context.store.globals.globals.themeTokenName === 'bankingTheme') { - return bankingTheme; - } + return bladeTheme; }; + + if (context.store.globals.globals.version === '10' && window.top) { + window.top.location.href = + 'https://v10--61c19ee8d3d282003ac1d81c.chromatic.com' + + window.top.location.pathname + + window.top.location.search; + } return ( code { - margin: 0 2px; - padding: 3px 5px; - white-space: nowrap; - border-radius: 3px; - font-size: 13px; - border: 1px solid #eeeeee; - background-color: #f8f8f8; - } + a: styled.a` + color: ${theme.colorPrimary}; + font-weight: 500; `, + // Setting font-weight back to 600 in headings since storybook tries to override it + ...(['h1', 'h2', 'h3', 'h4', 'h5', 'h6'] as const).reduce>( + (headingOverride, headingLevel) => { + headingOverride[headingLevel] = styled[headingLevel]` + & a { + font-weight: 600; + } + `; + + return headingOverride; + }, + {}, + ), }, }, }; @@ -134,7 +137,6 @@ export const parameters = { const StoryCanvas = styled.div<{ context }>( ({ theme, context }) => ` - border: ${theme.border.width.thin}px solid ${theme.colors.surface.border.subtle.lowContrast}; width: 100%; height: ${context.viewMode === 'story' ? '100vh' : '100%'}; overflow: auto; @@ -146,12 +148,12 @@ const StoryCanvas = styled.div<{ context }>( ? '0rem' : '2rem' }; + background-color: ${theme.colors.surface.background.gray.subtle}; border-radius: ${ context.viewMode === 'story' ? `${theme.border.radius.none}px` : `${theme.border.radius.medium}px` }; - background: ${theme.colors.surface.background.level1.lowContrast}; `, ); @@ -162,14 +164,16 @@ export const decorators = [ if (context.globals.brandColor) { return createTheme({ brandColor: context.globals.brandColor }); } - if (context.globals.themeTokenName === 'paymentTheme') { - return paymentTheme; - } - if (context.globals.themeTokenName === 'bankingTheme') { - return bankingTheme; - } + return bladeTheme; }; + if (context.globals.version === '10' && window.top) { + window.top.location.href = + 'https://v10--61c19ee8d3d282003ac1d81c.chromatic.com' + + window.top.location.pathname + + window.top.location.search; + } + return ( @@ -188,19 +192,21 @@ export const decorators = [ ]; export const globalTypes = { - themeTokenName: { - name: 'Theme Tokens', - description: 'Theme Tokens for Blade', - defaultValue: 'paymentTheme', + version: { + name: 'Blade Documentation Version', + description: 'Version of the Blade', + defaultValue: '11', toolbar: { - icon: 'paintbrush', + icon: 'time', + title: ' v11 - Rebranded', // Array of plain string values or MenuItem shape (see below) items: [ - { value: 'paymentTheme', title: 'Payment' }, - { value: 'bankingTheme', title: 'Banking' }, + { value: '10', title: ' v10 - Old' }, + { value: '11', title: ' v11 - Rebranded', default: true }, ], + dynamicTitle: true, // Property that specifies if the name of the item will be displayed - showName: true, + showName: false, }, }, colorScheme: { @@ -219,12 +225,13 @@ export const globalTypes = { showName: true, }, }, + // TODO: Rebranding - Uncomment this when we fix white-labeling brandColor: { name: 'Brand Color', description: 'Brand Color (You can pass any valid color to BladeProvider)', defaultValue: undefined, toolbar: { - icon: 'contrast', + icon: 'paintbrush', // Array of plain string values or MenuItem shape (see below) items: [ { value: undefined, title: 'Razorpay' }, diff --git a/packages/blade/android/app/src/main/java/com/blade/MainApplication.java b/packages/blade/android/app/src/main/java/com/blade/MainApplication.java index 85eb3f2293f..ce474426a72 100644 --- a/packages/blade/android/app/src/main/java/com/blade/MainApplication.java +++ b/packages/blade/android/app/src/main/java/com/blade/MainApplication.java @@ -56,7 +56,8 @@ public ReactNativeHost getReactNativeHost() { @Override public void onCreate() { - ReactFontManager.getInstance().addCustomFont(this, "Lato", R.font.lato); + ReactFontManager.getInstance().addCustomFont(this, "Inter", R.font.inter); + ReactFontManager.getInstance().addCustomFont(this, "TASA Orbiter Display", R.font.tasa); super.onCreate(); SoLoader.init(this, /* native exopackage */ false); if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) { diff --git a/packages/blade/android/app/src/main/res/font/inter.xml b/packages/blade/android/app/src/main/res/font/inter.xml new file mode 100644 index 00000000000..69f34a8c2cc --- /dev/null +++ b/packages/blade/android/app/src/main/res/font/inter.xml @@ -0,0 +1,12 @@ + + + + + + diff --git a/packages/blade/android/app/src/main/res/font/inter_medium.ttf b/packages/blade/android/app/src/main/res/font/inter_medium.ttf new file mode 100644 index 00000000000..93427308530 Binary files /dev/null and b/packages/blade/android/app/src/main/res/font/inter_medium.ttf differ diff --git a/packages/blade/android/app/src/main/res/font/inter_regular.ttf b/packages/blade/android/app/src/main/res/font/inter_regular.ttf new file mode 100644 index 00000000000..c544be47844 Binary files /dev/null and b/packages/blade/android/app/src/main/res/font/inter_regular.ttf differ diff --git a/packages/blade/android/app/src/main/res/font/inter_semibold.ttf b/packages/blade/android/app/src/main/res/font/inter_semibold.ttf new file mode 100644 index 00000000000..a32e2b8d219 Binary files /dev/null and b/packages/blade/android/app/src/main/res/font/inter_semibold.ttf differ diff --git a/packages/blade/android/app/src/main/res/font/lato.xml b/packages/blade/android/app/src/main/res/font/lato.xml deleted file mode 100644 index c31951dcfff..00000000000 --- a/packages/blade/android/app/src/main/res/font/lato.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - diff --git a/packages/blade/android/app/src/main/res/font/lato_bold.ttf b/packages/blade/android/app/src/main/res/font/lato_bold.ttf deleted file mode 100755 index b63a14d6aee..00000000000 Binary files a/packages/blade/android/app/src/main/res/font/lato_bold.ttf and /dev/null differ diff --git a/packages/blade/android/app/src/main/res/font/lato_italic.ttf b/packages/blade/android/app/src/main/res/font/lato_italic.ttf deleted file mode 100644 index 0d0f69ea039..00000000000 Binary files a/packages/blade/android/app/src/main/res/font/lato_italic.ttf and /dev/null differ diff --git a/packages/blade/android/app/src/main/res/font/lato_regular.ttf b/packages/blade/android/app/src/main/res/font/lato_regular.ttf deleted file mode 100755 index 33eba8b1923..00000000000 Binary files a/packages/blade/android/app/src/main/res/font/lato_regular.ttf and /dev/null differ diff --git a/packages/blade/android/app/src/main/res/font/tasa.xml b/packages/blade/android/app/src/main/res/font/tasa.xml new file mode 100644 index 00000000000..a2c6f371699 --- /dev/null +++ b/packages/blade/android/app/src/main/res/font/tasa.xml @@ -0,0 +1,12 @@ + + + + + + diff --git a/packages/blade/android/app/src/main/res/font/tasa_orbiter_display_medium.otf b/packages/blade/android/app/src/main/res/font/tasa_orbiter_display_medium.otf new file mode 100644 index 00000000000..e70caf9a9b0 Binary files /dev/null and b/packages/blade/android/app/src/main/res/font/tasa_orbiter_display_medium.otf differ diff --git a/packages/blade/android/app/src/main/res/font/tasa_orbiter_display_regular.otf b/packages/blade/android/app/src/main/res/font/tasa_orbiter_display_regular.otf new file mode 100644 index 00000000000..8235c6e4760 Binary files /dev/null and b/packages/blade/android/app/src/main/res/font/tasa_orbiter_display_regular.otf differ diff --git a/packages/blade/android/app/src/main/res/font/tasa_orbiter_display_semibold.otf b/packages/blade/android/app/src/main/res/font/tasa_orbiter_display_semibold.otf new file mode 100644 index 00000000000..6eae2a0a59e Binary files /dev/null and b/packages/blade/android/app/src/main/res/font/tasa_orbiter_display_semibold.otf differ diff --git a/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-actionlist.test.ts b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-actionlist.test.ts new file mode 100644 index 00000000000..19acb83c441 --- /dev/null +++ b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-actionlist.test.ts @@ -0,0 +1,88 @@ +import { applyTransform } from '@hypermod/utils'; +import * as transformer from '..'; + +it('should migrate the ActionList component', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + + + } + title="Settings" + value="settings" + isDisabled={true} + /> + } + title="Download" + value="download" + /> + + + + + + + } + title="Settings" + value="settings" + isDisabled={true} + /> + } + title="Download" + value="download" + /> + + + + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + + + } + title="Settings" + value="settings" + isDisabled={true} + /> + } + title="Download" + value="download" + /> + + + + + + + } + title="Settings" + value="settings" + isDisabled={true} + /> + } + title="Download" + value="download" + /> + + + + + );" + `); +}); diff --git a/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-amount.test.ts b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-amount.test.ts new file mode 100644 index 00000000000..8fe22811eca --- /dev/null +++ b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-amount.test.ts @@ -0,0 +1,186 @@ +import { applyTransform } from '@hypermod/utils'; +import * as transformer from '..'; + +describe('should migrate the Amount & CardHeaderAmount components', () => { + it('should migrate the size prop', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + );" + `); + }); + + it('should migrate the intent prop', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + + + + + + + + + + + + + + + + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + + + + + + + + + + + + + + + + + );" + `); + }); + + it('should migrate the prefix prop', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + + + + + + + + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + + + + + + + + + );" + `); + }); +}); diff --git a/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-badge.test.ts b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-badge.test.ts new file mode 100644 index 00000000000..ebc069eb8c1 --- /dev/null +++ b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-badge.test.ts @@ -0,0 +1,32 @@ +import { applyTransform } from '@hypermod/utils'; +import * as transformer from '..'; + +it('should migrate the Badge component', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + Hello + Hello + Hello + Hello + Hello + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + Hello + Hello + Hello + Hello + Hello + + );" + `); +}); diff --git a/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-card.test.ts b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-card.test.ts new file mode 100644 index 00000000000..03bc95e15da --- /dev/null +++ b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-card.test.ts @@ -0,0 +1,180 @@ +import { applyTransform } from '@hypermod/utils'; +import * as transformer from '..'; + +it('should migrate the Card component', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + + + + Create Razorpay Payments Links and share them with your customers from the Razorpay Dashboard or using APIs and start accepting payments. Check the advantages, payment methods, international currency support and more. + + + + + + + + Create Razorpay Payments Links and share them with your customers from the Razorpay Dashboard or using APIs and start accepting payments. Check the advantages, payment methods, international currency support and more. + + + + + + + } + suffix={} + /> + NEW} /> + + + Hello World + + + + + + } + suffix={} + /> + NEW} /> + + + Hello World + + + + + + } + suffix={} + /> + NEW} /> + + + Hello World + + + + + + } + suffix={} + /> + } + /> + + + Hello World + + + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + + + + Create Razorpay Payments Links and share them with your customers from the Razorpay Dashboard or using APIs and start accepting payments. Check the advantages, payment methods, international currency support and more. + + + + + + + + Create Razorpay Payments Links and share them with your customers from the Razorpay Dashboard or using APIs and start accepting payments. Check the advantages, payment methods, international currency support and more. + + + + + + + } + suffix={} + /> + NEW} /> + + + Hello World + + + + + + } + suffix={} + /> + NEW} /> + + + Hello World + + + + + + } + suffix={} + /> + NEW} /> + + + Hello World + + + + + + } + suffix={} + /> + } + /> + + + Hello World + + + + );" + `); +}); diff --git a/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-colors.test.ts b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-colors.test.ts new file mode 100644 index 00000000000..408623f3a94 --- /dev/null +++ b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-colors.test.ts @@ -0,0 +1,172 @@ +import { applyTransform } from '@hypermod/utils'; +import * as transformer from '..'; + +it('should update the lineHeight & fontSize tokens', async () => { + const result = await applyTransform( + transformer, + ` + const CustomBox = styled(Box)\` + color: \${theme.colors.feedback.notice.action.background.primary.default.lowContrast}; + backgroundColor: \${getIn(theme.colors, 'surface.background.level3.lowContrast')}; + \` + const App = () => ( + <> + Lorem ipsum + Lorem ipsum + Lorem ipsum + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const CustomBox = styled(Box)\` + color: \${theme.colors.interactive.background.notice.faded}; + backgroundColor: \${getIn(theme.colors, 'surface.background.gray.moderate')}; + \` + const App = () => ( + <> + Lorem ipsum + Lorem ipsum + Lorem ipsum + + );" + `); +}); + +it('should update token values contextually', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + Lorem ipsum + Lorem ipsum + + + + + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + Lorem ipsum + Lorem ipsum + + + + + + );" + `); +}); + +it('should create TS error for highContrast tokens', async () => { + const result = await applyTransform( + transformer, + ` + const CustomBox = styled(Box)\` + color: \${theme.colors.surface.text.subdued.highContrast}; + backgroundColor: \${getIn(theme.colors, 'surface.background.level1.highContrast')}; + \` + const App = () => ( + <> + Lorem ipsum + Lorem ipsum + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const CustomBox = styled(Box)\` + color: \${theme.colors.UPDATE_THIS_VALUE_WITH_A_NEW_COLOR_TOKEN}; + backgroundColor: \${getIn(theme.colors, 'UPDATE_THIS_VALUE_WITH_A_NEW_COLOR_TOKEN')}; + \` + const App = () => ( + <> + Lorem ipsum + Lorem ipsum + + );" + `); +}); + +it('should update the theme in BladeProvider', async () => { + const result = await applyTransform( + transformer, + ` + import { BladeProvider } from '@razorpay/blade/components'; + import { bankingTheme } from '@razorpay/blade/tokens'; + + const AppWrapper = () => { + return ( + + + + ); + } + + export default AppWrapper; + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "import { BladeProvider } from '@razorpay/blade/components'; + import { bladeTheme } from '@razorpay/blade/tokens'; + + const AppWrapper = () => { + return ( + + + + ); + } + + export default AppWrapper;" + `); +}); + +it('should update the theme in BladeProvider', async () => { + const result = await applyTransform( + transformer, + ` + import { BladeProvider } from '@razorpay/blade/components'; + import { paymentTheme } from '@razorpay/blade/tokens'; + + const AppWrapper = () => { + return ( + + + + ); + } + + export default AppWrapper; + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "import { BladeProvider } from '@razorpay/blade/components'; + import { bladeTheme } from '@razorpay/blade/tokens'; + + const AppWrapper = () => { + return ( + + + + ); + } + + export default AppWrapper;" + `); +}); diff --git a/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-contrast-intent-variant.test.ts b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-contrast-intent-variant.test.ts new file mode 100644 index 00000000000..c3a8ebc9d7d --- /dev/null +++ b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-contrast-intent-variant.test.ts @@ -0,0 +1,206 @@ +import { applyTransform } from '@hypermod/utils'; +import * as transformer from '..'; + +it('should migrate contrast prop to emphasis', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + Hello + Hello + + Lorem Ipsum Hello + + Hello + Hello + + console.log('Clicked')} /> + console.log('Clicked')} /> + + + + + + + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + Hello + Hello + + Lorem Ipsum Hello + + Hello + Hello + + console.log('Clicked')} /> + console.log('Clicked')} /> + + + + + + + + );" + `); +}); + +it('should remove variant/intent prop in favor of color prop', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + + + Hello + Hello + Hello + Hello + + Hello + Hello + Hello + Hello + + Hello + Hello + Hello + Hello + Hello + + Hello + Hello + Hello + Hello + Hello + + + + + + + Click Me + Click Me + + + Learn More + + + + Learn More + + + + Yes + No + + + + Yes + No + + + + Yes + No + + + + + + + + + + + + + + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + + + Hello + Hello + Hello + Hello + + Hello + Hello + Hello + Hello + + Hello + Hello + Hello + Hello + Hello + + Hello + Hello + Hello + Hello + Hello + + + + + + + Click Me + Click Me + + + Learn More + + + + Learn More + + + + Yes + No + + + + Yes + No + + + + Yes + No + + + + + + + + + + + + + + + );" + `); +}); diff --git a/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-divider.test.ts b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-divider.test.ts new file mode 100644 index 00000000000..7702e123200 --- /dev/null +++ b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-divider.test.ts @@ -0,0 +1,24 @@ +import { applyTransform } from '@hypermod/utils'; +import * as transformer from '..'; + +it('should migrate the Divider component', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + + + );" + `); +}); diff --git a/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-dropdown.test.ts b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-dropdown.test.ts new file mode 100644 index 00000000000..199929a0f3b --- /dev/null +++ b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-dropdown.test.ts @@ -0,0 +1,282 @@ +import { applyTransform } from '@hypermod/utils'; +import * as transformer from '..'; + +it('should migrate the Dropdown component', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => { + const [status, setStatus] = React.useState('latest-added'); + const [isDropdownOpen, setIsDropdownOpen] = React.useState(false); + + return ( + + Sort By + + setIsDropdownOpen(false)}> + setIsDropdownOpen(!isDropdownOpen)} + > + {status ?? ''} + + + + { + console.log({ name, value }); + setStatus(name); + }} + isSelected={status === 'latest-added'} + title="Latest Added" + value="latest-added" + /> + { + console.log({ name, value }); + setStatus(name); + }} + isSelected={status === 'latest-invoice'} + title="Latest Invoice" + value="latest-invoice" + /> + + + + + + ); + } + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => { + const [status, setStatus] = React.useState('latest-added'); + const [isDropdownOpen, setIsDropdownOpen] = React.useState(false); + + return ( + + Sort By + + { + if (!isOpen) { + setIsDropdownOpen(false); + } + }}> + setIsDropdownOpen(!isDropdownOpen)} + > + {status ?? ''} + + + + { + console.log({ name, value }); + setStatus(name); + }} + isSelected={status === 'latest-added'} + title="Latest Added" + value="latest-added" + /> + { + console.log({ name, value }); + setStatus(name); + }} + isSelected={status === 'latest-invoice'} + title="Latest Invoice" + value="latest-invoice" + /> + + + + + + ); + }" + `); +}); + +it('should migrate various scenarios for the onDismiss prop', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => { + return ( + + console.log("Dismissed!!!")} + > + + My Account + + + + + + + + + + + My Account + + + + + + + + + { + console.log("Dismissed!!!"); + setIsDropdownOpen(false); + }} + > + + My Account + + + + + + + + + + + My Account + + + + + + + + + ); + } + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => { + return ( + + { + if (!isOpen) { + console.log("Dismissed!!!"); + } + }} + > + + My Account + + + + + + + + + { + if (!isOpen) { + console.log("Dismissed!!!") + setIsDropdownOpen(false); + } + }} + > + + My Account + + + + + + + + + { + if (!isOpen) { + console.log("Dismissed!!!"); + setIsDropdownOpen(false); + } + }} + > + + My Account + + + + + + + + + { + if (!isOpen) { + handleDropdownDismiss(); + } + }} > + + My Account + + + + + + + + + ); + }" + `); +}); diff --git a/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-table.test.ts b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-table.test.ts new file mode 100644 index 00000000000..91638cebcb6 --- /dev/null +++ b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-table.test.ts @@ -0,0 +1,182 @@ +import { applyTransform } from '@hypermod/utils'; +import * as transformer from '..'; + +it('should migrate the ActionList component', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + + {(tableData) => ( + <> + + + ID + Amount + Account + + + + {tableData.map((tableItem, index) => ( + + + {tableItem.paymentId} + + + + + {tableItem.account} + + ))} + + + )} +
+ + + {(tableData) => ( + <> + + + ID + Amount + Account + + + + {tableData.map((tableItem, index) => ( + + + {tableItem.paymentId} + + + + + {tableItem.account} + + ))} + + + )} +
+ + + {(tableData) => ( + <> + + + ID + Amount + Account + + + + {tableData.map((tableItem, index) => ( + + + {tableItem.paymentId} + + + + + {tableItem.account} + + ))} + + + )} +
+ + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + + {(tableData) => ( + <> + + + ID + Amount + Account + + + + {tableData.map((tableItem, index) => ( + + + {tableItem.paymentId} + + + + + {tableItem.account} + + ))} + + + )} +
+ + + {(tableData) => ( + <> + + + ID + Amount + Account + + + + {tableData.map((tableItem, index) => ( + + + {tableItem.paymentId} + + + + + {tableItem.account} + + ))} + + + )} +
+ + + {(tableData) => ( + <> + + + ID + Amount + Account + + + + {tableData.map((tableItem, index) => ( + + + {tableItem.paymentId} + + + + + {tableItem.account} + + ))} + + + )} +
+ + );" + `); +}); diff --git a/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-typography.test.ts b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-typography.test.ts new file mode 100644 index 00000000000..c0129b1a246 --- /dev/null +++ b/packages/blade/codemods/brand-refresh/transformers/__tests__/migrate-typography.test.ts @@ -0,0 +1,432 @@ +import path from 'path'; +import { applyTransform } from '@hypermod/utils'; +import * as transformer from '..'; +import { red } from '../utils'; + +it('should update the lineHeight & fontSize tokens', async () => { + const result = await applyTransform( + transformer, + ` + const CustomHeading = styled(Heading)\` + font-size: \${theme.typography.fonts.size[1600]}; + line-height: \${theme.typography.lineHeights[1500]}; + \` + const App = () => ( + <> + Lorem ipsum + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const CustomHeading = styled(Heading)\` + font-size: \${theme.typography.fonts.size[1100]}; + line-height: \${theme.typography.lineHeights[1100]}; + \` + const App = () => ( + <> + Lorem ipsum + + );" + `); +}); + +it('should remove the "variant" prop from Heading', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + Lorem ipsum + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + Lorem ipsum + + );" + `); +}); + +it('should remove the "type" prop and change weight="bold" to weight="semibold"', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + Lorem ipsum + Lorem ipsum + Lorem ipsum + Lorem ipsum + Lorem ipsum + // weight="bold" should not be changed + Lorem ipsum + + Lorem ipsum + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + Lorem ipsum + Lorem ipsum + Lorem ipsum + Lorem ipsum + Lorem ipsum + // weight="bold" should not be changed + Lorem ipsum + + Lorem ipsum + + );" + `); +}); + +it('should remove the "type" & "variant" prop with nested components', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + + Lorem ipsum + + Lorem ipsum + + + + Lorem ipsum + + Lorem ipsum + + + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + + Lorem ipsum + + Lorem ipsum + + + + Lorem ipsum + + Lorem ipsum + + + + );" + `); +}); + +it('should update to ', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + Lorem ipsum + Lorem ipsum + + Lorem ipsum Lorem ipsum + Lorem ipsum Lorem ipsum + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + Lorem ipsum + Lorem ipsum + + Lorem ipsum Lorem ipsum + Lorem ipsum Lorem ipsum + + );" + `); +}); + +it('should update to ', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + Lorem ipsum + + Lorem ipsum Lorem ipsum + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + Lorem ipsum + + Lorem ipsum Lorem ipsum + + );" + `); +}); + +it('should update to ', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + Lorem ipsum + Lorem ipsum + Lorem ipsum Lorem ipsum + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + Lorem ipsum + Lorem ipsum + Lorem ipsum Lorem ipsum + + );" + `); +}); + +it('should update to ', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + // size="medium" should not be changed if variant is not "caption" + Lorem ipsum + Lorem ipsum + Lorem ipsum + Lorem ipsum Lorem ipsum + + Lorem ipsum + Lorem ipsum + Lorem ipsum + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + // size="medium" should not be changed if variant is not "caption" + Lorem ipsum + Lorem ipsum + Lorem ipsum + Lorem ipsum Lorem ipsum + + Lorem ipsum + Lorem ipsum + Lorem ipsum + + );" + `); +}); + +it('should update to ', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + Lorem ipsum + + Lorem ipsum Lorem ipsum + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + Lorem ipsum + + Lorem ipsum Lorem ipsum + + );" + `); +}); + +it('should correctly convert Title to Heading component', async () => { + const consoleSpy = jest.spyOn(console, 'warn').mockImplementation(); + const result = await applyTransform( + transformer, + { + path: path.resolve(__dirname, __filename), + source: ` + import { Title, Heading } from '@razorpay/blade/components'; + const App = () => ( + <> + Lorem ipsum + Lorem ipsum + Lorem ipsum + Lorem ipsum + Lorem ipsum + // Conditional expression props should not be changed + Lorem ipsum + + Lorem ipsum <Title type="subtle" weight="bold" size="xlarge" > Lorem ipsum + Lorem ipsum <Title type="subtle" weight="bold" size="large" > Lorem ipsum + Lorem ipsum <Title type="subtle" weight="bold" size="medium" > Lorem ipsum + Lorem ipsum <Title type="subtle" weight="bold" size="small" > Lorem ipsum + // Conditional expression props should not be changed + <Title type="subtle" weight="bold" size={isMobile ? 'medium' : 'large'} > Lorem ipsum Lorem ipsum + + ); + `, + }, + { parser: 'tsx' }, + ); + + expect(consoleSpy).toHaveBeenCalledTimes(3); + + expect(consoleSpy).toHaveBeenNthCalledWith( + 1, + red('\n⛔️ Expression found in the "size" attribute, please update manually:'), + red(`${path.resolve(__dirname, __filename)}:11:10\n`), + ); + expect(consoleSpy).toHaveBeenNthCalledWith( + 2, + red('\n⛔️ Expression found in the "size" attribute, please update manually:'), + red(`${path.resolve(__dirname, __filename)}:18:10\n`), + ); + expect(consoleSpy).toHaveBeenNthCalledWith( + 3, + red('\n⛔️ Expression found in the "size" attribute, please update manually:'), + red(`${path.resolve(__dirname, __filename)}:18:84\n`), + ); + + expect(result).toMatchInlineSnapshot(` + "import { Heading } from '@razorpay/blade/components'; + const App = () => ( + <> + Lorem ipsum + Lorem ipsum + Lorem ipsum + Lorem ipsum + Lorem ipsum + // Conditional expression props should not be changed + Lorem ipsum + + Lorem ipsum Lorem ipsum + Lorem ipsum Lorem ipsum + Lorem ipsum Lorem ipsum + Lorem ipsum Lorem ipsum + // Conditional expression props should not be changed + Lorem ipsum Lorem ipsum + + );" + `); + + consoleSpy.mockRestore(); +}); + +it('should migrate contrast prop', async () => { + const result = await applyTransform( + transformer, + ` + const App = () => ( + <> + Lorem ipsum + Lorem ipsum + + Lorem ipsum + Lorem ipsum + Lorem ipsum + + Lorem ipsum + Lorem ipsum + + Lorem ipsum + Lorem ipsum + + Lorem ipsum + Lorem ipsum + + Lorem ipsum + Lorem ipsum + Lorem ipsum + + Lorem ipsum + Lorem ipsum + + Lorem ipsum + Lorem ipsum + + ); + `, + { parser: 'tsx' }, + ); + + expect(result).toMatchInlineSnapshot(` + "const App = () => ( + <> + Lorem ipsum + Lorem ipsum + + Lorem ipsum + Lorem ipsum + Lorem ipsum + + Lorem ipsum + Lorem ipsum + + Lorem ipsum + Lorem ipsum + + Lorem ipsum + Lorem ipsum + + Lorem ipsum + Lorem ipsum + Lorem ipsum + + Lorem ipsum + Lorem ipsum + + Lorem ipsum + Lorem ipsum + + );" + `); +}); diff --git a/packages/blade/codemods/brand-refresh/transformers/colorTokensMapping.json b/packages/blade/codemods/brand-refresh/transformers/colorTokensMapping.json new file mode 100644 index 00000000000..dd2e2e982e5 --- /dev/null +++ b/packages/blade/codemods/brand-refresh/transformers/colorTokensMapping.json @@ -0,0 +1,624 @@ +{ + "surface.background.level1.lowContrast": "surface.background.gray.subtle", + "surface.background.level1.highContrast": "surface.background.gray.subtle", + "surface.background.level2.lowContrast": "surface.background.gray.intense", + "surface.background.level2.highContrast": "surface.background.gray.intense", + "surface.background.level3.lowContrast": "surface.background.gray.moderate", + "surface.background.level3.highContrast": "surface.background.gray.moderate", + "surface.border.normal.lowContrast": "surface.border.gray.normal", + "surface.border.normal.highContrast": "surface.border.gray.normal", + "surface.border.subtle.lowContrast": "surface.border.gray.subtle", + "surface.border.subtle.highContrast": "surface.border.gray.subtle", + "surface.text.normal.lowContrast": "surface.text.gray.normal", + "surface.text.normal.highContrast": "surface.text.gray.normal", + "surface.text.subtle.lowContrast": "surface.text.gray.subtle", + "surface.text.subtle.highContrast": "surface.text.gray.subtle", + "surface.text.subdued.lowContrast": "surface.text.gray.muted", + "surface.text.subdued.highContrast": "surface.text.gray.muted", + "surface.text.muted.lowContrast": "surface.text.gray.muted", + "surface.text.muted.highContrast": "surface.text.gray.muted", + "surface.text.placeholder.lowContrast": "surface.text.gray.disabled", + "surface.text.placeholder.highContrast": "surface.text.gray.disabled", + "surface.action.icon.default.lowContrast": "interactive.icon.gray.normal", + "surface.action.icon.default.highContrast": "interactive.icon.gray.normal", + "surface.action.icon.hover.lowContrast": "interactive.icon.gray.normal", + "surface.action.icon.hover.highContrast": "interactive.icon.gray.normal", + "surface.action.icon.focus.lowContrast": "interactive.icon.gray.subtle", + "surface.action.icon.focus.highContrast": "interactive.icon.gray.normal", + "surface.action.icon.active.lowContrast": "interactive.icon.gray.normal", + "surface.action.icon.active.highContrast": "interactive.icon.gray.normal", + "surface.action.icon.disabled.lowContrast": "interactive.icon.gray.disabled", + "surface.action.icon.disabled.highContrast": "interactive.icon.gray.disabled", + "surface.overlay.background.400": "overlay.background.moderate", + "surface.overlay.background.800": "overlay.background.subtle", + "surface.popup.background": "popup.background.subtle", + "brand.primary.300": "surface.background.primary.subtle", + "brand.primary.400": "surface.background.primary.subtle", + "brand.primary.500": "surface.background.primary.intense", + "brand.primary.600": "surface.background.primary.intense", + "brand.primary.700": "surface.background.primary.intense", + "brand.primary.800": "surface.background.primary.intense", + "brand.gray.200.lowContrast": "surface.background.gray.moderate", + "brand.gray.200.highContrast": "interactive.background.staticBlack.default", + "brand.gray.300.lowContrast": "surface.background.gray.subtle", + "brand.gray.300.highContrast": "interactive.background.neutral.default", + "brand.gray.400.lowContrast": "interactive.border.gray.faded", + "brand.gray.400.highContrast": "interactive.border.gray.faded", + "brand.gray.500.lowContrast": "interactive.border.gray.highlighted", + "brand.gray.500.highContrast": "interactive.border.gray.highlighted", + "brand.gray.600.lowContrast": "interactive.background.gray.highlighted", + "brand.gray.600.highContrast": "interactive.background.gray.highlighted", + "brand.gray.700.lowContrast": "interactive.background.neutral.default", + "brand.gray.700.highContrast": "interactive.background.staticWhite.default", + "brand.gray.a50.lowContrast": "surface.background.gray.moderate", + "brand.gray.a50.highContrast": "surface.background.gray.moderate", + "brand.gray.a100.lowContrast": "surface.background.gray.subtle", + "brand.gray.a100.highContrast": "surface.background.gray.subtle", + "brand.secondary.500": "surface.text.onSea.onSubtle", + "feedback.background.positive.lowContrast": "feedback.background.positive.subtle", + "feedback.background.positive.highContrast": "feedback.background.positive.intense", + "feedback.background.negative.lowContrast": "feedback.background.negative.subtle", + "feedback.background.negative.highContrast": "feedback.background.negative.intense", + "feedback.background.notice.lowContrast": "feedback.background.notice.subtle", + "feedback.background.notice.highContrast": "feedback.background.notice.intense", + "feedback.background.information.lowContrast": "feedback.background.information.subtle", + "feedback.background.information.highContrast": "feedback.background.information.intense", + "feedback.background.neutral.lowContrast": "feedback.background.neutral.subtle", + "feedback.background.neutral.highContrast": "feedback.background.neutral.intense", + "feedback.border.positive.lowContrast": "feedback.border.positive.subtle", + "feedback.border.positive.highContrast": "feedback.border.positive.intense", + "feedback.border.negative.lowContrast": "feedback.border.negative.subtle", + "feedback.border.negative.highContrast": "feedback.border.negative.intense", + "feedback.border.notice.lowContrast": "feedback.border.notice.subtle", + "feedback.border.notice.highContrast": "feedback.border.notice.intense", + "feedback.border.information.lowContrast": "feedback.border.information.subtle", + "feedback.border.information.highContrast": "feedback.border.information.intense", + "feedback.border.neutral.lowContrast": "feedback.border.neutral.subtle", + "feedback.border.neutral.highContrast": "feedback.border.neutral.intense", + "feedback.text.positive.lowContrast": "feedback.text.positive.intense", + "feedback.text.positive.highContrast": "feedback.text.positive.intense", + "feedback.text.negative.lowContrast": "feedback.text.negative.intense", + "feedback.text.negative.highContrast": "feedback.text.negative.intense", + "feedback.text.notice.lowContrast": "feedback.text.notice.intense", + "feedback.text.notice.highContrast": "feedback.text.notice.intense", + "feedback.text.information.lowContrast": "feedback.text.information.intense", + "feedback.text.information.highContrast": "feedback.text.information.intense", + "feedback.text.neutral.lowContrast": "feedback.text.neutral.intense", + "feedback.text.neutral.highContrast": "surface.text.staticWhite.normal", + "feedback.icon.positive.lowContrast": "feedback.icon.positive.intense", + "feedback.icon.positive.highContrast": "feedback.icon.positive.intense", + "feedback.icon.negative.lowContrast": "feedback.icon.negative.intense", + "feedback.icon.negative.highContrast": "feedback.icon.negative.intense", + "feedback.icon.notice.lowContrast": "feedback.icon.notice.intense", + "feedback.icon.notice.highContrast": "feedback.icon.notice.intense", + "feedback.icon.information.lowContrast": "feedback.icon.information.intense", + "feedback.icon.information.highContrast": "feedback.icon.information.intense", + "feedback.icon.neutral.lowContrast": "feedback.icon.neutral.intense", + "feedback.icon.neutral.highContrast": "surface.icon.staticWhite.normal", + "feedback.positive.action.background.primary.default.highContrast": "interactive.background.positive.default", + "feedback.positive.action.background.primary.default.lowContrast": "interactive.background.positive.faded", + "feedback.positive.action.background.primary.hover.highContrast": "interactive.background.positive.default", + "feedback.positive.action.background.primary.hover.lowContrast": "interactive.background.positive.faded", + "feedback.positive.action.background.primary.focus.highContrast": "interactive.background.positive.default", + "feedback.positive.action.background.primary.focus.lowContrast": "interactive.background.positive.faded", + "feedback.positive.action.background.primary.active.highContrast": "interactive.background.positive.default", + "feedback.positive.action.background.primary.active.lowContrast": "interactive.background.positive.faded", + "feedback.positive.action.background.primary.disabled.highContrast": "interactive.background.positive.disabled", + "feedback.positive.action.background.primary.disabled.lowContrast": "interactive.background.positive.disabled", + "feedback.positive.action.background.secondary.default.lowContrast": "interactive.background.positive.faded", + "feedback.positive.action.background.secondary.hover.lowContrast": "interactive.background.positive.faded", + "feedback.positive.action.background.secondary.focus.lowContrast": "interactive.background.positive.faded", + "feedback.positive.action.background.secondary.active.lowContrast": "interactive.background.positive.faded", + "feedback.positive.action.background.secondary.disabled.lowContrast": "interactive.background.positive.disabled", + "feedback.positive.action.border.primary.default.highContrast": "interactive.border.positive.default", + "feedback.positive.action.border.primary.default.lowContrast": "interactive.border.positive.faded", + "feedback.positive.action.border.primary.hover.highContrast": "interactive.border.positive.default", + "feedback.positive.action.border.primary.hover.lowContrast": "interactive.border.positive.faded", + "feedback.positive.action.border.primary.focus.highContrast": "interactive.border.positive.default", + "feedback.positive.action.border.primary.focus.lowContrast": "interactive.border.positive.faded", + "feedback.positive.action.border.primary.active.highContrast": "interactive.border.positive.default", + "feedback.positive.action.border.primary.active.lowContrast": "interactive.border.positive.faded", + "feedback.positive.action.border.primary.disabled.highContrast": "interactive.border.positive.disabled", + "feedback.positive.action.border.primary.disabled.lowContrast": "interactive.border.positive.disabled", + "feedback.positive.action.border.secondary.default.lowContrast": "interactive.border.positive.faded", + "feedback.positive.action.border.secondary.hover.lowContrast": "interactive.border.positive.faded", + "feedback.positive.action.border.secondary.focus.lowContrast": "interactive.border.positive.faded", + "feedback.positive.action.border.secondary.active.lowContrast": "interactive.border.positive.faded", + "feedback.positive.action.border.secondary.disabled.lowContrast": "interactive.border.positive.disabled", + "feedback.positive.action.text.primary.default.highContrast": "interactive.text.staticWhite.normal", + "feedback.positive.action.text.primary.default.lowContrast": "interactive.text.positive.subtle", + "feedback.positive.action.text.primary.hover.highContrast": "interactive.text.staticWhite.normal", + "feedback.positive.action.text.primary.hover.lowContrast": "interactive.text.positive.subtle", + "feedback.positive.action.text.primary.focus.highContrast": "interactive.text.staticWhite.normal", + "feedback.positive.action.text.primary.focus.lowContrast": "interactive.text.positive.subtle", + "feedback.positive.action.text.primary.active.highContrast": "interactive.text.staticWhite.normal", + "feedback.positive.action.text.primary.active.lowContrast": "interactive.text.positive.subtle", + "feedback.positive.action.text.primary.disabled.highContrast": "interactive.text.staticWhite.normal", + "feedback.positive.action.text.primary.disabled.lowContrast": "interactive.text.positive.disabled", + "feedback.positive.action.text.secondary.default.lowContrast": "interactive.text.positive.subtle", + "feedback.positive.action.text.secondary.hover.lowContrast": "interactive.text.positive.subtle", + "feedback.positive.action.text.secondary.focus.lowContrast": "interactive.text.positive.subtle", + "feedback.positive.action.text.secondary.active.lowContrast": "interactive.text.positive.subtle", + "feedback.positive.action.text.secondary.disabled.lowContrast": "interactive.text.positive.disabled", + "feedback.positive.action.text.link.default.lowContrast": "interactive.text.positive.normal", + "feedback.positive.action.text.link.default.highContrast": "interactive.text.staticWhite.normal", + "feedback.positive.action.text.link.hover.lowContrast": "interactive.text.positive.subtle", + "feedback.positive.action.text.link.hover.highContrast": "interactive.text.staticWhite.normal", + "feedback.positive.action.text.link.focus.lowContrast": "interactive.text.positive.subtle", + "feedback.positive.action.text.link.focus.highContrast": "interactive.text.staticWhite.normal", + "feedback.positive.action.text.link.active.lowContrast": "interactive.text.positive.subtle", + "feedback.positive.action.text.link.active.highContrast": "interactive.text.staticWhite.normal", + "feedback.positive.action.text.link.disabled.lowContrast": "interactive.text.positive.disabled", + "feedback.positive.action.text.link.disabled.highContrast": "interactive.text.staticWhite.disabled", + "feedback.positive.action.icon.primary.default.highContrast": "interactive.text.staticWhite.normal", + "feedback.positive.action.icon.primary.default.lowContrast": "interactive.icon.positive.subtle", + "feedback.positive.action.icon.primary.hover.highContrast": "interactive.icon.staticWhite.normal", + "feedback.positive.action.icon.primary.hover.lowContrast": "interactive.icon.positive.subtle", + "feedback.positive.action.icon.primary.focus.highContrast": "interactive.icon.staticWhite.normal", + "feedback.positive.action.icon.primary.focus.lowContrast": "interactive.icon.positive.subtle", + "feedback.positive.action.icon.primary.active.highContrast": "interactive.icon.staticWhite.normal", + "feedback.positive.action.icon.primary.active.lowContrast": "interactive.icon.positive.subtle", + "feedback.positive.action.icon.primary.disabled.highContrast": "interactive.icon.staticWhite.normal", + "feedback.positive.action.icon.primary.disabled.lowContrast": "interactive.icon.positive.disabled", + "feedback.positive.action.icon.secondary.default.lowContrast": "interactive.icon.positive.subtle", + "feedback.positive.action.icon.secondary.hover.lowContrast": "interactive.icon.positive.subtle", + "feedback.positive.action.icon.secondary.focus.lowContrast": "interactive.icon.positive.subtle", + "feedback.positive.action.icon.secondary.active.lowContrast": "interactive.icon.positive.subtle", + "feedback.positive.action.icon.secondary.disabled.lowContrast": "interactive.icon.positive.disabled", + "feedback.positive.action.icon.link.default.lowContrast": "interactive.icon.positive.normal", + "feedback.positive.action.icon.link.default.highContrast": "interactive.icon.staticWhite.normal", + "feedback.positive.action.icon.link.hover.lowContrast": "interactive.icon.positive.subtle", + "feedback.positive.action.icon.link.hover.highContrast": "interactive.icon.staticWhite.normal", + "feedback.positive.action.icon.link.focus.lowContrast": "interactive.icon.positive.subtle", + "feedback.positive.action.icon.link.focus.highContrast": "interactive.icon.staticWhite.normal", + "feedback.positive.action.icon.link.active.lowContrast": "interactive.icon.positive.subtle", + "feedback.positive.action.icon.link.active.highContrast": "interactive.icon.staticWhite.normal", + "feedback.positive.action.icon.link.disabled.lowContrast": "interactive.icon.positive.disabled", + "feedback.positive.action.icon.link.disabled.highContrast": "interactive.icon.staticWhite.disabled", + "feedback.negative.action.background.primary.default.highContrast": "interactive.background.negative.default", + "feedback.negative.action.background.primary.default.lowContrast": "interactive.background.negative.faded", + "feedback.negative.action.background.primary.hover.highContrast": "interactive.background.negative.default", + "feedback.negative.action.background.primary.hover.lowContrast": "interactive.background.negative.faded", + "feedback.negative.action.background.primary.focus.highContrast": "interactive.background.negative.default", + "feedback.negative.action.background.primary.focus.lowContrast": "interactive.background.negative.faded", + "feedback.negative.action.background.primary.active.highContrast": "interactive.background.negative.default", + "feedback.negative.action.background.primary.active.lowContrast": "interactive.background.negative.faded", + "feedback.negative.action.background.primary.disabled.highContrast": "interactive.background.negative.disabled", + "feedback.negative.action.background.primary.disabled.lowContrast": "interactive.background.negative.disabled", + "feedback.negative.action.background.secondary.default.lowContrast": "interactive.background.negative.faded", + "feedback.negative.action.background.secondary.hover.lowContrast": "interactive.background.negative.faded", + "feedback.negative.action.background.secondary.focus.lowContrast": "interactive.background.negative.faded", + "feedback.negative.action.background.secondary.active.lowContrast": "interactive.background.negative.faded", + "feedback.negative.action.background.secondary.disabled.lowContrast": "interactive.background.negative.disabled", + "feedback.negative.action.border.primary.default.highContrast": "interactive.border.negative.default", + "feedback.negative.action.border.primary.default.lowContrast": "interactive.border.negative.faded", + "feedback.negative.action.border.primary.hover.highContrast": "interactive.border.negative.default", + "feedback.negative.action.border.primary.hover.lowContrast": "interactive.border.negative.faded", + "feedback.negative.action.border.primary.focus.highContrast": "interactive.border.negative.default", + "feedback.negative.action.border.primary.focus.lowContrast": "interactive.border.negative.faded", + "feedback.negative.action.border.primary.active.highContrast": "interactive.border.negative.default", + "feedback.negative.action.border.primary.active.lowContrast": "interactive.border.negative.faded", + "feedback.negative.action.border.primary.disabled.highContrast": "interactive.border.negative.disabled", + "feedback.negative.action.border.primary.disabled.lowContrast": "interactive.border.negative.disabled", + "feedback.negative.action.border.secondary.default.lowContrast": "interactive.border.negative.faded", + "feedback.negative.action.border.secondary.hover.lowContrast": "interactive.border.negative.faded", + "feedback.negative.action.border.secondary.focus.lowContrast": "interactive.border.negative.faded", + "feedback.negative.action.border.secondary.active.lowContrast": "interactive.border.negative.faded", + "feedback.negative.action.border.secondary.disabled.lowContrast": "interactive.border.negative.disabled", + "feedback.negative.action.text.primary.default.highContrast": "interactive.text.staticWhite.normal", + "feedback.negative.action.text.primary.default.lowContrast": "interactive.text.negative.subtle", + "feedback.negative.action.text.primary.hover.highContrast": "interactive.text.staticWhite.normal", + "feedback.negative.action.text.primary.hover.lowContrast": "interactive.text.negative.subtle", + "feedback.negative.action.text.primary.focus.highContrast": "interactive.text.staticWhite.normal", + "feedback.negative.action.text.primary.focus.lowContrast": "interactive.text.negative.subtle", + "feedback.negative.action.text.primary.active.highContrast": "interactive.text.staticWhite.normal", + "feedback.negative.action.text.primary.active.lowContrast": "interactive.text.negative.subtle", + "feedback.negative.action.text.primary.disabled.highContrast": "interactive.text.staticWhite.normal", + "feedback.negative.action.text.primary.disabled.lowContrast": "interactive.text.negative.disabled", + "feedback.negative.action.text.secondary.default.lowContrast": "interactive.text.negative.subtle", + "feedback.negative.action.text.secondary.hover.lowContrast": "interactive.text.negative.subtle", + "feedback.negative.action.text.secondary.focus.lowContrast": "interactive.text.negative.subtle", + "feedback.negative.action.text.secondary.active.lowContrast": "interactive.text.negative.subtle", + "feedback.negative.action.text.secondary.disabled.lowContrast": "interactive.text.negative.disabled", + "feedback.negative.action.text.link.default.lowContrast": "interactive.text.negative.normal", + "feedback.negative.action.text.link.default.highContrast": "interactive.text.staticWhite.normal", + "feedback.negative.action.text.link.hover.lowContrast": "interactive.text.negative.subtle", + "feedback.negative.action.text.link.hover.highContrast": "interactive.text.staticWhite.normal", + "feedback.negative.action.text.link.focus.lowContrast": "interactive.text.negative.subtle", + "feedback.negative.action.text.link.focus.highContrast": "interactive.text.staticWhite.normal", + "feedback.negative.action.text.link.active.lowContrast": "interactive.text.negative.subtle", + "feedback.negative.action.text.link.active.highContrast": "interactive.text.staticWhite.normal", + "feedback.negative.action.text.link.disabled.lowContrast": "interactive.text.negative.disabled", + "feedback.negative.action.text.link.disabled.highContrast": "interactive.text.staticWhite.disabled", + "feedback.negative.action.icon.primary.default.highContrast": "interactive.icon.staticWhite.normal", + "feedback.negative.action.icon.primary.default.lowContrast": "interactive.icon.negative.subtle", + "feedback.negative.action.icon.primary.hover.highContrast": "interactive.icon.staticWhite.normal", + "feedback.negative.action.icon.primary.hover.lowContrast": "interactive.icon.negative.subtle", + "feedback.negative.action.icon.primary.focus.highContrast": "interactive.icon.staticWhite.normal", + "feedback.negative.action.icon.primary.focus.lowContrast": "interactive.icon.negative.subtle", + "feedback.negative.action.icon.primary.active.highContrast": "interactive.icon.staticWhite.normal", + "feedback.negative.action.icon.primary.active.lowContrast": "interactive.icon.negative.subtle", + "feedback.negative.action.icon.primary.disabled.highContrast": "interactive.icon.staticWhite.normal", + "feedback.negative.action.icon.primary.disabled.lowContrast": "interactive.icon.negative.disabled", + "feedback.negative.action.icon.secondary.default.lowContrast": "interactive.icon.negative.subtle", + "feedback.negative.action.icon.secondary.hover.lowContrast": "interactive.icon.negative.subtle", + "feedback.negative.action.icon.secondary.focus.lowContrast": "interactive.icon.negative.subtle", + "feedback.negative.action.icon.secondary.active.lowContrast": "interactive.icon.negative.subtle", + "feedback.negative.action.icon.secondary.disabled.lowContrast": "interactive.icon.negative.disabled", + "feedback.negative.action.icon.link.default.lowContrast": "interactive.icon.negative.normal", + "feedback.negative.action.icon.link.default.highContrast": "interactive.icon.staticWhite.normal", + "feedback.negative.action.icon.link.hover.lowContrast": "interactive.icon.negative.subtle", + "feedback.negative.action.icon.link.hover.highContrast": "interactive.icon.staticWhite.normal", + "feedback.negative.action.icon.link.focus.lowContrast": "interactive.icon.negative.subtle", + "feedback.negative.action.icon.link.focus.highContrast": "interactive.icon.staticWhite.normal", + "feedback.negative.action.icon.link.active.lowContrast": "interactive.icon.negative.subtle", + "feedback.negative.action.icon.link.active.highContrast": "interactive.icon.staticWhite.normal", + "feedback.negative.action.icon.link.disabled.lowContrast": "interactive.icon.negative.disabled", + "feedback.negative.action.icon.link.disabled.highContrast": "interactive.icon.staticWhite.disabled", + "feedback.notice.action.background.primary.default.highContrast": "interactive.background.notice.default", + "feedback.notice.action.background.primary.default.lowContrast": "interactive.background.notice.faded", + "feedback.notice.action.background.primary.hover.highContrast": "interactive.background.notice.default", + "feedback.notice.action.background.primary.hover.lowContrast": "interactive.background.notice.faded", + "feedback.notice.action.background.primary.focus.highContrast": "interactive.background.notice.default", + "feedback.notice.action.background.primary.focus.lowContrast": "interactive.background.notice.faded", + "feedback.notice.action.background.primary.active.highContrast": "interactive.background.notice.default", + "feedback.notice.action.background.primary.active.lowContrast": "interactive.background.notice.faded", + "feedback.notice.action.background.primary.disabled.highContrast": "interactive.background.notice.disabled", + "feedback.notice.action.background.primary.disabled.lowContrast": "interactive.background.notice.disabled", + "feedback.notice.action.background.secondary.default.lowContrast": "interactive.background.notice.faded", + "feedback.notice.action.background.secondary.hover.lowContrast": "interactive.background.notice.faded", + "feedback.notice.action.background.secondary.focus.lowContrast": "interactive.background.notice.faded", + "feedback.notice.action.background.secondary.active.lowContrast": "interactive.background.notice.faded", + "feedback.notice.action.background.secondary.disabled.lowContrast": "interactive.background.notice.disabled", + "feedback.notice.action.border.primary.default.highContrast": "interactive.border.notice.default", + "feedback.notice.action.border.primary.default.lowContrast": "interactive.border.notice.default", + "feedback.notice.action.border.primary.hover.highContrast": "interactive.border.notice.default", + "feedback.notice.action.border.primary.hover.lowContrast": "interactive.border.notice.default", + "feedback.notice.action.border.primary.focus.highContrast": "interactive.border.notice.default", + "feedback.notice.action.border.primary.focus.lowContrast": "interactive.border.notice.default", + "feedback.notice.action.border.primary.active.highContrast": "interactive.border.notice.default", + "feedback.notice.action.border.primary.active.lowContrast": "interactive.border.notice.default", + "feedback.notice.action.border.primary.disabled.highContrast": "interactive.border.notice.disabled", + "feedback.notice.action.border.primary.disabled.lowContrast": "interactive.border.notice.disabled", + "feedback.notice.action.border.secondary.default.lowContrast": "interactive.border.notice.faded", + "feedback.notice.action.border.secondary.hover.lowContrast": "interactive.border.notice.faded", + "feedback.notice.action.border.secondary.focus.lowContrast": "interactive.border.notice.faded", + "feedback.notice.action.border.secondary.active.lowContrast": "interactive.border.notice.faded", + "feedback.notice.action.border.secondary.disabled.lowContrast": "interactive.border.notice.disabled", + "feedback.notice.action.text.primary.default.highContrast": "interactive.text.staticWhite.normal", + "feedback.notice.action.text.primary.default.lowContrast": "interactive.text.notice.subtle", + "feedback.notice.action.text.primary.hover.highContrast": "interactive.text.staticWhite.normal", + "feedback.notice.action.text.primary.hover.lowContrast": "interactive.text.notice.subtle", + "feedback.notice.action.text.primary.focus.highContrast": "interactive.text.staticWhite.normal", + "feedback.notice.action.text.primary.focus.lowContrast": "interactive.text.notice.subtle", + "feedback.notice.action.text.primary.active.highContrast": "interactive.text.staticWhite.normal", + "feedback.notice.action.text.primary.active.lowContrast": "interactive.text.notice.subtle", + "feedback.notice.action.text.primary.disabled.highContrast": "interactive.text.staticWhite.normal", + "feedback.notice.action.text.primary.disabled.lowContrast": "interactive.text.notice.disabled", + "feedback.notice.action.text.secondary.default.lowContrast": "interactive.text.notice.subtle", + "feedback.notice.action.text.secondary.hover.lowContrast": "interactive.text.notice.subtle", + "feedback.notice.action.text.secondary.focus.lowContrast": "interactive.text.notice.subtle", + "feedback.notice.action.text.secondary.active.lowContrast": "interactive.text.notice.subtle", + "feedback.notice.action.text.secondary.disabled.lowContrast": "interactive.text.notice.disabled", + "feedback.notice.action.text.link.default.lowContrast": "interactive.text.notice.normal", + "feedback.notice.action.text.link.default.highContrast": "interactive.text.staticWhite.normal", + "feedback.notice.action.text.link.hover.lowContrast": "interactive.text.notice.subtle", + "feedback.notice.action.text.link.hover.highContrast": "interactive.text.staticWhite.normal", + "feedback.notice.action.text.link.focus.lowContrast": "interactive.text.notice.subtle", + "feedback.notice.action.text.link.focus.highContrast": "interactive.text.staticWhite.normal", + "feedback.notice.action.text.link.active.lowContrast": "interactive.text.notice.subtle", + "feedback.notice.action.text.link.active.highContrast": "interactive.text.staticWhite.normal", + "feedback.notice.action.text.link.disabled.lowContrast": "interactive.text.notice.disabled", + "feedback.notice.action.text.link.disabled.highContrast": "interactive.text.staticWhite.disabled", + "feedback.notice.action.icon.primary.default.highContrast": "interactive.icon.staticWhite.normal", + "feedback.notice.action.icon.primary.default.lowContrast": "interactive.icon.notice.subtle", + "feedback.notice.action.icon.primary.hover.highContrast": "interactive.icon.staticWhite.normal", + "feedback.notice.action.icon.primary.hover.lowContrast": "interactive.icon.notice.subtle", + "feedback.notice.action.icon.primary.focus.highContrast": "interactive.icon.staticWhite.normal", + "feedback.notice.action.icon.primary.focus.lowContrast": "interactive.icon.notice.subtle", + "feedback.notice.action.icon.primary.active.highContrast": "interactive.icon.staticWhite.normal", + "feedback.notice.action.icon.primary.active.lowContrast": "interactive.icon.notice.subtle", + "feedback.notice.action.icon.primary.disabled.highContrast": "interactive.icon.staticWhite.normal", + "feedback.notice.action.icon.primary.disabled.lowContrast": "interactive.icon.notice.disabled", + "feedback.notice.action.icon.secondary.default.lowContrast": "interactive.icon.notice.subtle", + "feedback.notice.action.icon.secondary.hover.lowContrast": "interactive.icon.notice.subtle", + "feedback.notice.action.icon.secondary.focus.lowContrast": "interactive.icon.notice.subtle", + "feedback.notice.action.icon.secondary.active.lowContrast": "interactive.icon.notice.subtle", + "feedback.notice.action.icon.secondary.disabled.lowContrast": "interactive.icon.notice.disabled", + "feedback.notice.action.icon.link.default.lowContrast": "interactive.icon.notice.normal", + "feedback.notice.action.icon.link.default.highContrast": "interactive.icon.staticWhite.normal", + "feedback.notice.action.icon.link.hover.lowContrast": "interactive.icon.notice.subtle", + "feedback.notice.action.icon.link.hover.highContrast": "interactive.icon.staticWhite.normal", + "feedback.notice.action.icon.link.focus.lowContrast": "interactive.icon.notice.subtle", + "feedback.notice.action.icon.link.focus.highContrast": "interactive.icon.staticWhite.normal", + "feedback.notice.action.icon.link.active.lowContrast": "interactive.icon.notice.subtle", + "feedback.notice.action.icon.link.active.highContrast": "interactive.icon.staticWhite.normal", + "feedback.notice.action.icon.link.disabled.lowContrast": "interactive.icon.notice.disabled", + "feedback.notice.action.icon.link.disabled.highContrast": "interactive.icon.staticWhite.disabled", + "feedback.information.action.background.primary.default.highContrast": "interactive.background.information.default", + "feedback.information.action.background.primary.default.lowContrast": "interactive.background.information.faded", + "feedback.information.action.background.primary.hover.highContrast": "interactive.background.information.default", + "feedback.information.action.background.primary.hover.lowContrast": "interactive.background.information.faded", + "feedback.information.action.background.primary.focus.highContrast": "interactive.background.information.default", + "feedback.information.action.background.primary.focus.lowContrast": "interactive.background.information.faded", + "feedback.information.action.background.primary.active.highContrast": "interactive.background.information.default", + "feedback.information.action.background.primary.active.lowContrast": "interactive.background.information.faded", + "feedback.information.action.background.primary.disabled.highContrast": "interactive.background.information.disabled", + "feedback.information.action.background.primary.disabled.lowContrast": "interactive.background.information.disabled", + "feedback.information.action.background.secondary.default.lowContrast": "interactive.background.information.faded", + "feedback.information.action.background.secondary.hover.lowContrast": "interactive.background.information.faded", + "feedback.information.action.background.secondary.focus.lowContrast": "interactive.background.information.faded", + "feedback.information.action.background.secondary.active.lowContrast": "interactive.background.information.faded", + "feedback.information.action.background.secondary.disabled.lowContrast": "interactive.background.information.disabled", + "feedback.information.action.border.primary.default.highContrast": "interactive.border.information.default", + "feedback.information.action.border.primary.default.lowContrast": "interactive.border.information.faded", + "feedback.information.action.border.primary.hover.highContrast": "interactive.border.information.default", + "feedback.information.action.border.primary.hover.lowContrast": "interactive.border.information.faded", + "feedback.information.action.border.primary.focus.highContrast": "interactive.border.information.default", + "feedback.information.action.border.primary.focus.lowContrast": "interactive.border.information.faded", + "feedback.information.action.border.primary.active.highContrast": "interactive.border.information.default", + "feedback.information.action.border.primary.active.lowContrast": "interactive.border.information.faded", + "feedback.information.action.border.primary.disabled.highContrast": "interactive.border.information.disabled", + "feedback.information.action.border.primary.disabled.lowContrast": "interactive.border.information.disabled", + "feedback.information.action.border.secondary.default.lowContrast": "interactive.border.information.faded", + "feedback.information.action.border.secondary.hover.lowContrast": "interactive.border.information.faded", + "feedback.information.action.border.secondary.focus.lowContrast": "interactive.border.information.faded", + "feedback.information.action.border.secondary.active.lowContrast": "interactive.border.information.faded", + "feedback.information.action.border.secondary.disabled.lowContrast": "interactive.border.information.disabled", + "feedback.information.action.text.primary.default.highContrast": "interactive.text.staticWhite.normal", + "feedback.information.action.text.primary.default.lowContrast": "interactive.text.information.subtle", + "feedback.information.action.text.primary.hover.highContrast": "interactive.text.staticWhite.normal", + "feedback.information.action.text.primary.hover.lowContrast": "interactive.text.information.subtle", + "feedback.information.action.text.primary.focus.highContrast": "interactive.text.staticWhite.normal", + "feedback.information.action.text.primary.focus.lowContrast": "interactive.text.information.subtle", + "feedback.information.action.text.primary.active.highContrast": "interactive.text.staticWhite.normal", + "feedback.information.action.text.primary.active.lowContrast": "interactive.text.information.subtle", + "feedback.information.action.text.primary.disabled.highContrast": "interactive.text.staticWhite.normal", + "feedback.information.action.text.primary.disabled.lowContrast": "interactive.text.information.disabled", + "feedback.information.action.text.secondary.default.lowContrast": "interactive.text.information.subtle", + "feedback.information.action.text.secondary.hover.lowContrast": "interactive.text.information.subtle", + "feedback.information.action.text.secondary.focus.lowContrast": "interactive.text.information.subtle", + "feedback.information.action.text.secondary.active.lowContrast": "interactive.text.information.subtle", + "feedback.information.action.text.secondary.disabled.lowContrast": "interactive.text.information.disabled", + "feedback.information.action.text.link.default.lowContrast": "interactive.text.information.normal", + "feedback.information.action.text.link.default.highContrast": "interactive.text.staticWhite.normal", + "feedback.information.action.text.link.hover.lowContrast": "interactive.text.information.subtle", + "feedback.information.action.text.link.hover.highContrast": "interactive.text.staticWhite.normal", + "feedback.information.action.text.link.focus.lowContrast": "interactive.text.information.subtle", + "feedback.information.action.text.link.focus.highContrast": "interactive.text.staticWhite.normal", + "feedback.information.action.text.link.active.lowContrast": "interactive.text.information.subtle", + "feedback.information.action.text.link.active.highContrast": "interactive.text.staticWhite.normal", + "feedback.information.action.text.link.disabled.lowContrast": "interactive.text.information.disabled", + "feedback.information.action.text.link.disabled.highContrast": "interactive.text.staticWhite.disabled", + "feedback.information.action.icon.primary.default.highContrast": "interactive.icon.staticWhite.normal", + "feedback.information.action.icon.primary.default.lowContrast": "interactive.icon.information.subtle", + "feedback.information.action.icon.primary.hover.highContrast": "interactive.icon.staticWhite.normal", + "feedback.information.action.icon.primary.hover.lowContrast": "interactive.icon.information.subtle", + "feedback.information.action.icon.primary.focus.highContrast": "interactive.icon.staticWhite.normal", + "feedback.information.action.icon.primary.focus.lowContrast": "interactive.icon.information.subtle", + "feedback.information.action.icon.primary.active.highContrast": "interactive.icon.staticWhite.normal", + "feedback.information.action.icon.primary.active.lowContrast": "interactive.icon.information.subtle", + "feedback.information.action.icon.primary.disabled.highContrast": "interactive.icon.staticWhite.normal", + "feedback.information.action.icon.primary.disabled.lowContrast": "interactive.icon.information.disabled", + "feedback.information.action.icon.secondary.default.lowContrast": "interactive.icon.information.subtle", + "feedback.information.action.icon.secondary.hover.lowContrast": "interactive.icon.information.subtle", + "feedback.information.action.icon.secondary.focus.lowContrast": "interactive.icon.information.subtle", + "feedback.information.action.icon.secondary.active.lowContrast": "interactive.icon.information.subtle", + "feedback.information.action.icon.secondary.disabled.lowContrast": "interactive.icon.information.disabled", + "feedback.information.action.icon.link.default.lowContrast": "interactive.icon.information.normal", + "feedback.information.action.icon.link.default.highContrast": "interactive.icon.staticWhite.normal", + "feedback.information.action.icon.link.hover.lowContrast": "interactive.icon.information.subtle", + "feedback.information.action.icon.link.hover.highContrast": "interactive.icon.staticWhite.normal", + "feedback.information.action.icon.link.focus.lowContrast": "interactive.icon.information.subtle", + "feedback.information.action.icon.link.focus.highContrast": "interactive.icon.staticWhite.normal", + "feedback.information.action.icon.link.active.lowContrast": "interactive.icon.information.subtle", + "feedback.information.action.icon.link.active.highContrast": "interactive.icon.staticWhite.normal", + "feedback.information.action.icon.link.disabled.lowContrast": "interactive.icon.information.disabled", + "feedback.information.action.icon.link.disabled.highContrast": "interactive.icon.staticWhite.disabled", + "feedback.neutral.action.background.primary.default.highContrast": "interactive.background.neutral.default", + "feedback.neutral.action.background.primary.default.lowContrast": "interactive.background.neutral.faded", + "feedback.neutral.action.background.primary.hover.highContrast": "interactive.background.neutral.default", + "feedback.neutral.action.background.primary.hover.lowContrast": "interactive.background.neutral.faded", + "feedback.neutral.action.background.primary.focus.highContrast": "interactive.background.neutral.default", + "feedback.neutral.action.background.primary.focus.lowContrast": "interactive.background.neutral.faded", + "feedback.neutral.action.background.primary.active.highContrast": "interactive.background.neutral.default", + "feedback.neutral.action.background.primary.active.lowContrast": "interactive.background.neutral.faded", + "feedback.neutral.action.background.primary.disabled.highContrast": "interactive.background.neutral.disabled", + "feedback.neutral.action.background.primary.disabled.lowContrast": "interactive.background.neutral.disabled", + "feedback.neutral.action.background.secondary.default.lowContrast": "interactive.background.neutral.faded", + "feedback.neutral.action.background.secondary.hover.lowContrast": "interactive.background.neutral.faded", + "feedback.neutral.action.background.secondary.focus.lowContrast": "interactive.background.neutral.faded", + "feedback.neutral.action.background.secondary.active.lowContrast": "interactive.background.neutral.faded", + "feedback.neutral.action.background.secondary.disabled.lowContrast": "interactive.background.neutral.disabled", + "feedback.neutral.action.border.primary.default.highContrast": "interactive.border.neutral.default", + "feedback.neutral.action.border.primary.default.lowContrast": "interactive.border.neutral.faded", + "feedback.neutral.action.border.primary.hover.highContrast": "interactive.border.neutral.default", + "feedback.neutral.action.border.primary.hover.lowContrast": "interactive.border.neutral.faded", + "feedback.neutral.action.border.primary.focus.highContrast": "interactive.border.neutral.default", + "feedback.neutral.action.border.primary.focus.lowContrast": "interactive.border.neutral.faded", + "feedback.neutral.action.border.primary.active.highContrast": "interactive.border.neutral.default", + "feedback.neutral.action.border.primary.active.lowContrast": "interactive.border.neutral.faded", + "feedback.neutral.action.border.primary.disabled.highContrast": "interactive.border.neutral.disabled", + "feedback.neutral.action.border.primary.disabled.lowContrast": "interactive.border.neutral.disabled", + "feedback.neutral.action.border.secondary.default.lowContrast": "interactive.border.neutral.faded", + "feedback.neutral.action.border.secondary.hover.lowContrast": "interactive.border.neutral.faded", + "feedback.neutral.action.border.secondary.focus.lowContrast": "interactive.border.neutral.faded", + "feedback.neutral.action.border.secondary.active.lowContrast": "interactive.border.neutral.faded", + "feedback.neutral.action.border.secondary.disabled.lowContrast": "interactive.border.neutral.disabled", + "feedback.neutral.action.text.primary.default.highContrast": "interactive.text.staticWhite.normal", + "feedback.neutral.action.text.primary.default.lowContrast": "interactive.text.neutral.subtle", + "feedback.neutral.action.text.primary.hover.highContrast": "interactive.text.staticWhite.normal", + "feedback.neutral.action.text.primary.hover.lowContrast": "interactive.text.neutral.subtle", + "feedback.neutral.action.text.primary.focus.highContrast": "interactive.text.staticWhite.normal", + "feedback.neutral.action.text.primary.focus.lowContrast": "interactive.text.neutral.subtle", + "feedback.neutral.action.text.primary.active.highContrast": "interactive.text.staticWhite.normal", + "feedback.neutral.action.text.primary.active.lowContrast": "interactive.text.neutral.subtle", + "feedback.neutral.action.text.primary.disabled.highContrast": "interactive.text.staticWhite.normal", + "feedback.neutral.action.text.primary.disabled.lowContrast": "interactive.text.neutral.disabled", + "feedback.neutral.action.text.secondary.default.lowContrast": "interactive.text.neutral.subtle", + "feedback.neutral.action.text.secondary.hover.lowContrast": "interactive.text.neutral.subtle", + "feedback.neutral.action.text.secondary.focus.lowContrast": "interactive.text.neutral.subtle", + "feedback.neutral.action.text.secondary.active.lowContrast": "interactive.text.neutral.subtle", + "feedback.neutral.action.text.secondary.disabled.lowContrast": "interactive.text.neutral.disabled", + "feedback.neutral.action.text.link.default.lowContrast": "interactive.text.neutral.normal", + "feedback.neutral.action.text.link.default.highContrast": "interactive.text.staticWhite.normal", + "feedback.neutral.action.text.link.hover.lowContrast": "interactive.text.neutral.subtle", + "feedback.neutral.action.text.link.hover.highContrast": "interactive.text.staticWhite.normal", + "feedback.neutral.action.text.link.focus.lowContrast": "interactive.text.neutral.subtle", + "feedback.neutral.action.text.link.focus.highContrast": "interactive.text.staticWhite.normal", + "feedback.neutral.action.text.link.active.lowContrast": "interactive.text.neutral.subtle", + "feedback.neutral.action.text.link.active.highContrast": "interactive.text.staticWhite.normal", + "feedback.neutral.action.text.link.disabled.lowContrast": "interactive.text.neutral.disabled", + "feedback.neutral.action.text.link.disabled.highContrast": "interactive.text.staticWhite.disabled", + "feedback.neutral.action.icon.primary.default.highContrast": "interactive.icon.staticWhite.normal", + "feedback.neutral.action.icon.primary.default.lowContrast": "interactive.icon.neutral.subtle", + "feedback.neutral.action.icon.primary.hover.highContrast": "interactive.icon.staticWhite.normal", + "feedback.neutral.action.icon.primary.hover.lowContrast": "interactive.icon.neutral.subtle", + "feedback.neutral.action.icon.primary.focus.highContrast": "interactive.icon.staticWhite.normal", + "feedback.neutral.action.icon.primary.focus.lowContrast": "interactive.icon.neutral.subtle", + "feedback.neutral.action.icon.primary.active.highContrast": "interactive.icon.staticWhite.normal", + "feedback.neutral.action.icon.primary.active.lowContrast": "interactive.icon.neutral.subtle", + "feedback.neutral.action.icon.primary.disabled.highContrast": "interactive.icon.staticWhite.normal", + "feedback.neutral.action.icon.primary.disabled.lowContrast": "interactive.icon.neutral.disabled", + "feedback.neutral.action.icon.secondary.default.lowContrast": "interactive.icon.neutral.subtle", + "feedback.neutral.action.icon.secondary.hover.lowContrast": "interactive.icon.neutral.subtle", + "feedback.neutral.action.icon.secondary.focus.lowContrast": "interactive.icon.neutral.subtle", + "feedback.neutral.action.icon.secondary.active.lowContrast": "interactive.icon.neutral.subtle", + "feedback.neutral.action.icon.secondary.disabled.lowContrast": "interactive.icon.neutral.disabled", + "feedback.neutral.action.icon.link.default.lowContrast": "interactive.icon.neutral.normal", + "feedback.neutral.action.icon.link.default.highContrast": "interactive.icon.staticWhite.normal", + "feedback.neutral.action.icon.link.hover.lowContrast": "interactive.icon.neutral.subtle", + "feedback.neutral.action.icon.link.hover.highContrast": "interactive.icon.staticWhite.normal", + "feedback.neutral.action.icon.link.focus.lowContrast": "interactive.icon.neutral.subtle", + "feedback.neutral.action.icon.link.focus.highContrast": "interactive.icon.staticWhite.normal", + "feedback.neutral.action.icon.link.active.lowContrast": "interactive.icon.neutral.subtle", + "feedback.neutral.action.icon.link.active.highContrast": "interactive.icon.staticWhite.normal", + "feedback.neutral.action.icon.link.disabled.lowContrast": "interactive.icon.neutral.disabled", + "feedback.neutral.action.icon.link.disabled.highContrast": "interactive.icon.staticWhite.disabled", + "action.background.primary.default": "interactive.background.primary.default", + "action.background.primary.hover": "interactive.background.primary.default", + "action.background.primary.focus": "interactive.background.primary.default", + "action.background.primary.active": "interactive.background.primary.default", + "action.background.primary.disabled": "interactive.background.primary.disabled", + "action.background.secondary.hover": "interactive.background.primary.faded", + "action.background.secondary.focus": "interactive.background.primary.faded", + "action.background.secondary.active": "interactive.background.primary.faded", + "action.background.tertiary.default": "interactive.background.gray.default", + "action.background.tertiary.hover": "interactive.background.gray.default", + "action.background.tertiary.focus": "interactive.background.gray.default", + "action.background.tertiary.active": "interactive.background.gray.default", + "action.background.tertiary.disabled": "interactive.background.gray.disabled", + "action.border.secondary.default": "interactive.border.primary.default", + "action.border.secondary.hover": "interactive.border.primary.default", + "action.border.secondary.focus": "interactive.border.primary.default", + "action.border.secondary.active": "interactive.border.primary.default", + "action.border.secondary.disabled": "interactive.border.primary.disabled", + "action.text.primary.default": "interactive.text.staticWhite.normal", + "action.text.primary.hover": "interactive.text.staticWhite.normal", + "action.text.primary.focus": "interactive.text.staticWhite.normal", + "action.text.primary.active": "interactive.text.staticWhite.normal", + "action.text.primary.disabled": "interactive.text.primary.disabled", + "action.text.secondary.default": "interactive.text.primary.normal", + "action.text.secondary.hover": "interactive.text.primary.normal", + "action.text.secondary.focus": "interactive.text.primary.normal", + "action.text.secondary.active": "interactive.text.primary.normal", + "action.text.secondary.disabled": "interactive.text.primary.disabled", + "action.text.tertiary.default": "interactive.text.gray.normal", + "action.text.tertiary.hover": "interactive.text.gray.normal", + "action.text.tertiary.focus": "interactive.text.gray.normal", + "action.text.tertiary.active": "interactive.text.gray.normal", + "action.text.tertiary.disabled": "interactive.text.gray.disabled", + "action.text.link.default": "interactive.text.primary.subtle", + "action.text.link.hover": "interactive.text.primary.normal", + "action.text.link.focus": "interactive.text.primary.normal", + "action.text.link.active": "interactive.text.primary.normal", + "action.text.link.disabled": "interactive.text.primary.disabled", + "action.text.link.visited": "interactive.text.primary.disabled", + "action.icon.primary.default": "interactive.icon.staticWhite.normal", + "action.icon.primary.hover": "interactive.icon.staticWhite.normal", + "action.icon.primary.focus": "interactive.icon.staticWhite.normal", + "action.icon.primary.active": "interactive.icon.staticWhite.normal", + "action.icon.primary.disabled": "interactive.icon.primary.disabled", + "action.icon.secondary.default": "interactive.icon.primary.normal", + "action.icon.secondary.hover": "interactive.icon.primary.normal", + "action.icon.secondary.focus": "interactive.icon.primary.normal", + "action.icon.secondary.active": "interactive.icon.primary.normal", + "action.icon.secondary.disabled": "interactive.icon.primary.disabled", + "action.icon.tertiary.default": "interactive.icon.gray.normal", + "action.icon.tertiary.hover": "interactive.icon.gray.normal", + "action.icon.tertiary.focus": "interactive.icon.gray.normal", + "action.icon.tertiary.active": "interactive.icon.gray.normal", + "action.icon.tertiary.disabled": "interactive.icon.gray.disabled", + "action.icon.link.default": "interactive.icon.primary.subtle", + "action.icon.link.hover": "interactive.icon.primary.normal", + "action.icon.link.focus": "interactive.icon.primary.normal", + "action.icon.link.active": "interactive.icon.primary.normal", + "action.icon.link.disabled": "interactive.icon.primary.disabled", + "action.icon.link.visited": "interactive.icon.primary.disabled", + "static.white": "interactive.icon.staticWhite.normal", + "white.action.background.primary.default": "interactive.background.staticWhite.default", + "white.action.background.primary.hover": "interactive.background.staticWhite.default", + "white.action.background.primary.focus": "interactive.background.staticWhite.default", + "white.action.background.primary.active": "interactive.background.staticWhite.default", + "white.action.background.primary.disabled": "interactive.background.staticWhite.disabled", + "white.action.background.tertiary.default": "interactive.background.staticWhite.faded", + "white.action.background.tertiary.hover": "interactive.background.staticWhite.faded", + "white.action.background.tertiary.focus": "interactive.background.staticWhite.faded", + "white.action.background.tertiary.active": "interactive.background.staticWhite.faded", + "white.action.background.tertiary.disabled": "interactive.background.staticWhite.disabled", + "white.action.border.secondary.default": "interactive.border.staticWhite.default", + "white.action.border.secondary.hover": "interactive.border.staticWhite.default", + "white.action.border.secondary.focus": "interactive.border.staticWhite.default", + "white.action.border.secondary.active": "interactive.border.staticWhite.default", + "white.action.border.secondary.disabled": "interactive.border.staticWhite.disabled", + "white.action.text.primary.default": "interactive.text.gray.normal", + "white.action.text.primary.hover": "interactive.text.gray.normal", + "white.action.text.primary.focus": "interactive.text.gray.normal", + "white.action.text.primary.active": "interactive.text.gray.normal", + "white.action.text.primary.disabled": "interactive.text.gray.disabled", + "white.action.text.secondary.default": "interactive.text.staticWhite.normal", + "white.action.text.secondary.hover": "interactive.text.staticWhite.normal", + "white.action.text.secondary.focus": "interactive.text.staticWhite.normal", + "white.action.text.secondary.active": "interactive.text.staticWhite.normal", + "white.action.text.secondary.disabled": "interactive.text.staticWhite.disabled", + "white.action.text.tertiary.default": "interactive.text.staticWhite.normal", + "white.action.text.tertiary.hover": "interactive.text.staticWhite.normal", + "white.action.text.tertiary.focus": "interactive.text.staticWhite.normal", + "white.action.text.tertiary.active": "interactive.text.staticWhite.normal", + "white.action.text.tertiary.disabled": "interactive.text.staticWhite.disabled", + "white.action.text.link.default": "interactive.text.staticWhite.normal", + "white.action.text.link.hover": "interactive.text.staticWhite.subtle", + "white.action.text.link.focus": "interactive.text.staticWhite.subtle", + "white.action.text.link.active": "interactive.text.staticWhite.subtle", + "white.action.text.link.disabled": "interactive.text.staticWhite.disabled", + "white.action.text.link.visited": "interactive.text.staticWhite.disabled", + "white.action.icon.primary.default": "interactive.icon.gray.normal", + "white.action.icon.primary.hover": "interactive.icon.gray.normal", + "white.action.icon.primary.focus": "interactive.icon.gray.normal", + "white.action.icon.primary.active": "interactive.icon.gray.normal", + "white.action.icon.primary.disabled": "interactive.icon.gray.disabled", + "white.action.icon.secondary.default": "interactive.icon.staticWhite.normal", + "white.action.icon.secondary.hover": "interactive.icon.staticWhite.normal", + "white.action.icon.secondary.focus": "interactive.icon.staticWhite.normal", + "white.action.icon.secondary.active": "interactive.icon.staticWhite.normal", + "white.action.icon.secondary.disabled": "interactive.icon.staticWhite.disabled", + "white.action.icon.tertiary.default": "interactive.icon.staticWhite.normal", + "white.action.icon.tertiary.hover": "interactive.icon.staticWhite.normal", + "white.action.icon.tertiary.focus": "interactive.icon.staticWhite.normal", + "white.action.icon.tertiary.active": "interactive.icon.staticWhite.normal", + "white.action.icon.tertiary.disabled": "interactive.icon.staticWhite.disabled", + "white.action.icon.link.default": "interactive.icon.staticWhite.normal", + "white.action.icon.link.hover": "interactive.icon.staticWhite.subtle", + "white.action.icon.link.focus": "interactive.icon.staticWhite.subtle", + "white.action.icon.link.active": "interactive.icon.staticWhite.subtle", + "white.action.icon.link.disabled": "interactive.icon.staticWhite.disabled", + "white.action.icon.link.visited": "interactive.icon.staticWhite.disabled", + "badge.background.blue.lowContrast": "surface.background.primary.subtle", + "badge.background.blue.highContrast": "surface.background.primary.intense", + "badge.border.blue.lowContrast": "surface.border.primary.muted", + "badge.border.blue.highContrast": "surface.border.primary.normal", + "badge.text.blue.lowContrast": "surface.text.primary.normal", + "badge.text.blue.highContrast": "surface.text.staticWhite.normal", + "badge.icon.blue.lowContrast": "surface.icon.primary.normal", + "badge.icon.blue.highContrast": "surface.icon.staticWhite.normal" +} diff --git a/packages/blade/codemods/brand-refresh/transformers/index.ts b/packages/blade/codemods/brand-refresh/transformers/index.ts new file mode 100644 index 00000000000..4b810997526 --- /dev/null +++ b/packages/blade/codemods/brand-refresh/transformers/index.ts @@ -0,0 +1,224 @@ +import type { Transform } from 'jscodeshift'; +import migrateAmountComponent from './migrate-amount'; +import migrateDividerComponent from './migrate-divider'; +import migrateCardComponent from './migrate-card'; +import migrateBadgeComponent from './migrate-badge'; +import migrateContrastIntentAndColorProps from './migrate-contrast-intent-color-props'; +import migrateTypographyComponents from './migrate-typography'; +import migrateActionListAndTable from './migrate-actionlist-and-table'; +import { red, isExpression } from './utils'; +// eslint-disable-next-line import/extensions +import colorTokensMapping from './colorTokensMapping.json'; +import migrateDropdownComponent from './migrate-dropdown'; + +const transformer: Transform = (file, api, options) => { + // Maps for fontSize, lineHeight, and token prefixes + const fontSizeMap = { + 600: 500, + 700: 600, + 800: 600, + 900: 700, + 1000: 700, + 1100: 800, + 1200: 900, + 1300: 1000, + 1600: 1100, + }; + + const lineHeightMap = { + 700: 600, + 800: 700, + 900: 800, + 1000: 900, + 1100: 1000, + 1500: 1100, + }; + + const fontTokenPrefix = 'theme.typography.fonts.size'; + const lineHeightTokenPrefix = 'theme.typography.lineHeights'; + + // Replace old color tokens to new color tokens + const newSource = file.source + .replace( + /(brand|feedback|action|static|white|badge|surface)\.?([aA-zZ0-9]+)\.?([aA-zZ0-9]+)\.?([a-z0-9]+)\.?([aA-zZ0-9]+)\.?([aA-zZ0-9]+)\.?([aA-zZ0-9]+)/g, + (originalString) => { + if (originalString.includes('highContrast') && !originalString.includes('feedback')) { + return 'UPDATE_THIS_VALUE_WITH_A_NEW_COLOR_TOKEN'; + } + + const replacement = colorTokensMapping[originalString]; + + if (!replacement) { + return originalString; + } + return replacement; + }, + ) + // Replace old font sizes & line height in the source code with new font sizes & line height + .replace( + // gets both .50 and ['50'] or ["50"] + /theme\.typography\.fonts\.size\.?((\w+)|(\W.*\]))/g, + (originalString, match) => { + const token = match.replace(/\[|\]|'|"/g, ''); + const replacement = fontSizeMap[token]; + if (!replacement) { + return originalString; + } + return `${fontTokenPrefix}[${fontSizeMap[token]}]`; + }, + ) + .replace( + // gets both .50 and ['50'] or ["50"] + /theme\.typography\.lineHeights\.?((\w+)|(\W.*\]))/g, + (originalString, match) => { + const token = match.replace(/\[|\]|'|"/g, ''); + const replacement = lineHeightMap[token]; + if (!replacement) { + return originalString; + } + return `${lineHeightTokenPrefix}[${lineHeightMap[token]}]`; + }, + ); + + // Don't transform if the file doesn't import `@razorapy/blade/components` because it's not using Blade components + // Allow the migration test file to be transformed + if (!newSource.includes('@razorpay/blade/components') && file.path !== undefined) { + return newSource; + } + + const j = api.jscodeshift; + const root = j.withParser('tsx')(newSource); + + // Update the themeTokens prop in BladeProvider + try { + root + .find(j.JSXElement, { + openingElement: { + name: { + name: 'BladeProvider', + }, + }, + }) + .find(j.JSXAttribute, { + name: { + name: 'themeTokens', + }, + }) + .replaceWith(({ node }) => { + node.value.expression.name = 'bladeTheme'; + + return node; + }); + } catch (error) { + console.error( + red( + `⛔️ ${file.path}: Oops! Ran into an issue while updating the themeTokens prop in BladeProvider.`, + ), + `\n${red(error.stack)}\n`, + ); + } + + // Update color token value based on the context + try { + root + .find(j.JSXElement, { + openingElement: { + name: { + name: (name) => /(Text|Title|Code|Display|Heading|Box|Icon)/i.test(name), + }, + }, + }) + // Find all color props + .find(j.JSXAttribute, { + name: { + name: (name) => name.toLowerCase().includes('color'), + }, + }) + .replaceWith((path) => { + const { node, parent } = path; + + // If the color prop is an expression, don't bother updating it contextually + if (isExpression(node)) { + return node; + } + + const isBoxComponent = parent.value.name.name === 'Box'; + const isIconComponent = parent.value.name.name?.includes('Icon'); + const isBorderColorProp = (node.name.name as string).includes('border'); + const isColorProp = node.name.name === 'color'; + + if (isBoxComponent && isBorderColorProp) { + node.value.value = node.value.value + .replace('background', 'border') + .replace('intense', 'normal'); + } else if ( + isIconComponent && + isColorProp && + /surface.(background|text).(gray|staticWhite|positive|negative|notice|information|neutral|primary|staticBlack)/i.test( + node.value.value, + ) + ) { + node.value.value = node.value.value + .replace(/surface.(background|text)/i, 'interactive.icon') + .replace('intense', 'normal'); + + // Typography components + } else if (!isBoxComponent && !isIconComponent && isColorProp) { + node.value.value = node.value.value.replace('background', 'text'); + + if (!node.value.value.includes('feedback')) { + node.value.value = node.value.value.replace('intense', 'normal'); + } + } + + return node; + }); + } catch (error) { + console.error( + red( + `⛔️ ${file.path}: Oops! Ran into an issue while updating the color token value based on the context.`, + ), + `\n${red(error.stack)}\n`, + ); + } + + migrateTypographyComponents({ root, j, file }); + migrateContrastIntentAndColorProps({ root, j, file }); + migrateBadgeComponent({ root, j, file }); + migrateCardComponent({ root, j, file }); + migrateAmountComponent({ root, j, file }); + migrateDividerComponent({ root, j, file }); + migrateActionListAndTable({ root, j, file }); + migrateDropdownComponent({ root, j, file }); + + // Update ImportSpecifier from "paymentTheme"/"bankingTheme" to "bladeTheme" + try { + root + .find(j.ImportDeclaration, { + source: { + value: '@razorpay/blade/tokens', + }, + }) + .find(j.ImportSpecifier, { + imported: { + name: (name) => ['paymentTheme', 'bankingTheme'].includes(name), + }, + }) + .replaceWith((path) => { + path.value.imported.name = 'bladeTheme'; + + return path.node; + }); + } catch (error) { + console.error( + red( + `⛔️ ${file.path}: Oops! Ran into an issue while updating the ImportSpecifier from "paymentTheme"/"bankingTheme" to "bladeTheme".`, + ), + `\n${red(error.stack)}\n`, + ); + } + + return root.toSource(options.printOptions); +}; + +export default transformer; diff --git a/packages/blade/codemods/brand-refresh/transformers/migrate-actionlist-and-table.ts b/packages/blade/codemods/brand-refresh/transformers/migrate-actionlist-and-table.ts new file mode 100644 index 00000000000..f4e2ae0c257 --- /dev/null +++ b/packages/blade/codemods/brand-refresh/transformers/migrate-actionlist-and-table.ts @@ -0,0 +1,32 @@ +import { red } from './utils'; + +function migrateActionListAndTable({ root, j, file }): void { + // ActionList & Table components: Remove the `surfaceLevel` prop + // -> + // ->
+ try { + root + .find(j.JSXElement, { + openingElement: { + name: { + name: (name) => ['ActionList', 'Table'].includes(name), + }, + }, + }) + .find(j.JSXAttribute, { + name: { + name: 'surfaceLevel', + }, + }) + .remove(); + } catch (error) { + console.error( + red( + `⛔️ ${file.path}: Oops! Ran into an issue while removing the "surfaceLevel" prop from "ActionList"/"Table".`, + ), + `\n${red(error.stack)}\n`, + ); + } +} + +export default migrateActionListAndTable; diff --git a/packages/blade/codemods/brand-refresh/transformers/migrate-amount.ts b/packages/blade/codemods/brand-refresh/transformers/migrate-amount.ts new file mode 100644 index 00000000000..22328760a9e --- /dev/null +++ b/packages/blade/codemods/brand-refresh/transformers/migrate-amount.ts @@ -0,0 +1,173 @@ +import { red, isExpression } from './utils'; + +// Amount component: changes to intent, size, & prefix props +function migrateAmountComponent({ root, j, file }): void { + try { + // -> + root + .find(j.JSXElement, { + openingElement: { + name: { + name: (name) => ['Amount', 'CardHeaderAmount'].includes(name), + }, + }, + }) + .replaceWith((path) => { + const { node } = path; + + const sizeAttribute = node.openingElement.attributes.find( + (attribute) => attribute.name?.name === 'size', + ); + + if (!sizeAttribute) { + return node; + } + + if (isExpression(sizeAttribute)) { + console.warn( + red('\n⛔️ Expression found in the "size" attribute, please update manually:'), + red(`${file.path}:${sizeAttribute?.loc?.start.line}:${node.loc.start.column}\n`), + ); + return node; + } + + const otherAttributes = node.openingElement.attributes.filter( + (attribute) => attribute.name?.name !== 'size', + ); + + const sizeMap = { + 'body-small': { + type: 'body', + size: 'small', + }, + 'body-small-bold': { + type: 'body', + size: 'small', + weight: 'semibold', + }, + 'body-medium': { + type: 'body', + size: 'medium', + }, + 'body-medium-bold': { + type: 'body', + size: 'medium', + weight: 'semibold', + }, + 'heading-small': { + type: 'body', + size: 'large', + }, + 'heading-small-bold': { + type: 'body', + size: 'large', + weight: 'semibold', + }, + 'heading-large': { + type: 'heading', + size: 'medium', + }, + 'heading-large-bold': { + type: 'heading', + size: 'medium', + weight: 'semibold', + }, + 'title-small': { + type: 'heading', + size: 'large', + }, + 'title-medium': { + type: 'heading', + size: 'xlarge', + }, + }; + + const sizeAttributeValue = sizeAttribute.value.value; + + Object.keys(sizeMap[sizeAttribute.value.value]).forEach((key) => { + otherAttributes.push( + j.jsxAttribute( + j.jsxIdentifier(key), + j.literal(sizeMap[sizeAttributeValue][key as keyof typeof sizeMap]), + ), + ); + }); + + node.openingElement.attributes = otherAttributes; + + return node; + }); + } catch (error) { + console.error( + red( + `⛔️ ${file.path}: Oops! Ran into an issue while updating the "size" prop in "Amount" component.`, + ), + `\n${red(error.stack)}\n`, + ); + } + + // -> + try { + root + .find(j.JSXElement, { + openingElement: { + name: { + name: (name) => ['Amount', 'CardHeaderAmount'].includes(name), + }, + }, + }) + .find(j.JSXAttribute, { + name: { + name: (name) => name === 'intent', + }, + }) + .replaceWith((path) => { + const { node } = path; + + node.name.name = 'color'; + node.value.value = `feedback.text.${node.value.value}.intense`; + + return node; + }); + } catch (error) { + console.error( + red( + `⛔️ ${file.path}: Oops! Ran into an issue while updating the "intent" prop in "Amount" component.`, + ), + `\n${red(error.stack)}\n`, + ); + } + + // -> + try { + root + .find(j.JSXElement, { + openingElement: { + name: { + name: (name) => ['Amount', 'CardHeaderAmount'].includes(name), + }, + }, + }) + .find(j.JSXAttribute, { + name: { + name: (name) => name === 'prefix', + }, + }) + .replaceWith((path) => { + const { node } = path; + + node.name.name = 'currencyIndicator'; + + return node; + }); + } catch (error) { + console.error( + red( + `⛔️ ${file.path}: Oops! Ran into an issue while updating the "prefix" prop in "Amount" component.`, + ), + `\n${red(error.stack)}\n`, + ); + } +} + +export default migrateAmountComponent; diff --git a/packages/blade/codemods/brand-refresh/transformers/migrate-badge.ts b/packages/blade/codemods/brand-refresh/transformers/migrate-badge.ts new file mode 100644 index 00000000000..6820da24da5 --- /dev/null +++ b/packages/blade/codemods/brand-refresh/transformers/migrate-badge.ts @@ -0,0 +1,28 @@ +import { red } from './utils'; + +// Badge component Migration, remove the `fontWeight` prop +function migrateBadgeComponent({ root, j, file }): void { + try { + root + .find(j.JSXElement, { + openingElement: { + name: { + name: (name) => ['Badge', 'CardHeaderBadge'].includes(name), + }, + }, + }) + .find(j.JSXAttribute, { + name: { + name: 'fontWeight', + }, + }) + .remove(); + } catch (error) { + console.error( + red(`⛔️ ${file.path}: Oops! Ran into an issue while removing the fontWeight prop.`), + `\n${red(error.stack)}\n`, + ); + } +} + +export default migrateBadgeComponent; diff --git a/packages/blade/codemods/brand-refresh/transformers/migrate-card.ts b/packages/blade/codemods/brand-refresh/transformers/migrate-card.ts new file mode 100644 index 00000000000..e2e7baa1e0d --- /dev/null +++ b/packages/blade/codemods/brand-refresh/transformers/migrate-card.ts @@ -0,0 +1,43 @@ +import { red } from './utils'; + +// Card components Migration +// -> +function migrateCardAndTable({ root, j, file }): void { + try { + root + .find(j.JSXElement, { + openingElement: { + name: { + name: 'Card', + }, + }, + }) + .find(j.JSXAttribute, { + name: { + name: 'surfaceLevel', + }, + }) + .replaceWith((path) => { + const { node } = path; + + const surfaceLevelMap = { + 1: 'surface.background.subtle', + 2: 'surface.background.gray.moderate', + 3: 'surface.background.gray.intense', + }; + + node.name.name = 'backgroundColor'; + + node.value = j.literal(surfaceLevelMap[node.value.expression.value]); + + return node; + }); + } catch (error) { + console.error( + red(`⛔️ ${file.path}: Oops! Ran into an issue while updating the Card component.`), + `\n${red(error.stack)}\n`, + ); + } +} + +export default migrateCardAndTable; diff --git a/packages/blade/codemods/brand-refresh/transformers/migrate-contrast-intent-color-props.ts b/packages/blade/codemods/brand-refresh/transformers/migrate-contrast-intent-color-props.ts new file mode 100644 index 00000000000..576e7973b70 --- /dev/null +++ b/packages/blade/codemods/brand-refresh/transformers/migrate-contrast-intent-color-props.ts @@ -0,0 +1,298 @@ +import { red } from './utils'; + +function migrateContrastIntentAndColorProps({ root, j, file }): void { + // Break `contrast="high"` prop from Typography & ProgressBar Components + try { + root + .find(j.JSXElement, { + openingElement: { + name: { + name: (name) => + ['Text', 'Title', 'Display', 'Heading', 'ProgressBar', 'CardHeaderText'].includes( + name, + ), + }, + }, + }) + .find(j.JSXAttribute) + .filter( + (path, index, self) => + ['Text', 'Title', 'Display', 'Heading', 'ProgressBar', 'CardHeaderText'].includes( + path.parent.value.name.name, + ) && + path.node.name.name === 'contrast' && + path.node.value.value === 'high' && + index === self.findIndex((obj) => path.node.start === obj.node.start), + ) + .replaceWith((path) => { + path.node.value.value = 'UPDATE_THIS_VALUE_WITH_A_NEW_COLOR_TOKEN'; + return path.node; + }); + } catch (error) { + console.error( + red( + `⛔️ ${file.path}: Oops! Ran into an issue while breaking the "contrast" prop from Typography Components:`, + ), + `\n${red(error.stack)}\n`, + ); + } + + // Bade/Counter/IconButton/Alert Components: Change `contrast` prop to `emphasis` + try { + root + .find(j.JSXElement, { + openingElement: { + name: { + name: (name) => + [ + 'Badge', + 'Counter', + 'IconButton', + 'Alert', + 'CardHeaderBadge', + 'CardHeaderCounter', + ].includes(name), + }, + }, + }) + .find(j.JSXAttribute, { + name: { + name: 'contrast', + }, + }) + .replaceWith((path) => { + path.node.name.name = 'emphasis'; + + const contrastToEmphasisMap = { + alert: { + low: 'subtle', + high: 'intense', + }, + badge: { + low: 'subtle', + high: 'intense', + }, + counter: { + low: 'subtle', + high: 'intense', + }, + iconbutton: { + low: 'intense', + high: 'subtle', + }, + }; + + path.node.value.value = + contrastToEmphasisMap[path.parent.value.name.name.toLowerCase()][[path.node.value.value]]; + + return path.node; + }); + } catch (error) { + console.error( + red( + `⛔️ ${file.path}: Oops! Ran into an issue while updating the "contrast" prop in Bade/Counter/IconButton Components:`, + ), + `\n${red(error.stack)}\n`, + ); + } + + // Spinner: Change `contrast` prop to `color` + // -> + try { + root + .find(j.JSXElement, { + openingElement: { + name: { + name: 'Spinner', + }, + }, + }) + .find(j.JSXAttribute, { + name: { + name: 'contrast', + }, + }) + .replaceWith((path) => { + path.node.name.name = 'color'; + + const contrastToColorMap = { + high: 'white', + low: 'primary', + }; + + path.node.value.value = contrastToColorMap[path.node.value.value]; + + return path.node; + }); + } catch (error) { + console.error( + red( + `⛔️ ${file.path}: Oops! Ran into an issue while updating the "contrast" prop in Spinner.`, + ), + `\n${red(error.stack)}\n`, + ); + } + + // Remove 'contrast' prop from the Skeleton Component + try { + root + .find(j.JSXElement, { + openingElement: { + name: { + name: 'Skeleton', + }, + }, + }) + .find(j.JSXAttribute, { + name: { + name: 'contrast', + }, + }) + .remove(); + } catch (error) { + console.error( + red( + `⛔️ ${file.path}: Oops! Ran into an issue while removing the "contrast" prop from Skeleton.`, + ), + `\n${red(error.stack)}\n`, + ); + } + + // Remove deprecated 'intent'/'variant' props in favor of color + try { + root + .find(j.JSXElement, { + openingElement: { + name: { + name: (name) => + [ + 'Alert', + 'Badge', + 'Counter', + 'Chip', + 'ChipGroup', + 'Indicator', + 'ProgressBar', + 'CardHeaderBadge', + 'CardHeaderCounter', + ].includes(name), + }, + }, + }) + .replaceWith((path) => { + const { node } = path; + + const colorAttribute = node.openingElement.attributes.find( + (attribute) => attribute.name?.name === 'color', + ); + + if (colorAttribute) { + node.openingElement.attributes = node.openingElement.attributes.filter( + (attribute) => attribute.name?.name !== 'intent' && attribute.name?.name !== 'variant', + ); + + return node; + } + + const variantAttribute = node.openingElement.attributes.find( + (attribute) => attribute.name?.name === 'variant', + ); + + const intentAttribute = node.openingElement.attributes.find( + (attribute) => attribute.name?.name === 'intent', + ); + + // If type and contrast are not present, return the node + if (!(variantAttribute || intentAttribute)) { + return node; + } + + const variantValue = variantAttribute?.value.value; + const intentValue = intentAttribute?.value.value; + + node.openingElement.attributes?.push( + j.jsxAttribute( + j.jsxIdentifier('color'), + j.literal( + ['blue', 'none'].includes(variantValue || intentValue) + ? 'primary' + : variantValue || intentValue, + ), + ), + ); + + return node; + }) + .find(j.JSXAttribute, { + name: { + name: (name) => name === 'intent' || name === 'variant', + }, + }) + // Remove duplicate intent/variant props + .filter( + (path, index, self) => + index === self.findIndex((obj) => path.node.start === obj.node.start), + ) + .replaceWith((path) => { + if (path.node.value.value === 'blue' || path.node.value.value === 'default') { + path.node.value.value = 'primary'; + } + + return path.node; + }) + .remove(); + } catch (error) { + console.error( + red( + `⛔️ ${file.path}: Oops! Ran into an issue while removing the deprecated "intent" and "variant" props.`, + ), + `\n${red(error.stack)}\n`, + ); + } + + // Change color="default" to color="primary" in Button/Link/Badge/Counter/Chip/ChipGroup/Spinner + //
"`; +exports[` should render Accordion on server 1`] = `"
"`; exports[` should render Accordion on server 2`] = ` .c3.c3.c3.c3.c3 { @@ -28,7 +28,7 @@ exports[` should render Accordion on server 2`] = ` -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); cursor: pointer; - color: hsla(214,18%,69%,1); + color: hsla(211,22%,56%,1); width: 100%; border: none; text-align: left; @@ -36,18 +36,20 @@ exports[` should render Accordion on server 2`] = ` .c3.c3.c3.c3.c3:hover, .c3.c3.c3.c3.c3:focus-visible { - background-color: hsla(216,15%,54%,0.09); -} - -.c3.c3.c3.c3.c3:hover { - color: hsla(217,18%,45%,1); + background-color: hsla(211,20%,52%,0.12); + color: hsla(211,26%,34%,1); } .c3.c3.c3.c3.c3:focus-visible { - outline: none; - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); border-radius: 2px; - color: hsla(217,18%,45%,1); } .c0.c0.c0.c0.c0 { @@ -109,33 +111,40 @@ exports[` should render Accordion on server 2`] = ` } .c11.c11.c11.c11.c11 { - border-width: 0px; - border-bottom-color: hsla(216,15%,54%,0.18); - border-style: solid; + border-bottom-color: hsla(211,20%,52%,0.18); + border-bottom-style: solid; } .c5.c5.c5.c5.c5 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 1rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.5rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c10.c10.c10.c10.c10 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } @@ -165,6 +174,7 @@ exports[` should render Accordion on server 2`] = ` } .c12.c12.c12.c12.c12 { + border-width: 0; border-bottom-style: solid; border-bottom-width: 1px; -webkit-box-flex: 1; @@ -209,31 +219,31 @@ exports[` should render Accordion on server 2`] = ` @media screen and (min-width:320px) { .c11.c11.c11.c11.c11 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:480px) { .c11.c11.c11.c11.c11 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:768px) { .c11.c11.c11.c11.c11 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1024px) { .c11.c11.c11.c11.c11 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1200px) { .c11.c11.c11.c11.c11 { - border-style: solid; + border-bottom-style: solid; } } @@ -278,7 +288,7 @@ exports[` should render Accordion on server 2`] = ` > How can I setup Route? @@ -375,7 +385,7 @@ exports[` should render Accordion on server 2`] = ` > How can I setup QR Codes? @@ -472,7 +482,7 @@ exports[` should render Accordion on server 2`] = ` > How can I setup Subscriptions? diff --git a/packages/blade/src/components/Accordion/__tests__/__snapshots__/Accordion.web.test.tsx.snap b/packages/blade/src/components/Accordion/__tests__/__snapshots__/Accordion.web.test.tsx.snap index 207abf54a23..2b1dfe68eb1 100644 --- a/packages/blade/src/components/Accordion/__tests__/__snapshots__/Accordion.web.test.tsx.snap +++ b/packages/blade/src/components/Accordion/__tests__/__snapshots__/Accordion.web.test.tsx.snap @@ -26,7 +26,7 @@ exports[` should render 1`] = ` -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); cursor: pointer; - color: hsla(214,18%,69%,1); + color: hsla(211,22%,56%,1); width: 100%; border: none; text-align: left; @@ -34,18 +34,20 @@ exports[` should render 1`] = ` .c3.c3.c3.c3.c3:hover, .c3.c3.c3.c3.c3:focus-visible { - background-color: hsla(216,15%,54%,0.09); -} - -.c3.c3.c3.c3.c3:hover { - color: hsla(217,18%,45%,1); + background-color: hsla(211,20%,52%,0.12); + color: hsla(211,26%,34%,1); } .c3.c3.c3.c3.c3:focus-visible { - outline: none; - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); border-radius: 2px; - color: hsla(217,18%,45%,1); } .c0.c0.c0.c0.c0 { @@ -107,33 +109,40 @@ exports[` should render 1`] = ` } .c11.c11.c11.c11.c11 { - border-width: 0px; - border-bottom-color: hsla(216,15%,54%,0.18); - border-style: solid; + border-bottom-color: hsla(211,20%,52%,0.18); + border-bottom-style: solid; } .c5.c5.c5.c5.c5 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 1rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.5rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c10.c10.c10.c10.c10 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } @@ -163,6 +172,7 @@ exports[` should render 1`] = ` } .c12.c12.c12.c12.c12 { + border-width: 0; border-bottom-style: solid; border-bottom-width: 1px; -webkit-box-flex: 1; @@ -207,31 +217,31 @@ exports[` should render 1`] = ` @media screen and (min-width:320px) { .c11.c11.c11.c11.c11 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:480px) { .c11.c11.c11.c11.c11 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:768px) { .c11.c11.c11.c11.c11 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1024px) { .c11.c11.c11.c11.c11 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1200px) { .c11.c11.c11.c11.c11 { - border-style: solid; + border-bottom-style: solid; } } @@ -274,7 +284,7 @@ exports[` should render 1`] = ` > How can I setup Route? @@ -371,7 +381,7 @@ exports[` should render 1`] = ` > How can I setup QR Codes? @@ -468,7 +478,7 @@ exports[` should render 1`] = ` > How can I setup Subscriptions? diff --git a/packages/blade/src/components/Accordion/commonStyles.ts b/packages/blade/src/components/Accordion/commonStyles.ts index aa8946ad2da..3c622527876 100644 --- a/packages/blade/src/components/Accordion/commonStyles.ts +++ b/packages/blade/src/components/Accordion/commonStyles.ts @@ -18,17 +18,14 @@ const getBackgroundColor = ({ isExpanded: boolean; isActive: boolean; }): string => { - const { gray } = theme.colors.brand; + const { gray } = theme.colors.interactive.background; if (isActive) { - if (isExpanded) { - return gray.a100.lowContrast; - } - return gray.a50.lowContrast; + return gray.faded; } if (isExpanded) { - return gray.a50.lowContrast; + return gray.default; } const TRANSPARENT = 'hsla(0, 0%, 100%, 0)'; diff --git a/packages/blade/src/components/ActionList/ActionList.stories.tsx b/packages/blade/src/components/ActionList/ActionList.stories.tsx index 54a33d5911a..f6c0ddf7097 100644 --- a/packages/blade/src/components/ActionList/ActionList.stories.tsx +++ b/packages/blade/src/components/ActionList/ActionList.stories.tsx @@ -50,7 +50,7 @@ const Page = (): React.ReactElement => { function App(): React.ReactElement { return ( - + = () => ( - + @@ -126,7 +126,7 @@ ActionList.parameters = { const ActionListWithLeadingComponentsExample: StoryFn = () => { return ( - + } @@ -161,7 +161,7 @@ ActionListWithLeadingComponents.parameters = { const ActionListWithTrailingComponentsExample: StoryFn = () => { return ( - + = () => { return ( - + = () => { return ( - + ; -const ActionListContext = React.createContext({ surfaceLevel: 2 }); -const useActionListContext = (): ActionListContextProp => { - const context = React.useContext(ActionListContext); - - if (__DEV__) { - if (!context) { - throwBladeError({ - message: 'useActionListContext has to be called inside ActionListContext.Provider', - moduleName: 'ActionList', - }); - } - } - return context; -}; - type ActionListProps = { children: React.ReactNode[]; - /** - * Decides the backgroundColor of ActionList - */ - surfaceLevel?: Exclude; } & TestID; -const _ActionList = ({ - children, - surfaceLevel = 2, - testID, -}: ActionListProps): React.ReactElement => { +const _ActionList = ({ children, testID }: ActionListProps): React.ReactElement => { const { setOptions, actionListItemRef, @@ -66,7 +40,6 @@ const _ActionList = ({ setOptions(actionListOptions); // eslint-disable-next-line react-hooks/exhaustive-deps }, [actionListOptions]); - const actionListContextValue = React.useMemo(() => ({ surfaceLevel }), [surfaceLevel]); if ( filteredValues.length <= 0 && @@ -87,38 +60,34 @@ const _ActionList = ({ // 1. We don't render the box wrapper styles which includes shadows, padding, border etc // 2. to ensure GorhomBottomSheetSectionList works as expected, if we add extra wrappers GorhomBottomSheet won't render the content inside // NOTE: That this also means inside BottomSheet, ActionList won't render any ActionListHeader or Footer. - return ( - - {isInBottomSheet ? ( - - ) : ( - - - - )} - + return isInBottomSheet ? ( + + ) : ( + + + ); }; @@ -159,4 +128,4 @@ const ActionList = assignWithoutSideEffects(React.memo(_ActionList), { }); export type { ActionListProps }; -export { ActionList, useActionListContext }; +export { ActionList }; diff --git a/packages/blade/src/components/ActionList/ActionListBox.native.tsx b/packages/blade/src/components/ActionList/ActionListBox.native.tsx index 64ccaff8706..89dfd26a464 100644 --- a/packages/blade/src/components/ActionList/ActionListBox.native.tsx +++ b/packages/blade/src/components/ActionList/ActionListBox.native.tsx @@ -10,6 +10,7 @@ import { useBottomSheetContext } from '~components/BottomSheet/BottomSheetContex import { assignWithoutSideEffects } from '~utils/assignWithoutSideEffects'; import { makeAccessible } from '~utils/makeAccessible'; import { Divider } from '~components/Divider'; +import { makeSize } from '~utils'; type ActionListBoxProps = { childrenWithId?: React.ReactNode[] | null; @@ -49,7 +50,7 @@ const _ActionListBox = React.forwardRef( isInBottomSheet={Boolean(isInBottomSheet)} // Setting footerHeight as bottom margin for ActionListBox // otherwise the footer hides few list items under it, this will offset it - marginBottom={footerHeight} + marginBottom={makeSize(footerHeight)} sections={sectionData} windowSize={5} keyExtractor={(item: any) => { diff --git a/packages/blade/src/components/ActionList/ActionListItem.tsx b/packages/blade/src/components/ActionList/ActionListItem.tsx index be6b9e28cfd..9ea1128091f 100644 --- a/packages/blade/src/components/ActionList/ActionListItem.tsx +++ b/packages/blade/src/components/ActionList/ActionListItem.tsx @@ -6,12 +6,11 @@ import { componentIds } from './componentIds'; import type { StyledActionListItemProps } from './styles/getBaseActionListItemStyles'; import { validateActionListItemProps, getNormalTextColor } from './actionListUtils'; import { getActionListItemRole, getActionListSectionRole, isRoleMenu } from './getA11yRoles'; -import { useActionListContext } from './ActionList'; import { Divider } from '~components/Divider'; import BaseBox from '~components/Box/BaseBox'; import type { IconComponent } from '~components/Icons'; import { useDropdown } from '~components/Dropdown/useDropdown'; -import type { Feedback } from '~tokens/theme/theme'; +import type { FeedbackColors } from '~tokens/theme/theme'; import { Text } from '~components/Typography'; import { isReactNative } from '~utils'; import { metaAttribute, MetaConstants } from '~utils/metaAttribute'; @@ -67,7 +66,7 @@ type ActionListItemProps = { */ titleSuffix?: React.ReactElement; isDisabled?: boolean; - intent?: Extract; + intent?: Extract; /** * Can be used in combination of `onClick` to highlight item as selected in Button Triggers. * @@ -117,7 +116,6 @@ const _ActionListSection = ({ _hideDivider, _sectionChildValues, }: ActionListSectionProps): React.ReactElement => { - const { surfaceLevel } = useActionListContext(); const { hasAutoCompleteInBottomSheetHeader, dropdownTriggerer, filteredValues } = useDropdown(); const hasAutoComplete = hasAutoCompleteInBottomSheetHeader || @@ -146,13 +144,12 @@ const _ActionListSection = ({ role: getActionListSectionRole(), label: title, })} - backgroundColor={`surface.background.level${surfaceLevel}.lowContrast`} {...metaAttribute({ name: MetaConstants.ActionListSection, testID })} > {/* We're announcing title as group label so we can hide this */} {isSectionVisible ? ( - + {title} @@ -180,12 +177,13 @@ const ActionListSection = assignWithoutSideEffects(_ActionListSection, { const _ActionListItemIcon = ({ icon }: { icon: IconComponent }): React.ReactElement => { const Icon = icon; const { intent, isDisabled } = React.useContext(ActionListItemContext); + const iconState = isDisabled ? 'disabled' : 'muted'; return ( @@ -313,7 +311,7 @@ const _ActionListItemBody = ({ truncateAfterLines={1} color={ intent === 'negative' - ? 'feedback.text.negative.lowContrast' + ? 'feedback.text.negative.intense' : getNormalTextColor(isDisabled) } > diff --git a/packages/blade/src/components/ActionList/ActionListNoResults.tsx b/packages/blade/src/components/ActionList/ActionListNoResults.tsx index 40e273de6bb..565ebf4e7ab 100644 --- a/packages/blade/src/components/ActionList/ActionListNoResults.tsx +++ b/packages/blade/src/components/ActionList/ActionListNoResults.tsx @@ -11,11 +11,11 @@ const ActionListNoResults = (): React.ReactElement => { justifyContent="center" padding="spacing.5" > - - + + No Search Result Found - + Try searching for a different value diff --git a/packages/blade/src/components/ActionList/actionListUtils.ts b/packages/blade/src/components/ActionList/actionListUtils.ts index 0ab264643d6..be447cb64aa 100644 --- a/packages/blade/src/components/ActionList/actionListUtils.ts +++ b/packages/blade/src/components/ActionList/actionListUtils.ts @@ -233,19 +233,17 @@ const getNormalTextColor = ( { isMuted }: { isMuted?: boolean } = {}, ): Extract< BaseTextProps['color'], - | 'surface.text.placeholder.lowContrast' - | 'surface.text.muted.lowContrast' - | 'surface.text.normal.lowContrast' + 'interactive.text.gray.disabled' | 'interactive.text.gray.muted' | 'interactive.text.gray.normal' > => { if (isDisabled) { - return 'surface.text.placeholder.lowContrast'; + return 'interactive.text.gray.disabled'; } if (isMuted) { - return 'surface.text.muted.lowContrast'; + return 'interactive.text.gray.muted'; } - return 'surface.text.normal.lowContrast'; + return 'interactive.text.gray.normal'; }; export { getActionListProperties, validateActionListItemProps, getNormalTextColor }; diff --git a/packages/blade/src/components/ActionList/docs/ActionListDocs.tsx b/packages/blade/src/components/ActionList/docs/ActionListDocs.tsx index 060ce0428a6..29046bb14bf 100644 --- a/packages/blade/src/components/ActionList/docs/ActionListDocs.tsx +++ b/packages/blade/src/components/ActionList/docs/ActionListDocs.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { ActionList, ActionListItem, ActionListSection, Playground } from './stories'; import { actionListPropsTables } from './propsTable'; import StoryPageWrapper from '~utils/storybook/StoryPageWrapper'; -import { Code, Text, Title } from '~components/Typography'; +import { Code, Text, Heading } from '~components/Typography'; import { Sandbox, VerticalSandbox } from '~utils/storybook/Sandbox/SandpackEditor'; import { Box } from '~components/Box'; import BaseBox from '~components/Box/BaseBox'; @@ -18,28 +18,23 @@ const ActionListDocs = (): React.ReactElement => { showStorybookControls={false} imports="" note="ActionList is meant to be used only inside the Dropdown component. Things will not work as expected if you are using this without Dropdown" - figmaURL={{ - paymentTheme: - 'https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?node-id=30043-576428', - bankingTheme: - 'https://www.figma.com/file/sAdplk2uYnI2ILnDKUxycW/Blade---Banking-Dark?node-id=15113-508481', - }} + figmaURL="https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?node-id=30043-576428" > - Playground + Playground {Playground} - ActionList + ActionList - ActionListItem + ActionListItem - ActionListItemIcon + ActionListItemIcon IconComponent, @@ -47,15 +42,15 @@ const ActionListDocs = (): React.ReactElement => { /> - ActionListItemText + ActionListItemText - ActionListItemAsset + ActionListItemAsset - ActionListItemBadgeGroup + ActionListItemBadgeGroup { /> - ActionListItemBadge + ActionListItemBadge Shares same props as Badge @@ -79,7 +74,7 @@ const ActionListDocs = (): React.ReactElement => { - ActionListSection + ActionListSection diff --git a/packages/blade/src/components/ActionList/docs/propsTable.tsx b/packages/blade/src/components/ActionList/docs/propsTable.tsx index ec8717e1360..903810fb716 100644 --- a/packages/blade/src/components/ActionList/docs/propsTable.tsx +++ b/packages/blade/src/components/ActionList/docs/propsTable.tsx @@ -13,7 +13,6 @@ const actionListPropsTables: { ActionListSection: PropsTableType; } = { ActionList: { - surfaceLevel: '2 | 3', children: ( <> <ActionListItem[] /> |{' '} diff --git a/packages/blade/src/components/ActionList/styles/StyledActionListItem.native.tsx b/packages/blade/src/components/ActionList/styles/StyledActionListItem.native.tsx index 459155c3c8a..63472cbfc43 100644 --- a/packages/blade/src/components/ActionList/styles/StyledActionListItem.native.tsx +++ b/packages/blade/src/components/ActionList/styles/StyledActionListItem.native.tsx @@ -10,7 +10,7 @@ const StyledActionListItem = styled(TouchableOpacity) // React Native specific styles backgroundColor: props.isSelected && props.selectionType === 'single' - ? props.theme.colors.brand.primary[300] + ? props.theme.colors.interactive.background.primary.faded : undefined, }; }); diff --git a/packages/blade/src/components/ActionList/styles/StyledActionListItem.web.tsx b/packages/blade/src/components/ActionList/styles/StyledActionListItem.web.tsx index 86f4ba7ba00..4e3c3cd23f8 100644 --- a/packages/blade/src/components/ActionList/styles/StyledActionListItem.web.tsx +++ b/packages/blade/src/components/ActionList/styles/StyledActionListItem.web.tsx @@ -12,15 +12,22 @@ const StyledActionListItem = styled(BaseBox)((props) '&:hover:not([aria-disabled=true])': { backgroundColor: props.intent === 'negative' - ? props.theme.colors.feedback.background.negative.lowContrast - : props.theme.colors.brand.gray.a50.lowContrast, + ? props.theme.colors.interactive.background.negative.faded + : props.theme.colors.interactive.background.gray.default, }, '&.active-focus': { - borderColor: props.isKeydownPressed ? props.theme.colors.brand.primary[300] : undefined, + borderColor: props.isKeydownPressed + ? props.theme.colors.surface.border.primary.muted + : undefined, }, '&[aria-selected=true]': { backgroundColor: - props.selectionType === 'single' ? props.theme.colors.brand.primary[300] : undefined, + props.selectionType === 'single' + ? props.theme.colors.interactive.background.primary.faded + : undefined, + }, + '&[aria-selected=true]:hover': { + backgroundColor: props.theme.colors.interactive.background.primary.fadedHighlighted, }, }; }); diff --git a/packages/blade/src/components/ActionList/styles/getBaseActionListStyles.ts b/packages/blade/src/components/ActionList/styles/getBaseActionListStyles.ts index 62009af1e07..705156fe510 100644 --- a/packages/blade/src/components/ActionList/styles/getBaseActionListStyles.ts +++ b/packages/blade/src/components/ActionList/styles/getBaseActionListStyles.ts @@ -1,24 +1,19 @@ import type { CSSObject } from 'styled-components'; -import type { ActionListProps } from '../ActionList'; import type { Theme } from '~components/BladeProvider'; import { makeSize } from '~utils/makeSize'; import { castWebType, isReactNative } from '~utils'; type StyledActionListProps = { - surfaceLevel: ActionListProps['surfaceLevel']; id?: string; isInBottomSheet?: boolean; }; const getBaseActionListStyles = (props: StyledActionListProps & { theme: Theme }): CSSObject => { - const { theme, surfaceLevel = 2, isInBottomSheet } = props; - - const backgroundColor = theme.colors.surface.background[`level${surfaceLevel}`].lowContrast; + const { theme, isInBottomSheet } = props; return { - backgroundColor, borderWidth: isInBottomSheet ? undefined : theme.border.width.thin, - borderColor: theme.colors.surface.border.normal.lowContrast, + borderColor: theme.colors.surface.border.gray.normal, borderStyle: isInBottomSheet ? undefined : 'solid', borderRadius: makeSize(theme.border.radius.medium), boxShadow: diff --git a/packages/blade/src/components/Alert/Alert.stories.tsx b/packages/blade/src/components/Alert/Alert.stories.tsx index dee298e99f4..8a2ec1690ea 100644 --- a/packages/blade/src/components/Alert/Alert.stories.tsx +++ b/packages/blade/src/components/Alert/Alert.stories.tsx @@ -1,7 +1,6 @@ import type { StoryFn, Meta } from '@storybook/react'; import { Title } from '@storybook/addon-docs'; import type { ReactElement } from 'react'; - import type { AlertProps } from './Alert'; import { Alert as AlertComponent } from './Alert'; import BaseBox from '~components/Box/BaseBox'; @@ -14,12 +13,7 @@ const Page = (): ReactElement => { Usage @@ -65,8 +59,8 @@ const meta: Meta = { 'Currently you can only accept payments in international currencies using PayPal. You cannot accept payments in INR (₹) using PayPal.', isFullWidth: false, isDismissible: true, - contrast: 'low', - intent: 'information', + emphasis: 'subtle', + color: 'information', actions: { primary: { text: 'Primary Action', @@ -102,15 +96,15 @@ const AlertTemplate: StoryFn = ({ ...args }) => { export const Default = AlertTemplate.bind({}); -export const HighContrast = AlertTemplate.bind({}); -HighContrast.args = { - contrast: 'high', - intent: 'notice', +export const HighEmphasis = AlertTemplate.bind({}); +HighEmphasis.args = { + emphasis: 'intense', + color: 'notice', }; -HighContrast.parameters = { +HighEmphasis.parameters = { docs: { description: { - story: 'A high contrast Alert for more prominent look', + story: 'A high emphasis Alert for more prominent look', }, }, }; @@ -143,7 +137,7 @@ export const DescriptionOnly = AlertTemplate.bind({}); DescriptionOnly.args = { description: 'The payment was made 6 months ago, therefore you can’t issue refund to this merchant.', - intent: 'notice', + color: 'notice', actions: undefined, title: undefined, }; @@ -159,7 +153,7 @@ export const PrimaryActionOnly = AlertTemplate.bind({}); PrimaryActionOnly.args = { description: 'There was some internal error while fetching the merchants list, this might also be due to the poor internet connection.', - intent: 'negative', + color: 'negative', actions: { primary: { text: 'Try Refetching', @@ -189,7 +183,7 @@ export const FullWidth: StoryFn = ({ ...args }) => { }; FullWidth.args = { description: 'Currently you can only accept payments in international currencies using PayPal.', - intent: 'notice', + color: 'notice', actions: undefined, title: undefined, isFullWidth: true, @@ -214,7 +208,7 @@ export const FullWidthWithActions: StoryFn = ({ ...args } }; FullWidthWithActions.args = { description: 'Currently you can only accept payments in international currencies using PayPal.', - intent: 'negative', + color: 'negative', isFullWidth: true, }; FullWidthWithActions.parameters = { diff --git a/packages/blade/src/components/Alert/Alert.tsx b/packages/blade/src/components/Alert/Alert.tsx index 35ecd90fa72..11be0553aaa 100644 --- a/packages/blade/src/components/Alert/Alert.tsx +++ b/packages/blade/src/components/Alert/Alert.tsx @@ -15,16 +15,13 @@ import { getStyledProps } from '~components/Box/styledProps'; import type { StyledPropsBlade } from '~components/Box/styledProps'; import { IconButton } from '~components/Button/IconButton'; import BaseBox from '~components/Box/BaseBox'; -import { Heading, Text } from '~components/Typography'; +import { Text } from '~components/Typography'; import BaseButton from '~components/Button/BaseButton'; import { BaseLink } from '~components/Link/BaseLink'; -import type { ColorContrastTypes, Feedback } from '~tokens/theme/theme'; +import type { FeedbackColors, SubtleOrIntense } from '~tokens/theme/theme'; import { useTheme } from '~components/BladeProvider'; import type { DotNotationSpacingStringToken, TestID } from '~utils/types'; import { makeAccessible } from '~utils/makeAccessible'; -import { throwBladeError } from '~utils/logger'; - -type Nullable = Type | null; type PrimaryAction = { text: string; @@ -73,11 +70,11 @@ type AlertProps = { onDismiss?: () => void; /** - * Can be set to `high` for a more prominent look. Not to be confused with a11y contrast. + * Can be set to `high` for a more prominent look. Not to be confused with a11y emphasis. * - * @default low + * @default subtle */ - contrast?: ColorContrastTypes; + emphasis?: SubtleOrIntense; /** * Makes the Alert span the entire container width, instead of the default max width of `584px`. @@ -87,18 +84,10 @@ type AlertProps = { */ isFullWidth?: boolean; - /** - * This prop is deprecated in favor of the `color` prop. - * - * @deprecated Use `color` instead - * @default neutral - */ - intent?: Feedback; - /** * Sets the color tone */ - color?: Feedback; + color?: FeedbackColors; /** * Renders a primary action button and a secondary action link button @@ -107,8 +96,7 @@ type AlertProps = { /** * Renders a button (should **always** be present if `secondary` action is being used) */ - primary: PrimaryAction; - + primary?: PrimaryAction; /** * Renders a Link button */ @@ -135,35 +123,21 @@ const Alert = ({ title, isDismissible = true, onDismiss, - contrast = 'low', + emphasis = 'subtle', isFullWidth = false, - // TODO: Remove intent prop in favor of color in the next major release - intent = 'neutral', - color, + color = 'neutral', actions, testID, ...styledProps }: AlertProps): ReactElement | null => { - if (__DEV__) { - if (!actions?.primary && actions?.secondary) { - throwBladeError({ - message: 'SecondaryAction is allowed only when PrimaryAction is defined.', - moduleName: 'Alert', - }); - } - } const { theme } = useTheme(); const { matchedDeviceType } = useBreakpoint({ breakpoints: theme.breakpoints }); + const [isVisible, setIsVisible] = useState(true); + const isDesktop = matchedDeviceType === 'desktop'; const isMobile = !isDesktop; - const [isVisible, setIsVisible] = useState(true); - const contrastType = `${contrast}Contrast` as const; - const iconSize = isFullWidth ? 'large' : 'medium'; - const textSize = isFullWidth ? 'medium' : 'small'; - const alertColor = color ?? intent; - - const Icon = intentIconMap[alertColor]; + const Icon = intentIconMap[color]; let iconOffset: DotNotationSpacingStringToken = 'spacing.1'; // certain special cases below needs special care for near perfect alignment @@ -182,32 +156,40 @@ const Alert = ({ iconOffset = 'spacing.2'; } } else if (isFullWidth) { - iconOffset = 'spacing.0'; + iconOffset = 'spacing.1'; } + const shouldCenterAlign = isFullWidth && !title; + let alignment: 'center' | 'flex-start' = 'flex-start'; + if (!isFullWidth) alignment = 'flex-start'; + if (shouldCenterAlign) alignment = 'center'; + const icon = ( - - + + ); + const textColor = + emphasis === 'intense' ? 'surface.text.staticWhite.normal' : 'surface.text.gray.subtle'; const _title = title ? ( - {isFullWidth ? ( - - {title} - - ) : ( - - {title} - - )} + + {title} + ) : null; const _description = ( - + {description} @@ -219,17 +201,17 @@ const Alert = ({ display={isReactNative ? castNativeType('flex') : castWebType('inline-flex')} > {actions.primary.text} ) : null; - const secondaryActionParams: Nullable> = actions?.secondary + const secondaryActionParams: Partial | null = actions?.secondary ? { onClick: actions.secondary.onClick, } @@ -246,14 +228,12 @@ const Alert = ({ secondaryActionParams.target = actions.secondary.target; secondaryActionParams.rel = actions.secondary.rel; } + const secondaryAction = actions?.secondary ? ( - + {actions.secondary.text} @@ -291,8 +271,8 @@ const Alert = ({ @@ -300,10 +280,9 @@ const Alert = ({ const a11yProps = makeAccessible({ // React Native doesn't has status as role - role: - isReactNative || alertColor === 'negative' || alertColor === 'notice' ? 'alert' : 'status', + role: isReactNative || color === 'negative' || color === 'notice' ? 'alert' : 'status', // override the implicit live region of role `alert` - ...(alertColor === 'notice' && { liveRegion: 'polite' }), + ...(color === 'notice' && { liveRegion: 'polite' }), }); if (!isVisible) { @@ -317,8 +296,8 @@ const Alert = ({ {...getStyledProps(styledProps)} > ', () => { expect(toJSON()).toMatchSnapshot(); }); - it('should render positive intent and full width', () => { + it('should render positive color and full width', () => { const { toJSON } = renderWithTheme( , ); @@ -60,7 +60,7 @@ describe('', () => { const { getByLabelText, getByRole, queryByRole } = renderWithTheme( , ); const closeButton = getByLabelText('Dismiss alert'); @@ -86,7 +86,7 @@ describe('', () => { const { getByRole } = renderWithTheme( , ); const alert = getByRole('alert'); @@ -94,21 +94,6 @@ describe('', () => { expect(alert).toBeTruthy(); }); - it('should throw an error if secondary action is defined without primary action', () => { - const onClickSecondary = jest.fn(); - expect(() => - renderWithTheme( - , - ), - ).toThrow(`[Blade: Alert]: SecondaryAction is allowed only when PrimaryAction is defined.`); - }); - it('should accept testID', () => { const { getByTestId } = renderWithTheme(); diff --git a/packages/blade/src/components/Alert/__tests__/Alert.ssr.test.tsx b/packages/blade/src/components/Alert/__tests__/Alert.ssr.test.tsx index 1f26ca6bccd..848ffe1c5a8 100644 --- a/packages/blade/src/components/Alert/__tests__/Alert.ssr.test.tsx +++ b/packages/blade/src/components/Alert/__tests__/Alert.ssr.test.tsx @@ -7,7 +7,7 @@ describe('', () => { const { container } = renderWithSSR( {} }, secondary: { text: 'Link', onClick: () => {} }, diff --git a/packages/blade/src/components/Alert/__tests__/Alert.web.test.tsx b/packages/blade/src/components/Alert/__tests__/Alert.web.test.tsx index da6e2356c67..874b2df9181 100644 --- a/packages/blade/src/components/Alert/__tests__/Alert.web.test.tsx +++ b/packages/blade/src/components/Alert/__tests__/Alert.web.test.tsx @@ -13,11 +13,11 @@ describe('', () => { expect(container).toMatchSnapshot(); }); - it('should render positive intent and full width', () => { + it('should render positive color and full width', () => { const { container } = renderWithTheme( , ); @@ -64,7 +64,7 @@ describe('', () => { const { getByLabelText, getByRole, queryByRole } = renderWithTheme( , ); const closeButton = getByLabelText('Dismiss alert'); @@ -84,7 +84,7 @@ describe('', () => { const { getByRole } = renderWithTheme( , ); const alert = getByRole('alert'); @@ -96,7 +96,7 @@ describe('', () => { const { getByRole } = renderWithTheme( , ); const alert = getByRole('status'); @@ -104,23 +104,6 @@ describe('', () => { await assertAccessible(alert); }); - it('should throw an error if secondary action is defined without primary action', () => { - const mockConsoleError = jest.spyOn(console, 'error').mockImplementation(); - const onClickSecondary = jest.fn(); - expect(() => - renderWithTheme( - , - ), - ).toThrow(`[Blade: Alert]: SecondaryAction is allowed only when PrimaryAction is defined.`); - mockConsoleError.mockRestore(); - }); - it('should accept testID', () => { const { getByTestId } = renderWithTheme(); diff --git a/packages/blade/src/components/Alert/__tests__/__snapshots__/Alert.native.test.tsx.snap b/packages/blade/src/components/Alert/__tests__/__snapshots__/Alert.native.test.tsx.snap index 50a11fa3a2a..d5d15c39c94 100644 --- a/packages/blade/src/components/Alert/__tests__/__snapshots__/Alert.native.test.tsx.snap +++ b/packages/blade/src/components/Alert/__tests__/__snapshots__/Alert.native.test.tsx.snap @@ -20,8 +20,8 @@ exports[` should render 1`] = ` > should render 1`] = ` }, { "alignItems": "flex-start", - "backgroundColor": "hsla(216, 15%, 54%, 0.09)", - "borderColor": "hsla(216, 15%, 54%, 0.32)", + "backgroundColor": "hsla(211, 20%, 52%, 0.09)", "borderRadius": 4, - "borderStyle": "solid", - "borderWidth": 1, "boxSizing": "border-box", "display": "flex", "flexDirection": "row", "maxWidth": 584, "paddingBottom": 12, - "paddingLeft": 8, - "paddingRight": 8, - "paddingTop": 8, + "paddingLeft": 12, + "paddingRight": 12, + "paddingTop": 12, }, ] } textAlign="left" > should render 1`] = ` > should render 1`] = ` /> should render 1`] = ` should render 1`] = ` > should render 1`] = ` } accessible={true} collapsable={false} - contrast="low" + emphasis="intense" focusable={true} onBlur={[Function]} onClick={[Function]} @@ -246,12 +246,12 @@ exports[` should render 1`] = ` should render 1`] = ` ], { "flex": 0, - "height": 16, - "width": 16, + "height": 20, + "width": 20, }, ] } vbHeight={24} vbWidth={24} - width="16px" + width="20px" > should render 1`] = ` > should render positive color and full width 1`] = ` > should render positive color and full width 1`] = ` }, { "alignItems": "flex-start", - "backgroundColor": "hsla(155, 100%, 31%, 0.09)", - "borderColor": "hsla(155, 100%, 31%, 0.32)", + "backgroundColor": "hsla(150, 100%, 32%, 0.09)", "borderRadius": 0, - "borderStyle": "solid", - "borderWidth": 0, "boxSizing": "border-box", "display": "flex", "flexDirection": "row", "maxWidth": "auto", "paddingBottom": 12, - "paddingLeft": 16, - "paddingRight": 16, + "paddingLeft": 12, + "paddingRight": 12, "paddingTop": 12, "width": "100%", }, @@ -353,11 +350,13 @@ exports[` should render positive color and full width 1`] = ` textAlign="left" > should render positive color and full width 1`] = ` should render positive color and full width 1`] = ` ], { "flex": 0, - "height": 20, - "width": 20, + "height": 16, + "width": 16, }, ] } vbHeight={24} vbWidth={24} - width="20px" + width="16px" > should render positive color and full width 1`] = ` > should render positive color and full width 1`] = ` /> should render positive color and full width 1`] = ` > should render positive color and full width 1`] = ` } accessible={true} collapsable={false} - contrast="low" + emphasis="intense" focusable={true} onBlur={[Function]} onClick={[Function]} @@ -599,7 +599,7 @@ exports[` should render positive color and full width 1`] = ` > should render positive color and full width 1`] = ` `; -exports[` should render positive intent and full width 1`] = ` +exports[` should render positive color and full width 2`] = ` should render positive intent and full width 1`] = ` > should render positive intent and full width 1`] = ` }, { "alignItems": "flex-start", - "backgroundColor": "hsla(155, 100%, 31%, 0.09)", - "borderColor": "hsla(155, 100%, 31%, 0.32)", + "backgroundColor": "hsla(150, 100%, 32%, 0.09)", "borderRadius": 0, - "borderStyle": "solid", - "borderWidth": 0, "boxSizing": "border-box", "display": "flex", "flexDirection": "row", "maxWidth": "auto", "paddingBottom": 12, - "paddingLeft": 16, - "paddingRight": 16, + "paddingLeft": 12, + "paddingRight": 12, "paddingTop": 12, "width": "100%", }, @@ -666,11 +663,13 @@ exports[` should render positive intent and full width 1`] = ` textAlign="left" > should render positive intent and full width 1`] = ` should render positive intent and full width 1`] = ` ], { "flex": 0, - "height": 20, - "width": 20, + "height": 16, + "width": 16, }, ] } vbHeight={24} vbWidth={24} - width="20px" + width="16px" > should render positive intent and full width 1`] = ` > should render positive intent and full width 1`] = ` /> should render positive intent and full width 1`] = ` > should render positive intent and full width 1`] = ` } accessible={true} collapsable={false} - contrast="low" + emphasis="intense" focusable={true} onBlur={[Function]} onClick={[Function]} @@ -912,7 +912,7 @@ exports[` should render positive intent and full width 1`] = ` > should render Alert on server 1`] = `"

Currently you can only accept payments in international currencies using PayPal.

"`; +exports[` should render Alert on server 1`] = `"

Currently you can only accept payments in international currencies using PayPal.

"`; exports[` should render Alert on server 2`] = ` .c0.c0.c0.c0.c0 { @@ -12,6 +12,9 @@ exports[` should render Alert on server 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-align-self: flex-start; + -ms-flex-item-align: start; + align-self: flex-start; margin-top: 2px; } @@ -65,6 +68,7 @@ exports[` should render Alert on server 2`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c12.c12.c12.c12.c12 { @@ -90,12 +94,9 @@ exports[` should render Alert on server 2`] = ` } .c1.c1.c1.c1.c1 { - background: hsla(155,100%,31%,0.09); - padding: 8px 8px 12px 8px; + background: hsla(150,100%,32%,0.09); + padding: 12px; border-radius: 4px; - border-color: hsla(155,100%,31%,0.32); - border-width: 1px; - border-style: solid; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -111,7 +112,7 @@ exports[` should render Alert on server 2`] = ` box-sizing: border-box; } -.c15.c15.c15.c15.c15 { +.c16.c16.c16.c16.c16 { border: none; cursor: pointer; padding: 0; @@ -129,7 +130,7 @@ exports[` should render Alert on server 2`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - color: hsla(214,18%,69%,1); + color: hsla(211,22%,56%,1); -webkit-transition-property: color,box-shadow; transition-property: color,box-shadow; -webkit-transition-duration: 150ms; @@ -138,42 +139,74 @@ exports[` should render Alert on server 2`] = ` transition-timing-function: cubic-bezier(0.3,0,0.2,1); } -.c15.c15.c15.c15.c15:hover { - color: hsla(217,18%,45%,1); +.c16.c16.c16.c16.c16:hover { + color: hsla(211,26%,34%,1); } -.c15.c15.c15.c15.c15:focus-visible { - outline: none; - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); - color: hsla(217,18%,45%,1); +.c16.c16.c16.c16.c16:focus-visible { + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); + color: hsla(211,26%,34%,1); } -.c15.c15.c15.c15.c15:active { - color: hsla(217,18%,45%,1); +.c16.c16.c16.c16.c16:active { + color: hsla(211,26%,34%,1); } .c5.c5.c5.c5.c5 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c11.c11.c11.c11.c11 { - color: hsla(160,100%,26%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(150,100%,27%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; + font-size: 0.6875rem; + font-weight: 500; + font-style: normal; + -webkit-text-decoration-line: none; + text-decoration-line: none; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; + text-align: center; + margin: 0; + padding: 0; +} + +.c15.c15.c15.c15.c15 { + color: hsla(150,100%,27%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -183,10 +216,10 @@ exports[` should render Alert on server 2`] = ` min-height: 32px; width: auto; cursor: pointer; - background-color: hsla(155,100%,31%,0.09); - border-color: hsla(155,100%,31%,0.32); + background-color: hsla(150,100%,32%,0.09); + border-color: hsla(150,100%,32%,1); border-width: 1px; - border-radius: 2px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -202,6 +235,7 @@ exports[` should render Alert on server 2`] = ` align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -216,25 +250,25 @@ exports[` should render Alert on server 2`] = ` } .c8.c8.c8.c8.c8:hover { - background-color: hsla(155,100%,31%,0.18); - border-color: hsla(155,100%,31%,0.32); + background-color: hsla(150,100%,32%,0.18); + border-color: hsla(150,100%,32%,1); } .c8.c8.c8.c8.c8:active { - background-color: hsla(155,100%,31%,0.32); - border-color: hsla(155,100%,31%,0.32); + background-color: hsla(150,100%,32%,0.18); + border-color: hsla(150,100%,32%,1); } .c8.c8.c8.c8.c8:focus-visible { - background-color: hsla(155,100%,31%,0.32); - border-color: hsla(155,100%,31%,0.32); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(150,100%,32%,0.18); + border-color: hsla(150,100%,32%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c8.c8.c8.c8.c8 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -271,7 +305,7 @@ exports[` should render Alert on server 2`] = ` } .c13.c13.c13.c13.c13:focus-visible .content-container { - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.09); } .c13.c13.c13.c13.c13 * { @@ -315,12 +349,12 @@ exports[` should render Alert on server 2`] = ` should render Alert on server 2`] = ` data-blade-component="base-box" > Link @@ -409,7 +443,7 @@ exports[` should render Alert on server 2`] = ` By default the initial focus is set to the close button, but you can modify it by @@ -799,12 +794,10 @@ const HeadingBanner = (): React.ReactElement => { left="spacing.0" width="100%" height="100%" - backgroundColor="surface.background.level1.highContrast" + backgroundColor="surface.background.cloud.subtle" /> - - All-in-one Escrow management platform - + All-in-one Escrow management platform
); @@ -812,7 +805,7 @@ const HeadingBanner = (): React.ReactElement => { return ( - + - + All-in-one Escrow management platform @@ -852,7 +845,7 @@ const ZeroPaddingTemplate: StoryFn = () => { ONE place to deliver a seamless user experience for you. Work with our experts to ensure your escrow money transfers are always compliant, safe & effortless. - + 100% secure | Instant payouts | Unbeatable pricing @@ -933,7 +926,7 @@ const SnapPointsTemplate: StoryFn = () => { By default BottomSheet's SnapPoints are - [35%, 50%, 85%] + [35%, 50%, 85%] @@ -942,7 +935,7 @@ const SnapPointsTemplate: StoryFn = () => { - At SnapPoint 1: 35% Screen Height + At SnapPoint 1: 35% Screen Height If content height is less than 35% of screen height - then bottom sheet takes the height @@ -959,7 +952,7 @@ const SnapPointsTemplate: StoryFn = () => { - At SnapPoint 2: 50% Screen Height + At SnapPoint 2: 50% Screen Height If content height {'>'}35% but {'<'}50% screen height - the bottom sheet extends till @@ -976,7 +969,7 @@ const SnapPointsTemplate: StoryFn = () => { - At SnapPoint 3: 85% Screen Height + At SnapPoint 3: 85% Screen Height If content height {'>'}50% but {'<'}85% screen height - the bottom sheet extends till @@ -1043,7 +1036,7 @@ const WithOTPInputTemplate: StoryFn = () => { - diff --git a/packages/blade/src/components/BottomSheet/BottomSheet.web.tsx b/packages/blade/src/components/BottomSheet/BottomSheet.web.tsx index fa24960edd9..13ac3c7a781 100644 --- a/packages/blade/src/components/BottomSheet/BottomSheet.web.tsx +++ b/packages/blade/src/components/BottomSheet/BottomSheet.web.tsx @@ -40,10 +40,10 @@ const BottomSheetSurface = styled.div<{ isDragging: boolean; }>(({ theme, windowHeight, isDragging }) => { return { - background: theme.colors.surface.background.level2.lowContrast, + background: theme.colors.popup.background.subtle, borderTopLeftRadius: makeSize(size[16]), borderTopRightRadius: makeSize(size[16]), - borderColor: theme.colors.surface.border.normal.lowContrast, + borderColor: theme.colors.popup.border.subtle, // this is reverse top elevation of highRaised elevation token boxShadow: '0px -24px 48px -12px hsla(217, 56%, 17%, 0.18)', opacity: 0, @@ -59,7 +59,7 @@ const BottomSheetSurface = styled.div<{ right: 0, bottom: 0, top: windowHeight, - backgroundColor: theme.colors.surface.background.level2.lowContrast, + backgroundColor: theme.colors.popup.background.subtle, justifyContent: 'center', alignItems: 'center', touchAction: 'none', diff --git a/packages/blade/src/components/BottomSheet/BottomSheetBackdrop.native.tsx b/packages/blade/src/components/BottomSheet/BottomSheetBackdrop.native.tsx index 9b937933d98..4d39f0da514 100644 --- a/packages/blade/src/components/BottomSheet/BottomSheetBackdrop.native.tsx +++ b/packages/blade/src/components/BottomSheet/BottomSheetBackdrop.native.tsx @@ -17,7 +17,7 @@ const BottomSheetBackdrop = ( opacity={1} style={[ props.style, - { backgroundColor: theme.colors.surface.overlay.background[800], zIndex: props.zIndex }, + { backgroundColor: theme.colors.overlay.background.subtle, zIndex: props.zIndex }, ]} /> ); diff --git a/packages/blade/src/components/BottomSheet/BottomSheetBackdrop.web.tsx b/packages/blade/src/components/BottomSheet/BottomSheetBackdrop.web.tsx index 9826e93c11b..583dde5e7cd 100644 --- a/packages/blade/src/components/BottomSheet/BottomSheetBackdrop.web.tsx +++ b/packages/blade/src/components/BottomSheet/BottomSheetBackdrop.web.tsx @@ -2,7 +2,6 @@ import React from 'react'; import styled from 'styled-components'; import { useBottomSheetContext } from './BottomSheetContext'; -import { useTheme } from '~components/BladeProvider'; import BaseBox from '~components/Box/BaseBox'; import { castWebType } from '~utils'; import { metaAttribute } from '~utils/metaAttribute'; @@ -20,7 +19,6 @@ const StyledBottomSheetBackdrop = styled(BaseBox)<{ isOpen: boolean }>(({ theme, }); const BottomSheetBackdrop = ({ zIndex }: { zIndex: number }): React.ReactElement => { - const { theme } = useTheme(); const { close, isOpen } = useBottomSheetContext(); return ( @@ -37,7 +35,7 @@ const BottomSheetBackdrop = ({ zIndex }: { zIndex: number }): React.ReactElement bottom="spacing.0" right="spacing.0" zIndex={zIndex} - backgroundColor={theme.colors.surface.overlay.background[800]} + backgroundColor="overlay.background.subtle" /> ); }; diff --git a/packages/blade/src/components/BottomSheet/BottomSheetCommon.tsx b/packages/blade/src/components/BottomSheet/BottomSheetCommon.tsx index 33921df3b68..7bf6a30a4ba 100644 --- a/packages/blade/src/components/BottomSheet/BottomSheetCommon.tsx +++ b/packages/blade/src/components/BottomSheet/BottomSheetCommon.tsx @@ -9,7 +9,6 @@ import { CloseIcon } from '~components/Icons'; import type { BladeElementRef } from '~utils/types'; import { isReactNative } from '~utils'; import { size } from '~tokens/global'; -import { useTheme } from '~components/BladeProvider'; import { makeSpace } from '~utils/makeSpace'; import { makeSize } from '~utils/makeSize'; @@ -40,7 +39,6 @@ const BottomSheetEmptyHeader = React.forwardRef { const { close, isHeaderFloating } = useBottomSheetContext(); - const { theme } = useTheme(); const webOnlyEventHandlers: Record = isReactNative() ? {} : { @@ -86,7 +84,7 @@ const BottomSheetEmptyHeader = React.forwardRef diff --git a/packages/blade/src/components/BottomSheet/BottomSheetFooter.native.tsx b/packages/blade/src/components/BottomSheet/BottomSheetFooter.native.tsx index d1e0e9d68a9..fd0c5a94179 100644 --- a/packages/blade/src/components/BottomSheet/BottomSheetFooter.native.tsx +++ b/packages/blade/src/components/BottomSheet/BottomSheetFooter.native.tsx @@ -3,17 +3,15 @@ import type { BottomSheetFooterProps } from './types'; import { ComponentIds } from './componentIds'; import { BaseFooter } from '~components/BaseHeaderFooter/BaseFooter'; import BaseBox from '~components/Box/BaseBox'; -import { useTheme } from '~components/BladeProvider'; import { assignWithoutSideEffects } from '~utils/assignWithoutSideEffects'; const _BottomSheetFooter = ({ children }: BottomSheetFooterProps): React.ReactElement => { - const { theme } = useTheme(); return ( diff --git a/packages/blade/src/components/BottomSheet/BottomSheetFooter.web.tsx b/packages/blade/src/components/BottomSheet/BottomSheetFooter.web.tsx index 1aeceb2dd4d..7d60ef6744d 100644 --- a/packages/blade/src/components/BottomSheet/BottomSheetFooter.web.tsx +++ b/packages/blade/src/components/BottomSheet/BottomSheetFooter.web.tsx @@ -4,11 +4,9 @@ import type { BaseFooterProps } from '~components/BaseHeaderFooter/BaseFooter'; import { BaseFooter } from '~components/BaseHeaderFooter/BaseFooter'; import BaseBox from '~components/Box/BaseBox'; import { useIsomorphicLayoutEffect } from '~utils/useIsomorphicLayoutEffect'; -import { useTheme } from '~components/BladeProvider'; import { metaAttribute, MetaConstants } from '~utils/metaAttribute'; const BottomSheetFooter = ({ children }: BaseFooterProps): React.ReactElement => { - const { theme } = useTheme(); const { setFooterHeight, isOpen, bind } = useBottomSheetContext(); const ref = React.useRef(null); @@ -28,7 +26,7 @@ const BottomSheetFooter = ({ children }: BaseFooterProps): React.ReactElement => width="100%" flexShrink={0} marginTop="auto" - backgroundColor={theme.colors.surface.background.level2.lowContrast} + backgroundColor="popup.background.subtle" touchAction="none" zIndex={2} {...metaAttribute({ name: MetaConstants.BottomSheetFooter })} diff --git a/packages/blade/src/components/BottomSheet/__tests__/BottomSheet.native.test.tsx b/packages/blade/src/components/BottomSheet/__tests__/BottomSheet.native.test.tsx index 699cc815082..8c9ee7d74e5 100644 --- a/packages/blade/src/components/BottomSheet/__tests__/BottomSheet.native.test.tsx +++ b/packages/blade/src/components/BottomSheet/__tests__/BottomSheet.native.test.tsx @@ -17,8 +17,8 @@ describe('', () => { Action Needed} - titleSuffix={} + trailing={Action Needed} + titleSuffix={} />

BottomSheet body

"`; +exports[` should render a BottomSheet ssr 1`] = `"
"`; exports[` should render a BottomSheet ssr 2`] = ` .c3.c3.c3.c3.c3 { @@ -109,7 +109,8 @@ exports[` should render a BottomSheet ssr 2`] = ` } .c15.c15.c15.c15.c15 { - background-color: hsla(155,100%,31%,0.09); + min-height: 20px; + background-color: hsla(150,100%,32%,0.09); } .c17.c17.c17.c17.c17 { @@ -129,16 +130,13 @@ exports[` should render a BottomSheet ssr 2`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c25.c25.c25.c25.c25 { - border-width: 0px; - border-bottom-color: hsla(216,15%,54%,0.18); - border-style: solid; + border-bottom-color: hsla(211,20%,52%,0.18); + border-bottom-style: solid; } .c27.c27.c27.c27.c27 { @@ -193,6 +191,7 @@ exports[` should render a BottomSheet ssr 2`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c20.c20.c20.c20.c20 { @@ -201,7 +200,8 @@ exports[` should render a BottomSheet ssr 2`] = ` .c21.c21.c21.c21.c21 { text-align: left; - background-color: hsla(155,100%,31%,0.09); + height: 20px; + background-color: hsla(150,100%,32%,0.09); } .c0.c0.c0.c0.c0 { @@ -211,7 +211,7 @@ exports[` should render a BottomSheet ssr 2`] = ` right: 0px; bottom: 0px; left: 0px; - background-color: hsla(214,15%,18%,0.64); + background-color: hsla(0,0%,0%,0.56); opacity: 1; } @@ -233,7 +233,7 @@ exports[` should render a BottomSheet ssr 2`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - color: hsla(214,18%,69%,1); + color: hsla(211,22%,56%,1); -webkit-transition-property: color,box-shadow; transition-property: color,box-shadow; -webkit-transition-duration: 150ms; @@ -243,20 +243,27 @@ exports[` should render a BottomSheet ssr 2`] = ` } .c24.c24.c24.c24.c24:hover { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); } .c24.c24.c24.c24.c24:focus-visible { - outline: none; - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); - color: hsla(217,18%,45%,1); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); + color: hsla(211,26%,34%,1); } .c24.c24.c24.c24.c24:active { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); } .c26.c26.c26.c26.c26 { + border-width: 0; border-bottom-style: solid; border-bottom-width: 1px; -webkit-box-flex: 1; @@ -266,27 +273,35 @@ exports[` should render a BottomSheet ssr 2`] = ` } .c11.c11.c11.c11.c11 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 1rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.5rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c18.c18.c18.c18.c18 { - color: hsla(160,100%,26%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(150,100%,27%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -298,54 +313,70 @@ exports[` should render a BottomSheet ssr 2`] = ` } .c19.c19.c19.c19.c19 { - color: hsla(216,16%,60%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,22%,56%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c29.c29.c29.c29.c29 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c35.c35.c35.c35.c35 { - color: hsla(218,89%,51%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(227,100%,59%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; } .c23.c23.c23.c23.c23 { - color: hsla(160,100%,26%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(150,100%,27%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -397,7 +428,7 @@ exports[` should render a BottomSheet ssr 2`] = ` content: ''; width: 56px; height: 4px; - background-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.12); border-radius: 16px; } @@ -405,7 +436,7 @@ exports[` should render a BottomSheet ssr 2`] = ` background: hsla(0,0%,100%,1); border-top-left-radius: 16px; border-top-right-radius: 16px; - border-color: hsla(216,15%,54%,0.18); + border-color: hsla(211,20%,52%,0.18); box-shadow: 0px -24px 48px -12px hsla(217,56%,17%,0.18); opacity: 0; pointer-events: none; @@ -436,7 +467,7 @@ exports[` should render a BottomSheet ssr 2`] = ` } .c22.c22.c22.c22.c22 { - background-color: hsla(155,100%,31%,0.09); + background-color: hsla(150,100%,32%,0.09); border-radius: 9999px; display: -webkit-box; display: -webkit-flex; @@ -451,7 +482,7 @@ exports[` should render a BottomSheet ssr 2`] = ` } .c16.c16.c16.c16.c16 { - background-color: hsla(155,100%,31%,0.09); + background-color: hsla(150,100%,32%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -470,10 +501,10 @@ exports[` should render a BottomSheet ssr 2`] = ` min-height: 36px; width: 100%; cursor: pointer; - background-color: hsla(218,89%,51%,0); - border-color: hsla(218,89%,51%,1); + background-color: hsla(0,0%,100%,0); + border-color: hsla(227,100%,59%,1); border-width: 1px; - border-radius: 2px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -489,6 +520,7 @@ exports[` should render a BottomSheet ssr 2`] = ` align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -503,25 +535,25 @@ exports[` should render a BottomSheet ssr 2`] = ` } .c32.c32.c32.c32.c32:hover { - background-color: hsla(218,89%,51%,0.09); - border-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,0.09); + border-color: hsla(227,100%,59%,1); } .c32.c32.c32.c32.c32:active { - background-color: hsla(218,89%,51%,0.32); - border-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,0.09); + border-color: hsla(227,100%,59%,1); } .c32.c32.c32.c32.c32:focus-visible { - background-color: hsla(218,89%,51%,0.18); - border-color: hsla(218,89%,51%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,100%,59%,0.09); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c32.c32.c32.c32.c32 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -543,31 +575,31 @@ exports[` should render a BottomSheet ssr 2`] = ` @media screen and (min-width:320px) { .c25.c25.c25.c25.c25 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:480px) { .c25.c25.c25.c25.c25 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:768px) { .c25.c25.c25.c25.c25 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1024px) { .c25.c25.c25.c25.c25 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1200px) { .c25.c25.c25.c25.c25 { - border-style: solid; + border-bottom-style: solid; } } @@ -630,12 +662,12 @@ exports[` should render a BottomSheet ssr 2`] = ` class="c10" data-blade-component="base-box" > -
Address Details -
+

should compose with DropdownButton 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c5.c5.c5.c5.c5 { @@ -34,7 +35,7 @@ exports[` should compose with DropdownButton 1`] = ` right: 0px; bottom: 0px; left: 0px; - background-color: hsla(214,15%,18%,0.64); + background-color: hsla(0,0%,0%,0.56); opacity: 0; } @@ -179,7 +180,7 @@ exports[` should compose with DropdownButton 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - color: hsla(214,18%,69%,1); + color: hsla(211,22%,56%,1); -webkit-transition-property: color,box-shadow; transition-property: color,box-shadow; -webkit-transition-duration: 150ms; @@ -189,42 +190,56 @@ exports[` should compose with DropdownButton 1`] = ` } .c15.c15.c15.c15.c15:hover { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); } .c15.c15.c15.c15.c15:focus-visible { - outline: none; - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); - color: hsla(217,18%,45%,1); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); + color: hsla(211,26%,34%,1); } .c15.c15.c15.c15.c15:active { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); } .c4.c4.c4.c4.c4 { - color: hsla(216,33%,29%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; } .c21.c21.c21.c21.c21 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -235,14 +250,18 @@ exports[` should compose with DropdownButton 1`] = ` } .c24.c24.c24.c24.c24 { - color: hsla(8,73%,47%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(4,74%,49%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -294,7 +313,7 @@ exports[` should compose with DropdownButton 1`] = ` content: ''; width: 56px; height: 4px; - background-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.12); border-radius: 16px; } @@ -302,7 +321,7 @@ exports[` should compose with DropdownButton 1`] = ` background: hsla(0,0%,100%,1); border-top-left-radius: 16px; border-top-right-radius: 16px; - border-color: hsla(216,15%,54%,0.18); + border-color: hsla(211,20%,52%,0.18); box-shadow: 0px -24px 48px -12px hsla(217,56%,17%,0.18); opacity: 0; pointer-events: none; @@ -336,10 +355,10 @@ exports[` should compose with DropdownButton 1`] = ` min-height: 36px; width: auto; cursor: pointer; - background-color: hsla(216,15%,54%,0.09); - border-color: hsla(216,44%,23%,0); - border-width: 1px; - border-radius: 2px; + background-color: hsla(211,20%,52%,0.09); + border-color: hsla(211,27%,76%,1); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -355,6 +374,7 @@ exports[` should compose with DropdownButton 1`] = ` align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -369,22 +389,22 @@ exports[` should compose with DropdownButton 1`] = ` } .c1.c1.c1.c1.c1:hover { - background-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.18); } .c1.c1.c1.c1.c1:active { - background-color: hsla(216,15%,54%,0.32); + background-color: hsla(211,20%,52%,0.18); } .c1.c1.c1.c1.c1:focus-visible { - background-color: hsla(216,15%,54%,0.32); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(211,20%,52%,0.18); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c1.c1.c1.c1.c1 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -419,11 +439,15 @@ exports[` should compose with DropdownButton 1`] = ` } .c17.c17.c17.c17.c17:hover:not([aria-disabled=true]) { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(211,20%,52%,0.09); } .c17.c17.c17.c17.c17[aria-selected=true] { - background-color: hsla(218,89%,51%,0.09); + background-color: hsla(227,100%,59%,0.09); +} + +.c17.c17.c17.c17.c17[aria-selected=true]:hover { + background-color: hsla(227,100%,59%,0.18); } .c23.c23.c23.c23.c23 { @@ -442,11 +466,15 @@ exports[` should compose with DropdownButton 1`] = ` } .c23.c23.c23.c23.c23:hover:not([aria-disabled=true]) { - background-color: hsla(9,91%,56%,0.09); + background-color: hsla(4,74%,49%,0.09); } .c23.c23.c23.c23.c23[aria-selected=true] { - background-color: hsla(218,89%,51%,0.09); + background-color: hsla(227,100%,59%,0.09); +} + +.c23.c23.c23.c23.c23[aria-selected=true]:hover { + background-color: hsla(227,100%,59%,0.18); } @@ -800,7 +828,8 @@ exports[` should render Header/Footer/Body properly on opened sta } .c15.c15.c15.c15.c15 { - background-color: hsla(155,100%,31%,0.09); + min-height: 20px; + background-color: hsla(150,100%,32%,0.09); } .c17.c17.c17.c17.c17 { @@ -820,16 +849,13 @@ exports[` should render Header/Footer/Body properly on opened sta -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c25.c25.c25.c25.c25 { - border-width: 0px; - border-bottom-color: hsla(216,15%,54%,0.18); - border-style: solid; + border-bottom-color: hsla(211,20%,52%,0.18); + border-bottom-style: solid; } .c27.c27.c27.c27.c27 { @@ -884,6 +910,7 @@ exports[` should render Header/Footer/Body properly on opened sta -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c0.c0.c0.c0.c0 { @@ -893,7 +920,7 @@ exports[` should render Header/Footer/Body properly on opened sta right: 0px; bottom: 0px; left: 0px; - background-color: hsla(214,15%,18%,0.64); + background-color: hsla(0,0%,0%,0.56); opacity: 1; } @@ -903,7 +930,8 @@ exports[` should render Header/Footer/Body properly on opened sta .c21.c21.c21.c21.c21 { text-align: left; - background-color: hsla(155,100%,31%,0.09); + height: 20px; + background-color: hsla(150,100%,32%,0.09); } .c24.c24.c24.c24.c24 { @@ -924,7 +952,7 @@ exports[` should render Header/Footer/Body properly on opened sta -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - color: hsla(214,18%,69%,1); + color: hsla(211,22%,56%,1); -webkit-transition-property: color,box-shadow; transition-property: color,box-shadow; -webkit-transition-duration: 150ms; @@ -934,20 +962,27 @@ exports[` should render Header/Footer/Body properly on opened sta } .c24.c24.c24.c24.c24:hover { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); } .c24.c24.c24.c24.c24:focus-visible { - outline: none; - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); - color: hsla(217,18%,45%,1); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); + color: hsla(211,26%,34%,1); } .c24.c24.c24.c24.c24:active { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); } .c26.c26.c26.c26.c26 { + border-width: 0; border-bottom-style: solid; border-bottom-width: 1px; -webkit-box-flex: 1; @@ -957,27 +992,35 @@ exports[` should render Header/Footer/Body properly on opened sta } .c11.c11.c11.c11.c11 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 1rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.5rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c18.c18.c18.c18.c18 { - color: hsla(160,100%,26%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(150,100%,27%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -989,54 +1032,70 @@ exports[` should render Header/Footer/Body properly on opened sta } .c19.c19.c19.c19.c19 { - color: hsla(216,16%,60%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,22%,56%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c29.c29.c29.c29.c29 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c35.c35.c35.c35.c35 { - color: hsla(218,89%,51%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(227,100%,59%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; } .c23.c23.c23.c23.c23 { - color: hsla(160,100%,26%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(150,100%,27%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -1088,7 +1147,7 @@ exports[` should render Header/Footer/Body properly on opened sta content: ''; width: 56px; height: 4px; - background-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.12); border-radius: 16px; } @@ -1096,7 +1155,7 @@ exports[` should render Header/Footer/Body properly on opened sta background: hsla(0,0%,100%,1); border-top-left-radius: 16px; border-top-right-radius: 16px; - border-color: hsla(216,15%,54%,0.18); + border-color: hsla(211,20%,52%,0.18); box-shadow: 0px -24px 48px -12px hsla(217,56%,17%,0.18); opacity: 0; pointer-events: none; @@ -1127,7 +1186,7 @@ exports[` should render Header/Footer/Body properly on opened sta } .c16.c16.c16.c16.c16 { - background-color: hsla(155,100%,31%,0.09); + background-color: hsla(150,100%,32%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -1146,10 +1205,10 @@ exports[` should render Header/Footer/Body properly on opened sta min-height: 36px; width: 100%; cursor: pointer; - background-color: hsla(218,89%,51%,0); - border-color: hsla(218,89%,51%,1); + background-color: hsla(0,0%,100%,0); + border-color: hsla(227,100%,59%,1); border-width: 1px; - border-radius: 2px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -1165,6 +1224,7 @@ exports[` should render Header/Footer/Body properly on opened sta align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1179,25 +1239,25 @@ exports[` should render Header/Footer/Body properly on opened sta } .c32.c32.c32.c32.c32:hover { - background-color: hsla(218,89%,51%,0.09); - border-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,0.09); + border-color: hsla(227,100%,59%,1); } .c32.c32.c32.c32.c32:active { - background-color: hsla(218,89%,51%,0.32); - border-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,0.09); + border-color: hsla(227,100%,59%,1); } .c32.c32.c32.c32.c32:focus-visible { - background-color: hsla(218,89%,51%,0.18); - border-color: hsla(218,89%,51%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,100%,59%,0.09); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c32.c32.c32.c32.c32 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -1209,7 +1269,7 @@ exports[` should render Header/Footer/Body properly on opened sta } .c22.c22.c22.c22.c22 { - background-color: hsla(155,100%,31%,0.09); + background-color: hsla(150,100%,32%,0.09); border-radius: 9999px; display: -webkit-box; display: -webkit-flex; @@ -1234,31 +1294,31 @@ exports[` should render Header/Footer/Body properly on opened sta @media screen and (min-width:320px) { .c25.c25.c25.c25.c25 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:480px) { .c25.c25.c25.c25.c25 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:768px) { .c25.c25.c25.c25.c25 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1024px) { .c25.c25.c25.c25.c25 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1200px) { .c25.c25.c25.c25.c25 { - border-style: solid; + border-bottom-style: solid; } } @@ -1320,12 +1380,12 @@ exports[` should render Header/Footer/Body properly on opened sta class="c10" data-blade-component="base-box" > -
Address Details -
+

should render empty header with padding 0 1`] = ` right: 0px; bottom: 0px; left: 0px; - background-color: hsla(214,15%,18%,0.64); + background-color: hsla(0,0%,0%,0.56); opacity: 1; } @@ -1590,7 +1650,7 @@ exports[` should render empty header with padding 0 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - color: hsla(214,18%,69%,1); + color: hsla(211,22%,56%,1); -webkit-transition-property: color,box-shadow; transition-property: color,box-shadow; -webkit-transition-duration: 150ms; @@ -1600,28 +1660,38 @@ exports[` should render empty header with padding 0 1`] = ` } .c8.c8.c8.c8.c8:hover { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); } .c8.c8.c8.c8.c8:focus-visible { - outline: none; - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); - color: hsla(217,18%,45%,1); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); + color: hsla(211,26%,34%,1); } .c8.c8.c8.c8.c8:active { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); } .c11.c11.c11.c11.c11 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } @@ -1668,7 +1738,7 @@ exports[` should render empty header with padding 0 1`] = ` content: ''; width: 56px; height: 4px; - background-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.12); border-radius: 16px; } @@ -1676,7 +1746,7 @@ exports[` should render empty header with padding 0 1`] = ` background: hsla(0,0%,100%,1); border-top-left-radius: 16px; border-top-right-radius: 16px; - border-color: hsla(216,15%,54%,0.18); + border-color: hsla(211,20%,52%,0.18); box-shadow: 0px -24px 48px -12px hsla(217,56%,17%,0.18); opacity: 0; pointer-events: none; diff --git a/packages/blade/src/components/BottomSheet/getBottomSheetGrabHandleStyles.ts b/packages/blade/src/components/BottomSheet/getBottomSheetGrabHandleStyles.ts index edd78779632..89bf743f621 100644 --- a/packages/blade/src/components/BottomSheet/getBottomSheetGrabHandleStyles.ts +++ b/packages/blade/src/components/BottomSheet/getBottomSheetGrabHandleStyles.ts @@ -11,7 +11,7 @@ const getHandlePartStyles = ({ theme }: { theme: Theme }): CSSObject => { content: "''", width: makeSize(size[56]), height: makeSize(size[4]), - backgroundColor: theme.colors.brand.gray.a100.lowContrast, + backgroundColor: theme.colors.interactive.background.gray.faded, // TODO: we do not have 16px radius token borderRadius: makeSpace(theme.spacing[5]), }; diff --git a/packages/blade/src/components/Box/BaseBox/baseBoxStyles.ts b/packages/blade/src/components/Box/BaseBox/baseBoxStyles.ts index bdba3ccb3b9..03dd4dc55b6 100644 --- a/packages/blade/src/components/Box/BaseBox/baseBoxStyles.ts +++ b/packages/blade/src/components/Box/BaseBox/baseBoxStyles.ts @@ -1,3 +1,5 @@ +/* eslint-disable @typescript-eslint/prefer-ts-expect-error */ +/* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */ import type { CSSObject } from 'styled-components'; import type { BaseBoxProps, @@ -14,6 +16,11 @@ import { isReactNative, getMediaQuery } from '~utils'; import type { Theme } from '~components/BladeProvider'; import { makeSpace } from '~utils/makeSpace'; import { makeBorderSize } from '~utils/makeBorderSize'; +import type { DotNotationSpacingStringToken } from '~utils/types'; + +const isSpacingToken = (value: string): value is DotNotationSpacingStringToken => { + return typeof value === 'string' && value.startsWith('spacing.'); +}; const getSpacingValue = ( spacingValue: @@ -26,8 +33,8 @@ const getSpacingValue = ( return undefined; } - const responsiveSpacingValue: SpacingValueType | SpacingValueType[] = getResponsiveValue( - spacingValue as MakeValueResponsive, + const responsiveSpacingValue = getResponsiveValue( + spacingValue as MakeValueResponsive, breakpoint, ); @@ -43,9 +50,9 @@ const getSpacingValue = ( return responsiveSpacingValue.map((value) => getSpacingValue(value, theme)).join(' '); } - if (typeof responsiveSpacingValue === 'string' && responsiveSpacingValue.startsWith('spacing.')) { + if (isSpacingToken(responsiveSpacingValue)) { const spacingReturnValue = getIn(theme, responsiveSpacingValue); - return isEmpty(spacingReturnValue) ? makeSpace(spacingReturnValue) : undefined; + return isEmpty(spacingReturnValue) ? makeSpace(spacingReturnValue!) : undefined; } // pixel or with unit values @@ -58,6 +65,7 @@ const getColorValue = ( breakpoint?: keyof Breakpoints, ): string => { const responsiveBackgroundValue = getResponsiveValue(color, breakpoint); + // @ts-expect-error: We always return any from getResponsiveValue so value can't be inferred here const tokenValue = getIn(theme, `colors.${responsiveBackgroundValue}`); return tokenValue ?? responsiveBackgroundValue; }; @@ -70,7 +78,8 @@ const getBorderRadiusValue = ( const responsiveBorderRadiusValue = getResponsiveValue(borderRadius, breakpoint); return isEmpty(responsiveBorderRadiusValue) ? undefined - : makeBorderSize(getIn(theme, `border.radius.${responsiveBorderRadiusValue}`)); + : // @ts-ignore: intentionally set to any since figuring out types of responsive props is complex + makeBorderSize(getIn(theme, `border.radius.${responsiveBorderRadiusValue}`)); }; const getBorderWidthValue = ( @@ -81,7 +90,8 @@ const getBorderWidthValue = ( const responsiveBorderWidthValue = getResponsiveValue(borderWidth, breakpoint); return isEmpty(responsiveBorderWidthValue) ? undefined - : makeBorderSize(getIn(theme, `border.width.${responsiveBorderWidthValue}`)); + : // @ts-ignore: intentionally set to any since figuring out types of responsive props is complex + makeBorderSize(getIn(theme, `border.width.${responsiveBorderWidthValue}`)); }; export const getElevationValue = ( @@ -92,7 +102,9 @@ export const getElevationValue = ( const responsiveElevationValue = getResponsiveValue(elevation, breakpoint); return isEmpty(responsiveElevationValue) ? undefined - : getIn(theme, `elevation.${responsiveElevationValue}`); + : // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion + // @ts-ignore: intentionally set to any since figuring out types of responsive props is complex + getIn(theme, `elevation.${responsiveElevationValue!}`); }; const getAllProps = ( diff --git a/packages/blade/src/components/Box/BaseBox/getResponsiveValue.web.ts b/packages/blade/src/components/Box/BaseBox/getResponsiveValue.web.ts index dab6bbe75bc..631015cb53d 100644 --- a/packages/blade/src/components/Box/BaseBox/getResponsiveValue.web.ts +++ b/packages/blade/src/components/Box/BaseBox/getResponsiveValue.web.ts @@ -30,7 +30,7 @@ const getResponsiveValue = ( value: MakeValueResponsive | undefined, breakpoint: keyof Breakpoints = 'base', // eslint-disable-next-line @typescript-eslint/no-explicit-any -): any | undefined => { +): T | undefined => { if (value === undefined || value === null) { return undefined; } @@ -57,7 +57,7 @@ const getResponsiveValue = ( * ``` */ if (breakpoint === 'base') { - return value; + return value as T; } return undefined; diff --git a/packages/blade/src/components/Box/BaseBox/storybookArgTypes.ts b/packages/blade/src/components/Box/BaseBox/storybookArgTypes.ts index 17610f8b862..37a4be5fa01 100644 --- a/packages/blade/src/components/Box/BaseBox/storybookArgTypes.ts +++ b/packages/blade/src/components/Box/BaseBox/storybookArgTypes.ts @@ -209,6 +209,12 @@ const getBoxArgTypes = (): StorybookArgTypes => { options: validBoxAsValues, }, }, + elevation: { + control: { + type: 'radio', + options: ['lowRaised', 'midRaised', 'highRaised'], + }, + }, }; }; diff --git a/packages/blade/src/components/Box/BaseBox/types/propsTypes.ts b/packages/blade/src/components/Box/BaseBox/types/propsTypes.ts index 25fcdf15f6a..04e382d8e40 100644 --- a/packages/blade/src/components/Box/BaseBox/types/propsTypes.ts +++ b/packages/blade/src/components/Box/BaseBox/types/propsTypes.ts @@ -4,9 +4,10 @@ import type { MarginProps, PaddingProps, SpacingValueType } from './spacingTypes import type { MakeObjectResponsive } from './responsiveTypes'; import type { Theme } from '~components/BladeProvider'; import type { Border, Elevation } from '~tokens/global'; -import type { DotNotationColorStringToken, PickCSSByPlatform, TestID } from '~utils/types'; +import type { PickCSSByPlatform, TestID } from '~utils/types'; import type { Platform } from '~utils'; import type { BladeCommonEvents } from '~components/types'; +import type { DotNotationToken } from '~utils/lodashButBetter/get'; type LayoutProps = MakeObjectResponsive< { @@ -97,11 +98,12 @@ type GridProps = MakeObjectResponsive< > >; -type ColorObjects = 'feedback' | 'surface' | 'action'; -type BackgroundColorString = `${T}.background.${DotNotationColorStringToken< - Theme['colors'][T]['background'] ->}`; -type BorderColorString = `${T}.border.${DotNotationColorStringToken< +type ColorObjects = 'feedback' | 'surface' | 'interactive'; +type BackgroundOnlyColorObjects = 'popup' | 'overlay'; +type BackgroundColorString< + T extends ColorObjects | BackgroundOnlyColorObjects +> = `${T}.background.${DotNotationToken}`; +type BorderColorString = `${T}.border.${DotNotationToken< Theme['colors'][T]['border'] >}`; @@ -120,22 +122,20 @@ const validBoxAsValues = [ type BoxAsType = typeof validBoxAsValues[number]; -type BrandColorString = `brand.${DotNotationColorStringToken}`; - // Visual props that are common for both Box and BaseBox type CommonBoxVisualProps = MakeObjectResponsive< { borderRadius: keyof Border['radius']; borderWidth: keyof Border['width']; - borderColor: BorderColorString<'surface'> | BrandColorString; + borderColor: BorderColorString<'surface'>; borderTopWidth: keyof Border['width']; - borderTopColor: BorderColorString<'surface'> | BrandColorString; + borderTopColor: BorderColorString<'surface'>; borderRightWidth: keyof Border['width']; - borderRightColor: BorderColorString<'surface'> | BrandColorString; + borderRightColor: BorderColorString<'surface'>; borderBottomWidth: keyof Border['width']; - borderBottomColor: BorderColorString<'surface'> | BrandColorString; + borderBottomColor: BorderColorString<'surface'>; borderLeftWidth: keyof Border['width']; - borderLeftColor: BorderColorString<'surface'> | BrandColorString; + borderLeftColor: BorderColorString<'surface'>; borderTopLeftRadius: keyof Border['radius']; borderTopRightRadius: keyof Border['radius']; borderBottomRightRadius: keyof Border['radius']; @@ -174,8 +174,9 @@ type BaseBoxVisualProps = MakeObjectResponsive< backgroundColor: | BackgroundColorString<'feedback'> | BackgroundColorString<'surface'> - | BackgroundColorString<'action'> - | BrandColorString + | BackgroundColorString<'interactive'> + | BackgroundColorString<'overlay'> + | BackgroundColorString<'popup'> | 'transparent' | (string & Record); lineHeight: SpacingValueType; @@ -194,7 +195,7 @@ type BaseBoxVisualProps = MakeObjectResponsive< // Visual props that are specific to Box type BoxVisualProps = MakeObjectResponsive<{ - backgroundColor: BackgroundColorString<'surface'> | BrandColorString | 'transparent'; + backgroundColor: BackgroundColorString<'surface'> | 'transparent'; }> & { // Intentionally keeping this outside of MakeObjectResponsive since we only want as to be string and not responsive object // styled-components do not support passing `as` prop as an object diff --git a/packages/blade/src/components/Box/Box.stories.tsx b/packages/blade/src/components/Box/Box.stories.tsx index c6f1d912b8b..0db8bb1749d 100644 --- a/packages/blade/src/components/Box/Box.stories.tsx +++ b/packages/blade/src/components/Box/Box.stories.tsx @@ -4,7 +4,7 @@ import { getBoxArgTypes } from './BaseBox/storybookArgTypes'; import type { BoxRefType } from './BaseBox/types'; import type { BoxProps } from '.'; import { Box } from '.'; -import { Text, Title } from '~components/Typography'; +import { Text, Heading } from '~components/Typography'; import StoryPageWrapper from '~utils/storybook/StoryPageWrapper'; import { LinkToStorybook } from '~utils/storybook/LinkToStorybook'; import { castWebType, isReactNative } from '~utils'; @@ -32,7 +32,7 @@ const BoxStoryMeta = { propsDescription="All Box props support responsive objects. Props marked with 💅🏼 next to their names are the props that can also be used as styled-props on other blade components. Check out styled-props documentation for more details." > - Layout Primitives Documentation + Layout Primitives Documentation Check Out{' '} @@ -65,11 +65,11 @@ export const Responsive = (args: BoxProps): React.ReactElement => { <> Change screen size to see flexDirection switch between row and column - - Box1 + + Box1 - - Box2 + + Box2 @@ -82,6 +82,35 @@ Responsive.args = { flexDirection: { base: 'column', m: 'row' }, } as BoxProps; +export const Elevations = (args: BoxProps): React.ReactElement => { + return ( + + + Low + + + Mid + + + High + + + ); +}; + +Elevations.args = { + padding: 'spacing.8', + backgroundColor: 'surface.background.level2.lowContrast', + borderRadius: 'large', +} as BoxProps; + export const AsSection = (args: BoxProps): React.ReactElement => { if (isReactNative()) { return ( @@ -106,7 +135,7 @@ export const WithRef = (args: BoxProps): React.ReactElement => { const ref = React.useRef(null); return ( - +
"`; +exports[` should render button with icon with left iconPosition 1`] = `"
"`; exports[` should render button with icon with left iconPosition 2`] = ` .c0.c0.c0.c0.c0 { min-height: 36px; width: auto; cursor: pointer; - background-color: hsla(218,89%,51%,1); - border-color: hsla(218,89%,51%,1); - border-width: 1px; - border-radius: 2px; + background-color: hsla(227,100%,59%,1); + border-color: hsla(227,100%,59%,1); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -26,6 +26,7 @@ exports[` should render button with icon with left iconPosition 2` align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -40,25 +41,25 @@ exports[` should render button with icon with left iconPosition 2` } .c0.c0.c0.c0.c0:hover { - background-color: hsla(223,95%,48%,1); - border-color: hsla(223,95%,48%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c0.c0.c0.c0.c0:active { - background-color: hsla(230,100%,42%,1); - border-color: hsla(230,100%,42%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c0.c0.c0.c0.c0:focus-visible { - background-color: hsla(227,100%,45%,1); - border-color: hsla(227,100%,45%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c0.c0.c0.c0.c0 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -67,13 +68,17 @@ exports[` should render button with icon with left iconPosition 2` .c4.c4.c4.c4.c4 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -98,6 +103,7 @@ exports[` should render button with icon with left iconPosition 2` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c3.c3.c3.c3.c3 { diff --git a/packages/blade/src/components/Button/BaseButton/__tests__/__snapshots__/BaseButton.web.test.tsx.snap b/packages/blade/src/components/Button/BaseButton/__tests__/__snapshots__/BaseButton.web.test.tsx.snap index 749537f919b..afdd82b00a2 100644 --- a/packages/blade/src/components/Button/BaseButton/__tests__/__snapshots__/BaseButton.web.test.tsx.snap +++ b/packages/blade/src/components/Button/BaseButton/__tests__/__snapshots__/BaseButton.web.test.tsx.snap @@ -5,10 +5,10 @@ exports[` should announce button loading accessibilityLabel 1`] = min-height: 36px; width: auto; cursor: pointer; - background-color: hsla(218,89%,51%,1); - border-color: hsla(218,89%,51%,1); - border-width: 1px; - border-radius: 2px; + background-color: hsla(227,100%,59%,1); + border-color: hsla(227,100%,59%,1); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -24,6 +24,7 @@ exports[` should announce button loading accessibilityLabel 1`] = align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -38,25 +39,25 @@ exports[` should announce button loading accessibilityLabel 1`] = } .c0.c0.c0.c0.c0:hover { - background-color: hsla(223,95%,48%,1); - border-color: hsla(223,95%,48%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c0.c0.c0.c0.c0:active { - background-color: hsla(230,100%,42%,1); - border-color: hsla(230,100%,42%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c0.c0.c0.c0.c0:focus-visible { - background-color: hsla(227,100%,45%,1); - border-color: hsla(227,100%,45%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c0.c0.c0.c0.c0 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -67,10 +68,10 @@ exports[` should announce button loading accessibilityLabel 1`] = min-height: 36px; width: auto; cursor: not-allowed; - background-color: hsla(216,19%,89%,1); - border-color: hsla(216,19%,89%,1); - border-width: 1px; - border-radius: 2px; + background-color: hsla(227,100%,59%,0.09); + border-color: hsla(227,100%,59%,0.18); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -86,6 +87,7 @@ exports[` should announce button loading accessibilityLabel 1`] = align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -100,25 +102,25 @@ exports[` should announce button loading accessibilityLabel 1`] = } .c4.c4.c4.c4.c4:hover { - background-color: hsla(216,19%,89%,1); - border-color: hsla(216,19%,89%,1); + background-color: hsla(227,100%,59%,0.09); + border-color: hsla(227,100%,59%,0.18); } .c4.c4.c4.c4.c4:active { - background-color: hsla(216,19%,89%,1); - border-color: hsla(216,19%,89%,1); + background-color: hsla(227,100%,59%,0.09); + border-color: hsla(227,100%,59%,0.18); } .c4.c4.c4.c4.c4:focus-visible { - background-color: hsla(216,19%,89%,1); - border-color: hsla(216,19%,89%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,100%,59%,0.09); + border-color: hsla(227,100%,59%,0.18); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c4.c4.c4.c4.c4 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -127,27 +129,35 @@ exports[` should announce button loading accessibilityLabel 1`] = .c3.c3.c3.c3.c3 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; } .c9.c9.c9.c9.c9 { - color: hsla(216,16%,60%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(227,100%,59%,0.18); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -172,6 +182,7 @@ exports[` should announce button loading accessibilityLabel 1`] = -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c5.c5.c5.c5.c5 { @@ -188,6 +199,7 @@ exports[` should announce button loading accessibilityLabel 1`] = -ms-flex-pack: center; justify-content: center; position: absolute; + z-index: 1; top: 0px; right: 0px; bottom: 0px; @@ -285,18 +297,18 @@ exports[` should announce button loading accessibilityLabel 1`] =
@@ -323,10 +335,10 @@ exports[` should render button with default properties 1`] = ` min-height: 36px; width: auto; cursor: pointer; - background-color: hsla(218,89%,51%,1); - border-color: hsla(218,89%,51%,1); - border-width: 1px; - border-radius: 2px; + background-color: hsla(227,100%,59%,1); + border-color: hsla(227,100%,59%,1); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -342,6 +354,7 @@ exports[` should render button with default properties 1`] = ` align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -356,25 +369,25 @@ exports[` should render button with default properties 1`] = ` } .c0.c0.c0.c0.c0:hover { - background-color: hsla(223,95%,48%,1); - border-color: hsla(223,95%,48%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c0.c0.c0.c0.c0:active { - background-color: hsla(230,100%,42%,1); - border-color: hsla(230,100%,42%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c0.c0.c0.c0.c0:focus-visible { - background-color: hsla(227,100%,45%,1); - border-color: hsla(227,100%,45%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c0.c0.c0.c0.c0 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -383,13 +396,17 @@ exports[` should render button with default properties 1`] = ` .c3.c3.c3.c3.c3 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -414,6 +431,7 @@ exports[` should render button with default properties 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c2.c2.c2.c2.c2 { @@ -447,10 +465,10 @@ exports[` should render button with full width 1`] = ` min-height: 36px; width: 100%; cursor: pointer; - background-color: hsla(218,89%,51%,1); - border-color: hsla(218,89%,51%,1); - border-width: 1px; - border-radius: 2px; + background-color: hsla(227,100%,59%,1); + border-color: hsla(227,100%,59%,1); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -466,6 +484,7 @@ exports[` should render button with full width 1`] = ` align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -480,25 +499,25 @@ exports[` should render button with full width 1`] = ` } .c0.c0.c0.c0.c0:hover { - background-color: hsla(223,95%,48%,1); - border-color: hsla(223,95%,48%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c0.c0.c0.c0.c0:active { - background-color: hsla(230,100%,42%,1); - border-color: hsla(230,100%,42%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c0.c0.c0.c0.c0:focus-visible { - background-color: hsla(227,100%,45%,1); - border-color: hsla(227,100%,45%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c0.c0.c0.c0.c0 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -507,13 +526,17 @@ exports[` should render button with full width 1`] = ` .c3.c3.c3.c3.c3 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -538,6 +561,7 @@ exports[` should render button with full width 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c2.c2.c2.c2.c2 { @@ -571,10 +595,10 @@ exports[` should render button with icon with default iconPosition min-height: 36px; width: auto; cursor: pointer; - background-color: hsla(218,89%,51%,1); - border-color: hsla(218,89%,51%,1); - border-width: 1px; - border-radius: 2px; + background-color: hsla(227,100%,59%,1); + border-color: hsla(227,100%,59%,1); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -590,6 +614,7 @@ exports[` should render button with icon with default iconPosition align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -604,25 +629,25 @@ exports[` should render button with icon with default iconPosition } .c0.c0.c0.c0.c0:hover { - background-color: hsla(223,95%,48%,1); - border-color: hsla(223,95%,48%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c0.c0.c0.c0.c0:active { - background-color: hsla(230,100%,42%,1); - border-color: hsla(230,100%,42%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c0.c0.c0.c0.c0:focus-visible { - background-color: hsla(227,100%,45%,1); - border-color: hsla(227,100%,45%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c0.c0.c0.c0.c0 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -631,13 +656,17 @@ exports[` should render button with icon with default iconPosition .c4.c4.c4.c4.c4 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -662,6 +691,7 @@ exports[` should render button with icon with default iconPosition -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c3.c3.c3.c3.c3 { @@ -733,10 +763,10 @@ exports[` should render button with icon with left iconPosition 1` min-height: 36px; width: auto; cursor: pointer; - background-color: hsla(218,89%,51%,1); - border-color: hsla(218,89%,51%,1); - border-width: 1px; - border-radius: 2px; + background-color: hsla(227,100%,59%,1); + border-color: hsla(227,100%,59%,1); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -752,6 +782,7 @@ exports[` should render button with icon with left iconPosition 1` align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -766,25 +797,25 @@ exports[` should render button with icon with left iconPosition 1` } .c0.c0.c0.c0.c0:hover { - background-color: hsla(223,95%,48%,1); - border-color: hsla(223,95%,48%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c0.c0.c0.c0.c0:active { - background-color: hsla(230,100%,42%,1); - border-color: hsla(230,100%,42%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c0.c0.c0.c0.c0:focus-visible { - background-color: hsla(227,100%,45%,1); - border-color: hsla(227,100%,45%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c0.c0.c0.c0.c0 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -793,13 +824,17 @@ exports[` should render button with icon with left iconPosition 1` .c4.c4.c4.c4.c4 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -824,6 +859,7 @@ exports[` should render button with icon with left iconPosition 1` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c3.c3.c3.c3.c3 { @@ -895,10 +931,10 @@ exports[` should render button with icon with right iconPosition 1 min-height: 36px; width: auto; cursor: pointer; - background-color: hsla(218,89%,51%,1); - border-color: hsla(218,89%,51%,1); - border-width: 1px; - border-radius: 2px; + background-color: hsla(227,100%,59%,1); + border-color: hsla(227,100%,59%,1); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -914,6 +950,7 @@ exports[` should render button with icon with right iconPosition 1 align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -928,25 +965,25 @@ exports[` should render button with icon with right iconPosition 1 } .c0.c0.c0.c0.c0:hover { - background-color: hsla(223,95%,48%,1); - border-color: hsla(223,95%,48%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c0.c0.c0.c0.c0:active { - background-color: hsla(230,100%,42%,1); - border-color: hsla(230,100%,42%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c0.c0.c0.c0.c0:focus-visible { - background-color: hsla(227,100%,45%,1); - border-color: hsla(227,100%,45%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c0.c0.c0.c0.c0 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -955,13 +992,17 @@ exports[` should render button with icon with right iconPosition 1 .c3.c3.c3.c3.c3 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -986,6 +1027,7 @@ exports[` should render button with icon with right iconPosition 1 -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c4.c4.c4.c4.c4 { @@ -1057,10 +1099,10 @@ exports[` should render button with icon without text 1`] = ` min-height: 36px; width: auto; cursor: pointer; - background-color: hsla(218,89%,51%,1); - border-color: hsla(218,89%,51%,1); - border-width: 1px; - border-radius: 2px; + background-color: hsla(227,100%,59%,1); + border-color: hsla(227,100%,59%,1); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -1076,6 +1118,7 @@ exports[` should render button with icon without text 1`] = ` align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1090,25 +1133,25 @@ exports[` should render button with icon without text 1`] = ` } .c0.c0.c0.c0.c0:hover { - background-color: hsla(223,95%,48%,1); - border-color: hsla(223,95%,48%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c0.c0.c0.c0.c0:active { - background-color: hsla(230,100%,42%,1); - border-color: hsla(230,100%,42%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c0.c0.c0.c0.c0:focus-visible { - background-color: hsla(227,100%,45%,1); - border-color: hsla(227,100%,45%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c0.c0.c0.c0.c0 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -1134,6 +1177,7 @@ exports[` should render button with icon without text 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c3.c3.c3.c3.c3 { @@ -1193,15 +1237,15 @@ exports[` should render button with icon without text 1`] = ` `; -exports[` should render default color primary button 1`] = ` +exports[` should render disabled button 1`] = ` .c0.c0.c0.c0.c0 { min-height: 36px; width: auto; - cursor: pointer; - background-color: hsla(218,89%,51%,1); - border-color: hsla(218,89%,51%,1); - border-width: 1px; - border-radius: 2px; + cursor: not-allowed; + background-color: hsla(227,100%,59%,0.09); + border-color: hsla(227,100%,59%,0.18); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -1217,6 +1261,7 @@ exports[` should render default color primary button 1`] = ` align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1231,25 +1276,25 @@ exports[` should render default color primary button 1`] = ` } .c0.c0.c0.c0.c0:hover { - background-color: hsla(223,95%,48%,1); - border-color: hsla(223,95%,48%,1); + background-color: hsla(227,100%,59%,0.09); + border-color: hsla(227,100%,59%,0.18); } .c0.c0.c0.c0.c0:active { - background-color: hsla(230,100%,42%,1); - border-color: hsla(230,100%,42%,1); + background-color: hsla(227,100%,59%,0.09); + border-color: hsla(227,100%,59%,0.18); } .c0.c0.c0.c0.c0:focus-visible { - background-color: hsla(227,100%,45%,1); - border-color: hsla(227,100%,45%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,100%,59%,0.09); + border-color: hsla(227,100%,59%,0.18); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c0.c0.c0.c0.c0 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -1257,14 +1302,18 @@ exports[` should render default color primary button 1`] = ` } .c3.c3.c3.c3.c3 { - color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(227,100%,59%,0.18); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -1289,6 +1338,7 @@ exports[` should render default color primary button 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c2.c2.c2.c2.c2 { @@ -1299,6 +1349,7 @@ exports[` should render default color primary button 1`] = ` "`; +exports[`"`; exports[`"`; +exports[` should render 1`] = `"
"`; exports[` should render 2`] = ` .c0.c0.c0.c0.c0 { @@ -21,7 +21,7 @@ exports[` should render 2`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - color: hsla(214,18%,69%,1); + color: hsla(211,22%,56%,1); -webkit-transition-property: color,box-shadow; transition-property: color,box-shadow; -webkit-transition-duration: 150ms; @@ -31,17 +31,23 @@ exports[` should render 2`] = ` } .c0.c0.c0.c0.c0:hover { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); } .c0.c0.c0.c0.c0:focus-visible { - outline: none; - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); - color: hsla(217,18%,45%,1); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); + color: hsla(211,26%,34%,1); } .c0.c0.c0.c0.c0:active { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); }
should render 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - color: hsla(214,18%,69%,1); + color: hsla(211,22%,56%,1); -webkit-transition-property: color,box-shadow; transition-property: color,box-shadow; -webkit-transition-duration: 150ms; @@ -29,17 +29,97 @@ exports[` should render 1`] = ` } .c0.c0.c0.c0.c0:hover { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); } .c0.c0.c0.c0.c0:focus-visible { - outline: none; - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); - color: hsla(217,18%,45%,1); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); + color: hsla(211,26%,34%,1); +} + +.c0.c0.c0.c0.c0:active { + color: hsla(211,26%,34%,1); +} + +
+ +
+`; + +exports[` should render with emphasis 1`] = ` +.c0.c0.c0.c0.c0 { + border: none; + cursor: pointer; + padding: 0; + border-radius: 2px; + background: transparent; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + color: hsla(211,22%,56%,1); + -webkit-transition-property: color,box-shadow; + transition-property: color,box-shadow; + -webkit-transition-duration: 150ms; + transition-duration: 150ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); +} + +.c0.c0.c0.c0.c0:hover { + color: hsla(211,26%,34%,1); +} + +.c0.c0.c0.c0.c0:focus-visible { + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); + color: hsla(211,26%,34%,1); } .c0.c0.c0.c0.c0:active { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); }
diff --git a/packages/blade/src/components/Button/IconButton/types.ts b/packages/blade/src/components/Button/IconButton/types.ts index 4a1a8e881d2..2d38c8fe306 100644 --- a/packages/blade/src/components/Button/IconButton/types.ts +++ b/packages/blade/src/components/Button/IconButton/types.ts @@ -2,11 +2,12 @@ import type { IconButtonProps } from './IconButton'; import type { IconComponent } from '~components/Icons'; import type { RemoveUndefinedFromUnion, TestID } from '~utils/types'; import type { BladeCommonEvents } from '~components/types'; +import type { SubtleOrIntense } from '~tokens/theme/theme'; export type StyledIconButtonProps = { icon: IconComponent; size: RemoveUndefinedFromUnion; - contrast: 'low' | 'high'; + emphasis: SubtleOrIntense; accessibilityLabel: string; isDisabled?: IconButtonProps['isDisabled']; tabIndex?: IconButtonProps['_tabIndex']; diff --git a/packages/blade/src/components/Card/Card.stories.tsx b/packages/blade/src/components/Card/Card.stories.tsx index a0b9108ce3a..cf414a3ac01 100644 --- a/packages/blade/src/components/Card/Card.stories.tsx +++ b/packages/blade/src/components/Card/Card.stories.tsx @@ -1,7 +1,8 @@ import type { StoryFn, Meta } from '@storybook/react'; import { Title } from '@storybook/addon-docs'; import React from 'react'; -import type { CardFooterAction } from './'; +import type { CardSpacingValueType } from './types'; +import type { CardFooterAction, CardProps } from './'; import { CardBody, Card, @@ -16,35 +17,29 @@ import { CardHeaderBadge, CardHeaderIconButton, CardHeaderLink, + CardHeaderAmount, CardHeaderText, } from './'; import { Sandbox } from '~utils/storybook/Sandbox'; import { Heading, Text } from '~components/Typography'; import type { IconComponent } from '~components/Icons'; -import { UsersIcon, TrashIcon } from '~components/Icons'; +import { UsersIcon, TrashIcon, CheckCircleIcon } from '~components/Icons'; import StoryPageWrapper from '~utils/storybook/StoryPageWrapper'; import iconMap from '~components/Icons/iconMap'; -import type { SpacingValueType } from '~components/Box/BaseBox'; -import BaseBox from '~components/Box/BaseBox'; -import { TextInput } from '~components/Input/TextInput'; import { getStyledPropsArgTypes } from '~components/Box/BaseBox/storybookArgTypes'; import type { Elevation } from '~tokens/global'; -import type { SurfaceLevels } from '~tokens/theme/theme'; import { Box } from '~components/Box'; +import BaseBox from '~components/Box/BaseBox'; +import { TextInput } from '~components/Input/TextInput'; const Page = (): React.ReactElement => { return ( Usage @@ -117,46 +112,67 @@ const Page = (): React.ReactElement => { const propsCategory = { CARD: 'Card Props', + CARD_HEADER: 'Header Props', CARD_HEADER_LEADING: 'Header Leading Props', CARD_HEADER_TRAILING: 'Header Trailing Props', + CARD_FOOTER: 'Footer Props', CARD_FOOTER_LEADING: 'Footer Leading Props', CARD_FOOTER_TRAILING: 'Footer Trailing Props', }; type StoryControlProps = { - surfaceLevel: Exclude; + backgroundColor: CardProps['backgroundColor']; + borderRadius: CardProps['borderRadius']; elevation: keyof Elevation; - padding: Extract; + padding: CardSpacingValueType; headerTitle: string; headerSubtitle: string; + headerMarginBottom: CardSpacingValueType; + headerPaddingBottom: CardSpacingValueType; prefix: IconComponent; suffix: number; visual: React.ReactNode; body: React.ReactNode; footerTitle: string; footerSubtitle: string; + footerMarginTop: CardSpacingValueType; + footerPaddingTop: CardSpacingValueType; footerPrimaryAction: CardFooterAction; footerSecondaryAction: CardFooterAction; }; +const spacingValueOptions: CardSpacingValueType[] = [ + 'spacing.0', + 'spacing.3', + 'spacing.4', + 'spacing.5', + 'spacing.7', +]; + const visual = { Link: Learn more, Text: $100, IconButton: , - Badge: NEW, + Badge: NEW, + Amount: , }; export default { title: 'Components/Card', component: Card, args: { - surfaceLevel: 2, + backgroundColor: 'surface.background.gray.intense', + borderRadius: 'medium', elevation: 'lowRaised', padding: 'spacing.7', headerTitle: 'Payment Links', headerSubtitle: 'Share payment link via an email, SMS, messenger, chatbot etc.', + headerPaddingBottom: 'spacing.4', + headerMarginBottom: 'spacing.4', footerTitle: 'Built for Developers', footerSubtitle: 'By Developers.', + footerMarginTop: 'spacing.4', + footerPaddingTop: 'spacing.4', body: 'Create Razorpay Payments Links and share them with your customers from the Razorpay Dashboard or using APIs and start accepting payments. Check the advantages, payment methods, international currency support and more.', footerPrimaryAction: { @@ -189,7 +205,10 @@ export default { }, tags: ['autodocs'], argTypes: { - surfaceLevel: { + backgroundColor: { + table: { category: propsCategory.CARD }, + }, + borderRadius: { table: { category: propsCategory.CARD }, }, elevation: { @@ -204,6 +223,20 @@ export default { headerSubtitle: { table: { category: propsCategory.CARD_HEADER_LEADING }, }, + headerMarginBottom: { + table: { category: propsCategory.CARD_HEADER }, + control: { + type: 'radio', + options: spacingValueOptions, + }, + }, + headerPaddingBottom: { + table: { category: propsCategory.CARD_HEADER }, + control: { + type: 'radio', + options: spacingValueOptions, + }, + }, prefix: { control: { type: 'select', @@ -236,6 +269,20 @@ export default { footerSubtitle: { table: { category: propsCategory.CARD_FOOTER_LEADING }, }, + footerMarginTop: { + table: { category: propsCategory.CARD_FOOTER }, + control: { + type: 'radio', + options: spacingValueOptions, + }, + }, + footerPaddingTop: { + table: { category: propsCategory.CARD_FOOTER }, + control: { + type: 'radio', + options: spacingValueOptions, + }, + }, footerPrimaryAction: { table: { category: propsCategory.CARD_FOOTER_TRAILING }, }, @@ -254,8 +301,13 @@ export default { const CardTemplate = ({ ...args }: StoryControlProps): React.ReactElement => { return ( - - + + { {args.body} - + { }; export const CardExample = CardTemplate.bind({}); +export const FigmaExample = CardTemplate.bind({}); +// @ts-expect-error: storybook thinks it does exist but it does +FigmaExample.args = { + headerTitle: 'Header Title', + headerSubtitle: 'Header Subtitle', + prefix: CheckCircleIcon, + footerTitle: 'Footer Title', + footerSubtitle: 'Footer Subtitle', +}; const CardChildrenExample = ({ ...args }: StoryControlProps): React.ReactElement => { return ( - + }`; + export type CardProps = { /** * Card contents */ children: React.ReactNode; /** - * Sets the background color of the Card according to the surface level tokens - * - * eg: `theme.colors.surface.background.level1` - * - * @default `2` - * - * **Description:** + * Sets the background color of the Card * - * - 2: Used in layouts which are on top of the main background - * - 3: Used over the cards template or as a text input backgrounds. + * @default `surface.background.gray.intense` + */ + backgroundColor?: CardSurfaceBackgroundColors; + /** + * Sets the border radius of the Card * - * **Links:** - * - Docs: https://blade.razorpay.com/?path=/docs/tokens-colors--page#-theme-tokens + * @default `medium` */ - surfaceLevel?: Exclude; + borderRadius?: Extract; /** * Sets the elevation for Cards * @@ -76,7 +77,7 @@ export type CardProps = { * **Links:** * - Docs: https://blade.razorpay.com/?path=/docs/tokens-spacing--page */ - padding?: Extract; + padding?: CardSpacingValueType; /** * Sets the width of the card */ @@ -156,7 +157,8 @@ export type CardProps = { const Card = ({ children, - surfaceLevel = 2, + backgroundColor = 'surface.background.gray.intense', + borderRadius = 'medium', elevation = 'lowRaised', testID, padding = 'spacing.7', @@ -220,10 +222,10 @@ const Card = ({ height={height} minHeight={minHeight} padding={padding} - borderRadius="medium" - surfaceLevel={surfaceLevel} + borderRadius={borderRadius} elevation={elevation} textAlign={'left' as never} + backgroundColor={backgroundColor} > {href ? ( { +const _CardFooter = ({ + children, + testID, + marginTop = 'spacing.4', + paddingTop = 'spacing.4', + showDivider = true, +}: CardFooterProps): React.ReactElement => { const isMobile = useIsMobile(); useVerifyInsideCard('CardFooter'); useVerifyAllowedChildren({ @@ -55,11 +74,10 @@ const _CardFooter = ({ children, testID }: CardFooterProps): React.ReactElement : 'flex-end'; return ( - - - + + {showDivider ? : null} {title && ( - + {title} )} {subtitle && ( - + {subtitle} )} diff --git a/packages/blade/src/components/Card/CardHeader.tsx b/packages/blade/src/components/Card/CardHeader.tsx index 0563e4cd173..25f1f5a0851 100644 --- a/packages/blade/src/components/Card/CardHeader.tsx +++ b/packages/blade/src/components/Card/CardHeader.tsx @@ -2,6 +2,7 @@ import React from 'react'; import { useVerifyInsideCard } from './CardContext'; import { ComponentIds } from './Card'; +import type { CardSpacingValueType } from './types'; import type { BadgeProps } from '~components/Badge'; import { Badge } from '~components/Badge'; import type { LinkProps } from '~components/Link'; @@ -13,7 +14,7 @@ import type { CounterProps } from '~components/Counter'; import { Divider } from '~components/Divider'; import BaseBox from '~components/Box/BaseBox'; import type { TextProps, TextVariant } from '~components/Typography'; -import { Heading, Text } from '~components/Typography'; +import { Text } from '~components/Typography'; import type { IconComponent } from '~components/Icons'; import { minHeight } from '~components/Button/BaseButton/buttonTokens'; import { metaAttribute, MetaConstants } from '~utils/metaAttribute'; @@ -23,11 +24,13 @@ import { makeSpace } from '~utils/makeSpace'; import { getComponentId, isValidAllowedChildren } from '~utils/isValidAllowedChildren'; import { throwBladeError } from '~utils/logger'; import { useVerifyAllowedChildren } from '~utils/useVerifyAllowedChildren/useVerifyAllowedChildren'; +import type { AmountProps } from '~components/Amount'; +import { Amount } from '~components/Amount'; const _CardHeaderIcon = ({ icon: Icon }: { icon: IconComponent }): React.ReactElement => { useVerifyInsideCard('CardHeaderIcon'); - return ; + return ; }; const CardHeaderIcon = assignWithoutSideEffects(_CardHeaderIcon, { componentId: ComponentIds.CardHeaderIcon, @@ -51,6 +54,16 @@ const CardHeaderBadge = assignWithoutSideEffects(_CardHeaderBadge, { componentId: ComponentIds.CardHeaderBadge, }); +const _CardHeaderAmount = (props: AmountProps): React.ReactElement => { + useVerifyInsideCard('CardHeaderAmount'); + + return ; +}; + +const CardHeaderAmount = assignWithoutSideEffects(_CardHeaderAmount, { + componentId: ComponentIds.CardHeaderAmount, +}); + const _CardHeaderText = (props: TextProps<{ variant: TextVariant }>): React.ReactElement => { useVerifyInsideCard('CardHeaderText'); @@ -91,9 +104,27 @@ const CardHeaderIconButton = assignWithoutSideEffects(_CardHeaderIconButton, { type CardHeaderProps = { children?: React.ReactNode; + /** + * For spacing between divider and header title + */ + paddingBottom?: CardSpacingValueType; + /** + * For spacing between body content and divider + */ + marginBottom?: CardSpacingValueType; + /** + * @default true + */ + showDivider?: boolean; } & TestID; -const _CardHeader = ({ children, testID }: CardHeaderProps): React.ReactElement => { +const _CardHeader = ({ + children, + testID, + marginBottom = 'spacing.4', + paddingBottom = 'spacing.4', + showDivider = true, +}: CardHeaderProps): React.ReactElement => { useVerifyInsideCard('CardHeader'); useVerifyAllowedChildren({ children, @@ -103,18 +134,18 @@ const _CardHeader = ({ children, testID }: CardHeaderProps): React.ReactElement return ( {children} - + {showDivider ? : null} ); }; @@ -167,13 +198,13 @@ const _CardHeaderLeading = ({ - + {title} - + {suffix} {subtitle && ( - + {subtitle} )} @@ -199,6 +230,7 @@ const headerTrailingAllowedComponents = [ ComponentIds.CardHeaderText, ComponentIds.CardHeaderIconButton, ComponentIds.CardHeaderBadge, + ComponentIds.CardHeaderAmount, ]; const _CardHeaderTrailing = ({ visual }: CardHeaderTrailingProps): React.ReactElement => { @@ -230,5 +262,6 @@ export { CardHeaderCounter, CardHeaderText, CardHeaderLink, + CardHeaderAmount, CardHeaderIconButton, }; diff --git a/packages/blade/src/components/Card/CardInteractive.stories.tsx b/packages/blade/src/components/Card/CardInteractive.stories.tsx index 77193c0b338..d92aac687f2 100644 --- a/packages/blade/src/components/Card/CardInteractive.stories.tsx +++ b/packages/blade/src/components/Card/CardInteractive.stories.tsx @@ -16,7 +16,7 @@ import { CardHeaderCounter, CardHeaderBadge, } from '.'; -import { Code, Text, Title } from '~components/Typography'; +import { Code, Text, Heading } from '~components/Typography'; import { RupeeIcon } from '~components/Icons'; import { Link } from '~components/Link'; import { Box } from '~components/Box'; @@ -35,14 +35,9 @@ const Page = (): React.ReactElement => { - Usage + Usage {` @@ -92,9 +87,9 @@ const Page = (): React.ReactElement => { value="free" name="pricing-card" /> - + - + Free @@ -116,9 +111,9 @@ const Page = (): React.ReactElement => { value="standard" name="pricing-card" /> - + - + Standard @@ -140,9 +135,9 @@ const Page = (): React.ReactElement => { value="premium" name="pricing-card" /> - + - + Premium @@ -282,7 +277,7 @@ const CardTemplate: StoryFn = (args): React.ReactElement => { href={args.href} target={args.target} accessibilityLabel={args.accessibilityLabel} - surfaceLevel={args.surfaceLevel} + backgroundColor={args.backgroundColor} elevation={args.elevation} padding={args.padding} width={{ s: '100%', m: '400px' }} @@ -294,7 +289,7 @@ const CardTemplate: StoryFn = (args): React.ReactElement => { prefix={} suffix={} /> - NEW} /> + NEW} /> @@ -347,13 +342,13 @@ export const ClickableCard = (): React.ReactElement => { Card Clicked:{' '} - + {cardClickCount} Button Clicked:{' '} - + {buttonClickCount} @@ -516,9 +511,9 @@ const SingleSelectCardWeb = (): React.ReactElement => { value="free" name="pricing-card" /> - + - + Free @@ -540,9 +535,9 @@ const SingleSelectCardWeb = (): React.ReactElement => { value="standard" name="pricing-card" /> - + - + Standard @@ -563,9 +558,9 @@ const SingleSelectCardWeb = (): React.ReactElement => { value="premium" name="pricing-card" /> - + - + Premium @@ -607,9 +602,9 @@ const MultiSelectCardWeb = (): React.ReactElement => { value="free" name="pricing-card" /> - + - + Free @@ -627,9 +622,9 @@ const MultiSelectCardWeb = (): React.ReactElement => { value="standard" name="pricing-card" /> - + - + Standard @@ -646,9 +641,9 @@ const MultiSelectCardWeb = (): React.ReactElement => { value="premium" name="pricing-card" /> - + - + Premium @@ -681,9 +676,9 @@ const SingleSelectCardReactNative = (): React.ReactElement => { isSelected={selected === 'free'} > - + - + Free @@ -700,9 +695,9 @@ const SingleSelectCardReactNative = (): React.ReactElement => { isSelected={selected === 'standard'} > - + - + Standard @@ -718,9 +713,9 @@ const SingleSelectCardReactNative = (): React.ReactElement => { isSelected={selected === 'premium'} > - + - + Premium @@ -761,9 +756,9 @@ const MultiSelectCardReactNative = (): React.ReactElement => { shouldScaleOnHover > - + - + Free @@ -780,9 +775,9 @@ const MultiSelectCardReactNative = (): React.ReactElement => { shouldScaleOnHover > - + - + Standard @@ -798,9 +793,9 @@ const MultiSelectCardReactNative = (): React.ReactElement => { shouldScaleOnHover > - + - + Premium @@ -834,12 +829,12 @@ const RadioCard = ({ value, label }: { value: string; label: string }) => { - {label} - Issued + {label} + Issued 13 Aug’23 - + Un-billed/₹1,000 @@ -895,13 +890,13 @@ const CheckboxCard = ({ value, label }: { value: string; label: string }) => { - {label} - Issued + {label} + Issued 13 Aug’23 - - Un-billed/₹1,000 + + Un-billed | ₹1,000 diff --git a/packages/blade/src/components/Card/CardRoot.native.tsx b/packages/blade/src/components/Card/CardRoot.native.tsx index 1db40c7083e..757288d0edc 100644 --- a/packages/blade/src/components/Card/CardRoot.native.tsx +++ b/packages/blade/src/components/Card/CardRoot.native.tsx @@ -11,7 +11,9 @@ import { logger } from '~utils/logger'; import { makeAccessible } from '~utils/makeAccessible/makeAccessible.native'; const StyledCardRoot = styled(BaseBox)(({ isSelected, ...props }) => { - const selectedColor = isSelected ? props.theme.colors.brand.primary[500] : 'transparent'; + const selectedColor = isSelected + ? props.theme.colors.surface.border.primary.normal + : 'transparent'; return { border: `${props.theme.border.width.thicker}px solid ${selectedColor}`, }; diff --git a/packages/blade/src/components/Card/CardRoot.web.tsx b/packages/blade/src/components/Card/CardRoot.web.tsx index 29e458f3756..bdbd361aad4 100644 --- a/packages/blade/src/components/Card/CardRoot.web.tsx +++ b/packages/blade/src/components/Card/CardRoot.web.tsx @@ -9,10 +9,12 @@ import { useIsMobile } from '~utils/useIsMobile'; const StyledCardRoot = styled(BaseBox)( ({ theme, isSelected, isFocused, shouldScaleOnHover, isPressed, isMobile }) => { - const selectedColor = isSelected ? theme.colors.brand.primary[500] : 'transparent'; + const selectedColor = isSelected ? theme.colors.surface.border.primary.normal : 'transparent'; const selectedBorder = `0px 0px 0px ${theme.border.width.thicker}px ${selectedColor}`; // focused state - const focusRing = isFocused ? `, 0px 0px 0px 4px ${theme.colors.brand.primary[400]}` : ''; + const focusRing = isFocused + ? `, 0px 0px 0px 4px ${theme.colors.surface.border.primary.muted}` + : ''; return { // Selected state diff --git a/packages/blade/src/components/Card/CardSurface.native.tsx b/packages/blade/src/components/Card/CardSurface.native.tsx index 1f6eb4867d0..19f031a1c18 100644 --- a/packages/blade/src/components/Card/CardSurface.native.tsx +++ b/packages/blade/src/components/Card/CardSurface.native.tsx @@ -3,36 +3,30 @@ import styled from 'styled-components/native'; import BaseBox from '~components/Box/BaseBox'; import type { BaseBoxProps } from '~components/Box/BaseBox'; import type { Elevation } from '~tokens/global'; -import type { SurfaceLevels } from '~tokens/theme/theme'; import { castNativeType } from '~utils'; const CardSurfaceStyled = styled(BaseBox)<{ - surfaceLevel: Exclude; elevation: keyof Elevation; -}>(({ surfaceLevel, elevation, theme }) => { - const backgroundColor = theme.colors.surface.background[`level${surfaceLevel}`].lowContrast; +}>(({ elevation, theme }) => { return { width: '100%', display: 'flex', flexDirection: 'column', borderWidth: elevation === 'none' ? `${theme.border.width.thin}` : undefined, borderStyle: elevation === 'none' ? 'solid' : undefined, - borderColor: - elevation === 'none' ? `${theme.colors.surface.border.normal.lowContrast}` : undefined, - backgroundColor, + borderColor: elevation === 'none' ? `${theme.colors.surface.border.gray.muted}` : undefined, }; }); type CardSurfaceProps = { children: React.ReactNode; - surfaceLevel: Exclude; elevation: keyof Elevation; } & Omit; const CardSurface = ({ children, - surfaceLevel, elevation, + backgroundColor, onTouchEnd, onTouchStart, onPointerDown, @@ -43,7 +37,7 @@ const CardSurface = ({ return ( ( - ({ surfaceLevel, elevation, theme }) => { - const backgroundColor = theme.colors.surface.background[`level${surfaceLevel}`].lowContrast; - - return { - width: '100%', - display: 'flex', - position: 'relative', - flexDirection: 'column', - borderWidth: elevation === 'none' ? `${theme.border.width.thin}` : undefined, - borderStyle: elevation === 'none' ? 'solid' : undefined, - borderColor: - elevation === 'none' ? `${theme.colors.surface.border.normal.lowContrast}` : undefined, - backgroundColor, - boxSizing: 'border-box', - }; - }, -); +const CardSurface = styled(BaseBox)(({ elevation, theme }) => { + return { + width: '100%', + display: 'flex', + position: 'relative', + flexDirection: 'column', + borderWidth: elevation === 'none' ? `${theme.border.width.thin}` : undefined, + borderStyle: elevation === 'none' ? 'solid' : undefined, + borderColor: elevation === 'none' ? `${theme.colors.surface.border.gray.muted}` : undefined, + boxSizing: 'border-box', + }; +}); export { CardSurface }; diff --git a/packages/blade/src/components/Card/__tests__/Card.native.test.tsx b/packages/blade/src/components/Card/__tests__/Card.native.test.tsx index 535aa35e2b7..b40f416fd3f 100644 --- a/packages/blade/src/components/Card/__tests__/Card.native.test.tsx +++ b/packages/blade/src/components/Card/__tests__/Card.native.test.tsx @@ -23,7 +23,7 @@ import BaseBox from '~components/Box/BaseBox'; describe('', () => { it('should render a plain Card', () => { const { toJSON } = renderWithTheme( - + Plain Card @@ -131,7 +131,7 @@ describe('', () => { } + prefix={} /> , @@ -163,7 +163,7 @@ describe('', () => { , ), ).toThrow( - '[Blade: CardHeaderTrailing]: Only one of `CardHeaderLink, CardHeaderText, CardHeaderIconButton, CardHeaderBadge` component is accepted in visual', + '[Blade: CardHeaderTrailing]: Only one of `CardHeaderLink, CardHeaderText, CardHeaderIconButton, CardHeaderBadge, CardHeaderAmount` component is accepted in visual', ); mockConsoleError.mockRestore(); }); diff --git a/packages/blade/src/components/Card/__tests__/Card.web.test.tsx b/packages/blade/src/components/Card/__tests__/Card.web.test.tsx index 4ca682772e9..43e463fb159 100644 --- a/packages/blade/src/components/Card/__tests__/Card.web.test.tsx +++ b/packages/blade/src/components/Card/__tests__/Card.web.test.tsx @@ -24,7 +24,7 @@ import { Badge } from '~components/Badge'; describe('', () => { it('should render a plain Card', () => { const { container } = renderWithTheme( - + Plain Card , ); @@ -128,7 +128,7 @@ describe('', () => { } + prefix={} /> , @@ -160,7 +160,7 @@ describe('', () => { , ), ).toThrow( - '[Blade: CardHeaderTrailing]: Only one of `CardHeaderLink, CardHeaderText, CardHeaderIconButton, CardHeaderBadge` component is accepted in visual', + '[Blade: CardHeaderTrailing]: Only one of `CardHeaderLink, CardHeaderText, CardHeaderIconButton, CardHeaderBadge, CardHeaderAmount` component is accepted in visual', ); mockConsoleError.mockRestore(); }); diff --git a/packages/blade/src/components/Card/__tests__/__snapshots__/Card.native.test.tsx.snap b/packages/blade/src/components/Card/__tests__/__snapshots__/Card.native.test.tsx.snap index 92121b48c01..498dd46c4f2 100644 --- a/packages/blade/src/components/Card/__tests__/__snapshots__/Card.native.test.tsx.snap +++ b/packages/blade/src/components/Card/__tests__/__snapshots__/Card.native.test.tsx.snap @@ -29,12 +29,14 @@ exports[` should render a Card with Footer 1`] = ` } > should render a Card with Footer 1`] = ` "textAlign": "left", }, { - "elevation": 4, - "shadowColor": "hsla(217, 56%, 17%, 0.64)", + "elevation": 8, + "shadowColor": "hsla(217, 56%, 17%, 0.4)", "shadowOffset": { - "height": 3, + "height": 2, "width": 0, }, - "shadowOpacity": 0.12, - "shadowRadius": 2, + "shadowOpacity": 0.2, + "shadowRadius": 4, }, [ { - "backgroundColor": "hsla(0, 0%, 100%, 1)", "display": "flex", "flexDirection": "column", "width": "100%", @@ -62,7 +63,6 @@ exports[` should render a Card with Footer 1`] = ` ], ] } - surfaceLevel={2} textAlign="left" > should render a Card with Footer 1`] = ` > should render a Card with Footer 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -112,38 +113,27 @@ exports[` should render a Card with Footer 1`] = ` style={ [ { - "marginTop": "auto", + "marginTop": 12, }, ] } > - should render a Card with Footer 1`] = ` "display": "flex", "flexDirection": "column", "justifyContent": "space-between", - "marginTop": 24, + "paddingTop": 12, }, ] } @@ -181,21 +171,22 @@ exports[` should render a Card with Footer 1`] = ` > should render a Card with Footer 1`] = ` should render a Card with Footer 1`] = ` } } accessible={true} - activeBackgroundColor="hsla(218, 89%, 51%, 0.32)" - activeBorderColor="hsla(218, 89%, 51%, 1)" - borderRadius="2px" + borderRadius="4px" borderWidth="1px" buttonPaddingBottom="0px" buttonPaddingLeft="20px" @@ -304,14 +294,14 @@ exports[` should render a Card with Footer 1`] = ` buttonPaddingTop="0px" collapsable={false} data-blade-component="button" - defaultBackgroundColor="hsla(218, 89%, 51%, 0)" - defaultBorderColor="hsla(218, 89%, 51%, 1)" - focusBackgroundColor="hsla(218, 89%, 51%, 0.18)" - focusBorderColor="hsla(218, 89%, 51%, 1)" - focusRingColor="hsla(218, 89%, 51%, 0.18)" + defaultBackgroundColor="hsla(0, 0%, 100%, 0)" + defaultBorderColor="hsla(227, 100%, 59%, 1)" + focusBackgroundColor="hsla(227, 100%, 59%, 0.09)" + focusBorderColor="hsla(227, 100%, 59%, 1)" + focusRingColor="hsla(227, 100%, 59%, 0.18)" focusable={true} - hoverBackgroundColor="hsla(218, 89%, 51%, 0.09)" - hoverBorderColor="hsla(218, 89%, 51%, 1)" + hoverBackgroundColor="hsla(227, 100%, 59%, 0.09)" + hoverBorderColor="hsla(227, 100%, 59%, 1)" isFullWidth={true} isLoading={false} minHeight="36px" @@ -332,15 +322,16 @@ exports[` should render a Card with Footer 1`] = ` { "alignItems": "center", "alignSelf": "center", - "backgroundColor": "hsla(218, 89%, 51%, 0)", - "borderColor": "hsla(218, 89%, 51%, 1)", - "borderRadius": 2, + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(227, 100%, 59%, 1)", + "borderRadius": 4, "borderStyle": "solid", "borderWidth": 1, "cursor": "pointer", "display": "flex", "justifyContent": "center", "minHeight": 36, + "overflow": "hidden", "paddingBottom": 0, "paddingLeft": 20, "paddingRight": 20, @@ -351,8 +342,8 @@ exports[` should render a Card with Footer 1`] = ` "width": "100%", }, { - "backgroundColor": "hsla(218, 89%, 51%, 0)", - "borderColor": "hsla(218, 89%, 51%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(227, 100%, 59%, 1)", }, ] } @@ -375,28 +366,31 @@ exports[` should render a Card with Footer 1`] = ` "flexGrow": 1, "flexShrink": 1, "justifyContent": "center", + "zIndex": 1, }, { "opacity": 1, }, ] } + zIndex={1} > should render a Card with Footer 1`] = ` } } accessible={true} - activeBackgroundColor="hsla(230, 100%, 42%, 1)" - activeBorderColor="hsla(230, 100%, 42%, 1)" - borderRadius="2px" - borderWidth="1px" + borderRadius="4px" + borderWidth="0px" buttonPaddingBottom="0px" buttonPaddingLeft="20px" buttonPaddingRight="20px" buttonPaddingTop="0px" collapsable={false} data-blade-component="button" - defaultBackgroundColor="hsla(218, 89%, 51%, 1)" - defaultBorderColor="hsla(218, 89%, 51%, 1)" - focusBackgroundColor="hsla(227, 100%, 45%, 1)" - focusBorderColor="hsla(227, 100%, 45%, 1)" - focusRingColor="hsla(218, 89%, 51%, 0.18)" + defaultBackgroundColor="hsla(227, 100%, 59%, 1)" + defaultBorderColor="hsla(227, 100%, 59%, 1)" + focusBackgroundColor="hsla(227, 71%, 51%, 1)" + focusBorderColor="hsla(227, 100%, 59%, 1)" + focusRingColor="hsla(227, 100%, 59%, 0.18)" focusable={true} - hoverBackgroundColor="hsla(223, 95%, 48%, 1)" - hoverBorderColor="hsla(223, 95%, 48%, 1)" + hoverBackgroundColor="hsla(227, 71%, 51%, 1)" + hoverBorderColor="hsla(227, 100%, 59%, 1)" isFullWidth={true} isLoading={false} minHeight="36px" @@ -497,15 +489,16 @@ exports[` should render a Card with Footer 1`] = ` { "alignItems": "center", "alignSelf": "center", - "backgroundColor": "hsla(218, 89%, 51%, 1)", - "borderColor": "hsla(218, 89%, 51%, 1)", - "borderRadius": 2, + "backgroundColor": "hsla(227, 100%, 59%, 1)", + "borderColor": "hsla(227, 100%, 59%, 1)", + "borderRadius": 4, "borderStyle": "solid", - "borderWidth": 1, + "borderWidth": 0, "cursor": "pointer", "display": "flex", "justifyContent": "center", "minHeight": 36, + "overflow": "hidden", "paddingBottom": 0, "paddingLeft": 20, "paddingRight": 20, @@ -516,8 +509,8 @@ exports[` should render a Card with Footer 1`] = ` "width": "100%", }, { - "backgroundColor": "hsla(218, 89%, 51%, 1)", - "borderColor": "hsla(218, 89%, 51%, 1)", + "backgroundColor": "hsla(227, 100%, 59%, 1)", + "borderColor": "hsla(227, 100%, 59%, 1)", }, ] } @@ -540,28 +533,31 @@ exports[` should render a Card with Footer 1`] = ` "flexGrow": 1, "flexShrink": 1, "justifyContent": "center", + "zIndex": 1, }, { "opacity": 1, }, ] } + zIndex={1} > should render a Card with Header 1`] = ` } > should render a Card with Header 1`] = ` "textAlign": "left", }, { - "elevation": 4, - "shadowColor": "hsla(217, 56%, 17%, 0.64)", + "elevation": 8, + "shadowColor": "hsla(217, 56%, 17%, 0.4)", "shadowOffset": { - "height": 3, + "height": 2, "width": 0, }, - "shadowOpacity": 0.12, - "shadowRadius": 2, + "shadowOpacity": 0.2, + "shadowRadius": 4, }, [ { - "backgroundColor": "hsla(0, 0%, 100%, 1)", "display": "flex", "flexDirection": "column", "width": "100%", @@ -653,7 +650,6 @@ exports[` should render a Card with Header 1`] = ` ], ] } - surfaceLevel={2} textAlign="left" > should render a Card with Header 1`] = ` style={ [ { - "marginBottom": 24, + "marginBottom": 12, }, ] } @@ -677,7 +673,7 @@ exports[` should render a Card with Header 1`] = ` "display": "flex", "flexDirection": "row", "justifyContent": "space-between", - "marginBottom": 24, + "paddingBottom": 12, }, ] } @@ -715,12 +711,12 @@ exports[` should render a Card with Header 1`] = ` should render a Card with Header 1`] = ` ], { "flex": 0, - "height": 24, - "width": 24, + "height": 20, + "width": 20, }, ] } vbHeight={24} vbWidth={24} - width="24px" + width="20px" > should render a Card with Header 1`] = ` > should render a Card with Header 1`] = ` /> should render a Card with Header 1`] = ` should render a Card with Header 1`] = ` } > should render a Card with Header 1`] = ` } > should render a Card with Header 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render a Card with Header 1`] = ` should render a Card with Header 1`] = ` } > should render a Card with Header 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render a Card with Header 1`] = ` should render a Card with Header 1`] = ` > should render a Card with Header 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -1195,12 +1194,14 @@ exports[` should render a Card without 0 padding 1`] = ` } > should render a Card without 0 padding 1`] = ` "textAlign": "left", }, { - "elevation": 4, - "shadowColor": "hsla(217, 56%, 17%, 0.64)", + "elevation": 8, + "shadowColor": "hsla(217, 56%, 17%, 0.4)", "shadowOffset": { - "height": 3, + "height": 2, "width": 0, }, - "shadowOpacity": 0.12, - "shadowRadius": 2, + "shadowOpacity": 0.2, + "shadowRadius": 4, }, [ { - "backgroundColor": "hsla(0, 0%, 100%, 1)", "display": "flex", "flexDirection": "column", "width": "100%", @@ -1228,7 +1228,6 @@ exports[` should render a Card without 0 padding 1`] = ` ], ] } - surfaceLevel={2} textAlign="left" > should render a border when elevation is \`none\` 1`] = ` } > should render a border when elevation is \`none\` 1`] = ` }, [ { - "backgroundColor": "hsla(0, 0%, 100%, 1)", - "borderColor": "hsla(216, 15%, 54%, 0.18)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderStyle": "solid", "borderWidth": 1, "display": "flex", @@ -1311,7 +1311,6 @@ exports[` should render a border when elevation is \`none\` 1`] = ` ], ] } - surfaceLevel={2} textAlign="left" > should render a border when elevation is \`none\` 1`] = ` > should render a border when elevation is \`none\` 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -1390,12 +1390,14 @@ exports[` should render a plain Card 1`] = ` } > should render a plain Card 1`] = ` "textAlign": "left", }, { - "elevation": 26, - "shadowColor": "hsla(217, 56%, 17%, 0.64)", + "elevation": 24, + "shadowColor": "hsla(217, 56%, 17%, 0.8)", "shadowOffset": { - "height": 18, + "height": 6, "width": 0, }, - "shadowOpacity": 0.2, - "shadowRadius": 12, + "shadowOpacity": 0.16, + "shadowRadius": 14, }, [ { - "backgroundColor": "hsla(220, 27%, 98%, 1)", "display": "flex", "flexDirection": "column", "width": "100%", @@ -1423,7 +1424,6 @@ exports[` should render a plain Card 1`] = ` ], ] } - surfaceLevel={3} textAlign="left" > should render a plain Card 1`] = ` > should render a plain Card 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, diff --git a/packages/blade/src/components/Card/__tests__/__snapshots__/Card.ssr.test.tsx.snap b/packages/blade/src/components/Card/__tests__/__snapshots__/Card.ssr.test.tsx.snap index 3ffcce18649..c4bc724041f 100644 --- a/packages/blade/src/components/Card/__tests__/__snapshots__/Card.ssr.test.tsx.snap +++ b/packages/blade/src/components/Card/__tests__/__snapshots__/Card.ssr.test.tsx.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` should render a Card with Header & Footer 1`] = `"
Card Header

12

Card subtitle

NEW

Plain Card

Card Footer

Card footer subtitle

"`; +exports[` should render a Card with Header & Footer 1`] = `"

Card Header

12

Card subtitle

NEW

Plain Card

Card Footer

Card footer subtitle

"`; exports[` should render a Card with Header & Footer 2`] = ` .c0.c0.c0.c0.c0 { @@ -11,12 +11,13 @@ exports[` should render a Card with Header & Footer 2`] = ` .c2.c2.c2.c2.c2 { text-align: left; padding: 24px; + background-color: hsla(0,0%,100%,1); border-radius: 4px; - box-shadow: 0 4px 8px -2px hsla(217,56%,17%,0.1),0 2px 4px -2px hsla(217,56%,17%,0.06); + box-shadow: 0px 2px 16px 0px hsla(217,56%,17%,0.10); } .c4.c4.c4.c4.c4 { - margin-bottom: 24px; + margin-bottom: 12px; } .c5.c5.c5.c5.c5 { @@ -31,7 +32,7 @@ exports[` should render a Card with Header & Footer 2`] = ` -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - margin-bottom: 24px; + padding-bottom: 12px; } .c6.c6.c6.c6.c6 { @@ -91,7 +92,8 @@ exports[` should render a Card with Header & Footer 2`] = ` } .c13.c13.c13.c13.c13 { - background-color: hsla(216,15%,54%,0.09); + min-height: 20px; + background-color: hsla(211,20%,52%,0.09); } .c15.c15.c15.c15.c15 { @@ -111,8 +113,6 @@ exports[` should render a Card with Header & Footer 2`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } @@ -125,24 +125,20 @@ exports[` should render a Card with Header & Footer 2`] = ` .c19.c19.c19.c19.c19 { text-align: left; - background-color: hsla(216,15%,54%,0.09); + height: 20px; + background-color: hsla(211,20%,52%,0.09); } .c22.c22.c22.c22.c22 { - border-width: 0px; - border-bottom-color: hsla(216,15%,54%,0.18); - border-style: solid; + border-bottom-color: hsla(211,20%,52%,0.18); + border-bottom-style: solid; } .c25.c25.c25.c25.c25 { - margin-top: auto; + margin-top: 12px; } .c26.c26.c26.c26.c26 { - margin-top: 24px; -} - -.c27.c27.c27.c27.c27 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -158,14 +154,14 @@ exports[` should render a Card with Header & Footer 2`] = ` -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; - margin-top: 24px; + padding-top: 12px; } -.c28.c28.c28.c28.c28 { +.c27.c27.c27.c27.c27 { text-align: left; } -.c31.c31.c31.c31.c31 { +.c30.c30.c30.c30.c30 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -180,14 +176,14 @@ exports[` should render a Card with Header & Footer 2`] = ` margin-left: 16px; } -.c32.c32.c32.c32.c32 { +.c31.c31.c31.c31.c31 { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; } -.c34.c34.c34.c34.c34 { +.c33.c33.c33.c33.c33 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -206,9 +202,10 @@ exports[` should render a Card with Header & Footer 2`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } -.c37.c37.c37.c37.c37 { +.c36.c36.c36.c36.c36 { margin-left: 16px; } @@ -222,7 +219,6 @@ exports[` should render a Card with Header & Footer 2`] = ` -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - background-color: hsla(0,0%,100%,1); box-sizing: border-box; } @@ -248,7 +244,7 @@ exports[` should render a Card with Header & Footer 2`] = ` } .c20.c20.c20.c20.c20 { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(211,20%,52%,0.09); border-radius: 9999px; display: -webkit-box; display: -webkit-flex; @@ -263,27 +259,35 @@ exports[` should render a Card with Header & Footer 2`] = ` } .c10.c10.c10.c10.c10 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 1rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.5rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c16.c16.c16.c16.c16 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,33%,21%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -295,28 +299,36 @@ exports[` should render a Card with Header & Footer 2`] = ` } .c17.c17.c17.c17.c17 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c21.c21.c21.c21.c21 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,33%,21%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -327,80 +339,100 @@ exports[` should render a Card with Header & Footer 2`] = ` } .c24.c24.c24.c24.c24 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } -.c29.c29.c29.c29.c29 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; +.c28.c28.c28.c28.c28 { + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } -.c30.c30.c30.c30.c30 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; +.c29.c29.c29.c29.c29 { + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } -.c36.c36.c36.c36.c36 { - color: hsla(218,89%,51%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; +.c35.c35.c35.c35.c35 { + color: hsla(227,100%,59%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; } -.c39.c39.c39.c39.c39 { +.c38.c38.c38.c38.c38 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; } -.c33.c33.c33.c33.c33 { +.c32.c32.c32.c32.c32 { min-height: 36px; width: 100%; cursor: pointer; - background-color: hsla(218,89%,51%,0); - border-color: hsla(218,89%,51%,1); + background-color: hsla(0,0%,100%,0); + border-color: hsla(227,100%,59%,1); border-width: 1px; - border-radius: 2px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -416,6 +448,7 @@ exports[` should render a Card with Header & Footer 2`] = ` align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -429,40 +462,40 @@ exports[` should render a Card with Header & Footer 2`] = ` position: relative; } -.c33.c33.c33.c33.c33:hover { - background-color: hsla(218,89%,51%,0.09); - border-color: hsla(218,89%,51%,1); +.c32.c32.c32.c32.c32:hover { + background-color: hsla(227,100%,59%,0.09); + border-color: hsla(227,100%,59%,1); } -.c33.c33.c33.c33.c33:active { - background-color: hsla(218,89%,51%,0.32); - border-color: hsla(218,89%,51%,1); +.c32.c32.c32.c32.c32:active { + background-color: hsla(227,100%,59%,0.09); + border-color: hsla(227,100%,59%,1); } -.c33.c33.c33.c33.c33:focus-visible { - background-color: hsla(218,89%,51%,0.18); - border-color: hsla(218,89%,51%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); +.c32.c32.c32.c32.c32:focus-visible { + background-color: hsla(227,100%,59%,0.09); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } -.c33.c33.c33.c33.c33 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; +.c32.c32.c32.c32.c32 * { + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); } -.c38.c38.c38.c38.c38 { +.c37.c37.c37.c37.c37 { min-height: 36px; width: 100%; cursor: pointer; - background-color: hsla(218,89%,51%,1); - border-color: hsla(218,89%,51%,1); - border-width: 1px; - border-radius: 2px; + background-color: hsla(227,100%,59%,1); + border-color: hsla(227,100%,59%,1); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -478,6 +511,7 @@ exports[` should render a Card with Header & Footer 2`] = ` align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -491,38 +525,38 @@ exports[` should render a Card with Header & Footer 2`] = ` position: relative; } -.c38.c38.c38.c38.c38:hover { - background-color: hsla(223,95%,48%,1); - border-color: hsla(223,95%,48%,1); +.c37.c37.c37.c37.c37:hover { + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } -.c38.c38.c38.c38.c38:active { - background-color: hsla(230,100%,42%,1); - border-color: hsla(230,100%,42%,1); +.c37.c37.c37.c37.c37:active { + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } -.c38.c38.c38.c38.c38:focus-visible { - background-color: hsla(227,100%,45%,1); - border-color: hsla(227,100%,45%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); +.c37.c37.c37.c37.c37:focus-visible { + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } -.c38.c38.c38.c38.c38 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; +.c37.c37.c37.c37.c37 * { + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); } -.c35.c35.c35.c35.c35 { +.c34.c34.c34.c34.c34 { opacity: 1; } .c14.c14.c14.c14.c14 { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(211,20%,52%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -538,6 +572,7 @@ exports[` should render a Card with Header & Footer 2`] = ` } .c23.c23.c23.c23.c23 { + border-width: 0; border-bottom-style: solid; border-bottom-width: 1px; -webkit-box-flex: 1; @@ -548,31 +583,31 @@ exports[` should render a Card with Header & Footer 2`] = ` @media screen and (min-width:320px) { .c22.c22.c22.c22.c22 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:480px) { .c22.c22.c22.c22.c22 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:768px) { .c22.c22.c22.c22.c22 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1024px) { .c22.c22.c22.c22.c22 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1200px) { .c22.c22.c22.c22.c22 { - border-style: solid; + border-bottom-style: solid; } } @@ -609,25 +644,25 @@ exports[` should render a Card with Header & Footer 2`] = ` class="Svgweb__StyledSvg-vcmjs8-0" data-blade-component="icon" fill="none" - height="24px" + height="20px" viewBox="0 0 24 24" - width="24px" + width="20px" > @@ -640,12 +675,12 @@ exports[` should render a Card with Header & Footer 2`] = ` class="c9" data-blade-component="base-box" > -
Card Header -
+

should render a Card with Header & Footer 2`] = ` class="c25" data-blade-component="card-footer" > -
diff --git a/packages/blade/src/components/Checkbox/__tests__/__snapshots__/CheckboxGroup.native.test.tsx.snap b/packages/blade/src/components/Checkbox/__tests__/__snapshots__/CheckboxGroup.native.test.tsx.snap index 6ed758359d1..8497d2b2f86 100644 --- a/packages/blade/src/components/Checkbox/__tests__/__snapshots__/CheckboxGroup.native.test.tsx.snap +++ b/packages/blade/src/components/Checkbox/__tests__/__snapshots__/CheckboxGroup.native.test.tsx.snap @@ -65,23 +65,24 @@ exports[` should render with label 1`] = ` > should render with label 1`] = ` > should render with label 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -282,8 +284,8 @@ exports[` should render with label 1`] = ` [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(214, 18%, 69%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 27%, 76%, 1)", "borderRadius": 2, "borderStyle": "solid", "borderWidth": 1.5, @@ -313,20 +315,22 @@ exports[` should render with label 1`] = ` /> should render with label 1`] = ` [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(214, 18%, 69%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 27%, 76%, 1)", "borderRadius": 2, "borderStyle": "solid", "borderWidth": 1.5, @@ -478,20 +482,22 @@ exports[` should render with label 1`] = ` /> should render with label 1`] = ` [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(214, 18%, 69%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 27%, 76%, 1)", "borderRadius": 2, "borderStyle": "solid", "borderWidth": 1.5, @@ -643,20 +649,22 @@ exports[` should render with label 1`] = ` /> should render with label 2`] = ` > should render with label 2`] = ` > should render with label 2`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -967,8 +977,8 @@ exports[` should render with label 2`] = ` [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(214, 18%, 69%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 27%, 76%, 1)", "borderRadius": 2, "borderStyle": "solid", "borderWidth": 1.5, @@ -998,20 +1008,22 @@ exports[` should render with label 2`] = ` /> should render with label 2`] = ` [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(214, 18%, 69%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 27%, 76%, 1)", "borderRadius": 2, "borderStyle": "solid", "borderWidth": 1.5, @@ -1163,20 +1175,22 @@ exports[` should render with label 2`] = ` /> should render with label 2`] = ` [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(214, 18%, 69%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 27%, 76%, 1)", "borderRadius": 2, "borderStyle": "solid", "borderWidth": 1.5, @@ -1328,20 +1342,22 @@ exports[` should render with label 2`] = ` /> should render with label 2`] = ` > should render errorText when validationState is set to error 1`] = `"

Select fruits

,Invalid selection

Invalid selection
"`; +exports[` should render errorText when validationState is set to error 1`] = `"

Select fruits

,Invalid selection

Invalid selection
"`; exports[` should render errorText when validationState is set to error 2`] = ` .c9.c9.c9.c9.c9 { @@ -26,8 +26,8 @@ exports[` should render errorText when validationState is set t border-style: solid; margin: 2px; border-radius: 2px; - background-color: hsla(9,91%,56%,0.09); - border-color: hsla(8,73%,47%,1); + background-color: hsla(0,0%,100%,0); + border-color: hsla(4,74%,49%,1); } .c10.c10.c10.c10.c10 { @@ -109,14 +109,18 @@ exports[` should render errorText when validationState is set t } .c3.c3.c3.c3.c3 { - color: hsla(217,18%,45%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -127,40 +131,52 @@ exports[` should render errorText when validationState is set t } .c5.c5.c5.c5.c5 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c12.c12.c12.c12.c12 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c17.c17.c17.c17.c17 { - color: hsla(8,73%,47%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(4,74%,49%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.6875rem; font-weight: 400; font-style: italic; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } @@ -209,8 +225,14 @@ exports[` should render errorText when validationState is set t } .c8.c8.c8.c8.c8:focus-visible + div { - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); }
should render errorText when validationState is set t clip-rule="evenodd" d="M1.3335 3.99984C1.3335 3.81574 1.48273 3.6665 1.66683 3.6665H6.3335C6.51759 3.6665 6.66683 3.81574 6.66683 3.99984C6.66683 4.18393 6.51759 4.33317 6.3335 4.33317H1.66683C1.48273 4.33317 1.3335 4.18393 1.3335 3.99984Z" data-blade-component="svg-path" - fill="hsla(220, 27%, 98%, 1)" + fill="hsla(0, 0%, 100%, 1)" fill-rule="evenodd" - stroke="hsla(220, 27%, 98%, 1)" + stroke="hsla(0, 0%, 100%, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="0.5" @@ -337,12 +359,12 @@ exports[` should render errorText when validationState is set t class="c11" data-blade-component="base-box" /> -
Apple -
+

@@ -400,9 +422,9 @@ exports[` should render errorText when validationState is set t clip-rule="evenodd" d="M1.3335 3.99984C1.3335 3.81574 1.48273 3.6665 1.66683 3.6665H6.3335C6.51759 3.6665 6.66683 3.81574 6.66683 3.99984C6.66683 4.18393 6.51759 4.33317 6.3335 4.33317H1.66683C1.48273 4.33317 1.3335 4.18393 1.3335 3.99984Z" data-blade-component="svg-path" - fill="hsla(220, 27%, 98%, 1)" + fill="hsla(0, 0%, 100%, 1)" fill-rule="evenodd" - stroke="hsla(220, 27%, 98%, 1)" + stroke="hsla(0, 0%, 100%, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="0.5" @@ -418,12 +440,12 @@ exports[` should render errorText when validationState is set t class="c11" data-blade-component="base-box" /> -
Mango -
+

@@ -481,9 +503,9 @@ exports[` should render errorText when validationState is set t clip-rule="evenodd" d="M1.3335 3.99984C1.3335 3.81574 1.48273 3.6665 1.66683 3.6665H6.3335C6.51759 3.6665 6.66683 3.81574 6.66683 3.99984C6.66683 4.18393 6.51759 4.33317 6.3335 4.33317H1.66683C1.48273 4.33317 1.3335 4.18393 1.3335 3.99984Z" data-blade-component="svg-path" - fill="hsla(220, 27%, 98%, 1)" + fill="hsla(0, 0%, 100%, 1)" fill-rule="evenodd" - stroke="hsla(220, 27%, 98%, 1)" + stroke="hsla(0, 0%, 100%, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="0.5" @@ -499,12 +521,12 @@ exports[` should render errorText when validationState is set t class="c11" data-blade-component="base-box" /> -
Orange -
+

@@ -532,18 +554,18 @@ exports[` should render errorText when validationState is set t @@ -553,7 +575,7 @@ exports[` should render errorText when validationState is set t /> Invalid selection diff --git a/packages/blade/src/components/Checkbox/__tests__/__snapshots__/CheckboxGroup.web.test.tsx.snap b/packages/blade/src/components/Checkbox/__tests__/__snapshots__/CheckboxGroup.web.test.tsx.snap index 4dafe2cad1e..b7fffc701a2 100644 --- a/packages/blade/src/components/Checkbox/__tests__/__snapshots__/CheckboxGroup.web.test.tsx.snap +++ b/packages/blade/src/components/Checkbox/__tests__/__snapshots__/CheckboxGroup.web.test.tsx.snap @@ -24,8 +24,8 @@ exports[` should render with help text 1`] = ` border-style: solid; margin: 2px; border-radius: 2px; - background-color: transparent; - border-color: hsla(214,18%,69%,1); + background-color: hsla(0,0%,100%,0); + border-color: hsla(211,27%,76%,1); } .c10.c10.c10.c10.c10 { @@ -103,14 +103,18 @@ exports[` should render with help text 1`] = ` } .c3.c3.c3.c3.c3 { - color: hsla(217,18%,45%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -121,40 +125,52 @@ exports[` should render with help text 1`] = ` } .c5.c5.c5.c5.c5 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c12.c12.c12.c12.c12 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c16.c16.c16.c16.c16 { - color: hsla(216,16%,60%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,22%,56%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.6875rem; font-weight: 400; font-style: italic; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } @@ -203,13 +219,19 @@ exports[` should render with help text 1`] = ` } .c8.c8.c8.c8.c8:focus-visible + div { - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); } .c8.c8.c8.c8.c8:hover + div { - border-color: hsla(214,18%,69%,1); - background-color: hsla(216,15%,54%,0.09); + border-color: hsla(211,27%,76%,1); + background-color: hsla(211,20%,52%,0.12); -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); -webkit-transition-duration: 70ms; @@ -319,9 +341,9 @@ exports[` should render with help text 1`] = ` clip-rule="evenodd" d="M1.3335 3.99984C1.3335 3.81574 1.48273 3.6665 1.66683 3.6665H6.3335C6.51759 3.6665 6.66683 3.81574 6.66683 3.99984C6.66683 4.18393 6.51759 4.33317 6.3335 4.33317H1.66683C1.48273 4.33317 1.3335 4.18393 1.3335 3.99984Z" data-blade-component="svg-path" - fill="hsla(220, 27%, 98%, 1)" + fill="hsla(0, 0%, 100%, 1)" fill-rule="evenodd" - stroke="hsla(220, 27%, 98%, 1)" + stroke="hsla(0, 0%, 100%, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="0.5" @@ -337,12 +359,12 @@ exports[` should render with help text 1`] = ` class="c11" data-blade-component="base-box" /> -
Apple -
+

@@ -399,9 +421,9 @@ exports[` should render with help text 1`] = ` clip-rule="evenodd" d="M1.3335 3.99984C1.3335 3.81574 1.48273 3.6665 1.66683 3.6665H6.3335C6.51759 3.6665 6.66683 3.81574 6.66683 3.99984C6.66683 4.18393 6.51759 4.33317 6.3335 4.33317H1.66683C1.48273 4.33317 1.3335 4.18393 1.3335 3.99984Z" data-blade-component="svg-path" - fill="hsla(220, 27%, 98%, 1)" + fill="hsla(0, 0%, 100%, 1)" fill-rule="evenodd" - stroke="hsla(220, 27%, 98%, 1)" + stroke="hsla(0, 0%, 100%, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="0.5" @@ -417,12 +439,12 @@ exports[` should render with help text 1`] = ` class="c11" data-blade-component="base-box" /> -
Mango -
+

@@ -479,9 +501,9 @@ exports[` should render with help text 1`] = ` clip-rule="evenodd" d="M1.3335 3.99984C1.3335 3.81574 1.48273 3.6665 1.66683 3.6665H6.3335C6.51759 3.6665 6.66683 3.81574 6.66683 3.99984C6.66683 4.18393 6.51759 4.33317 6.3335 4.33317H1.66683C1.48273 4.33317 1.3335 4.18393 1.3335 3.99984Z" data-blade-component="svg-path" - fill="hsla(220, 27%, 98%, 1)" + fill="hsla(0, 0%, 100%, 1)" fill-rule="evenodd" - stroke="hsla(220, 27%, 98%, 1)" + stroke="hsla(0, 0%, 100%, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="0.5" @@ -497,12 +519,12 @@ exports[` should render with help text 1`] = ` class="c11" data-blade-component="base-box" /> -
Orange -
+

@@ -520,7 +542,7 @@ exports[` should render with help text 1`] = ` > Select one @@ -556,8 +578,8 @@ exports[` should render with label 1`] = ` border-style: solid; margin: 2px; border-radius: 2px; - background-color: transparent; - border-color: hsla(214,18%,69%,1); + background-color: hsla(0,0%,100%,0); + border-color: hsla(211,27%,76%,1); } .c10.c10.c10.c10.c10 { @@ -617,14 +639,18 @@ exports[` should render with label 1`] = ` } .c3.c3.c3.c3.c3 { - color: hsla(217,18%,45%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -635,27 +661,35 @@ exports[` should render with label 1`] = ` } .c5.c5.c5.c5.c5 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c12.c12.c12.c12.c12 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } @@ -704,13 +738,19 @@ exports[` should render with label 1`] = ` } .c8.c8.c8.c8.c8:focus-visible + div { - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); } .c8.c8.c8.c8.c8:hover + div { - border-color: hsla(214,18%,69%,1); - background-color: hsla(216,15%,54%,0.09); + border-color: hsla(211,27%,76%,1); + background-color: hsla(211,20%,52%,0.12); -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); -webkit-transition-duration: 70ms; @@ -820,9 +860,9 @@ exports[` should render with label 1`] = ` clip-rule="evenodd" d="M1.3335 3.99984C1.3335 3.81574 1.48273 3.6665 1.66683 3.6665H6.3335C6.51759 3.6665 6.66683 3.81574 6.66683 3.99984C6.66683 4.18393 6.51759 4.33317 6.3335 4.33317H1.66683C1.48273 4.33317 1.3335 4.18393 1.3335 3.99984Z" data-blade-component="svg-path" - fill="hsla(220, 27%, 98%, 1)" + fill="hsla(0, 0%, 100%, 1)" fill-rule="evenodd" - stroke="hsla(220, 27%, 98%, 1)" + stroke="hsla(0, 0%, 100%, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="0.5" @@ -838,12 +878,12 @@ exports[` should render with label 1`] = ` class="c11" data-blade-component="base-box" /> -
Apple -
+

@@ -900,9 +940,9 @@ exports[` should render with label 1`] = ` clip-rule="evenodd" d="M1.3335 3.99984C1.3335 3.81574 1.48273 3.6665 1.66683 3.6665H6.3335C6.51759 3.6665 6.66683 3.81574 6.66683 3.99984C6.66683 4.18393 6.51759 4.33317 6.3335 4.33317H1.66683C1.48273 4.33317 1.3335 4.18393 1.3335 3.99984Z" data-blade-component="svg-path" - fill="hsla(220, 27%, 98%, 1)" + fill="hsla(0, 0%, 100%, 1)" fill-rule="evenodd" - stroke="hsla(220, 27%, 98%, 1)" + stroke="hsla(0, 0%, 100%, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="0.5" @@ -918,12 +958,12 @@ exports[` should render with label 1`] = ` class="c11" data-blade-component="base-box" /> -
Mango -
+

@@ -980,9 +1020,9 @@ exports[` should render with label 1`] = ` clip-rule="evenodd" d="M1.3335 3.99984C1.3335 3.81574 1.48273 3.6665 1.66683 3.6665H6.3335C6.51759 3.6665 6.66683 3.81574 6.66683 3.99984C6.66683 4.18393 6.51759 4.33317 6.3335 4.33317H1.66683C1.48273 4.33317 1.3335 4.18393 1.3335 3.99984Z" data-blade-component="svg-path" - fill="hsla(220, 27%, 98%, 1)" + fill="hsla(0, 0%, 100%, 1)" fill-rule="evenodd" - stroke="hsla(220, 27%, 98%, 1)" + stroke="hsla(0, 0%, 100%, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="0.5" @@ -998,12 +1038,12 @@ exports[` should render with label 1`] = ` class="c11" data-blade-component="base-box" /> -
Orange -
+

diff --git a/packages/blade/src/components/Checkbox/checkboxTokens.ts b/packages/blade/src/components/Checkbox/checkboxTokens.ts index b8c0d6142ad..f5ad3f966db 100644 --- a/packages/blade/src/components/Checkbox/checkboxTokens.ts +++ b/packages/blade/src/components/Checkbox/checkboxTokens.ts @@ -1,5 +1,5 @@ +import type { DotNotationToken } from '../../utils/lodashButBetter/get'; import type { Theme } from '~components/BladeProvider'; -import type { DotNotationColorStringToken } from '~utils/types'; import type { SelectorInputHoverTokens } from '~components/Form/Selector/types'; import { size } from '~tokens/global'; @@ -28,7 +28,7 @@ const checkboxSizes = { }, } as const; -type ColorTokens = `colors.${DotNotationColorStringToken}` | 'transparent'; +type ColorTokens = `colors.${DotNotationToken}`; type Variant = { border: { checked: ColorTokens; @@ -52,32 +52,32 @@ const checkboxIconColors: CheckboxIconColors = { variants: { default: { border: { - checked: 'colors.brand.primary.500', - unchecked: 'colors.brand.gray.500.lowContrast', + checked: 'colors.interactive.border.primary.default', + unchecked: 'colors.interactive.border.gray.default', }, background: { - checked: 'colors.brand.primary.500', - unchecked: 'transparent', + checked: 'colors.interactive.background.primary.default', + unchecked: 'colors.transparent', }, }, disabled: { border: { - checked: 'transparent', - unchecked: 'colors.brand.gray.a100.lowContrast', + checked: 'colors.interactive.border.primary.disabled', + unchecked: 'colors.interactive.border.gray.disabled', }, background: { - checked: 'colors.brand.gray.a100.lowContrast', - unchecked: 'transparent', + checked: 'colors.interactive.background.primary.disabled', + unchecked: 'colors.transparent', }, }, negative: { border: { - checked: 'colors.feedback.border.negative.highContrast', - unchecked: 'colors.feedback.border.negative.highContrast', + checked: 'colors.interactive.border.negative.default', + unchecked: 'colors.interactive.border.negative.default', }, background: { - checked: 'colors.feedback.background.negative.highContrast', - unchecked: 'colors.feedback.background.negative.lowContrast', + checked: 'colors.interactive.background.negative.default', + unchecked: 'colors.transparent', }, }, }, @@ -86,12 +86,12 @@ const checkboxIconColors: CheckboxIconColors = { const checkboxHoverTokens: SelectorInputHoverTokens = { default: { background: { - checked: 'colors.brand.primary.600', - unchecked: 'colors.brand.gray.a50.lowContrast', + checked: 'colors.interactive.background.primary.highlighted', + unchecked: 'colors.interactive.background.gray.faded', }, border: { - checked: 'colors.brand.primary.600', - unchecked: 'colors.brand.gray.500.lowContrast', + checked: 'colors.interactive.background.primary.highlighted', // Intentionally not using border tokens here since we want to match the background color + unchecked: 'colors.interactive.border.gray.default', }, }, }; diff --git a/packages/blade/src/components/Chip/AnimatedChip.native.tsx b/packages/blade/src/components/Chip/AnimatedChip.native.tsx index 3a87b1f4ffd..062249df9c6 100644 --- a/packages/blade/src/components/Chip/AnimatedChip.native.tsx +++ b/packages/blade/src/components/Chip/AnimatedChip.native.tsx @@ -22,8 +22,8 @@ const AnimatedChip = ({ }: Omit): React.ReactElement => { const { theme } = useTheme(); - const easing = getIn(theme, chipMotionTokens.easing); - const duration = getIn(theme, chipMotionTokens.duration); + const easing = getIn(theme.motion, chipMotionTokens.easing); + const duration = getIn(theme.motion, chipMotionTokens.duration); const chipAnimation = useAnimatedStyle(() => { return { diff --git a/packages/blade/src/components/Chip/AnimatedChip.web.tsx b/packages/blade/src/components/Chip/AnimatedChip.web.tsx index 9cc85fe9e82..724fb9f7c93 100644 --- a/packages/blade/src/components/Chip/AnimatedChip.web.tsx +++ b/packages/blade/src/components/Chip/AnimatedChip.web.tsx @@ -8,8 +8,10 @@ import { makeMotionTime } from '~utils/makeMotionTime'; import { castWebType } from '~utils'; const AnimatedChip = styled(BaseBox)((props) => { - const easing = getIn(props.theme, chipMotionTokens.easing); - const duration = castWebType(makeMotionTime(getIn(props.theme, chipMotionTokens.duration))); + const easing = getIn(props.theme.motion, chipMotionTokens.easing); + const duration = castWebType( + makeMotionTime(getIn(props.theme.motion, chipMotionTokens.duration)), + ); return { ...getAnimatedChipStyles(props), width: 'fit-content', diff --git a/packages/blade/src/components/Chip/Chip.stories.tsx b/packages/blade/src/components/Chip/Chip.stories.tsx index f8f04cf43d8..2c05c063b49 100644 --- a/packages/blade/src/components/Chip/Chip.stories.tsx +++ b/packages/blade/src/components/Chip/Chip.stories.tsx @@ -27,12 +27,7 @@ const Page = (): React.ReactElement => { } - figmaURL={{ - paymentTheme: - 'https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?type=design&node-id=52377%3A23885&mode=design&t=y7gUIBIzzNMRd3w6-1', - bankingTheme: - 'https://www.figma.com/file/sAdplk2uYnI2ILnDKUxycW/Blade---Banking-Dark?type=design&node-id=18358%3A3135&mode=design&t=FzNrQV6ZZaLoxzcj-1', - }} + figmaURL="https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?type=design&node-id=52377%3A23885&mode=design&t=y7gUIBIzzNMRd3w6-1" /> ); }; @@ -81,29 +76,16 @@ export default { }, }, }, - intent: { - description: 'This is deprecated in favor of the `color` prop.', - table: { - category: propsCategory.CHIP, - type: { - summary: '"none" | "positive" | "negative"', - }, - }, - options: ['none', 'positive', 'negative'], - control: { - type: 'radio', - }, - }, color: { description: 'Sets the color of the Chip. This overwrites the color set by the parent `ChipGroup` component', table: { category: propsCategory.CHIP, type: { - summary: '"default" | "positive" | "negative"', + summary: '"primary" | "positive" | "negative"', }, }, - options: ['default', 'positive', 'negative'], + options: ['primary', 'positive', 'negative'], control: { type: 'radio', }, @@ -138,5 +120,5 @@ const ChipTemplate: StoryFn = ({ children, ...args }) => { export const Default = ChipTemplate.bind({}); Default.storyName = 'Default'; Default.args = { - color: 'default', + color: 'primary', }; diff --git a/packages/blade/src/components/Chip/Chip.tsx b/packages/blade/src/components/Chip/Chip.tsx index 922e723810f..854fd2e7f97 100644 --- a/packages/blade/src/components/Chip/Chip.tsx +++ b/packages/blade/src/components/Chip/Chip.tsx @@ -37,7 +37,7 @@ type OnChange = ({ }) => void; const _Chip: React.ForwardRefRenderFunction = ( - { isDisabled, value, children, icon: Icon, intent, color, testID, ...styledProps }, + { isDisabled, value, children, icon: Icon, color, testID, ...styledProps }, ref, ) => { const { theme } = useTheme(); @@ -67,10 +67,7 @@ const _Chip: React.ForwardRefRenderFunction = ( : groupProps?.defaultValue?.includes(value as string); // If multiple selection, check if value is in defaultValue array const useChip = groupProps?.selectionType === 'single' ? useRadio : useCheckbox; const _size = groupProps?.size || 'small'; - const _intent = intent ?? groupProps?.intent; - // If intent is proovided and it's not none, use intent otherwise use color - const _color = color ?? groupProps?.color ?? 'default'; - const chipColor = _intent && _intent !== 'none' ? _intent : _color; + const chipColor = color ?? groupProps?.color ?? 'primary'; const handleChange: OnChange = ({ isChecked, value }) => { if (isChecked) { @@ -129,13 +126,13 @@ const _Chip: React.ForwardRefRenderFunction = ( const chipTextColor = chipColorTokens.text[textVariant]; const chipIconColor = chipColorTokens.icon[textVariant]; - let intentVariant = 'unchecked'; + let colorVariant = 'unchecked'; const stateVariant = _isDisabled ? 'disabled' : 'default'; if (_isChecked && chipColor) { - intentVariant = chipColor; + colorVariant = chipColor; } - const chipBackgroundColor = chipColorTokens.background[intentVariant][stateVariant]; - const chipBorderColor = chipColorTokens.border[intentVariant][stateVariant]; + const chipBackgroundColor = chipColorTokens.background[colorVariant][stateVariant]; + const chipBorderColor = chipColorTokens.border[colorVariant][stateVariant]; return ( = ( ) : null} - + {children} diff --git a/packages/blade/src/components/Chip/ChipGroup.stories.tsx b/packages/blade/src/components/Chip/ChipGroup.stories.tsx index aa439fe4007..9f810ee9783 100644 --- a/packages/blade/src/components/Chip/ChipGroup.stories.tsx +++ b/packages/blade/src/components/Chip/ChipGroup.stories.tsx @@ -3,7 +3,7 @@ import React from 'react'; import type { ChipGroupProps } from './ChipGroup'; import { ChipGroup as ChipGroupComponent } from './ChipGroup'; import { Chip as ChipComponent } from './Chip'; -import { Heading, Text, Title, Code } from '~components/Typography'; +import { Heading, Text, Code } from '~components/Typography'; import { PaymentLinksIcon, TagIcon, @@ -16,11 +16,13 @@ import StoryPageWrapper from '~utils/storybook/StoryPageWrapper'; import { Box } from '~components/Box'; import { getStyledPropsArgTypes } from '~components/Box/BaseBox/storybookArgTypes'; import iconMap from '~components/Icons/iconMap'; -import { Dropdown, DropdownButton, DropdownOverlay } from '~components/Dropdown'; -import { ActionList, ActionListItem } from '~components/ActionList'; +// import { Dropdown, DropdownButton, DropdownOverlay } from '~components/Dropdown'; +// import { ActionList, ActionListItem } from '~components/ActionList'; import type { BladeElementRef } from '~utils/types'; import { Button } from '~components/Button'; import { Link } from '~components/Link'; +import { Dropdown, DropdownButton, DropdownOverlay } from '~components/Dropdown'; +import { ActionList, ActionListItem } from '~components/ActionList'; const Page = (): React.ReactElement => { return ( @@ -28,12 +30,7 @@ const Page = (): React.ReactElement => { componentDescription="Chips represents a collection of selectable objects which enable users to make selections, filter content, and trigger relevant actions. Chips can have either single selection or multiple (based on context)." componentName="ChipGroup" imports={`import { Chip, ChipGroup } from '@razorpay/blade/components';\nimport type { ChipProps, ChipGroupProps } from '@razorpay/blade/components';`} - figmaURL={{ - paymentTheme: - 'https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?type=design&node-id=52377%3A23885&mode=design&t=y7gUIBIzzNMRd3w6-1', - bankingTheme: - 'https://www.figma.com/file/sAdplk2uYnI2ILnDKUxycW/Blade---Banking-Dark?type=design&node-id=18358%3A3135&mode=design&t=FzNrQV6ZZaLoxzcj-1', - }} + figmaURL="https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?type=design&node-id=52377%3A23885&mode=design&t=y7gUIBIzzNMRd3w6-1" note={ Chip is a combination of ChipGroup and Chip components. This story demonstrates only the @@ -44,7 +41,7 @@ const Page = (): React.ReactElement => { } > - Usage + Usage {` import { Box, Chip, ChipGroup, Text } from '@razorpay/blade/components'; @@ -172,28 +169,15 @@ export default { }, }, }, - intent: { - description: `This prop is deprecated, use 'color' instead.`, - table: { - category: propsCategory.CHIP_GROUP, - type: { - summary: '"none" | "positive" | "negative"', - }, - }, - options: ['none', 'positive', 'negative'], - control: { - type: 'select', - }, - }, color: { description: `Sets the ChipGroups's visual color, it will propagate down to all the Chips`, table: { category: propsCategory.CHIP_GROUP, type: { - summary: '"default" | "positive" | "negative"', + summary: '"primary" | "positive" | "negative"', }, }, - options: ['default', 'positive', 'negative'], + options: ['primary', 'positive', 'negative'], control: { type: 'select', }, @@ -482,7 +466,7 @@ ChipWithIcon.parameters = { const ChipColorsTemplate: StoryFn = (args) => { return ( - + Is the result helpful? @@ -498,13 +482,13 @@ const ChipColorsTemplate: StoryFn = (args) => { ); }; -export const ChipWithIntent = ChipColorsTemplate.bind({}); -ChipWithIntent.storyName = 'With Color'; -ChipWithIntent.args = { +export const ChipWithColor = ChipColorsTemplate.bind({}); +ChipWithColor.storyName = 'With Color'; +ChipWithColor.args = { selectionType: 'single', accessibilityLabel: 'Is the result helpful? Please select either yer or no', }; -ChipWithIntent.parameters = { +ChipWithColor.parameters = { controls: { exclude: ['icon'], }, @@ -546,7 +530,7 @@ const AllChipSizesTemplate: StoryFn = ({ children, .. {sizes.map((size, index) => ( - + {size} diff --git a/packages/blade/src/components/Chip/ChipGroup.tsx b/packages/blade/src/components/Chip/ChipGroup.tsx index ebf97514513..0deecd25aef 100644 --- a/packages/blade/src/components/Chip/ChipGroup.tsx +++ b/packages/blade/src/components/Chip/ChipGroup.tsx @@ -19,8 +19,7 @@ const ChipGroup = ({ onChange, value, size = 'small', - intent = 'none', - color, + color = 'primary', testID, selectionType = 'single', ...styledProps @@ -32,7 +31,6 @@ const ChipGroup = ({ isDisabled, name, size, - intent, color, selectionType, }); diff --git a/packages/blade/src/components/Chip/StyledChipWrapper.web.tsx b/packages/blade/src/components/Chip/StyledChipWrapper.web.tsx index 4bc808b947b..ece17d72734 100644 --- a/packages/blade/src/components/Chip/StyledChipWrapper.web.tsx +++ b/packages/blade/src/components/Chip/StyledChipWrapper.web.tsx @@ -8,8 +8,8 @@ import { castWebType } from '~utils'; const StyledChipWrapper = styled(BaseBox)( ({ theme, borderColor, isChecked, isDisabled, color }) => { - const easing = getIn(theme, chipMotionTokens.easing); - const duration = castWebType(makeMotionTime(getIn(theme, chipMotionTokens.duration))); + const easing = getIn(theme.motion, chipMotionTokens.easing); + const duration = castWebType(makeMotionTime(getIn(theme.motion, chipMotionTokens.duration))); return { display: 'flex', diff --git a/packages/blade/src/components/Chip/__tests__/Chip.native.test.tsx b/packages/blade/src/components/Chip/__tests__/Chip.native.test.tsx index 427b28ddb6b..3e593b7a7f4 100644 --- a/packages/blade/src/components/Chip/__tests__/Chip.native.test.tsx +++ b/packages/blade/src/components/Chip/__tests__/Chip.native.test.tsx @@ -38,13 +38,13 @@ describe('', () => { expect(getByText('Mango')).toBeDefined(); }); - it('should render chip with intent', () => { + it('should render chip with color', () => { const { getByText } = renderWithTheme( - + Yes - + No , diff --git a/packages/blade/src/components/Chip/__tests__/Chip.web.test.tsx b/packages/blade/src/components/Chip/__tests__/Chip.web.test.tsx index 59a42ceae44..d24c2417af1 100644 --- a/packages/blade/src/components/Chip/__tests__/Chip.web.test.tsx +++ b/packages/blade/src/components/Chip/__tests__/Chip.web.test.tsx @@ -39,22 +39,6 @@ describe('', () => { expect(getByRole('radio', { name: 'Mango' })).toBeInTheDocument(); }); - it('should render chip with intent', () => { - const { getByRole } = renderWithTheme( - - - Yes - - - No - - , - ); - - expect(getByRole('radio', { name: 'Yes' })).toBeInTheDocument(); - expect(getByRole('radio', { name: 'No' })).toBeInTheDocument(); - }); - it('should render chip with color', () => { const { getByRole } = renderWithTheme( diff --git a/packages/blade/src/components/Chip/__tests__/ChipGroup.native.test.tsx b/packages/blade/src/components/Chip/__tests__/ChipGroup.native.test.tsx index dd507316001..3e2b0d9972f 100644 --- a/packages/blade/src/components/Chip/__tests__/ChipGroup.native.test.tsx +++ b/packages/blade/src/components/Chip/__tests__/ChipGroup.native.test.tsx @@ -9,8 +9,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; const selectionTypes: ChipGroupProps['selectionType'][] = ['single', 'multiple']; const sizes: ChipGroupProps['size'][] = ['xsmall', 'small', 'medium', 'large']; -const intents: ChipGroupProps['intent'][] = ['none', 'positive', 'negative']; -const colors: ChipGroupProps['color'][] = ['default', 'positive', 'negative']; +const colors: ChipGroupProps['color'][] = ['primary', 'positive', 'negative']; beforeAll(() => jest.spyOn(console, 'error').mockImplementation()); afterAll(() => jest.restoreAllMocks()); @@ -49,26 +48,6 @@ describe('', () => { }); }); - intents.forEach((intent) => { - it(`should render with intent="${intent}"`, () => { - const { getByText } = renderWithTheme( - - Apple - Mango - Orange - , - ); - - expect(getByText('Apple')).toBeDefined(); - expect(getByText('Mango')).toBeDefined(); - expect(getByText('Orange')).toBeDefined(); - }); - }); - colors.forEach((color) => { it(`should render with color="${color}"`, () => { const { getByText } = renderWithTheme( diff --git a/packages/blade/src/components/Chip/__tests__/ChipGroup.web.test.tsx b/packages/blade/src/components/Chip/__tests__/ChipGroup.web.test.tsx index 7a9897c879a..dc4f776fda0 100644 --- a/packages/blade/src/components/Chip/__tests__/ChipGroup.web.test.tsx +++ b/packages/blade/src/components/Chip/__tests__/ChipGroup.web.test.tsx @@ -7,8 +7,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; const selectionTypes: ChipGroupProps['selectionType'][] = ['single', 'multiple']; const sizes: ChipGroupProps['size'][] = ['xsmall', 'small', 'medium', 'large']; -const intents: ChipGroupProps['intent'][] = ['none', 'positive', 'negative']; -const colors: ChipGroupProps['color'][] = ['default', 'positive', 'negative']; +const colors: ChipGroupProps['color'][] = ['primary', 'positive', 'negative']; describe('', () => { for (const selectionType of selectionTypes) { @@ -48,28 +47,6 @@ describe('', () => { }); }); - intents.forEach((intent) => { - it(`should render with intent="${intent}"`, () => { - const { getByRole } = renderWithTheme( - - Apple - Mango - Orange - , - ); - - const chipRole = selectionType === 'single' ? 'radio' : 'checkbox'; - const chipGroupRole = selectionType === 'single' ? 'radiogroup' : 'group'; - expect(getByRole(chipGroupRole)).toBeInTheDocument(); - expect(getByRole(chipRole, { name: 'Apple' })).toBeInTheDocument(); - expect(getByRole(chipRole, { name: 'Mango' })).toBeInTheDocument(); - }); - }); - colors.forEach((color) => { it(`should render with color="${color}"`, () => { const { getByRole } = renderWithTheme( diff --git a/packages/blade/src/components/Chip/__tests__/__snapshots__/Chip.native.test.tsx.snap b/packages/blade/src/components/Chip/__tests__/__snapshots__/Chip.native.test.tsx.snap index 8af4a9378ad..2a59f94a51c 100644 --- a/packages/blade/src/components/Chip/__tests__/__snapshots__/Chip.native.test.tsx.snap +++ b/packages/blade/src/components/Chip/__tests__/__snapshots__/Chip.native.test.tsx.snap @@ -71,7 +71,7 @@ exports[` should prioritize Chip's isDisabled prop instead of ChipGroup > should prioritize Chip's isDisabled prop instead of ChipGroup style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -215,7 +216,7 @@ exports[` should prioritize Chip's isDisabled prop instead of ChipGroup } > should prioritize Chip's isDisabled prop instead of ChipGroup "alignItems": "center", "alignSelf": "center", "backgroundColor": "transparent", - "borderColor": "hsla(216, 19%, 89%, 1)", + "borderColor": "hsla(214, 40%, 92%, 1)", "borderRadius": 9999, "borderWidth": 1, "display": "flex", @@ -247,10 +248,10 @@ exports[` should prioritize Chip's isDisabled prop instead of ChipGroup should prioritize Chip's isDisabled prop instead of ChipGroup [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(216, 19%, 89%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(214, 40%, 92%, 1)", "borderRadius": 9999, "borderStyle": "solid", "borderWidth": 0.5, @@ -285,7 +286,7 @@ exports[` should prioritize Chip's isDisabled prop instead of ChipGroup > should prioritize Chip's isDisabled prop instead of ChipGroup style={ [ { - "color": "hsla(214, 18%, 69%, 1)", - "fontFamily": "Lato", + "color": "hsla(211, 20%, 52%, 0.32)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -421,7 +423,7 @@ exports[` should prioritize Chip's isDisabled prop instead of ChipGroup } > should prioritize Chip's isDisabled prop instead of ChipGroup "alignItems": "center", "alignSelf": "center", "backgroundColor": "hsla(0, 0%, 100%, 1)", - "borderColor": "hsla(216, 19%, 89%, 1)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderWidth": 1, "display": "flex", @@ -453,10 +455,10 @@ exports[` should prioritize Chip's isDisabled prop instead of ChipGroup should prioritize Chip's isDisabled prop instead of ChipGroup [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(216, 19%, 89%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderStyle": "solid", "borderWidth": 0.5, @@ -491,7 +493,7 @@ exports[` should prioritize Chip's isDisabled prop instead of ChipGroup > should prioritize Chip's isDisabled prop instead of ChipGroup style={ [ { - "color": "hsla(216, 27%, 36%, 1)", - "fontFamily": "Lato", + "color": "hsla(211, 26%, 34%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -608,7 +611,7 @@ exports[` should render chip 1`] = ` > should render chip 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -752,7 +756,7 @@ exports[` should render chip 1`] = ` } > should render chip 1`] = ` "alignItems": "center", "alignSelf": "center", "backgroundColor": "hsla(0, 0%, 100%, 1)", - "borderColor": "hsla(216, 19%, 89%, 1)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderWidth": 1, "display": "flex", @@ -784,10 +788,10 @@ exports[` should render chip 1`] = ` should render chip 1`] = ` [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(216, 19%, 89%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderStyle": "solid", "borderWidth": 0.5, @@ -822,7 +826,7 @@ exports[` should render chip 1`] = ` > should render chip 1`] = ` style={ [ { - "color": "hsla(216, 27%, 36%, 1)", - "fontFamily": "Lato", + "color": "hsla(211, 26%, 34%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -958,7 +963,7 @@ exports[` should render chip 1`] = ` } > should render chip 1`] = ` "alignItems": "center", "alignSelf": "center", "backgroundColor": "hsla(0, 0%, 100%, 1)", - "borderColor": "hsla(216, 19%, 89%, 1)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderWidth": 1, "display": "flex", @@ -990,10 +995,10 @@ exports[` should render chip 1`] = ` should render chip 1`] = ` [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(216, 19%, 89%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderStyle": "solid", "borderWidth": 0.5, @@ -1028,7 +1033,7 @@ exports[` should render chip 1`] = ` > should render chip 1`] = ` style={ [ { - "color": "hsla(216, 27%, 36%, 1)", - "fontFamily": "Lato", + "color": "hsla(211, 26%, 34%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -1145,7 +1151,7 @@ exports[` should render chip with icon 1`] = ` > should render chip with icon 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -1289,7 +1296,7 @@ exports[` should render chip with icon 1`] = ` } > should render chip with icon 1`] = ` "alignItems": "center", "alignSelf": "center", "backgroundColor": "hsla(0, 0%, 100%, 1)", - "borderColor": "hsla(216, 19%, 89%, 1)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderWidth": 1, "display": "flex", @@ -1321,10 +1328,10 @@ exports[` should render chip with icon 1`] = ` should render chip with icon 1`] = ` [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(216, 19%, 89%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderStyle": "solid", "borderWidth": 0.5, @@ -1412,7 +1419,7 @@ exports[` should render chip with icon 1`] = ` > should render chip with icon 1`] = ` /> should render chip with icon 1`] = ` should render chip with icon 1`] = ` should render chip with icon 1`] = ` style={ [ { - "color": "hsla(216, 27%, 36%, 1)", - "fontFamily": "Lato", + "color": "hsla(211, 26%, 34%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -1581,7 +1589,7 @@ exports[` should render chip with icon 1`] = ` } > should render chip with icon 1`] = ` "alignItems": "center", "alignSelf": "center", "backgroundColor": "hsla(0, 0%, 100%, 1)", - "borderColor": "hsla(216, 19%, 89%, 1)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderWidth": 1, "display": "flex", @@ -1613,10 +1621,10 @@ exports[` should render chip with icon 1`] = ` should render chip with icon 1`] = ` [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(216, 19%, 89%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderStyle": "solid", "borderWidth": 0.5, @@ -1704,7 +1712,7 @@ exports[` should render chip with icon 1`] = ` > should render chip with icon 1`] = ` /> should render chip with icon 1`] = ` should render chip with icon 1`] = ` should render chip with icon 1`] = ` style={ [ { - "color": "hsla(216, 27%, 36%, 1)", - "fontFamily": "Lato", + "color": "hsla(211, 26%, 34%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -1854,7 +1863,7 @@ exports[` should set disabled state with isDisabled 1`] = ` > should set disabled state with isDisabled 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -1998,7 +2008,7 @@ exports[` should set disabled state with isDisabled 1`] = ` } > should set disabled state with isDisabled 1`] = ` "alignItems": "center", "alignSelf": "center", "backgroundColor": "transparent", - "borderColor": "hsla(216, 19%, 89%, 1)", + "borderColor": "hsla(214, 40%, 92%, 1)", "borderRadius": 9999, "borderWidth": 1, "display": "flex", @@ -2030,10 +2040,10 @@ exports[` should set disabled state with isDisabled 1`] = ` should set disabled state with isDisabled 1`] = ` [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(216, 19%, 89%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(214, 40%, 92%, 1)", "borderRadius": 9999, "borderStyle": "solid", "borderWidth": 0.5, @@ -2068,7 +2078,7 @@ exports[` should set disabled state with isDisabled 1`] = ` > should set disabled state with isDisabled 1`] = ` style={ [ { - "color": "hsla(214, 18%, 69%, 1)", - "fontFamily": "Lato", + "color": "hsla(211, 20%, 52%, 0.32)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -2204,7 +2215,7 @@ exports[` should set disabled state with isDisabled 1`] = ` } > should set disabled state with isDisabled 1`] = ` "alignItems": "center", "alignSelf": "center", "backgroundColor": "hsla(0, 0%, 100%, 1)", - "borderColor": "hsla(216, 19%, 89%, 1)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderWidth": 1, "display": "flex", @@ -2236,10 +2247,10 @@ exports[` should set disabled state with isDisabled 1`] = ` should set disabled state with isDisabled 1`] = ` [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(216, 19%, 89%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderStyle": "solid", "borderWidth": 0.5, @@ -2274,7 +2285,7 @@ exports[` should set disabled state with isDisabled 1`] = ` > should set disabled state with isDisabled 1`] = ` style={ [ { - "color": "hsla(216, 27%, 36%, 1)", - "fontFamily": "Lato", + "color": "hsla(211, 26%, 34%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, diff --git a/packages/blade/src/components/Chip/__tests__/__snapshots__/Chip.ssr.test.tsx.snap b/packages/blade/src/components/Chip/__tests__/__snapshots__/Chip.ssr.test.tsx.snap index 0cf0f1a371b..a45ee6579a6 100644 --- a/packages/blade/src/components/Chip/__tests__/__snapshots__/Chip.ssr.test.tsx.snap +++ b/packages/blade/src/components/Chip/__tests__/__snapshots__/Chip.ssr.test.tsx.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` should render with icon 1`] = `"

Select fruits

"`; +exports[` should render with icon 1`] = `"

Select fruits

"`; exports[` should render with icon 2`] = ` .c0.c0.c0.c0.c0 { @@ -63,7 +63,7 @@ exports[` should render with icon 2`] = ` } .c10.c10.c10.c10.c10 { - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-style: solid; } @@ -87,10 +87,10 @@ exports[` should render with icon 2`] = ` padding-right: 12px; padding-left: 12px; height: 28px; - background-color: transparent; + background-color: hsla(0,0%,100%,0); border-radius: 9999px; border-width: 0.5px; - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-style: solid; } @@ -105,7 +105,7 @@ exports[` should render with icon 2`] = ` .c11.c11.c11.c11.c11 { background-color: hsla(0,0%,100%,1); border-radius: 9999px; - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-width: 1px; display: -webkit-box; display: -webkit-flex; @@ -149,7 +149,7 @@ exports[` should render with icon 2`] = ` } .c13.c13.c13.c13.c13:hover { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(211,20%,52%,0.12); -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); -webkit-transition-duration: 150ms; @@ -200,12 +200,19 @@ exports[` should render with icon 2`] = ` } .c9.c9.c9.c9.c9:focus-visible + div { - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); } .c9.c9.c9.c9.c9:hover + div { - border-color: hsla(214,18%,69%,1); + border-color: hsla(211,27%,76%,1); + background-color: hsla(0,0%,100%,1); -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); -webkit-transition-duration: 70ms; @@ -213,27 +220,35 @@ exports[` should render with icon 2`] = ` } .c2.c2.c2.c2.c2 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c15.c15.c15.c15.c15 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -391,18 +406,18 @@ exports[` should render with icon 2`] = ` @@ -476,18 +491,18 @@ exports[` should render with icon 2`] = ` diff --git a/packages/blade/src/components/Chip/__tests__/__snapshots__/Chip.web.test.tsx.snap b/packages/blade/src/components/Chip/__tests__/__snapshots__/Chip.web.test.tsx.snap index a7ff3f1d534..05c5e5c078f 100644 --- a/packages/blade/src/components/Chip/__tests__/__snapshots__/Chip.web.test.tsx.snap +++ b/packages/blade/src/components/Chip/__tests__/__snapshots__/Chip.web.test.tsx.snap @@ -61,7 +61,7 @@ exports[` should render chip 1`] = ` } .c10.c10.c10.c10.c10 { - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-style: solid; } @@ -85,17 +85,17 @@ exports[` should render chip 1`] = ` padding-right: 12px; padding-left: 12px; height: 28px; - background-color: transparent; + background-color: hsla(0,0%,100%,0); border-radius: 9999px; border-width: 0.5px; - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-style: solid; } .c11.c11.c11.c11.c11 { background-color: hsla(0,0%,100%,1); border-radius: 9999px; - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-width: 1px; display: -webkit-box; display: -webkit-flex; @@ -139,7 +139,7 @@ exports[` should render chip 1`] = ` } .c13.c13.c13.c13.c13:hover { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(211,20%,52%,0.12); -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); -webkit-transition-duration: 150ms; @@ -190,12 +190,19 @@ exports[` should render chip 1`] = ` } .c9.c9.c9.c9.c9:focus-visible + div { - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); } .c9.c9.c9.c9.c9:hover + div { - border-color: hsla(214,18%,69%,1); + border-color: hsla(211,27%,76%,1); + background-color: hsla(0,0%,100%,1); -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); -webkit-transition-duration: 70ms; @@ -203,27 +210,35 @@ exports[` should render chip 1`] = ` } .c2.c2.c2.c2.c2 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c14.c14.c14.c14.c14 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -497,7 +512,7 @@ exports[` should render chip with icon 1`] = ` } .c10.c10.c10.c10.c10 { - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-style: solid; } @@ -521,10 +536,10 @@ exports[` should render chip with icon 1`] = ` padding-right: 12px; padding-left: 12px; height: 28px; - background-color: transparent; + background-color: hsla(0,0%,100%,0); border-radius: 9999px; border-width: 0.5px; - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-style: solid; } @@ -539,7 +554,7 @@ exports[` should render chip with icon 1`] = ` .c11.c11.c11.c11.c11 { background-color: hsla(0,0%,100%,1); border-radius: 9999px; - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-width: 1px; display: -webkit-box; display: -webkit-flex; @@ -583,7 +598,7 @@ exports[` should render chip with icon 1`] = ` } .c13.c13.c13.c13.c13:hover { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(211,20%,52%,0.12); -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); -webkit-transition-duration: 150ms; @@ -634,12 +649,19 @@ exports[` should render chip with icon 1`] = ` } .c9.c9.c9.c9.c9:focus-visible + div { - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); } .c9.c9.c9.c9.c9:hover + div { - border-color: hsla(214,18%,69%,1); + border-color: hsla(211,27%,76%,1); + background-color: hsla(0,0%,100%,1); -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); -webkit-transition-duration: 70ms; @@ -647,27 +669,35 @@ exports[` should render chip with icon 1`] = ` } .c2.c2.c2.c2.c2 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c15.c15.c15.c15.c15 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -823,18 +853,18 @@ exports[` should render chip with icon 1`] = ` @@ -908,18 +938,18 @@ exports[` should render chip with icon 1`] = ` @@ -1005,7 +1035,7 @@ exports[` should set disabled state with isDisabled 1`] = ` } .c10.c10.c10.c10.c10 { - border-color: hsla(216,19%,89%,1); + border-color: hsla(214,40%,92%,1); border-style: solid; } @@ -1029,17 +1059,49 @@ exports[` should set disabled state with isDisabled 1`] = ` padding-right: 12px; padding-left: 12px; height: 28px; - background-color: transparent; + background-color: hsla(0,0%,100%,0); border-radius: 9999px; border-width: 0.5px; - border-color: hsla(216,19%,89%,1); + border-color: hsla(214,40%,92%,1); + border-style: solid; +} + +.c16.c16.c16.c16.c16 { + border-color: hsla(211,20%,52%,0.18); + border-style: solid; +} + +.c18.c18.c18.c18.c18 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + overflow: hidden; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + -ms-flex-pack: center; + justify-content: center; + padding-right: 12px; + padding-left: 12px; + height: 28px; + background-color: hsla(0,0%,100%,0); + border-radius: 9999px; + border-width: 0.5px; + border-color: hsla(211,20%,52%,0.18); border-style: solid; } .c11.c11.c11.c11.c11 { background-color: transparent; border-radius: 9999px; - border-color: hsla(216,19%,89%,1); + border-color: hsla(214,40%,92%,1); border-width: 1px; display: -webkit-box; display: -webkit-flex; @@ -1074,10 +1136,10 @@ exports[` should set disabled state with isDisabled 1`] = ` transition-timing-function: cubic-bezier(0.3,0,0.2,1); } -.c16.c16.c16.c16.c16 { +.c17.c17.c17.c17.c17 { background-color: hsla(0,0%,100%,1); border-radius: 9999px; - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-width: 1px; display: -webkit-box; display: -webkit-flex; @@ -1120,7 +1182,7 @@ exports[` should set disabled state with isDisabled 1`] = ` border-color: transparent; } -.c17.c17.c17.c17.c17 { +.c19.c19.c19.c19.c19 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1128,8 +1190,8 @@ exports[` should set disabled state with isDisabled 1`] = ` border-color: transparent; } -.c17.c17.c17.c17.c17:hover { - background-color: hsla(216,15%,54%,0.09); +.c19.c19.c19.c19.c19:hover { + background-color: hsla(211,20%,52%,0.12); -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); -webkit-transition-duration: 150ms; @@ -1180,8 +1242,14 @@ exports[` should set disabled state with isDisabled 1`] = ` } .c9.c9.c9.c9.c9:focus-visible + div { - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); } .c15.c15.c15.c15.c15 { @@ -1202,12 +1270,19 @@ exports[` should set disabled state with isDisabled 1`] = ` } .c15.c15.c15.c15.c15:focus-visible + div { - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); } .c15.c15.c15.c15.c15:hover + div { - border-color: hsla(214,18%,69%,1); + border-color: hsla(211,27%,76%,1); + background-color: hsla(0,0%,100%,1); -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); -webkit-transition-duration: 70ms; @@ -1215,27 +1290,35 @@ exports[` should set disabled state with isDisabled 1`] = ` } .c2.c2.c2.c2.c2 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c14.c14.c14.c14.c14 { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -1245,15 +1328,19 @@ exports[` should set disabled state with isDisabled 1`] = ` -webkit-box-orient: vertical; } -.c18.c18.c18.c18.c18 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; +.c20.c20.c20.c20.c20 { + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -1323,13 +1410,73 @@ exports[` should set disabled state with isDisabled 1`] = ` } } +@media screen and (min-width:320px) { + .c16.c16.c16.c16.c16 { + border-style: solid; + } +} + +@media screen and (min-width:480px) { + .c16.c16.c16.c16.c16 { + border-style: solid; + } +} + +@media screen and (min-width:768px) { + .c16.c16.c16.c16.c16 { + border-style: solid; + } +} + +@media screen and (min-width:1024px) { + .c16.c16.c16.c16.c16 { + border-style: solid; + } +} + +@media screen and (min-width:1200px) { + .c16.c16.c16.c16.c16 { + border-style: solid; + } +} + +@media screen and (min-width:320px) { + .c18.c18.c18.c18.c18 { + border-style: solid; + } +} + +@media screen and (min-width:480px) { + .c18.c18.c18.c18.c18 { + border-style: solid; + } +} + +@media screen and (min-width:768px) { + .c18.c18.c18.c18.c18 { + border-style: solid; + } +} + +@media screen and (min-width:1024px) { + .c18.c18.c18.c18.c18 { + border-style: solid; + } +} + +@media screen and (min-width:1200px) { + .c18.c18.c18.c18.c18 { + border-style: solid; + } +} +
should set disabled state with isDisabled 1`] = ` > should set disabled state with isDisabled 1`] = ` > should set disabled state with isDisabled 1`] = ` value="mango" />

Mango diff --git a/packages/blade/src/components/Chip/__tests__/__snapshots__/ChipGroup.native.test.tsx.snap b/packages/blade/src/components/Chip/__tests__/__snapshots__/ChipGroup.native.test.tsx.snap index 1385de8625d..e22a1b59b74 100644 --- a/packages/blade/src/components/Chip/__tests__/__snapshots__/ChipGroup.native.test.tsx.snap +++ b/packages/blade/src/components/Chip/__tests__/__snapshots__/ChipGroup.native.test.tsx.snap @@ -17,7 +17,7 @@ exports[` selectionType="multiple" should render with selectionType } > selectionType="multiple" should render with selectionType > selectionType="multiple" should render with selectionType style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -213,7 +214,7 @@ exports[` selectionType="multiple" should render with selectionType } > selectionType="multiple" should render with selectionType "alignItems": "center", "alignSelf": "center", "backgroundColor": "hsla(0, 0%, 100%, 1)", - "borderColor": "hsla(216, 19%, 89%, 1)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderWidth": 1, "display": "flex", @@ -245,10 +246,10 @@ exports[` selectionType="multiple" should render with selectionType selectionType="multiple" should render with selectionType [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(216, 19%, 89%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderStyle": "solid", "borderWidth": 0.5, @@ -283,7 +284,7 @@ exports[` selectionType="multiple" should render with selectionType > selectionType="multiple" should render with selectionType style={ [ { - "color": "hsla(216, 27%, 36%, 1)", - "fontFamily": "Lato", + "color": "hsla(211, 26%, 34%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -418,7 +420,7 @@ exports[` selectionType="multiple" should render with selectionType } > selectionType="multiple" should render with selectionType "alignItems": "center", "alignSelf": "center", "backgroundColor": "hsla(0, 0%, 100%, 1)", - "borderColor": "hsla(216, 19%, 89%, 1)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderWidth": 1, "display": "flex", @@ -450,10 +452,10 @@ exports[` selectionType="multiple" should render with selectionType selectionType="multiple" should render with selectionType [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(216, 19%, 89%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderStyle": "solid", "borderWidth": 0.5, @@ -488,7 +490,7 @@ exports[` selectionType="multiple" should render with selectionType > selectionType="multiple" should render with selectionType style={ [ { - "color": "hsla(216, 27%, 36%, 1)", - "fontFamily": "Lato", + "color": "hsla(211, 26%, 34%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -623,7 +626,7 @@ exports[` selectionType="multiple" should render with selectionType } > selectionType="multiple" should render with selectionType "alignItems": "center", "alignSelf": "center", "backgroundColor": "hsla(0, 0%, 100%, 1)", - "borderColor": "hsla(216, 19%, 89%, 1)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderWidth": 1, "display": "flex", @@ -655,10 +658,10 @@ exports[` selectionType="multiple" should render with selectionType selectionType="multiple" should render with selectionType [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(216, 19%, 89%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderStyle": "solid", "borderWidth": 0.5, @@ -693,7 +696,7 @@ exports[` selectionType="multiple" should render with selectionType > selectionType="multiple" should render with selectionType style={ [ { - "color": "hsla(216, 27%, 36%, 1)", - "fontFamily": "Lato", + "color": "hsla(211, 26%, 34%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -810,7 +814,7 @@ exports[` selectionType="single" should render with selectionType=" > selectionType="single" should render with selectionType=" style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -954,7 +959,7 @@ exports[` selectionType="single" should render with selectionType=" } > selectionType="single" should render with selectionType=" "alignItems": "center", "alignSelf": "center", "backgroundColor": "hsla(0, 0%, 100%, 1)", - "borderColor": "hsla(216, 19%, 89%, 1)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderWidth": 1, "display": "flex", @@ -986,10 +991,10 @@ exports[` selectionType="single" should render with selectionType=" selectionType="single" should render with selectionType=" [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(216, 19%, 89%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderStyle": "solid", "borderWidth": 0.5, @@ -1024,7 +1029,7 @@ exports[` selectionType="single" should render with selectionType=" > selectionType="single" should render with selectionType=" style={ [ { - "color": "hsla(216, 27%, 36%, 1)", - "fontFamily": "Lato", + "color": "hsla(211, 26%, 34%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -1160,7 +1166,7 @@ exports[` selectionType="single" should render with selectionType=" } > selectionType="single" should render with selectionType=" "alignItems": "center", "alignSelf": "center", "backgroundColor": "hsla(0, 0%, 100%, 1)", - "borderColor": "hsla(216, 19%, 89%, 1)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderWidth": 1, "display": "flex", @@ -1192,10 +1198,10 @@ exports[` selectionType="single" should render with selectionType=" selectionType="single" should render with selectionType=" [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(216, 19%, 89%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderStyle": "solid", "borderWidth": 0.5, @@ -1230,7 +1236,7 @@ exports[` selectionType="single" should render with selectionType=" > selectionType="single" should render with selectionType=" style={ [ { - "color": "hsla(216, 27%, 36%, 1)", - "fontFamily": "Lato", + "color": "hsla(211, 26%, 34%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -1366,7 +1373,7 @@ exports[` selectionType="single" should render with selectionType=" } > selectionType="single" should render with selectionType=" "alignItems": "center", "alignSelf": "center", "backgroundColor": "hsla(0, 0%, 100%, 1)", - "borderColor": "hsla(216, 19%, 89%, 1)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderWidth": 1, "display": "flex", @@ -1398,10 +1405,10 @@ exports[` selectionType="single" should render with selectionType=" selectionType="single" should render with selectionType=" [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(216, 19%, 89%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 9999, "borderStyle": "solid", "borderWidth": 0.5, @@ -1436,7 +1443,7 @@ exports[` selectionType="single" should render with selectionType=" > selectionType="single" should render with selectionType=" style={ [ { - "color": "hsla(216, 27%, 36%, 1)", - "fontFamily": "Lato", + "color": "hsla(211, 26%, 34%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, diff --git a/packages/blade/src/components/Chip/__tests__/__snapshots__/ChipGroup.ssr.test.tsx.snap b/packages/blade/src/components/Chip/__tests__/__snapshots__/ChipGroup.ssr.test.tsx.snap index bf4be975205..b29fdec702a 100644 --- a/packages/blade/src/components/Chip/__tests__/__snapshots__/ChipGroup.ssr.test.tsx.snap +++ b/packages/blade/src/components/Chip/__tests__/__snapshots__/ChipGroup.ssr.test.tsx.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` should render with selectionType="single" 1`] = `"

Select fruits

Select flowers

"`; +exports[` should render with selectionType="single" 1`] = `"

Select fruits

Select flowers

"`; exports[` should render with selectionType="single" 2`] = ` .c0.c0.c0.c0.c0 { @@ -63,7 +63,7 @@ exports[` should render with selectionType="single" 2`] = ` } .c10.c10.c10.c10.c10 { - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-style: solid; } @@ -87,17 +87,17 @@ exports[` should render with selectionType="single" 2`] = ` padding-right: 12px; padding-left: 12px; height: 28px; - background-color: transparent; + background-color: hsla(0,0%,100%,0); border-radius: 9999px; border-width: 0.5px; - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-style: solid; } .c11.c11.c11.c11.c11 { background-color: hsla(0,0%,100%,1); border-radius: 9999px; - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-width: 1px; display: -webkit-box; display: -webkit-flex; @@ -141,7 +141,7 @@ exports[` should render with selectionType="single" 2`] = ` } .c13.c13.c13.c13.c13:hover { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(211,20%,52%,0.12); -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); -webkit-transition-duration: 150ms; @@ -192,12 +192,19 @@ exports[` should render with selectionType="single" 2`] = ` } .c9.c9.c9.c9.c9:focus-visible + div { - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); } .c9.c9.c9.c9.c9:hover + div { - border-color: hsla(214,18%,69%,1); + border-color: hsla(211,27%,76%,1); + background-color: hsla(0,0%,100%,1); -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); -webkit-transition-duration: 70ms; @@ -205,27 +212,35 @@ exports[` should render with selectionType="single" 2`] = ` } .c2.c2.c2.c2.c2 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c14.c14.c14.c14.c14 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; diff --git a/packages/blade/src/components/Chip/__tests__/__snapshots__/ChipGroup.web.test.tsx.snap b/packages/blade/src/components/Chip/__tests__/__snapshots__/ChipGroup.web.test.tsx.snap index b84acb08222..4c65da820db 100644 --- a/packages/blade/src/components/Chip/__tests__/__snapshots__/ChipGroup.web.test.tsx.snap +++ b/packages/blade/src/components/Chip/__tests__/__snapshots__/ChipGroup.web.test.tsx.snap @@ -61,7 +61,7 @@ exports[` selectionType="multiple" should render with selectionType } .c10.c10.c10.c10.c10 { - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-style: solid; } @@ -85,17 +85,17 @@ exports[` selectionType="multiple" should render with selectionType padding-right: 12px; padding-left: 12px; height: 28px; - background-color: transparent; + background-color: hsla(0,0%,100%,0); border-radius: 9999px; border-width: 0.5px; - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-style: solid; } .c11.c11.c11.c11.c11 { background-color: hsla(0,0%,100%,1); border-radius: 9999px; - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-width: 1px; display: -webkit-box; display: -webkit-flex; @@ -139,7 +139,7 @@ exports[` selectionType="multiple" should render with selectionType } .c13.c13.c13.c13.c13:hover { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(211,20%,52%,0.12); -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); -webkit-transition-duration: 150ms; @@ -190,12 +190,19 @@ exports[` selectionType="multiple" should render with selectionType } .c9.c9.c9.c9.c9:focus-visible + div { - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); } .c9.c9.c9.c9.c9:hover + div { - border-color: hsla(214,18%,69%,1); + border-color: hsla(211,27%,76%,1); + background-color: hsla(0,0%,100%,1); -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); -webkit-transition-duration: 70ms; @@ -203,27 +210,35 @@ exports[` selectionType="multiple" should render with selectionType } .c2.c2.c2.c2.c2 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c14.c14.c14.c14.c14 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -299,7 +314,7 @@ exports[` selectionType="multiple" should render with selectionType data-blade-component="base-box" >
selectionType="single" should render with selectionType=" } .c10.c10.c10.c10.c10 { - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-style: solid; } @@ -571,17 +586,17 @@ exports[` selectionType="single" should render with selectionType=" padding-right: 12px; padding-left: 12px; height: 28px; - background-color: transparent; + background-color: hsla(0,0%,100%,0); border-radius: 9999px; border-width: 0.5px; - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-style: solid; } .c11.c11.c11.c11.c11 { background-color: hsla(0,0%,100%,1); border-radius: 9999px; - border-color: hsla(216,19%,89%,1); + border-color: hsla(211,20%,52%,0.18); border-width: 1px; display: -webkit-box; display: -webkit-flex; @@ -625,7 +640,7 @@ exports[` selectionType="single" should render with selectionType=" } .c13.c13.c13.c13.c13:hover { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(211,20%,52%,0.12); -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); -webkit-transition-duration: 150ms; @@ -676,12 +691,19 @@ exports[` selectionType="single" should render with selectionType=" } .c9.c9.c9.c9.c9:focus-visible + div { - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); } .c9.c9.c9.c9.c9:hover + div { - border-color: hsla(214,18%,69%,1); + border-color: hsla(211,27%,76%,1); + background-color: hsla(0,0%,100%,1); -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); transition-timing-function: cubic-bezier(0.3,0,0.2,1); -webkit-transition-duration: 70ms; @@ -689,27 +711,35 @@ exports[` selectionType="single" should render with selectionType=" } .c2.c2.c2.c2.c2 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c14.c14.c14.c14.c14 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; diff --git a/packages/blade/src/components/Chip/chipTokens.ts b/packages/blade/src/components/Chip/chipTokens.ts index 69830663d64..084a3cb9a98 100644 --- a/packages/blade/src/components/Chip/chipTokens.ts +++ b/packages/blade/src/components/Chip/chipTokens.ts @@ -1,10 +1,11 @@ import type { ChipGroupProps } from './ChipGroup'; -import type { Theme } from '~components/BladeProvider'; -import type { DotNotationColorStringToken, DotNotationSpacingStringToken } from '~utils/types'; +import type { ChipBorderColors, ChipBackgroundColors } from './types'; +import type { DotNotationSpacingStringToken } from '~utils/types'; import type { SelectorInputHoverTokens } from '~components/Form/Selector/types'; -import { size } from '~tokens/global'; import type { IconProps } from '~components/Icons'; import type { BaseTextProps } from '~components/Typography/BaseText/types'; +import type { DurationString, EasingString } from '~tokens/global'; +import { size } from '~tokens/global'; const chipGroupGapTokens = { xsmall: { @@ -74,103 +75,71 @@ const chipHorizontalPaddingTokens: ChipHorizontalPaddingTokens = { }, }; -type FeedbackActionBackgroundColors< - T extends 'positive' | 'negative' -> = `feedback.${T}.action.background.primary.${DotNotationColorStringToken< - Theme['colors']['feedback'][T]['action']['background']['primary'] ->}`; -type FeedbackActionBorderColors< - T extends 'positive' | 'negative' -> = `feedback.${T}.action.border.${DotNotationColorStringToken< - Theme['colors']['feedback'][T]['action']['border'] ->}`; type TextColorTokens = BaseTextProps['color']; type IconColorTokens = IconProps['color']; type ChipColorTokens = { text: Record; - icon: Record; - background: Record< - string, - Record< - string, - | FeedbackActionBackgroundColors<'positive'> - | FeedbackActionBackgroundColors<'negative'> - | 'transparent' - | 'brand.gray.a50.lowContrast' - | 'brand.primary.300' - | 'brand.primary.400' - > - >; - border: Record< - string, - Record< - string, - | FeedbackActionBorderColors<'positive'> - | FeedbackActionBorderColors<'negative'> - | 'brand.gray.400.lowContrast' - | 'brand.gray.a100.lowContrast' - | 'brand.gray.a50.lowContrast' - | 'brand.primary.500' - > - >; + icon: Record; + background: Record>; + border: Record>; }; const chipColorTokens: ChipColorTokens = { text: { - unchecked: 'surface.text.subtle.lowContrast', - disabled: 'surface.text.placeholder.lowContrast', - default: 'action.text.secondary.default', - positive: 'feedback.text.positive.lowContrast', - negative: 'feedback.text.negative.lowContrast', + unchecked: 'interactive.text.gray.subtle', + disabled: 'interactive.text.gray.disabled', + primary: 'interactive.text.primary.normal', + positive: 'interactive.text.positive.normal', + negative: 'interactive.text.negative.normal', }, icon: { - unchecked: 'surface.text.subtle.lowContrast', - disabled: 'surface.text.placeholder.lowContrast', - default: 'action.icon.secondary.default', - positive: 'feedback.icon.positive.lowContrast', - negative: 'feedback.icon.negative.lowContrast', + unchecked: 'interactive.icon.gray.subtle', + disabled: 'interactive.icon.gray.disabled', + primary: 'interactive.icon.primary.normal', + positive: 'interactive.icon.positive.normal', + negative: 'interactive.icon.negative.normal', }, background: { unchecked: { default: 'transparent', - hover: 'brand.gray.a50.lowContrast', + hover: 'interactive.background.gray.faded', disabled: 'transparent', }, - default: { - default: 'brand.primary.300', - hover: 'brand.primary.400', - disabled: 'brand.gray.a50.lowContrast', + primary: { + default: 'interactive.background.primary.faded', + hover: 'interactive.background.primary.fadedHighlighted', + disabled: 'interactive.background.primary.disabled', }, positive: { - default: 'feedback.positive.action.background.primary.default.lowContrast', - hover: 'feedback.positive.action.background.primary.hover.lowContrast', - disabled: 'brand.gray.a50.lowContrast', + default: 'interactive.background.positive.faded', + hover: 'interactive.background.positive.fadedHighlighted', + disabled: 'interactive.background.positive.disabled', }, negative: { - default: 'feedback.negative.action.background.primary.default.lowContrast', - hover: 'feedback.negative.action.background.primary.hover.lowContrast', - disabled: 'brand.gray.a50.lowContrast', + default: 'interactive.background.negative.faded', + hover: 'interactive.background.negative.fadedHighlighted', + disabled: 'interactive.background.negative.disabled', }, }, border: { unchecked: { - default: 'brand.gray.400.lowContrast', - disabled: 'brand.gray.400.lowContrast', + default: 'interactive.border.gray.faded', + disabled: 'interactive.border.gray.disabled', }, - default: { - default: 'brand.primary.500', - hover: 'brand.primary.500', - disabled: 'brand.gray.a100.lowContrast', + primary: { + default: 'interactive.border.primary.default', + hover: 'interactive.border.primary.default', + disabled: 'interactive.border.primary.disabled', }, positive: { - default: 'feedback.positive.action.border.primary.default.lowContrast', - hover: 'feedback.positive.action.border.primary.hover.lowContrast', - disabled: 'brand.gray.a100.lowContrast', + default: 'interactive.border.positive.default', + hover: 'interactive.border.positive.default', + disabled: 'interactive.border.positive.disabled', }, negative: { - default: 'feedback.negative.action.border.primary.default.lowContrast', - hover: 'feedback.negative.action.border.primary.hover.lowContrast', - disabled: 'brand.gray.a50.lowContrast', + default: 'interactive.border.negative.default', + hover: 'interactive.border.negative.default', + disabled: 'interactive.border.negative.disabled', }, }, }; @@ -179,12 +148,12 @@ const getChipInputHoverTokens = (color: ChipGroupProps['color']): SelectorInputH return { default: { background: { - checked: 'transparent', - unchecked: 'transparent', + checked: 'colors.interactive.background.staticWhite.default', + unchecked: 'colors.interactive.background.staticWhite.default', }, border: { checked: `colors.${chipColorTokens.border[color || 'default'].hover}` as never, - unchecked: 'colors.brand.gray.500.lowContrast', + unchecked: 'colors.interactive.border.gray.default', }, }, }; @@ -216,9 +185,9 @@ const chipTextSizes = { }, } as const; -const chipMotionTokens = { - duration: 'motion.duration.xquick', - easing: 'motion.easing.standard.effective', +const chipMotionTokens: Record<'duration' | 'easing', DurationString | EasingString> = { + duration: 'duration.xquick', + easing: 'easing.standard.effective', }; export { diff --git a/packages/blade/src/components/Chip/getAnimatedChipStyles.ts b/packages/blade/src/components/Chip/getAnimatedChipStyles.ts index 69d4cf7f1e4..5b401e04ee4 100644 --- a/packages/blade/src/components/Chip/getAnimatedChipStyles.ts +++ b/packages/blade/src/components/Chip/getAnimatedChipStyles.ts @@ -12,7 +12,7 @@ const getAnimatedChipStyles = ({ return { backgroundColor: isDisabled ? 'transparent' - : getIn(theme.colors, 'surface.background.level2.lowContrast'), + : getIn(theme.colors, 'interactive.background.staticWhite.default'), borderRadius: makeBorderSize(theme.border.radius.max), borderColor: getIn(theme.colors, borderColor), borderWidth: getIn(theme, 'border.width.thin'), diff --git a/packages/blade/src/components/Chip/types.ts b/packages/blade/src/components/Chip/types.ts index 478616851f1..f05041a6140 100644 --- a/packages/blade/src/components/Chip/types.ts +++ b/packages/blade/src/components/Chip/types.ts @@ -1,7 +1,8 @@ import type { StyledPropsBlade } from '~components/Box/styledProps'; import type { Theme } from '~components/BladeProvider'; import type { IconComponent } from '~components/Icons'; -import type { DotNotationColorStringToken, StringChildrenType, TestID } from '~utils/types'; +import type { StringChildrenType, TestID } from '~utils/types'; +import type { DotNotationToken } from '~utils/lodashButBetter/get'; type ChipProps = { /** @@ -14,17 +15,11 @@ type ChipProps = { * */ icon?: IconComponent; - /** - * This is deprecated in favor of the `color` prop. - * - * @deprecated Use the `color` prop instead. - */ - intent?: 'positive' | 'negative' | 'none'; /** * Sets the Chip's visual color. * */ - color?: 'positive' | 'negative' | 'default'; + color?: 'primary' | 'positive' | 'negative'; /** * If `true`, the Chip will be disabled * @@ -91,18 +86,12 @@ type ChipGroupProps = { * Use `onChange` to update its value */ value?: string | string[]; - /** - * This is deprecated in favor of the `color` prop. - * - * @default "none" - * @deprecated Use the `color` prop instead. - */ - intent?: 'positive' | 'negative' | 'none'; /** * Sets the ChipGroups's visual color, it will propagate down to all the Chips * + * @default "primary" */ - color?: 'positive' | 'negative' | 'default'; + color?: 'primary' | 'positive' | 'negative'; } & TestID & StyledPropsBlade; @@ -115,19 +104,35 @@ type State = { type ChipGroupContextType = Pick< ChipGroupProps, - | 'isDisabled' - | 'name' - | 'defaultValue' - | 'value' - | 'onChange' - | 'size' - | 'intent' - | 'color' - | 'selectionType' + 'isDisabled' | 'name' | 'defaultValue' | 'value' | 'onChange' | 'size' | 'color' | 'selectionType' > & { state?: State }; +type InteractiveBackgroundColors< + T extends 'positive' | 'negative' | 'primary' +> = `interactive.background.${T}.${DotNotationToken< + Theme['colors']['interactive']['background'][T] +>}`; + +type InteractiveBorderColors< + T extends 'positive' | 'negative' | 'primary' +> = `interactive.border.${T}.${DotNotationToken}`; + +type ChipBackgroundColors = + | InteractiveBackgroundColors<'positive'> + | InteractiveBackgroundColors<'negative'> + | InteractiveBackgroundColors<'primary'> + | 'transparent' + | 'interactive.background.gray.faded'; + +type ChipBorderColors = + | InteractiveBorderColors<'positive'> + | InteractiveBorderColors<'negative'> + | InteractiveBorderColors<'primary'> + | 'interactive.border.gray.faded' + | 'interactive.border.gray.disabled'; + type AnimatedChipProps = { - borderColor: DotNotationColorStringToken; + borderColor: ChipBorderColors; isPressed?: boolean; isDisabled?: boolean; isDesktop?: boolean; @@ -137,7 +142,7 @@ type AnimatedChipProps = { type StyledChipWrapperProps = { color: ChipGroupProps['color']; - borderColor: DotNotationColorStringToken; + borderColor: ChipBorderColors; isChecked?: boolean; isDisabled?: boolean; theme: Theme; @@ -151,4 +156,6 @@ export type { ChipProps, State, StyledChipWrapperProps, + ChipBorderColors, + ChipBackgroundColors, }; diff --git a/packages/blade/src/components/Chip/useChipGroup.ts b/packages/blade/src/components/Chip/useChipGroup.ts index 5c8c41e0976..cf968e47e2f 100644 --- a/packages/blade/src/components/Chip/useChipGroup.ts +++ b/packages/blade/src/components/Chip/useChipGroup.ts @@ -6,15 +6,7 @@ import { useId } from '~utils/useId'; type UseChipGroupProps = Pick< ChipGroupProps, - | 'isDisabled' - | 'name' - | 'value' - | 'defaultValue' - | 'onChange' - | 'size' - | 'intent' - | 'color' - | 'selectionType' + 'isDisabled' | 'name' | 'value' | 'defaultValue' | 'onChange' | 'size' | 'color' | 'selectionType' >; type UseChipGroupReturn = { state: State; @@ -29,7 +21,6 @@ const useChipGroup = ({ onChange, name, size, - intent, color, selectionType, }: UseChipGroupProps): UseChipGroupReturn => { @@ -91,11 +82,10 @@ const useChipGroup = ({ name, state, size, - intent, color, selectionType, }; - }, [isDisabled, name, state, size, intent, color, selectionType]); + }, [isDisabled, name, state, size, color, selectionType]); return { state, contextValue, ids: { labelId } }; }; diff --git a/packages/blade/src/components/Collapsible/Collapsible.stories.tsx b/packages/blade/src/components/Collapsible/Collapsible.stories.tsx index 3d7abe0cae3..218cd480729 100644 --- a/packages/blade/src/components/Collapsible/Collapsible.stories.tsx +++ b/packages/blade/src/components/Collapsible/Collapsible.stories.tsx @@ -19,12 +19,7 @@ const Page = (): ReactElement => { Usage diff --git a/packages/blade/src/components/Collapsible/__tests__/Collapsible.native.test.tsx b/packages/blade/src/components/Collapsible/__tests__/Collapsible.native.test.tsx index 902017d43ff..6347df4d887 100644 --- a/packages/blade/src/components/Collapsible/__tests__/Collapsible.native.test.tsx +++ b/packages/blade/src/components/Collapsible/__tests__/Collapsible.native.test.tsx @@ -26,7 +26,7 @@ describe('', () => { Actual amount - + , @@ -42,7 +42,7 @@ describe('', () => { Actual amount - + , @@ -61,7 +61,7 @@ describe('', () => { {bodyText} - + , @@ -101,7 +101,7 @@ describe('', () => { {bodyText} - + @@ -140,7 +140,7 @@ describe('', () => { Actual amount - + , @@ -158,7 +158,7 @@ describe('', () => { Actual amount - + , diff --git a/packages/blade/src/components/Collapsible/__tests__/Collapsible.ssr.test.tsx b/packages/blade/src/components/Collapsible/__tests__/Collapsible.ssr.test.tsx index ce14a0035b7..40daedf21bb 100644 --- a/packages/blade/src/components/Collapsible/__tests__/Collapsible.ssr.test.tsx +++ b/packages/blade/src/components/Collapsible/__tests__/Collapsible.ssr.test.tsx @@ -21,7 +21,7 @@ describe('', () => { alignItems="baseline" > Actual amount - + ', () => { Actual amount - + , @@ -36,7 +36,7 @@ describe('', () => { Actual amount - + , @@ -55,7 +55,7 @@ describe('', () => { {bodyText} - + , @@ -95,7 +95,7 @@ describe('', () => { {bodyText} - + @@ -136,7 +136,7 @@ describe('', () => { Actual amount - + , @@ -154,7 +154,7 @@ describe('', () => { Actual amount - + , @@ -172,7 +172,7 @@ describe('', () => { Actual amount - + , @@ -192,7 +192,7 @@ describe('', () => { Actual amount - + , diff --git a/packages/blade/src/components/Collapsible/__tests__/__snapshots__/Collapsible.native.test.tsx.snap b/packages/blade/src/components/Collapsible/__tests__/__snapshots__/Collapsible.native.test.tsx.snap index 665250c4b6f..d628ac2f4ff 100644 --- a/packages/blade/src/components/Collapsible/__tests__/__snapshots__/Collapsible.native.test.tsx.snap +++ b/packages/blade/src/components/Collapsible/__tests__/__snapshots__/Collapsible.native.test.tsx.snap @@ -62,25 +62,23 @@ exports[` should render with CollapsibleButton 1`] = ` } } accessible={true} - activeBackgroundColor="hsla(230, 100%, 42%, 1)" - activeBorderColor="hsla(230, 100%, 42%, 1)" alignSelf="flex-start" - borderRadius="2px" - borderWidth="1px" + borderRadius="4px" + borderWidth="0px" buttonPaddingBottom="0px" buttonPaddingLeft="20px" buttonPaddingRight="20px" buttonPaddingTop="0px" collapsable={false} data-blade-component="button" - defaultBackgroundColor="hsla(218, 89%, 51%, 1)" - defaultBorderColor="hsla(218, 89%, 51%, 1)" - focusBackgroundColor="hsla(227, 100%, 45%, 1)" - focusBorderColor="hsla(227, 100%, 45%, 1)" - focusRingColor="hsla(218, 89%, 51%, 0.18)" + defaultBackgroundColor="hsla(227, 100%, 59%, 1)" + defaultBorderColor="hsla(227, 100%, 59%, 1)" + focusBackgroundColor="hsla(227, 71%, 51%, 1)" + focusBorderColor="hsla(227, 100%, 59%, 1)" + focusRingColor="hsla(227, 100%, 59%, 0.18)" focusable={true} - hoverBackgroundColor="hsla(223, 95%, 48%, 1)" - hoverBorderColor="hsla(223, 95%, 48%, 1)" + hoverBackgroundColor="hsla(227, 71%, 51%, 1)" + hoverBorderColor="hsla(227, 100%, 59%, 1)" isFullWidth={false} isLoading={false} minHeight="36px" @@ -101,15 +99,16 @@ exports[` should render with CollapsibleButton 1`] = ` { "alignItems": "center", "alignSelf": "flex-start", - "backgroundColor": "hsla(218, 89%, 51%, 1)", - "borderColor": "hsla(218, 89%, 51%, 1)", - "borderRadius": 2, + "backgroundColor": "hsla(227, 100%, 59%, 1)", + "borderColor": "hsla(227, 100%, 59%, 1)", + "borderRadius": 4, "borderStyle": "solid", - "borderWidth": 1, + "borderWidth": 0, "cursor": "pointer", "display": "flex", "justifyContent": "center", "minHeight": 36, + "overflow": "hidden", "paddingBottom": 0, "paddingLeft": 20, "paddingRight": 20, @@ -120,8 +119,8 @@ exports[` should render with CollapsibleButton 1`] = ` "width": "auto", }, { - "backgroundColor": "hsla(218, 89%, 51%, 1)", - "borderColor": "hsla(218, 89%, 51%, 1)", + "backgroundColor": "hsla(227, 100%, 59%, 1)", + "borderColor": "hsla(227, 100%, 59%, 1)", }, ] } @@ -144,28 +143,31 @@ exports[` should render with CollapsibleButton 1`] = ` "flexGrow": 1, "flexShrink": 1, "justifyContent": "center", + "zIndex": 1, }, { "opacity": 1, }, ] } + zIndex={1} > should render with CollapsibleButton 1`] = ` > should render with CollapsibleButton 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -282,10 +285,12 @@ exports[` should render with CollapsibleButton 1`] = ` should render with CollapsibleButton 1`] = ` data-blade-component="base-box" display="flex" flexDirection="row" + position="relative" style={ [ { "alignItems": "baseline", "display": "flex", "flexDirection": "row", + "position": "relative", }, ] } > should render with CollapsibleButton 1`] = ` should render with CollapsibleButton 1`] = ` > should render with CollapsibleButton 1`] = ` } > 1,000 - . should render with CollapsibleButton 1`] = ` ] } > + . 00 @@ -548,19 +570,20 @@ exports[` should render with CollapsibleLink 1`] = ` > should render with CollapsibleLink 1`] = ` should render with CollapsibleLink 1`] = ` > should render with CollapsibleLink 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -762,10 +786,12 @@ exports[` should render with CollapsibleLink 1`] = ` should render with CollapsibleLink 1`] = ` data-blade-component="base-box" display="flex" flexDirection="row" + position="relative" style={ [ { "alignItems": "baseline", "display": "flex", "flexDirection": "row", + "position": "relative", }, ] } > should render with CollapsibleLink 1`] = ` should render with CollapsibleLink 1`] = ` > should render with CollapsibleLink 1`] = ` } > 1,000 - . should render with CollapsibleLink 1`] = ` ] } > + . 00 diff --git a/packages/blade/src/components/Collapsible/__tests__/__snapshots__/Collapsible.ssr.test.tsx.snap b/packages/blade/src/components/Collapsible/__tests__/__snapshots__/Collapsible.ssr.test.tsx.snap index 6e40ff15b0a..0118e40ef73 100644 --- a/packages/blade/src/components/Collapsible/__tests__/__snapshots__/Collapsible.ssr.test.tsx.snap +++ b/packages/blade/src/components/Collapsible/__tests__/__snapshots__/Collapsible.ssr.test.tsx.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` should render Collapsible on server 1`] = `"

Actual amount

1,000.00

Razorpay Platform Fees

2%

GST

18%

"`; +exports[` should render Collapsible on server 1`] = `"

Actual amount

1,000.00

Razorpay Platform Fees

2%

GST

18%

"`; exports[` should render Collapsible on server 2`] = ` .c0.c0.c0.c0.c0 { @@ -37,6 +37,7 @@ exports[` should render Collapsible on server 2`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c6.c6.c6.c6.c6 { @@ -78,6 +79,9 @@ exports[` should render Collapsible on server 2`] = ` display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .c11.c11.c11.c11.c11 { @@ -92,16 +96,17 @@ exports[` should render Collapsible on server 2`] = ` -webkit-box-align: baseline; -ms-flex-align: baseline; align-items: baseline; + position: relative; } .c1.c1.c1.c1.c1 { min-height: 36px; width: auto; cursor: pointer; - background-color: hsla(218,89%,51%,1); - border-color: hsla(218,89%,51%,1); - border-width: 1px; - border-radius: 2px; + background-color: hsla(227,100%,59%,1); + border-color: hsla(227,100%,59%,1); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -117,6 +122,7 @@ exports[` should render Collapsible on server 2`] = ` align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -131,25 +137,25 @@ exports[` should render Collapsible on server 2`] = ` } .c1.c1.c1.c1.c1:hover { - background-color: hsla(223,95%,48%,1); - border-color: hsla(223,95%,48%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c1.c1.c1.c1.c1:active { - background-color: hsla(230,100%,42%,1); - border-color: hsla(230,100%,42%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c1.c1.c1.c1.c1:focus-visible { - background-color: hsla(227,100%,45%,1); - border-color: hsla(227,100%,45%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c1.c1.c1.c1.c1 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -158,81 +164,106 @@ exports[` should render Collapsible on server 2`] = ` .c4.c4.c4.c4.c4 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; } .c9.c9.c9.c9.c9 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c12.c12.c12.c12.c12 { - color: hsla(160,100%,26%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; - font-size: 0.75rem; - font-weight: 700; + color: hsla(150,100%,27%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; + font-size: 0.625rem; + font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; + opacity: 0.64; margin-right: 2px; } .c13.c13.c13.c13.c13 { - color: hsla(160,100%,26%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(150,100%,27%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c14.c14.c14.c14.c14 { - color: hsla(160,100%,26%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; - font-size: 0.75rem; + color: hsla(150,100%,27%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; + font-size: 0.625rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; - margin-left: 2px; + opacity: 0.64; } .c15.c15.c15.c15.c15 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; margin-top: 4px; @@ -343,6 +374,7 @@ exports[` should render Collapsible on server 2`] = ` @@ -351,13 +383,14 @@ exports[` should render Collapsible on server 2`] = ` data-blade-component="base-text" > 1,000 - - . + . + 00
diff --git a/packages/blade/src/components/Collapsible/__tests__/__snapshots__/Collapsible.web.test.tsx.snap b/packages/blade/src/components/Collapsible/__tests__/__snapshots__/Collapsible.web.test.tsx.snap index a4545015f72..b2435905042 100644 --- a/packages/blade/src/components/Collapsible/__tests__/__snapshots__/Collapsible.web.test.tsx.snap +++ b/packages/blade/src/components/Collapsible/__tests__/__snapshots__/Collapsible.web.test.tsx.snap @@ -35,6 +35,7 @@ exports[` should render with CollapsibleButton 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c6.c6.c6.c6.c6 { @@ -58,6 +59,9 @@ exports[` should render with CollapsibleButton 1`] = ` display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .c10.c10.c10.c10.c10 { @@ -72,6 +76,7 @@ exports[` should render with CollapsibleButton 1`] = ` -webkit-box-align: baseline; -ms-flex-align: baseline; align-items: baseline; + position: relative; } .c5.c5.c5.c5.c5 { @@ -91,10 +96,10 @@ exports[` should render with CollapsibleButton 1`] = ` min-height: 36px; width: auto; cursor: pointer; - background-color: hsla(218,89%,51%,1); - border-color: hsla(218,89%,51%,1); - border-width: 1px; - border-radius: 2px; + background-color: hsla(227,100%,59%,1); + border-color: hsla(227,100%,59%,1); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -110,6 +115,7 @@ exports[` should render with CollapsibleButton 1`] = ` align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -124,25 +130,25 @@ exports[` should render with CollapsibleButton 1`] = ` } .c1.c1.c1.c1.c1:hover { - background-color: hsla(223,95%,48%,1); - border-color: hsla(223,95%,48%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c1.c1.c1.c1.c1:active { - background-color: hsla(230,100%,42%,1); - border-color: hsla(230,100%,42%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c1.c1.c1.c1.c1:focus-visible { - background-color: hsla(227,100%,45%,1); - border-color: hsla(227,100%,45%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c1.c1.c1.c1.c1 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -151,70 +157,91 @@ exports[` should render with CollapsibleButton 1`] = ` .c4.c4.c4.c4.c4 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; } .c8.c8.c8.c8.c8 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c11.c11.c11.c11.c11 { - color: hsla(160,100%,26%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; - font-size: 0.75rem; - font-weight: 700; + color: hsla(150,100%,27%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; + font-size: 0.625rem; + font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; + opacity: 0.64; margin-right: 2px; } .c12.c12.c12.c12.c12 { - color: hsla(160,100%,26%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(150,100%,27%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c13.c13.c13.c13.c13 { - color: hsla(160,100%,26%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; - font-size: 0.75rem; + color: hsla(150,100%,27%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; + font-size: 0.625rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; - margin-left: 2px; + opacity: 0.64; } .c3.c3.c3.c3.c3 { @@ -303,6 +330,7 @@ exports[` should render with CollapsibleButton 1`] = ` @@ -311,12 +339,13 @@ exports[` should render with CollapsibleButton 1`] = ` data-blade-component="base-text" > 1,000 - . + . 00
@@ -393,6 +422,9 @@ exports[` should render with CollapsibleLink 1`] = ` display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .c11.c11.c11.c11.c11 { @@ -407,6 +439,7 @@ exports[` should render with CollapsibleLink 1`] = ` -webkit-box-align: baseline; -ms-flex-align: baseline; align-items: baseline; + position: relative; } .c6.c6.c6.c6.c6 { @@ -423,71 +456,92 @@ exports[` should render with CollapsibleLink 1`] = ` } .c3.c3.c3.c3.c3 { - color: hsla(218,89%,51%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(227,71%,51%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; } .c9.c9.c9.c9.c9 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c12.c12.c12.c12.c12 { - color: hsla(160,100%,26%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; - font-size: 0.75rem; - font-weight: 700; + color: hsla(150,100%,27%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; + font-size: 0.625rem; + font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; + opacity: 0.64; margin-right: 2px; } .c13.c13.c13.c13.c13 { - color: hsla(160,100%,26%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(150,100%,27%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c14.c14.c14.c14.c14 { - color: hsla(160,100%,26%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; - font-size: 0.75rem; + color: hsla(150,100%,27%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; + font-size: 0.625rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; - margin-left: 2px; + opacity: 0.64; } .c5.c5.c5.c5.c5 { @@ -540,7 +594,7 @@ exports[` should render with CollapsibleLink 1`] = ` } .c1.c1.c1.c1.c1:focus-visible .content-container { - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.09); } .c1.c1.c1.c1.c1 * { @@ -621,7 +675,7 @@ exports[` should render with CollapsibleLink 1`] = ` clip-rule="evenodd" d="M5.29289 8.29289C5.68342 7.90237 6.31658 7.90237 6.70711 8.29289L12 13.5858L17.2929 8.29289C17.6834 7.90237 18.3166 7.90237 18.7071 8.29289C19.0976 8.68342 19.0976 9.31658 18.7071 9.70711L12.7071 15.7071C12.3166 16.0976 11.6834 16.0976 11.2929 15.7071L5.29289 9.70711C4.90237 9.31658 4.90237 8.68342 5.29289 8.29289Z" data-blade-component="svg-path" - fill="hsla(218, 89%, 51%, 1)" + fill="hsla(227, 71%, 51%, 1)" fill-rule="evenodd" /> @@ -664,6 +718,7 @@ exports[` should render with CollapsibleLink 1`] = ` @@ -672,12 +727,13 @@ exports[` should render with CollapsibleLink 1`] = ` data-blade-component="base-text" > 1,000 - . + . 00
diff --git a/packages/blade/src/components/Counter/Counter.stories.tsx b/packages/blade/src/components/Counter/Counter.stories.tsx index cb14794ec3f..ab674bc0987 100644 --- a/packages/blade/src/components/Counter/Counter.stories.tsx +++ b/packages/blade/src/components/Counter/Counter.stories.tsx @@ -14,12 +14,7 @@ const Page = (): ReactElement => { Usage @@ -60,7 +55,7 @@ export const Counter = CounterTemplate.bind({}); Counter.args = { value: 20, color: 'neutral', - contrast: 'low', + emphasis: 'subtle', }; Counter.storyName = 'Default'; @@ -69,16 +64,16 @@ Max.args = { value: 120, max: 99, color: 'neutral', - contrast: 'high', + emphasis: 'intense', }; Max.storyName = 'Max'; const CountersWithColorTemplate: StoryFn = ({ ...args }) => { - const colors = ['positive', 'negative', 'notice', 'information', 'neutral', 'blue'] as const; + const colors = ['positive', 'negative', 'notice', 'information', 'neutral', 'primary'] as const; return ( - Low Contrast + Subtle Emphasis = ({ ...args } marginRight="spacing.3" marginTop="spacing.2" color={color} - contrast="low" + emphasis="subtle" /> ))} - High Contrast + Intense Emphasis = ({ ...args } marginRight="spacing.3" marginTop="spacing.2" color={color} - contrast="high" + emphasis="intense" /> ))} diff --git a/packages/blade/src/components/Counter/Counter.tsx b/packages/blade/src/components/Counter/Counter.tsx index 044ae31b9f0..dfb14cae235 100644 --- a/packages/blade/src/components/Counter/Counter.tsx +++ b/packages/blade/src/components/Counter/Counter.tsx @@ -1,7 +1,7 @@ import { StyledCounter } from './StyledCounter'; import type { StyledCounterProps } from './types'; -import { horizontalPadding, verticalPadding } from './counterTokens'; -import type { Feedback } from '~tokens/theme/theme'; +import { counterHeight, horizontalPadding } from './counterTokens'; +import type { FeedbackColors, SubtleOrIntense } from '~tokens/theme/theme'; import { Text } from '~components/Typography'; import BaseBox from '~components/Box/BaseBox'; import { useTheme } from '~components/BladeProvider'; @@ -10,8 +10,7 @@ import { metaAttribute, MetaConstants } from '~utils/metaAttribute'; import { getStyledProps } from '~components/Box/styledProps'; import type { StyledPropsBlade } from '~components/Box/styledProps'; import type { TestID } from '~utils/types'; -import { isReactNative } from '~utils'; -import { logger } from '~utils/logger'; +import { isReactNative, makeSize } from '~utils'; import { assignWithoutSideEffects } from '~utils/assignWithoutSideEffects'; export type CounterProps = { @@ -24,32 +23,18 @@ export type CounterProps = { * If value exceedes `max` it will render `value+` */ max?: number; - /** - * This prop is deprecated in favor of `color`. - * - * @default 'neutral' - * @deprecated Use `color` instead - */ - intent?: Feedback; - /** - * This prop is deprecated in favor of `color`. - * - * @default 'neutral' - * @deprecated Use `color` instead - */ - variant?: Feedback | 'blue'; /** * Sets the color of the counter. * * @default 'neutral' */ - color?: Feedback | 'default'; + color?: FeedbackColors | 'primary'; /** * Sets the contrast of the counter. * - * @default 'low' + * @default 'subtle' */ - contrast?: 'high' | 'low'; + emphasis?: SubtleOrIntense; /** * Sets the size of the counter. * @@ -64,29 +49,28 @@ type ColorProps = { backgroundColor: StyledCounterProps['backgroundColor']; }; -const isFeedbackVariant = (variant: string): variant is Feedback => { - const feedbackVariants = ['information', 'negative', 'neutral', 'notice', 'positive']; - return feedbackVariants.includes(variant); -}; - const getColorProps = ({ - variant = 'neutral', - contrast = 'low', + color = 'neutral', + emphasis = 'subtle', }: { - variant: NonNullable; - contrast: NonNullable; + color: NonNullable; + emphasis: NonNullable; }): ColorProps => { - const counterVariant = variant === 'default' ? 'blue' : variant; const props: ColorProps = { - textColor: 'feedback.text.neutral.lowContrast', - backgroundColor: 'feedback.background.neutral.lowContrast', + textColor: 'feedback.text.neutral.intense', + backgroundColor: 'feedback.background.neutral.subtle', }; - if (isFeedbackVariant(counterVariant)) { - props.textColor = `feedback.text.${counterVariant}.${contrast}Contrast`; - props.backgroundColor = `feedback.background.${counterVariant}.${contrast}Contrast`; + + if (color === 'primary') { + // primary color badge + props.textColor = + emphasis === 'intense' ? `surface.text.staticWhite.normal` : `surface.text.primary.normal`; + props.backgroundColor = `surface.background.primary.${emphasis}`; } else { - props.textColor = `badge.text.${counterVariant}.${contrast}Contrast`; - props.backgroundColor = `badge.background.${counterVariant}.${contrast}Contrast`; + // feedback colors badge + props.textColor = + emphasis === 'intense' ? `surface.text.staticWhite.normal` : `feedback.text.${color}.intense`; + props.backgroundColor = `feedback.background.${color}.${emphasis}`; } return props; }; @@ -94,10 +78,8 @@ const getColorProps = ({ const _Counter = ({ value, max, - intent, - variant = 'neutral', - color, - contrast = 'low', + color = 'neutral', + emphasis = 'subtle', size = 'medium', testID, ...styledProps @@ -109,21 +91,10 @@ const _Counter = ({ const { platform } = useTheme(); const { backgroundColor, textColor } = getColorProps({ - variant: color ?? intent ?? variant, - contrast, + color, + emphasis, }); - if (__DEV__) { - if (intent) { - logger({ - type: 'warn', - message: - 'The prop `intent` is deprecated and will be removed in a future release. Please use `variant` instead.', - moduleName: 'Counter', - }); - } - } - const counterTextSizes = { small: { variant: 'body', @@ -145,12 +116,14 @@ const _Counter = ({ {...metaAttribute({ name: MetaConstants.Counter, testID })} {...getStyledProps(styledProps)} > - + diff --git a/packages/blade/src/components/Counter/__tests__/Counter.native.test.tsx b/packages/blade/src/components/Counter/__tests__/Counter.native.test.tsx index 30a5419ccff..852748eacb1 100644 --- a/packages/blade/src/components/Counter/__tests__/Counter.native.test.tsx +++ b/packages/blade/src/components/Counter/__tests__/Counter.native.test.tsx @@ -3,7 +3,7 @@ import { Counter } from '../Counter'; import renderWithTheme from '~utils/testing/renderWithTheme.native'; const colors: CounterProps['color'][] = [ - 'default', + 'primary', 'information', 'negative', 'neutral', @@ -38,76 +38,78 @@ describe('', () => { }); colors.forEach((color) => { - it(`should render low contrast ${color} color Counter`, () => { - const { toJSON } = renderWithTheme(); + it(`should render subtle emphasis ${color} color Counter`, () => { + const { toJSON } = renderWithTheme(); expect(toJSON()).toMatchSnapshot(); }); - it(`should render high contrast ${color} color Counter`, () => { - const { toJSON } = renderWithTheme(); + it(`should render intense emphasis ${color} color Counter`, () => { + const { toJSON } = renderWithTheme(); expect(toJSON()).toMatchSnapshot(); }); }); - it('should render low contrast positive variant Counter', () => { - const { toJSON } = renderWithTheme(); + it('should render subtle emphasis positive color Counter', () => { + const { toJSON } = renderWithTheme(); expect(toJSON()).toMatchSnapshot(); }); - it('should render high contrast positive variant Counter', () => { - const { toJSON } = renderWithTheme(); + it('should render intense emphasis positive color Counter', () => { + const { toJSON } = renderWithTheme(); expect(toJSON()).toMatchSnapshot(); }); - it('should render low contrast negative variant Counter', () => { - const { toJSON } = renderWithTheme(); + it('should render subtle emphasis negative color Counter', () => { + const { toJSON } = renderWithTheme(); expect(toJSON()).toMatchSnapshot(); }); - it('should render high contrast negative variant Counter', () => { - const { toJSON } = renderWithTheme(); + it('should render intense emphasis negative color Counter', () => { + const { toJSON } = renderWithTheme(); expect(toJSON()).toMatchSnapshot(); }); - it('should render low contrast notice variant Counter', () => { - const { toJSON } = renderWithTheme(); + it('should render subtle emphasis notice color Counter', () => { + const { toJSON } = renderWithTheme(); expect(toJSON()).toMatchSnapshot(); }); - it('should render high contrast notice variant Counter', () => { - const { toJSON } = renderWithTheme(); + it('should render intense emphasis notice color Counter', () => { + const { toJSON } = renderWithTheme(); expect(toJSON()).toMatchSnapshot(); }); - it('should render low contrast information variant Counter', () => { - const { toJSON } = renderWithTheme(); + it('should render subtle emphasis information color Counter', () => { + const { toJSON } = renderWithTheme( + , + ); expect(toJSON()).toMatchSnapshot(); }); - it('should render high contrast information variant Counter', () => { + it('should render intense emphasis information color Counter', () => { const { toJSON } = renderWithTheme( - , + , ); expect(toJSON()).toMatchSnapshot(); }); - it('should render low contrast neutral variant Counter', () => { - const { toJSON } = renderWithTheme(); + it('should render subtle emphasis neutral color Counter', () => { + const { toJSON } = renderWithTheme(); expect(toJSON()).toMatchSnapshot(); }); - it('should render high contrast neutral variant Counter', () => { - const { toJSON } = renderWithTheme(); + it('should render intense emphasis neutral color Counter', () => { + const { toJSON } = renderWithTheme(); expect(toJSON()).toMatchSnapshot(); }); - it('should render low contrast blue variant Counter', () => { - const { toJSON } = renderWithTheme(); + it('should render subtle emphasis primary color Counter', () => { + const { toJSON } = renderWithTheme(); expect(toJSON()).toMatchSnapshot(); }); - it('should render high contrast blue variant Counter', () => { - const { toJSON } = renderWithTheme(); + it('should render intense emphasis primary color Counter', () => { + const { toJSON } = renderWithTheme(); expect(toJSON()).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Counter/__tests__/Counter.web.test.tsx b/packages/blade/src/components/Counter/__tests__/Counter.web.test.tsx index 5ac2ac7e29d..b632e55b084 100644 --- a/packages/blade/src/components/Counter/__tests__/Counter.web.test.tsx +++ b/packages/blade/src/components/Counter/__tests__/Counter.web.test.tsx @@ -3,7 +3,7 @@ import { Counter } from '../Counter'; import renderWithTheme from '~utils/testing/renderWithTheme.web'; const colors: CounterProps['color'][] = [ - 'default', + 'primary', 'information', 'negative', 'neutral', @@ -38,82 +38,92 @@ describe('', () => { }); colors.forEach((color) => { - it(`should render low contrast ${color} color Counter`, () => { - const { container } = renderWithTheme(); + it(`should render subtle emphasis ${color} color Counter`, () => { + const { container } = renderWithTheme(); expect(container).toMatchSnapshot(); }); - it(`should render high contrast ${color} color Counter`, () => { - const { container } = renderWithTheme(); + it(`should render intense emphasis ${color} color Counter`, () => { + const { container } = renderWithTheme( + , + ); expect(container).toMatchSnapshot(); }); }); - it('should render low contrast positive variant Counter', () => { - const { container } = renderWithTheme(); + it('should render subtle emphasis positive color Counter', () => { + const { container } = renderWithTheme( + , + ); expect(container).toMatchSnapshot(); }); - it('should render high contrast positive variant Counter', () => { + it('should render intense emphasis positive color Counter', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); - it('should render low contrast negative variant Counter', () => { - const { container } = renderWithTheme(); + it('should render subtle emphasis negative color Counter', () => { + const { container } = renderWithTheme( + , + ); expect(container).toMatchSnapshot(); }); - it('should render high contrast negative variant Counter', () => { + it('should render intense emphasis negative color Counter', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); - it('should render low contrast notice variant Counter', () => { - const { container } = renderWithTheme(); + it('should render subtle emphasis notice color Counter', () => { + const { container } = renderWithTheme(); expect(container).toMatchSnapshot(); }); - it('should render high contrast notice variant Counter', () => { - const { container } = renderWithTheme(); + it('should render intense emphasis notice color Counter', () => { + const { container } = renderWithTheme(); expect(container).toMatchSnapshot(); }); - it('should render low contrast information variant Counter', () => { + it('should render subtle emphasis information color Counter', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); - it('should render high contrast information variant Counter', () => { + it('should render intense emphasis information color Counter', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); - it('should render low contrast neutral variant Counter', () => { - const { container } = renderWithTheme(); + it('should render subtle emphasis neutral color Counter', () => { + const { container } = renderWithTheme(); expect(container).toMatchSnapshot(); }); - it('should render high contrast neutral variant Counter', () => { - const { container } = renderWithTheme(); + it('should render intense emphasis neutral color Counter', () => { + const { container } = renderWithTheme( + , + ); expect(container).toMatchSnapshot(); }); - it('should render low contrast blue variant Counter', () => { - const { container } = renderWithTheme(); + it('should render subtle emphasis primary color Counter', () => { + const { container } = renderWithTheme(); expect(container).toMatchSnapshot(); }); - it('should render high contrast blue variant Counter', () => { - const { container } = renderWithTheme(); + it('should render intense emphasis primary color Counter', () => { + const { container } = renderWithTheme( + , + ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Counter/__tests__/__snapshots__/Counter.native.test.tsx.snap b/packages/blade/src/components/Counter/__tests__/__snapshots__/Counter.native.test.tsx.snap index c7f3f371163..d1c40fec6b4 100644 --- a/packages/blade/src/components/Counter/__tests__/__snapshots__/Counter.native.test.tsx.snap +++ b/packages/blade/src/components/Counter/__tests__/__snapshots__/Counter.native.test.tsx.snap @@ -20,18 +20,20 @@ exports[` should render Counter with default props 1`] = ` } > should render Counter with default props 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render Counter with default props 1`] = ` `; -exports[` should render high contrast blue variant Counter 1`] = ` +exports[` should render intense emphasis information color Counter 1`] = ` should render high contrast blue variant Counter 1`] = ` } > should render high contrast blue variant Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render high contrast blue variant Counter 1`] = ` `; -exports[` should render high contrast default color Counter 1`] = ` +exports[` should render intense emphasis information color Counter 2`] = ` should render high contrast default color Counter 1`] = ` } > should render high contrast default color Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render high contrast default color Counter 1`] = ` `; -exports[` should render high contrast information color Counter 1`] = ` +exports[` should render intense emphasis negative color Counter 1`] = ` should render high contrast information color Counter 1`] = } > should render high contrast information color Counter 1`] = "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render high contrast information color Counter 1`] = `; -exports[` should render high contrast information variant Counter 1`] = ` +exports[` should render intense emphasis negative color Counter 2`] = ` should render high contrast information variant Counter 1`] } > should render high contrast information variant Counter 1`] "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render high contrast information variant Counter 1`] `; -exports[` should render high contrast negative color Counter 1`] = ` +exports[` should render intense emphasis neutral color Counter 1`] = ` should render high contrast negative color Counter 1`] = ` } > should render high contrast negative color Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render high contrast negative color Counter 1`] = ` `; -exports[` should render high contrast negative variant Counter 1`] = ` +exports[` should render intense emphasis neutral color Counter 2`] = ` should render high contrast negative variant Counter 1`] = } > should render high contrast negative variant Counter 1`] = "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render high contrast negative variant Counter 1`] = `; -exports[` should render high contrast neutral color Counter 1`] = ` +exports[` should render intense emphasis notice color Counter 1`] = ` should render high contrast neutral color Counter 1`] = ` } > should render high contrast neutral color Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render high contrast neutral color Counter 1`] = ` `; -exports[` should render high contrast neutral variant Counter 1`] = ` +exports[` should render intense emphasis notice color Counter 2`] = ` should render high contrast neutral variant Counter 1`] = ` } > should render high contrast neutral variant Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render high contrast neutral variant Counter 1`] = ` `; -exports[` should render high contrast notice color Counter 1`] = ` +exports[` should render intense emphasis positive color Counter 1`] = ` should render high contrast notice color Counter 1`] = ` } > should render high contrast notice color Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render high contrast notice color Counter 1`] = ` `; -exports[` should render high contrast notice variant Counter 1`] = ` +exports[` should render intense emphasis positive color Counter 2`] = ` should render high contrast notice variant Counter 1`] = ` } > should render high contrast notice variant Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render high contrast notice variant Counter 1`] = ` `; -exports[` should render high contrast positive color Counter 1`] = ` +exports[` should render intense emphasis primary color Counter 1`] = ` should render high contrast positive color Counter 1`] = ` } > should render high contrast positive color Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render high contrast positive color Counter 1`] = ` `; -exports[` should render high contrast positive variant Counter 1`] = ` +exports[` should render intense emphasis primary color Counter 2`] = ` should render high contrast positive variant Counter 1`] = } > should render high contrast positive variant Counter 1`] = "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render large size Counter 1`] = ` } > should render large size Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render large size Counter 1`] = ` `; -exports[` should render low contrast blue variant Counter 1`] = ` +exports[` should render medium size Counter 1`] = ` should render low contrast blue variant Counter 1`] = ` } > should render low contrast blue variant Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render low contrast blue variant Counter 1`] = ` `; -exports[` should render low contrast default color Counter 1`] = ` +exports[` should render small size Counter 1`] = ` should render low contrast default color Counter 1`] = ` } > should render low contrast default color Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, - "paddingLeft": 8, - "paddingRight": 8, - "paddingTop": 2, + "paddingLeft": 4, + "paddingRight": 4, }, ] } > should render low contrast default color Counter 1`] = ` `; -exports[` should render low contrast information color Counter 1`] = ` +exports[` should render subtle emphasis information color Counter 1`] = ` should render low contrast information color Counter 1`] = } > should render low contrast information color Counter 1`] = "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render low contrast information color Counter 1`] = `; -exports[` should render low contrast information variant Counter 1`] = ` +exports[` should render subtle emphasis information color Counter 2`] = ` should render low contrast information variant Counter 1`] } > should render low contrast information variant Counter 1`] "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render low contrast information variant Counter 1`] `; -exports[` should render low contrast negative color Counter 1`] = ` +exports[` should render subtle emphasis negative color Counter 1`] = ` should render low contrast negative color Counter 1`] = ` } > should render low contrast negative color Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render low contrast negative color Counter 1`] = ` `; -exports[` should render low contrast negative variant Counter 1`] = ` +exports[` should render subtle emphasis negative color Counter 2`] = ` should render low contrast negative variant Counter 1`] = ` } > should render low contrast negative variant Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render low contrast negative variant Counter 1`] = ` `; -exports[` should render low contrast neutral color Counter 1`] = ` +exports[` should render subtle emphasis neutral color Counter 1`] = ` should render low contrast neutral color Counter 1`] = ` } > should render low contrast neutral color Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render low contrast neutral color Counter 1`] = ` `; -exports[` should render low contrast neutral variant Counter 1`] = ` +exports[` should render subtle emphasis neutral color Counter 2`] = ` should render low contrast neutral variant Counter 1`] = ` } > should render low contrast neutral variant Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render low contrast neutral variant Counter 1`] = ` `; -exports[` should render low contrast notice color Counter 1`] = ` +exports[` should render subtle emphasis notice color Counter 1`] = ` should render low contrast notice color Counter 1`] = ` } > should render low contrast notice color Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render low contrast notice color Counter 1`] = ` `; -exports[` should render low contrast notice variant Counter 1`] = ` +exports[` should render subtle emphasis notice color Counter 2`] = ` should render low contrast notice variant Counter 1`] = ` } > should render low contrast notice variant Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render low contrast notice variant Counter 1`] = ` `; -exports[` should render low contrast positive color Counter 1`] = ` +exports[` should render subtle emphasis positive color Counter 1`] = ` should render low contrast positive color Counter 1`] = ` } > should render low contrast positive color Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render low contrast positive color Counter 1`] = ` `; -exports[` should render low contrast positive variant Counter 1`] = ` +exports[` should render subtle emphasis positive color Counter 2`] = ` should render low contrast positive variant Counter 1`] = ` } > should render low contrast positive variant Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render low contrast positive variant Counter 1`] = ` `; -exports[` should render medium size Counter 1`] = ` +exports[` should render subtle emphasis primary color Counter 1`] = ` should render medium size Counter 1`] = ` } > should render medium size Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 2, "paddingLeft": 8, "paddingRight": 8, - "paddingTop": 2, }, ] } > should render medium size Counter 1`] = ` `; -exports[` should render small size Counter 1`] = ` +exports[` should render subtle emphasis primary color Counter 2`] = ` should render small size Counter 1`] = ` } > should render small size Counter 1`] = ` "flexDirection": "row", "justifyContent": "center", "overflow": "hidden", - "paddingBottom": 0, - "paddingLeft": 4, - "paddingRight": 4, - "paddingTop": 0, + "paddingLeft": 8, + "paddingRight": 8, }, ] } > should limit value with max prop 1`] = `"

10+

"`; +exports[` should limit value with max prop 1`] = `"

10+

"`; diff --git a/packages/blade/src/components/Counter/__tests__/__snapshots__/Counter.web.test.tsx.snap b/packages/blade/src/components/Counter/__tests__/__snapshots__/Counter.web.test.tsx.snap index 4022fcfc8ec..058455445bc 100644 --- a/packages/blade/src/components/Counter/__tests__/__snapshots__/Counter.web.test.tsx.snap +++ b/packages/blade/src/components/Counter/__tests__/__snapshots__/Counter.web.test.tsx.snap @@ -9,7 +9,8 @@ exports[` should render Counter with default props 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(216,15%,54%,0.09); + min-height: 20px; + background-color: hsla(211,20%,52%,0.09); } .c3.c3.c3.c3.c3 { @@ -29,14 +30,12 @@ exports[` should render Counter with default props 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(211,20%,52%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -52,14 +51,18 @@ exports[` should render Counter with default props 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,33%,21%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -95,7 +98,7 @@ exports[` should render Counter with default props 1`] = `
`; -exports[` should render high contrast blue variant Counter 1`] = ` +exports[` should render intense emphasis information color Counter 1`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -104,7 +107,8 @@ exports[` should render high contrast blue variant Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(218,89%,51%,1); + min-height: 20px; + background-color: hsla(200,84%,44%,1); } .c3.c3.c3.c3.c3 { @@ -124,14 +128,12 @@ exports[` should render high contrast blue variant Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(218,89%,51%,1); + background-color: hsla(200,84%,44%,1); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -148,13 +150,17 @@ exports[` should render high contrast blue variant Counter 1`] = ` .c4.c4.c4.c4.c4 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -190,7 +196,7 @@ exports[` should render high contrast blue variant Counter 1`] = `
`; -exports[` should render high contrast default color Counter 1`] = ` +exports[` should render intense emphasis information color Counter 2`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -199,7 +205,8 @@ exports[` should render high contrast default color Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(218,89%,51%,1); + min-height: 20px; + background-color: hsla(200,84%,44%,1); } .c3.c3.c3.c3.c3 { @@ -219,14 +226,12 @@ exports[` should render high contrast default color Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(218,89%,51%,1); + background-color: hsla(200,84%,44%,1); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -243,13 +248,17 @@ exports[` should render high contrast default color Counter 1`] = ` .c4.c4.c4.c4.c4 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -285,7 +294,7 @@ exports[` should render high contrast default color Counter 1`] = `
`; -exports[` should render high contrast information color Counter 1`] = ` +exports[` should render intense emphasis negative color Counter 1`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -294,7 +303,8 @@ exports[` should render high contrast information color Counter 1`] = } .c1.c1.c1.c1.c1 { - background-color: hsla(193,100%,35%,1); + min-height: 20px; + background-color: hsla(4,74%,49%,1); } .c3.c3.c3.c3.c3 { @@ -314,14 +324,12 @@ exports[` should render high contrast information color Counter 1`] = -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(193,100%,35%,1); + background-color: hsla(4,74%,49%,1); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -338,13 +346,17 @@ exports[` should render high contrast information color Counter 1`] = .c4.c4.c4.c4.c4 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -380,7 +392,7 @@ exports[` should render high contrast information color Counter 1`] = `; -exports[` should render high contrast information variant Counter 1`] = ` +exports[` should render intense emphasis negative color Counter 2`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -389,7 +401,8 @@ exports[` should render high contrast information variant Counter 1`] } .c1.c1.c1.c1.c1 { - background-color: hsla(193,100%,35%,1); + min-height: 20px; + background-color: hsla(4,74%,49%,1); } .c3.c3.c3.c3.c3 { @@ -409,14 +422,12 @@ exports[` should render high contrast information variant Counter 1`] -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(193,100%,35%,1); + background-color: hsla(4,74%,49%,1); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -433,13 +444,17 @@ exports[` should render high contrast information variant Counter 1`] .c4.c4.c4.c4.c4 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -475,7 +490,7 @@ exports[` should render high contrast information variant Counter 1`] `; -exports[` should render high contrast negative color Counter 1`] = ` +exports[` should render intense emphasis neutral color Counter 1`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -484,7 +499,8 @@ exports[` should render high contrast negative color Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(8,73%,47%,1); + min-height: 20px; + background-color: hsla(211,29%,26%,1); } .c3.c3.c3.c3.c3 { @@ -504,14 +520,12 @@ exports[` should render high contrast negative color Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(8,73%,47%,1); + background-color: hsla(211,29%,26%,1); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -528,13 +542,17 @@ exports[` should render high contrast negative color Counter 1`] = ` .c4.c4.c4.c4.c4 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -570,7 +588,7 @@ exports[` should render high contrast negative color Counter 1`] = ` `; -exports[` should render high contrast negative variant Counter 1`] = ` +exports[` should render intense emphasis neutral color Counter 2`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -579,7 +597,8 @@ exports[` should render high contrast negative variant Counter 1`] = } .c1.c1.c1.c1.c1 { - background-color: hsla(8,73%,47%,1); + min-height: 20px; + background-color: hsla(211,29%,26%,1); } .c3.c3.c3.c3.c3 { @@ -599,14 +618,12 @@ exports[` should render high contrast negative variant Counter 1`] = -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(8,73%,47%,1); + background-color: hsla(211,29%,26%,1); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -623,13 +640,17 @@ exports[` should render high contrast negative variant Counter 1`] = .c4.c4.c4.c4.c4 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -665,7 +686,7 @@ exports[` should render high contrast negative variant Counter 1`] = `; -exports[` should render high contrast neutral color Counter 1`] = ` +exports[` should render intense emphasis notice color Counter 1`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -674,7 +695,8 @@ exports[` should render high contrast neutral color Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(216,33%,29%,1); + min-height: 20px; + background-color: hsla(25,90%,48%,1); } .c3.c3.c3.c3.c3 { @@ -694,14 +716,12 @@ exports[` should render high contrast neutral color Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(216,33%,29%,1); + background-color: hsla(25,90%,48%,1); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -718,13 +738,17 @@ exports[` should render high contrast neutral color Counter 1`] = ` .c4.c4.c4.c4.c4 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -760,7 +784,7 @@ exports[` should render high contrast neutral color Counter 1`] = ` `; -exports[` should render high contrast neutral variant Counter 1`] = ` +exports[` should render intense emphasis notice color Counter 2`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -769,7 +793,8 @@ exports[` should render high contrast neutral variant Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(216,33%,29%,1); + min-height: 20px; + background-color: hsla(25,90%,48%,1); } .c3.c3.c3.c3.c3 { @@ -789,14 +814,12 @@ exports[` should render high contrast neutral variant Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(216,33%,29%,1); + background-color: hsla(25,90%,48%,1); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -813,13 +836,17 @@ exports[` should render high contrast neutral variant Counter 1`] = ` .c4.c4.c4.c4.c4 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -855,7 +882,7 @@ exports[` should render high contrast neutral variant Counter 1`] = ` `; -exports[` should render high contrast notice color Counter 1`] = ` +exports[` should render intense emphasis positive color Counter 1`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -864,7 +891,8 @@ exports[` should render high contrast notice color Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(38,97%,38%,1); + min-height: 20px; + background-color: hsla(150,100%,32%,1); } .c3.c3.c3.c3.c3 { @@ -884,14 +912,12 @@ exports[` should render high contrast notice color Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(38,97%,38%,1); + background-color: hsla(150,100%,32%,1); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -908,13 +934,17 @@ exports[` should render high contrast notice color Counter 1`] = ` .c4.c4.c4.c4.c4 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -950,7 +980,7 @@ exports[` should render high contrast notice color Counter 1`] = ` `; -exports[` should render high contrast notice variant Counter 1`] = ` +exports[` should render intense emphasis positive color Counter 2`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -959,7 +989,8 @@ exports[` should render high contrast notice variant Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(38,97%,38%,1); + min-height: 20px; + background-color: hsla(150,100%,32%,1); } .c3.c3.c3.c3.c3 { @@ -979,14 +1010,12 @@ exports[` should render high contrast notice variant Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(38,97%,38%,1); + background-color: hsla(150,100%,32%,1); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -1003,13 +1032,17 @@ exports[` should render high contrast notice variant Counter 1`] = ` .c4.c4.c4.c4.c4 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -1045,7 +1078,7 @@ exports[` should render high contrast notice variant Counter 1`] = ` `; -exports[` should render high contrast positive color Counter 1`] = ` +exports[` should render intense emphasis primary color Counter 1`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -1054,7 +1087,8 @@ exports[` should render high contrast positive color Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(160,100%,26%,1); + min-height: 20px; + background-color: hsla(227,100%,59%,1); } .c3.c3.c3.c3.c3 { @@ -1074,14 +1108,12 @@ exports[` should render high contrast positive color Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(160,100%,26%,1); + background-color: hsla(227,100%,59%,1); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -1098,13 +1130,17 @@ exports[` should render high contrast positive color Counter 1`] = ` .c4.c4.c4.c4.c4 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -1140,7 +1176,7 @@ exports[` should render high contrast positive color Counter 1`] = ` `; -exports[` should render high contrast positive variant Counter 1`] = ` +exports[` should render intense emphasis primary color Counter 2`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -1149,7 +1185,8 @@ exports[` should render high contrast positive variant Counter 1`] = } .c1.c1.c1.c1.c1 { - background-color: hsla(160,100%,26%,1); + min-height: 20px; + background-color: hsla(227,100%,59%,1); } .c3.c3.c3.c3.c3 { @@ -1169,14 +1206,12 @@ exports[` should render high contrast positive variant Counter 1`] = -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(160,100%,26%,1); + background-color: hsla(227,100%,59%,1); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -1193,13 +1228,17 @@ exports[` should render high contrast positive variant Counter 1`] = .c4.c4.c4.c4.c4 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -1244,7 +1283,8 @@ exports[` should render large size Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(216,15%,54%,0.09); + min-height: 24px; + background-color: hsla(211,20%,52%,0.09); } .c3.c3.c3.c3.c3 { @@ -1264,14 +1304,12 @@ exports[` should render large size Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(211,20%,52%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -1287,14 +1325,18 @@ exports[` should render large size Counter 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,33%,21%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -1330,7 +1372,7 @@ exports[` should render large size Counter 1`] = ` `; -exports[` should render low contrast blue variant Counter 1`] = ` +exports[` should render medium size Counter 1`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -1339,7 +1381,8 @@ exports[` should render low contrast blue variant Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(218,89%,51%,0.09); + min-height: 20px; + background-color: hsla(211,20%,52%,0.09); } .c3.c3.c3.c3.c3 { @@ -1359,14 +1402,12 @@ exports[` should render low contrast blue variant Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(218,89%,51%,0.09); + background-color: hsla(211,20%,52%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -1382,14 +1423,18 @@ exports[` should render low contrast blue variant Counter 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(218,89%,51%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,33%,21%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -1425,7 +1470,7 @@ exports[` should render low contrast blue variant Counter 1`] = ` `; -exports[` should render low contrast default color Counter 1`] = ` +exports[` should render small size Counter 1`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -1434,7 +1479,8 @@ exports[` should render low contrast default color Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(218,89%,51%,0.09); + min-height: 16px; + background-color: hsla(211,20%,52%,0.09); } .c3.c3.c3.c3.c3 { @@ -1454,14 +1500,12 @@ exports[` should render low contrast default color Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; - padding-right: 8px; - padding-left: 8px; + padding-right: 4px; + padding-left: 4px; } .c2.c2.c2.c2.c2 { - background-color: hsla(218,89%,51%,0.09); + background-color: hsla(211,20%,52%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -1477,14 +1521,18 @@ exports[` should render low contrast default color Counter 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(218,89%,51%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; - font-size: 0.75rem; - font-weight: 400; + color: hsla(211,33%,21%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; + font-size: 0.625rem; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 0.875rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -1520,7 +1568,7 @@ exports[` should render low contrast default color Counter 1`] = ` `; -exports[` should render low contrast information color Counter 1`] = ` +exports[` should render subtle emphasis information color Counter 1`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -1529,7 +1577,8 @@ exports[` should render low contrast information color Counter 1`] = } .c1.c1.c1.c1.c1 { - background-color: hsla(193,100%,35%,0.09); + min-height: 20px; + background-color: hsla(200,84%,44%,0.09); } .c3.c3.c3.c3.c3 { @@ -1549,14 +1598,12 @@ exports[` should render low contrast information color Counter 1`] = -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(193,100%,35%,0.09); + background-color: hsla(200,84%,44%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -1572,14 +1619,18 @@ exports[` should render low contrast information color Counter 1`] = } .c4.c4.c4.c4.c4 { - color: hsla(193,100%,35%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(200,84%,37%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -1615,7 +1666,7 @@ exports[` should render low contrast information color Counter 1`] = `; -exports[` should render low contrast information variant Counter 1`] = ` +exports[` should render subtle emphasis information color Counter 2`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -1624,7 +1675,8 @@ exports[` should render low contrast information variant Counter 1`] } .c1.c1.c1.c1.c1 { - background-color: hsla(193,100%,35%,0.09); + min-height: 20px; + background-color: hsla(200,84%,44%,0.09); } .c3.c3.c3.c3.c3 { @@ -1644,14 +1696,12 @@ exports[` should render low contrast information variant Counter 1`] -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(193,100%,35%,0.09); + background-color: hsla(200,84%,44%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -1667,14 +1717,18 @@ exports[` should render low contrast information variant Counter 1`] } .c4.c4.c4.c4.c4 { - color: hsla(193,100%,35%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(200,84%,37%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -1710,7 +1764,7 @@ exports[` should render low contrast information variant Counter 1`] `; -exports[` should render low contrast negative color Counter 1`] = ` +exports[` should render subtle emphasis negative color Counter 1`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -1719,7 +1773,8 @@ exports[` should render low contrast negative color Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(9,91%,56%,0.09); + min-height: 20px; + background-color: hsla(4,74%,49%,0.09); } .c3.c3.c3.c3.c3 { @@ -1739,14 +1794,12 @@ exports[` should render low contrast negative color Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(9,91%,56%,0.09); + background-color: hsla(4,74%,49%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -1762,14 +1815,18 @@ exports[` should render low contrast negative color Counter 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(8,73%,47%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(4,74%,49%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -1805,7 +1862,7 @@ exports[` should render low contrast negative color Counter 1`] = ` `; -exports[` should render low contrast negative variant Counter 1`] = ` +exports[` should render subtle emphasis negative color Counter 2`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -1814,7 +1871,8 @@ exports[` should render low contrast negative variant Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(9,91%,56%,0.09); + min-height: 20px; + background-color: hsla(4,74%,49%,0.09); } .c3.c3.c3.c3.c3 { @@ -1834,14 +1892,12 @@ exports[` should render low contrast negative variant Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(9,91%,56%,0.09); + background-color: hsla(4,74%,49%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -1857,14 +1913,18 @@ exports[` should render low contrast negative variant Counter 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(8,73%,47%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(4,74%,49%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -1900,7 +1960,7 @@ exports[` should render low contrast negative variant Counter 1`] = ` `; -exports[` should render low contrast neutral color Counter 1`] = ` +exports[` should render subtle emphasis neutral color Counter 1`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -1909,7 +1969,8 @@ exports[` should render low contrast neutral color Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(216,15%,54%,0.09); + min-height: 20px; + background-color: hsla(211,20%,52%,0.09); } .c3.c3.c3.c3.c3 { @@ -1929,14 +1990,12 @@ exports[` should render low contrast neutral color Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(211,20%,52%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -1952,14 +2011,18 @@ exports[` should render low contrast neutral color Counter 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,33%,21%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -1995,7 +2058,7 @@ exports[` should render low contrast neutral color Counter 1`] = ` `; -exports[` should render low contrast neutral variant Counter 1`] = ` +exports[` should render subtle emphasis neutral color Counter 2`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -2004,7 +2067,8 @@ exports[` should render low contrast neutral variant Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(216,15%,54%,0.09); + min-height: 20px; + background-color: hsla(211,20%,52%,0.09); } .c3.c3.c3.c3.c3 { @@ -2024,14 +2088,12 @@ exports[` should render low contrast neutral variant Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(211,20%,52%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -2047,14 +2109,18 @@ exports[` should render low contrast neutral variant Counter 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,33%,21%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -2090,7 +2156,7 @@ exports[` should render low contrast neutral variant Counter 1`] = ` `; -exports[` should render low contrast notice color Counter 1`] = ` +exports[` should render subtle emphasis notice color Counter 1`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -2099,7 +2165,8 @@ exports[` should render low contrast notice color Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(36,100%,44%,0.09); + min-height: 20px; + background-color: hsla(25,90%,48%,0.09); } .c3.c3.c3.c3.c3 { @@ -2119,14 +2186,12 @@ exports[` should render low contrast notice color Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(36,100%,44%,0.09); + background-color: hsla(25,90%,48%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -2142,14 +2207,18 @@ exports[` should render low contrast notice color Counter 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(38,97%,38%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(25,85%,42%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -2185,7 +2254,7 @@ exports[` should render low contrast notice color Counter 1`] = ` `; -exports[` should render low contrast notice variant Counter 1`] = ` +exports[` should render subtle emphasis notice color Counter 2`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -2194,7 +2263,8 @@ exports[` should render low contrast notice variant Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(36,100%,44%,0.09); + min-height: 20px; + background-color: hsla(25,90%,48%,0.09); } .c3.c3.c3.c3.c3 { @@ -2214,14 +2284,12 @@ exports[` should render low contrast notice variant Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(36,100%,44%,0.09); + background-color: hsla(25,90%,48%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -2237,14 +2305,18 @@ exports[` should render low contrast notice variant Counter 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(38,97%,38%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(25,85%,42%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -2280,7 +2352,7 @@ exports[` should render low contrast notice variant Counter 1`] = ` `; -exports[` should render low contrast positive color Counter 1`] = ` +exports[` should render subtle emphasis positive color Counter 1`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -2289,7 +2361,8 @@ exports[` should render low contrast positive color Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(155,100%,31%,0.09); + min-height: 20px; + background-color: hsla(150,100%,32%,0.09); } .c3.c3.c3.c3.c3 { @@ -2309,14 +2382,12 @@ exports[` should render low contrast positive color Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(155,100%,31%,0.09); + background-color: hsla(150,100%,32%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -2332,14 +2403,18 @@ exports[` should render low contrast positive color Counter 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(160,100%,26%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(150,100%,27%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -2375,7 +2450,7 @@ exports[` should render low contrast positive color Counter 1`] = ` `; -exports[` should render low contrast positive variant Counter 1`] = ` +exports[` should render subtle emphasis positive color Counter 2`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -2384,7 +2459,8 @@ exports[` should render low contrast positive variant Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(155,100%,31%,0.09); + min-height: 20px; + background-color: hsla(150,100%,32%,0.09); } .c3.c3.c3.c3.c3 { @@ -2404,14 +2480,12 @@ exports[` should render low contrast positive variant Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(155,100%,31%,0.09); + background-color: hsla(150,100%,32%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -2427,14 +2501,18 @@ exports[` should render low contrast positive variant Counter 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(160,100%,26%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(150,100%,27%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -2470,7 +2548,7 @@ exports[` should render low contrast positive variant Counter 1`] = ` `; -exports[` should render medium size Counter 1`] = ` +exports[` should render subtle emphasis primary color Counter 1`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -2479,7 +2557,8 @@ exports[` should render medium size Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(216,15%,54%,0.09); + min-height: 20px; + background-color: hsla(227,100%,59%,0.09); } .c3.c3.c3.c3.c3 { @@ -2499,14 +2578,12 @@ exports[` should render medium size Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 2px; - padding-bottom: 2px; padding-right: 8px; padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(227,100%,59%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -2522,14 +2599,18 @@ exports[` should render medium size Counter 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(227,100%,59%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -2565,7 +2646,7 @@ exports[` should render medium size Counter 1`] = ` `; -exports[` should render small size Counter 1`] = ` +exports[` should render subtle emphasis primary color Counter 2`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -2574,7 +2655,8 @@ exports[` should render small size Counter 1`] = ` } .c1.c1.c1.c1.c1 { - background-color: hsla(216,15%,54%,0.09); + min-height: 20px; + background-color: hsla(227,100%,59%,0.09); } .c3.c3.c3.c3.c3 { @@ -2594,14 +2676,12 @@ exports[` should render small size Counter 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - padding-top: 0px; - padding-bottom: 0px; - padding-right: 4px; - padding-left: 4px; + padding-right: 8px; + padding-left: 8px; } .c2.c2.c2.c2.c2 { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(227,100%,59%,0.09); border-radius: 9999px; max-width: 120px; display: -webkit-box; @@ -2617,14 +2697,18 @@ exports[` should render small size Counter 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; - font-size: 0.625rem; - font-weight: 400; + color: hsla(227,100%,59%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; + font-size: 0.75rem; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; diff --git a/packages/blade/src/components/Counter/counterTokens.ts b/packages/blade/src/components/Counter/counterTokens.ts index c7d0ce3949b..e41ded059a8 100644 --- a/packages/blade/src/components/Counter/counterTokens.ts +++ b/packages/blade/src/components/Counter/counterTokens.ts @@ -6,10 +6,10 @@ import { size } from '~tokens/global'; type CounterMaxWidth = Size[100] | Size[120]; -const verticalPadding: Record, DotNotationSpacingStringToken> = { - small: 'spacing.0', - medium: 'spacing.1', - large: 'spacing.1', +const counterHeight: Record, number> = { + small: size[16], + medium: size[20], + large: size[24], }; const horizontalPadding: Record< @@ -26,4 +26,4 @@ const maxWidth: Record, CounterMaxWidth> = { onDesktop: size[120], }; -export { maxWidth, verticalPadding, horizontalPadding }; +export { maxWidth, counterHeight, horizontalPadding }; diff --git a/packages/blade/src/components/Counter/types.ts b/packages/blade/src/components/Counter/types.ts index 9d13a159c75..6924b23623d 100644 --- a/packages/blade/src/components/Counter/types.ts +++ b/packages/blade/src/components/Counter/types.ts @@ -2,17 +2,16 @@ import type { CounterProps } from './Counter'; import type { Theme } from '~components/BladeProvider'; import type { TypographyPlatforms } from '~tokens/global'; import type { DotNotationColorStringToken } from '~utils/types'; +import type { SubtleOrIntense } from '~tokens/theme/theme'; type FeedbackBackgroundColors = `feedback.background.${DotNotationColorStringToken< Theme['colors']['feedback']['background'] >}`; -type BadgeBackgroundColors = `badge.background.${DotNotationColorStringToken< - Theme['colors']['badge']['background'] ->}`; +type SurfacePrimaryColors = `surface.background.primary.${SubtleOrIntense}`; export type StyledCounterProps = { - backgroundColor: FeedbackBackgroundColors | BadgeBackgroundColors; + backgroundColor: FeedbackBackgroundColors | SurfacePrimaryColors; size: NonNullable; platform: TypographyPlatforms; theme: Theme; diff --git a/packages/blade/src/components/Divider/Divider.stories.tsx b/packages/blade/src/components/Divider/Divider.stories.tsx index 0ce01442339..330ab7285ed 100644 --- a/packages/blade/src/components/Divider/Divider.stories.tsx +++ b/packages/blade/src/components/Divider/Divider.stories.tsx @@ -1,5 +1,4 @@ import type { StoryFn, Meta } from '@storybook/react'; -import { Title } from '@storybook/addon-docs'; import type { DividerProps } from './Divider'; import { Divider as DividerComponent } from './Divider'; import { Heading } from '~components/Typography/Heading'; @@ -16,17 +15,12 @@ import { getStyledPropsArgTypes } from '~components/Box/BaseBox/storybookArgType const Page = (): React.ReactElement => { return ( - Usage + Usage {` import { diff --git a/packages/blade/src/components/Divider/Divider.tsx b/packages/blade/src/components/Divider/Divider.tsx index 2396e4464d0..15cf6552c4c 100644 --- a/packages/blade/src/components/Divider/Divider.tsx +++ b/packages/blade/src/components/Divider/Divider.tsx @@ -4,7 +4,6 @@ import styled from 'styled-components'; import BaseBox from '~components/Box/BaseBox'; import { getStyledProps } from '~components/Box/styledProps'; import type { StyledPropsBlade } from '~components/Box/styledProps'; -import type { ColorContrast } from '~tokens/theme/theme'; import { isReactNative, makeBorderSize } from '~utils'; import { MetaConstants, metaAttribute } from '~utils/metaAttribute'; import type { TestID } from '~utils/types'; @@ -28,19 +27,13 @@ type DividerProps = { * * @default 'normal' */ - variant?: 'normal' | 'subtle'; + variant?: 'normal' | 'subtle' | 'muted'; /** * Sets the thickness of divider * * @default 'thin' */ - thickness?: 'thinner' | 'thin' | 'thick'; - /** - * Sets the contrast of divider - * - * @default 'low' - */ - contrast?: 'low' | 'high'; + thickness?: 'thinner' | 'thin' | 'thick' | 'thicker'; /** * Sets the height of divider. Divider uses Flex by default, use height only when parent is not flex. * @@ -62,6 +55,7 @@ const StyledDivider = styled(BaseBox)<{ width: DividerProps['width']; isDividerHorizontal: boolean; }>(({ theme, borderPosition, dividerStyle, thickness, isDividerHorizontal, width, height }) => ({ + borderWidth: 0, [`${borderPosition}Style`]: dividerStyle, [`${borderPosition}Width`]: makeBorderSize(theme.border.width[thickness]), ...(isDividerHorizontal ? { flexGrow: 1, width } : { alignSelf: 'stretch', height }), @@ -70,9 +64,8 @@ const StyledDivider = styled(BaseBox)<{ const Divider = ({ orientation = 'horizontal', dividerStyle = 'solid', - variant = 'normal', + variant = 'muted', thickness = 'thin', - contrast = 'low', height, width, testID, @@ -80,8 +73,7 @@ const Divider = ({ }: DividerProps): React.ReactElement => { const isDividerHorizontal = orientation === 'horizontal'; const borderPosition = isDividerHorizontal ? 'borderBottom' : 'borderLeft'; - const colorContrast: keyof ColorContrast = `${contrast}Contrast`; - const borderColor = { [`${borderPosition}Color`]: `surface.border.${variant}.${colorContrast}` }; + const borderColor = { [`${borderPosition}Color`]: `surface.border.gray.${variant}` }; const accessibilityProps = isReactNative() ? {} : makeAccessible({ @@ -90,7 +82,6 @@ const Divider = ({ return ( should render Divider using height 1`] = ` } > should render Divider using height 1`] = ` style={ [ { - "borderLeftColor": "hsla(216, 15%, 54%, 0.18)", - "borderStyle": "solid", - "borderWidth": 0, + "borderLeftColor": "hsla(211, 20%, 52%, 0.18)", + "borderLeftStyle": "solid", "height": "100%", }, { "alignSelf": "stretch", "borderLeftStyle": "solid", "borderLeftWidth": 1, + "borderWidth": 0, "height": "100%", }, ] @@ -71,22 +70,21 @@ exports[` should render Divider within flex container 1`] = ` } > should render Divider on server 1`] = `"
"`; +exports[` should render Divider on server 1`] = `"
"`; exports[` should render Divider on server 2`] = ` .c0.c0.c0.c0.c0 { @@ -11,12 +11,12 @@ exports[` should render Divider on server 2`] = ` } .c1.c1.c1.c1.c1 { - border-width: 0px; - border-bottom-color: hsla(216,15%,54%,0.18); - border-style: solid; + border-bottom-color: hsla(211,20%,52%,0.18); + border-bottom-style: solid; } .c2.c2.c2.c2.c2 { + border-width: 0; border-bottom-style: solid; border-bottom-width: 1px; -webkit-box-flex: 1; @@ -27,31 +27,31 @@ exports[` should render Divider on server 2`] = ` @media screen and (min-width:320px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:480px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:768px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1024px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1200px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-bottom-style: solid; } } diff --git a/packages/blade/src/components/Divider/__tests__/__snapshots__/Divider.web.test.tsx.snap b/packages/blade/src/components/Divider/__tests__/__snapshots__/Divider.web.test.tsx.snap index d647c5d8953..64f4f77f72f 100644 --- a/packages/blade/src/components/Divider/__tests__/__snapshots__/Divider.web.test.tsx.snap +++ b/packages/blade/src/components/Divider/__tests__/__snapshots__/Divider.web.test.tsx.snap @@ -9,12 +9,12 @@ exports[` should render Divider within flex container 1`] = ` } .c1.c1.c1.c1.c1 { - border-width: 0px; - border-bottom-color: hsla(216,15%,54%,0.18); - border-style: solid; + border-bottom-color: hsla(211,20%,52%,0.18); + border-bottom-style: solid; } .c2.c2.c2.c2.c2 { + border-width: 0; border-bottom-style: solid; border-bottom-width: 1px; -webkit-box-flex: 1; @@ -25,31 +25,31 @@ exports[` should render Divider within flex container 1`] = ` @media screen and (min-width:320px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:480px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:768px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1024px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1200px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-bottom-style: solid; } } @@ -75,12 +75,12 @@ exports[` should render horizontal Divider using width 1`] = ` .c1.c1.c1.c1.c1 { width: 100%; - border-width: 0px; - border-bottom-color: hsla(216,15%,54%,0.18); - border-style: solid; + border-bottom-color: hsla(211,20%,52%,0.18); + border-bottom-style: solid; } .c2.c2.c2.c2.c2 { + border-width: 0; border-bottom-style: solid; border-bottom-width: 1px; -webkit-box-flex: 1; @@ -92,31 +92,31 @@ exports[` should render horizontal Divider using width 1`] = ` @media screen and (min-width:320px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:480px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:768px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1024px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1200px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-bottom-style: solid; } } @@ -142,12 +142,12 @@ exports[` should render vertical Divider using height 1`] = ` .c1.c1.c1.c1.c1 { height: 100%; - border-width: 0px; - border-left-color: hsla(216,15%,54%,0.18); - border-style: solid; + border-left-color: hsla(211,20%,52%,0.18); + border-left-style: solid; } .c2.c2.c2.c2.c2 { + border-width: 0; border-left-style: solid; border-left-width: 1px; -webkit-align-self: stretch; @@ -158,31 +158,31 @@ exports[` should render vertical Divider using height 1`] = ` @media screen and (min-width:320px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-left-style: solid; } } @media screen and (min-width:480px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-left-style: solid; } } @media screen and (min-width:768px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-left-style: solid; } } @media screen and (min-width:1024px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-left-style: solid; } } @media screen and (min-width:1200px) { .c1.c1.c1.c1.c1 { - border-style: solid; + border-left-style: solid; } } diff --git a/packages/blade/src/components/Dropdown/Dropdown.tsx b/packages/blade/src/components/Dropdown/Dropdown.tsx index 38d5a1eee3b..9b97f973c2c 100644 --- a/packages/blade/src/components/Dropdown/Dropdown.tsx +++ b/packages/blade/src/components/Dropdown/Dropdown.tsx @@ -56,7 +56,6 @@ const _Dropdown = ({ isOpen: isOpenControlled, onOpenChange, selectionType = 'single', - onDismiss, testID, ...styledProps }: DropdownProps): React.ReactElement => { @@ -101,9 +100,6 @@ const _Dropdown = ({ useDidUpdate(() => { onOpenChange?.(isOpen); - if (!isOpen) { - onDismiss?.(); - } // eslint-disable-next-line react-hooks/exhaustive-deps }, [isOpen]); diff --git a/packages/blade/src/components/Dropdown/StyledDropdownOverlay.tsx b/packages/blade/src/components/Dropdown/StyledDropdownOverlay.tsx index 5e4245cf67e..da9cc21381c 100644 --- a/packages/blade/src/components/Dropdown/StyledDropdownOverlay.tsx +++ b/packages/blade/src/components/Dropdown/StyledDropdownOverlay.tsx @@ -8,9 +8,9 @@ const StyledDropdownOverlay = styled(BaseBox)<{ const { theme, isInBottomSheet } = props; return { - backgroundColor: theme.colors.surface.popup.background, + backgroundColor: theme.colors.popup.background.subtle, borderWidth: isInBottomSheet ? undefined : theme.border.width.thin, - borderColor: theme.colors.surface.border.normal.lowContrast, + borderColor: theme.colors.interactive.border.gray.faded, borderStyle: isInBottomSheet ? undefined : 'solid', borderRadius: makeSize(theme.border.radius.medium), }; diff --git a/packages/blade/src/components/Dropdown/__tests__/__snapshots__/Dropdown.native.test.tsx.snap b/packages/blade/src/components/Dropdown/__tests__/__snapshots__/Dropdown.native.test.tsx.snap index eb7c6f652fb..93eda275713 100644 --- a/packages/blade/src/components/Dropdown/__tests__/__snapshots__/Dropdown.native.test.tsx.snap +++ b/packages/blade/src/components/Dropdown/__tests__/__snapshots__/Dropdown.native.test.tsx.snap @@ -116,23 +116,24 @@ exports[` should render dropdown 1`] = ` > should render dropdown 1`] = ` > should render dropdown 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -219,8 +221,8 @@ exports[` should render dropdown 1`] = ` style={ [ { - "backgroundColor": "hsla(216, 15%, 54%, 0.09)", - "borderBottomColor": "hsla(216, 15%, 54%, 0.18)", + "backgroundColor": "hsla(211, 20%, 52%, 0.09)", + "borderBottomColor": "hsla(211, 20%, 52%, 0.18)", "borderBottomStyle": "solid", "borderBottomWidth": 1, "borderTopLeftRadius": 2, @@ -356,15 +358,16 @@ exports[` should render dropdown 1`] = ` style={ { "backgroundColor": "transparent", - "color": "hsla(214, 18%, 69%, 1)", + "color": "hsla(211, 20%, 52%, 0.32)", "flexBasis": 0, "flexGrow": 1, "flexShrink": 1, - "fontFamily": "Lato", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", "height": 36, + "letterSpacing": 0, "marginBottom": 0, "marginLeft": 0, "marginRight": 0, @@ -383,7 +386,7 @@ exports[` should render dropdown 1`] = ` > should render dropdown 1`] = ` style={ [ { - "color": "hsla(214, 18%, 69%, 1)", - "fontFamily": "Lato", + "color": "hsla(211, 20%, 52%, 0.32)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -573,7 +577,7 @@ exports[` should render dropdown 1`] = ` should render dropdown 1`] = ` should render dropdown 1`] = ` style={ [ { - "backgroundColor": "hsla(218, 89%, 51%, 1)", + "backgroundColor": "hsla(227, 100%, 59%, 1)", "bottom": 0, "height": 1, "left": 0, @@ -763,19 +767,19 @@ exports[` should render dropdown 1`] = ` "width": "100%", }, { - "elevation": 12, - "shadowColor": "hsla(217, 56%, 17%, 0.64)", + "elevation": 16, + "shadowColor": "hsla(217, 56%, 17%, 0.55)", "shadowOffset": { - "height": 8, + "height": 4, "width": 0, }, - "shadowOpacity": 0.1, - "shadowRadius": 4, + "shadowOpacity": 0.17, + "shadowRadius": 6, }, [ { "backgroundColor": "hsla(0, 0%, 100%, 1)", - "borderColor": "hsla(216, 15%, 54%, 0.18)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 4, "borderStyle": "solid", "borderWidth": 1, @@ -888,23 +892,23 @@ exports[` should render dropdown 1`] = ` } > should render dropdown 1`] = `
should render dropdown 1`] = ` getItemCount={[Function]} isInBottomSheet={false} keyExtractor={[Function]} - marginBottom={0} + marginBottom="0px" onContentSizeChange={[Function]} onLayout={[Function]} onMomentumScrollBegin={[Function]} @@ -1003,7 +1006,7 @@ exports[` should render dropdown 1`] = ` style={ [ { - "marginBottom": 0, + "marginBottom": "0pxpx", "maxHeight": 300, "paddingBottom": 8, "paddingLeft": 8, @@ -1125,7 +1128,7 @@ exports[` should render dropdown 1`] = ` > should render dropdown 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -1284,7 +1288,7 @@ exports[` should render dropdown 1`] = ` > should render dropdown 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -1356,22 +1361,21 @@ exports[` should render dropdown 1`] = ` } > should render dropdown and make it visible on click 1`] = `"
Recent Searches
"`; +exports[` should render dropdown and make it visible on click 1`] = `"

Recent Searches

"`; exports[` should render dropdown and make it visible on click 2`] = ` .c0.c0.c0.c0.c0 { @@ -137,7 +137,7 @@ exports[` should render dropdown and make it visible on click 2`] = .c24.c24.c24.c24.c24 { width: 100%; - box-shadow: 0 12px 16px -4px hsla(217,56%,17%,0.08),0 4px 6px -2px hsla(217,56%,17%,0.03); + box-shadow: 0px 8px 24px 0px hsla(217,56%,17%,0.12); } .c26.c26.c26.c26.c26 { @@ -207,9 +207,8 @@ exports[` should render dropdown and make it visible on click 2`] = } .c33.c33.c33.c33.c33 { - border-width: 0px; - border-bottom-color: hsla(216,15%,54%,0.18); - border-style: solid; + border-bottom-color: hsla(211,20%,52%,0.18); + border-bottom-style: solid; } .c37.c37.c37.c37.c37 { @@ -297,6 +296,7 @@ exports[` should render dropdown and make it visible on click 2`] = -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c11.c11.c11.c11.c11 { @@ -321,7 +321,7 @@ exports[` should render dropdown and make it visible on click 2`] = .c25.c25.c25.c25.c25 { background-color: hsla(0,0%,100%,1); border-width: 1px; - border-color: hsla(216,15%,54%,0.18); + border-color: hsla(211,20%,52%,0.18); border-style: solid; border-radius: 4px; } @@ -330,10 +330,10 @@ exports[` should render dropdown and make it visible on click 2`] = min-height: 36px; width: 100%; cursor: pointer; - background-color: hsla(218,89%,51%,1); - border-color: hsla(218,89%,51%,1); - border-width: 1px; - border-radius: 2px; + background-color: hsla(227,100%,59%,1); + border-color: hsla(227,100%,59%,1); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -349,6 +349,7 @@ exports[` should render dropdown and make it visible on click 2`] = align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -363,25 +364,25 @@ exports[` should render dropdown and make it visible on click 2`] = } .c43.c43.c43.c43.c43:hover { - background-color: hsla(223,95%,48%,1); - border-color: hsla(223,95%,48%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c43.c43.c43.c43.c43:active { - background-color: hsla(230,100%,42%,1); - border-color: hsla(230,100%,42%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c43.c43.c43.c43.c43:focus-visible { - background-color: hsla(227,100%,45%,1); - border-color: hsla(227,100%,45%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c43.c43.c43.c43.c43 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -389,14 +390,18 @@ exports[` should render dropdown and make it visible on click 2`] = } .c7.c7.c7.c7.c7 { - color: hsla(217,18%,45%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -407,27 +412,35 @@ exports[` should render dropdown and make it visible on click 2`] = } .c8.c8.c8.c8.c8 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c14.c14.c14.c14.c14 { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; @@ -439,27 +452,35 @@ exports[` should render dropdown and make it visible on click 2`] = } .c32.c32.c32.c32.c32 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 1rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.5rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c40.c40.c40.c40.c40 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -471,13 +492,17 @@ exports[` should render dropdown and make it visible on click 2`] = .c46.c46.c46.c46.c46 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -499,6 +524,7 @@ exports[` should render dropdown and make it visible on click 2`] = } .c34.c34.c34.c34.c34 { + border-width: 0; border-bottom-style: solid; border-bottom-width: 1px; -webkit-box-flex: 1; @@ -508,14 +534,18 @@ exports[` should render dropdown and make it visible on click 2`] = } .c13.c13.c13.c13.c13 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; @@ -537,56 +567,72 @@ exports[` should render dropdown and make it visible on click 2`] = } .c13.c13.c13.c13.c13::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c13.c13.c13.c13.c13::-moz-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c13.c13.c13.c13.c13:-ms-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c13.c13.c13.c13.c13::placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; @@ -602,7 +648,7 @@ exports[` should render dropdown and make it visible on click 2`] = left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; -webkit-animation: cAlpMa-450290765 250ms cubic-bezier(0.3,0,0.2,1) forwards; @@ -610,8 +656,8 @@ exports[` should render dropdown and make it visible on click 2`] = } .c9.c9.c9.c9.c9 { - background-color: hsla(218,89%,51%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(227,100%,59%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -629,8 +675,8 @@ exports[` should render dropdown and make it visible on click 2`] = } .c9.c9.c9.c9.c9:hover { - background-color: hsla(218,89%,51%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(227,100%,59%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -654,8 +700,8 @@ exports[` should render dropdown and make it visible on click 2`] = } .c9.c9.c9.c9.c9:focus-within { - background-color: hsla(218,89%,51%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(227,100%,59%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -721,11 +767,15 @@ exports[` should render dropdown and make it visible on click 2`] = } .c36.c36.c36.c36.c36:hover:not([aria-disabled=true]) { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(211,20%,52%,0.09); } .c36.c36.c36.c36.c36[aria-selected=true] { - background-color: hsla(218,89%,51%,0.09); + background-color: hsla(227,100%,59%,0.09); +} + +.c36.c36.c36.c36.c36[aria-selected=true]:hover { + background-color: hsla(227,100%,59%,0.18); } @media screen and (min-width:768px) { @@ -739,31 +789,31 @@ exports[` should render dropdown and make it visible on click 2`] = @media screen and (min-width:320px) { .c33.c33.c33.c33.c33 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:480px) { .c33.c33.c33.c33.c33 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:768px) { .c33.c33.c33.c33.c33 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1024px) { .c33.c33.c33.c33.c33 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1200px) { .c33.c33.c33.c33.c33 { - border-style: solid; + border-bottom-style: solid; } } @@ -906,7 +956,7 @@ exports[` should render dropdown and make it visible on click 2`] = clip-rule="evenodd" d="M5.29289 8.29289C5.68342 7.90237 6.31658 7.90237 6.70711 8.29289L12 13.5858L17.2929 8.29289C17.6834 7.90237 18.3166 7.90237 18.7071 8.29289C19.0976 8.68342 19.0976 9.31658 18.7071 9.70711L12.7071 15.7071C12.3166 16.0976 11.6834 16.0976 11.2929 15.7071L5.29289 9.70711C4.90237 9.31658 4.90237 8.68342 5.29289 8.29289Z" data-blade-component="svg-path" - fill="hsla(217, 56%, 17%, 1)" + fill="hsla(211, 22%, 56%, 1)" fill-rule="evenodd" /> @@ -923,7 +973,7 @@ exports[` should render dropdown and make it visible on click 2`] = clip-rule="evenodd" d="M11.2929 8.29289C11.6834 7.90237 12.3166 7.90237 12.7071 8.29289L18.7071 14.2929C19.0976 14.6834 19.0976 15.3166 18.7071 15.7071C18.3166 16.0976 17.6834 16.0976 17.2929 15.7071L12 10.4142L6.70711 15.7071C6.31658 16.0976 5.68342 16.0976 5.29289 15.7071C4.90237 15.3166 4.90237 14.6834 5.29289 14.2929L11.2929 8.29289Z" data-blade-component="svg-path" - fill="hsla(217, 56%, 17%, 1)" + fill="hsla(211, 22%, 56%, 1)" fill-rule="evenodd" /> @@ -986,12 +1036,12 @@ exports[` should render dropdown and make it visible on click 2`] = class="c31" data-blade-component="base-box" > -
Recent Searches -
+

diff --git a/packages/blade/src/components/Dropdown/__tests__/__snapshots__/Dropdown.web.test.tsx.snap b/packages/blade/src/components/Dropdown/__tests__/__snapshots__/Dropdown.web.test.tsx.snap index 8fa71a8b463..74deeea7d4e 100644 --- a/packages/blade/src/components/Dropdown/__tests__/__snapshots__/Dropdown.web.test.tsx.snap +++ b/packages/blade/src/components/Dropdown/__tests__/__snapshots__/Dropdown.web.test.tsx.snap @@ -135,7 +135,7 @@ exports[` should render dropdown and make it visible on click 1`] = .c24.c24.c24.c24.c24 { width: 100%; - box-shadow: 0 12px 16px -4px hsla(217,56%,17%,0.08),0 4px 6px -2px hsla(217,56%,17%,0.03); + box-shadow: 0px 8px 24px 0px hsla(217,56%,17%,0.12); } .c26.c26.c26.c26.c26 { @@ -205,9 +205,8 @@ exports[` should render dropdown and make it visible on click 1`] = } .c33.c33.c33.c33.c33 { - border-width: 0px; - border-bottom-color: hsla(216,15%,54%,0.18); - border-style: solid; + border-bottom-color: hsla(211,20%,52%,0.18); + border-bottom-style: solid; } .c37.c37.c37.c37.c37 { @@ -295,6 +294,7 @@ exports[` should render dropdown and make it visible on click 1`] = -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c11.c11.c11.c11.c11 { @@ -319,7 +319,7 @@ exports[` should render dropdown and make it visible on click 1`] = .c25.c25.c25.c25.c25 { background-color: hsla(0,0%,100%,1); border-width: 1px; - border-color: hsla(216,15%,54%,0.18); + border-color: hsla(211,20%,52%,0.18); border-style: solid; border-radius: 4px; } @@ -328,10 +328,10 @@ exports[` should render dropdown and make it visible on click 1`] = min-height: 36px; width: 100%; cursor: pointer; - background-color: hsla(218,89%,51%,1); - border-color: hsla(218,89%,51%,1); - border-width: 1px; - border-radius: 2px; + background-color: hsla(227,100%,59%,1); + border-color: hsla(227,100%,59%,1); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -347,6 +347,7 @@ exports[` should render dropdown and make it visible on click 1`] = align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -361,25 +362,25 @@ exports[` should render dropdown and make it visible on click 1`] = } .c43.c43.c43.c43.c43:hover { - background-color: hsla(223,95%,48%,1); - border-color: hsla(223,95%,48%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c43.c43.c43.c43.c43:active { - background-color: hsla(230,100%,42%,1); - border-color: hsla(230,100%,42%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c43.c43.c43.c43.c43:focus-visible { - background-color: hsla(227,100%,45%,1); - border-color: hsla(227,100%,45%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c43.c43.c43.c43.c43 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -387,14 +388,18 @@ exports[` should render dropdown and make it visible on click 1`] = } .c7.c7.c7.c7.c7 { - color: hsla(217,18%,45%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -405,27 +410,35 @@ exports[` should render dropdown and make it visible on click 1`] = } .c8.c8.c8.c8.c8 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c14.c14.c14.c14.c14 { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; @@ -437,27 +450,35 @@ exports[` should render dropdown and make it visible on click 1`] = } .c32.c32.c32.c32.c32 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 1rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.5rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c40.c40.c40.c40.c40 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -469,13 +490,17 @@ exports[` should render dropdown and make it visible on click 1`] = .c46.c46.c46.c46.c46 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -497,6 +522,7 @@ exports[` should render dropdown and make it visible on click 1`] = } .c34.c34.c34.c34.c34 { + border-width: 0; border-bottom-style: solid; border-bottom-width: 1px; -webkit-box-flex: 1; @@ -506,14 +532,18 @@ exports[` should render dropdown and make it visible on click 1`] = } .c13.c13.c13.c13.c13 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; @@ -535,56 +565,72 @@ exports[` should render dropdown and make it visible on click 1`] = } .c13.c13.c13.c13.c13::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c13.c13.c13.c13.c13::-moz-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c13.c13.c13.c13.c13:-ms-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c13.c13.c13.c13.c13::placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; @@ -600,7 +646,7 @@ exports[` should render dropdown and make it visible on click 1`] = left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; -webkit-animation: cAlpMa-450290765 250ms cubic-bezier(0.3,0,0.2,1) forwards; @@ -608,8 +654,8 @@ exports[` should render dropdown and make it visible on click 1`] = } .c9.c9.c9.c9.c9 { - background-color: hsla(218,89%,51%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(227,100%,59%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -627,8 +673,8 @@ exports[` should render dropdown and make it visible on click 1`] = } .c9.c9.c9.c9.c9:hover { - background-color: hsla(218,89%,51%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(227,100%,59%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -652,8 +698,8 @@ exports[` should render dropdown and make it visible on click 1`] = } .c9.c9.c9.c9.c9:focus-within { - background-color: hsla(218,89%,51%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(227,100%,59%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -719,11 +765,15 @@ exports[` should render dropdown and make it visible on click 1`] = } .c36.c36.c36.c36.c36:hover:not([aria-disabled=true]) { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(211,20%,52%,0.09); } .c36.c36.c36.c36.c36[aria-selected=true] { - background-color: hsla(218,89%,51%,0.09); + background-color: hsla(227,100%,59%,0.09); +} + +.c36.c36.c36.c36.c36[aria-selected=true]:hover { + background-color: hsla(227,100%,59%,0.18); } @media screen and (min-width:768px) { @@ -737,31 +787,31 @@ exports[` should render dropdown and make it visible on click 1`] = @media screen and (min-width:320px) { .c33.c33.c33.c33.c33 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:480px) { .c33.c33.c33.c33.c33 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:768px) { .c33.c33.c33.c33.c33 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1024px) { .c33.c33.c33.c33.c33 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1200px) { .c33.c33.c33.c33.c33 { - border-style: solid; + border-bottom-style: solid; } } @@ -902,7 +952,7 @@ exports[` should render dropdown and make it visible on click 1`] = clip-rule="evenodd" d="M5.29289 8.29289C5.68342 7.90237 6.31658 7.90237 6.70711 8.29289L12 13.5858L17.2929 8.29289C17.6834 7.90237 18.3166 7.90237 18.7071 8.29289C19.0976 8.68342 19.0976 9.31658 18.7071 9.70711L12.7071 15.7071C12.3166 16.0976 11.6834 16.0976 11.2929 15.7071L5.29289 9.70711C4.90237 9.31658 4.90237 8.68342 5.29289 8.29289Z" data-blade-component="svg-path" - fill="hsla(217, 56%, 17%, 1)" + fill="hsla(211, 22%, 56%, 1)" fill-rule="evenodd" /> @@ -919,7 +969,7 @@ exports[` should render dropdown and make it visible on click 1`] = clip-rule="evenodd" d="M11.2929 8.29289C11.6834 7.90237 12.3166 7.90237 12.7071 8.29289L18.7071 14.2929C19.0976 14.6834 19.0976 15.3166 18.7071 15.7071C18.3166 16.0976 17.6834 16.0976 17.2929 15.7071L12 10.4142L6.70711 15.7071C6.31658 16.0976 5.68342 16.0976 5.29289 15.7071C4.90237 15.3166 4.90237 14.6834 5.29289 14.2929L11.2929 8.29289Z" data-blade-component="svg-path" - fill="hsla(217, 56%, 17%, 1)" + fill="hsla(211, 22%, 56%, 1)" fill-rule="evenodd" /> @@ -982,12 +1032,12 @@ exports[` should render dropdown and make it visible on click 1`] = class="c31" data-blade-component="base-box" > -
Recent Searches -
+

diff --git a/packages/blade/src/components/Dropdown/docs/DropdownDocs.tsx b/packages/blade/src/components/Dropdown/docs/DropdownDocs.tsx index a4ea090047d..0b54d05346a 100644 --- a/packages/blade/src/components/Dropdown/docs/DropdownDocs.tsx +++ b/packages/blade/src/components/Dropdown/docs/DropdownDocs.tsx @@ -8,7 +8,7 @@ import { } from './stories'; import { getSimpleAutoComplete } from './autoCompleteStories'; import StoryPageWrapper from '~utils/storybook/StoryPageWrapper'; -import { Code, Heading, Text, Title } from '~components/Typography'; +import { Code, Heading, Text } from '~components/Typography'; import { Sandbox, VerticalSandbox } from '~utils/storybook/Sandbox/SandpackEditor'; import { Box } from '~components/Box'; import { ArgsTable } from '~utils/storybook/ArgsTable'; @@ -23,21 +23,16 @@ const DropdownDocs = (): React.ReactElement => { componentDescription="Dropdown component to help you create select menu or action menu. To create a menu, you would have to use this component + Trigger (SelectInput, AutoComplete, DropdownButton, DropdownLink) + ActionList" imports="" showStorybookControls={false} - figmaURL={{ - paymentTheme: - 'https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?node-id=38643-719971', - bankingTheme: - 'https://www.figma.com/file/sAdplk2uYnI2ILnDKUxycW/Blade---Banking-Dark?node-id=13448-381615', - }} + figmaURL="https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?node-id=38643-719971" > - Playground + Playground {Playground} - + <Heading size="xlarge" marginBottom="spacing.4"> Dropdown - +
A Dropdown in Blade is usually a composite of 3 elements - @@ -116,7 +111,7 @@ const DropdownDocs = (): React.ReactElement => {
- DropdownHeader + DropdownHeader { /> - DropdownFooter + DropdownFooter { /> - With SelectInput + With SelectInput Check out more Select examples at{' '} @@ -153,7 +148,7 @@ const DropdownDocs = (): React.ReactElement => { - With AutoComplete + With AutoComplete Check out more AutoComplete examples at{' '} @@ -170,9 +165,9 @@ const DropdownDocs = (): React.ReactElement => { - + <Heading size="large" marginBottom="spacing.3"> With Button - + Check out more Menu examples at{' '} diff --git a/packages/blade/src/components/Dropdown/docs/DropdownWithButton.stories.tsx b/packages/blade/src/components/Dropdown/docs/DropdownWithButton.stories.tsx index 5f3d0ea0ad4..d90ba77e0cd 100644 --- a/packages/blade/src/components/Dropdown/docs/DropdownWithButton.stories.tsx +++ b/packages/blade/src/components/Dropdown/docs/DropdownWithButton.stories.tsx @@ -168,7 +168,7 @@ export const InternalAutoPositioning = (): React.ReactElement => { Top Left Menu - + @@ -179,7 +179,7 @@ export const InternalAutoPositioning = (): React.ReactElement => { Top Right Menu - + @@ -190,7 +190,7 @@ export const InternalAutoPositioning = (): React.ReactElement => { Bottom Right Menu - + @@ -201,7 +201,7 @@ export const InternalAutoPositioning = (): React.ReactElement => { Bottom Left Menu - + diff --git a/packages/blade/src/components/Dropdown/docs/stories.ts b/packages/blade/src/components/Dropdown/docs/stories.ts index 11fbce12973..3803cb119ae 100644 --- a/packages/blade/src/components/Dropdown/docs/stories.ts +++ b/packages/blade/src/components/Dropdown/docs/stories.ts @@ -395,7 +395,7 @@ const WithValidationStateStory = ` }} /> - + @@ -746,7 +746,12 @@ const WithLinkStory = ` Sort By - setIsDropdownOpen(false)}> + { + if (!isOpen) { + setIsDropdownOpen(false) + } + }> void; selectionType?: 'single' | 'multiple'; - /** - * ## Deprecated ⚠️ - * - * Use `onOpenChange` instead for knowing when dropdown gets dismissed. - * - * ### Migration - * ```diff - * console.log('dismissed')} - * + onOpenChange={(isOpen) => { - * + if (!isOpen) { - * + console.log('dismissed'); - * + } - * + }} - * /> - * - * ``` - * - * @deprecated - */ - onDismiss?: () => void; children: React.ReactNode[]; } & TestID & StyledPropsBlade; diff --git a/packages/blade/src/components/Form/CharacterCounter/CharacterCounter.tsx b/packages/blade/src/components/Form/CharacterCounter/CharacterCounter.tsx index 8e265087204..2bd4949e8d0 100644 --- a/packages/blade/src/components/Form/CharacterCounter/CharacterCounter.tsx +++ b/packages/blade/src/components/Form/CharacterCounter/CharacterCounter.tsx @@ -10,7 +10,7 @@ export const CharacterCounter = ({ currentCount, maxCount, }: CharacterCounterProps): ReactElement => ( - + {currentCount}/{maxCount} ); diff --git a/packages/blade/src/components/Form/FormHint.tsx b/packages/blade/src/components/Form/FormHint.tsx index d6a4d5afd6d..64e12f7343c 100644 --- a/packages/blade/src/components/Form/FormHint.tsx +++ b/packages/blade/src/components/Form/FormHint.tsx @@ -2,37 +2,29 @@ import type { ReactElement } from 'react'; import React from 'react'; import { FormHintWrapper } from './FormHintWrapper'; -import { BaseText } from '~components/Typography/BaseText'; +import type { TextProps } from '~components/Typography/Text'; +import { Text } from '~components/Typography/Text'; import BaseBox from '~components/Box/BaseBox'; import { CheckIcon, InfoIcon } from '~components/Icons'; -import type { BaseTextProps } from '~components/Typography/BaseText/types'; import { getPlatformType } from '~utils/getPlatformType'; type HintTextProps = { icon?: React.ElementType; children: string; id?: string; - color: BaseTextProps['color']; + color: TextProps<{ variant: 'caption' }>['color']; }; const HintText = ({ icon: Icon, children, id, color }: HintTextProps): ReactElement => { const isReactNative = getPlatformType() === 'react-native'; return ( - + {Icon ? : null} - + {children} - + ); @@ -76,13 +68,13 @@ export type FormHintProps = { const Icons = { error: (): ReactElement => ( <> - + ), success: (): ReactElement => ( <> - + ), @@ -97,11 +89,11 @@ const FormHint = ({ errorTextId, successTextId, }: FormHintProps): React.ReactElement => { - const colors = { - help: 'surface.text.muted.lowContrast', - error: 'feedback.text.negative.lowContrast', - success: 'feedback.text.positive.lowContrast', - } as const; + const colors: Record['color']> = { + help: 'surface.text.gray.muted', + error: 'feedback.text.negative.intense', + success: 'feedback.text.positive.intense', + }; const showError = type === 'error' && errorText; const showSuccess = type === 'success' && successText; diff --git a/packages/blade/src/components/Form/FormLabel.tsx b/packages/blade/src/components/Form/FormLabel.tsx index 5ee91bbc7be..8adfe4e0aa1 100644 --- a/packages/blade/src/components/Form/FormLabel.tsx +++ b/packages/blade/src/components/Form/FormLabel.tsx @@ -1,12 +1,10 @@ import React from 'react'; import { VisuallyHidden } from '~components/VisuallyHidden'; import { Text } from '~components/Typography'; -import { BaseText } from '~components/Typography/BaseText'; import { getPlatformType, useBreakpoint } from '~utils'; import { metaAttribute, MetaConstants } from '~utils/metaAttribute'; import BaseBox from '~components/Box/BaseBox'; import { useTheme } from '~components/BladeProvider'; -import type { ColorContrastTypes } from '~tokens/theme/theme'; import { makeSpace } from '~utils/makeSpace'; import { makeSize } from '~utils/makeSize'; import { size } from '~tokens/global'; @@ -18,7 +16,6 @@ type CommonProps = { accessibilityText?: string; children: string | undefined; id?: string; - contrast?: ColorContrastTypes; }; type LabelProps = CommonProps & { @@ -56,7 +53,6 @@ const FormLabel = ({ children, id, htmlFor, - contrast = 'low', }: FormLabelProps): React.ReactElement => { const { theme } = useTheme(); const { matchedDeviceType } = useBreakpoint({ breakpoints: theme.breakpoints }); @@ -69,23 +65,20 @@ const FormLabel = ({ if (necessityIndicator === 'optional') { necessityLabel = ( - + (optional) ); } if (necessityIndicator === 'required') { necessityLabel = ( - * - + ); } @@ -106,12 +99,11 @@ const FormLabel = ({ maxHeight={makeSpace(size[36])} > {children} diff --git a/packages/blade/src/components/Form/Selector/SelectorInput.web.tsx b/packages/blade/src/components/Form/Selector/SelectorInput.web.tsx index b55ffa0e582..cce296e8a9a 100644 --- a/packages/blade/src/components/Form/Selector/SelectorInput.web.tsx +++ b/packages/blade/src/components/Form/Selector/SelectorInput.web.tsx @@ -13,6 +13,7 @@ import { assignWithoutSideEffects } from '~utils/assignWithoutSideEffects'; import { makeMotionTime } from '~utils/makeMotionTime'; import { makeAccessible } from '~utils/makeAccessible'; import { useMergeRefs } from '~utils/useMergeRefs'; +import { getFocusRingStyles } from '~utils/getFocusRingStyles'; const getHoverStyles = ({ theme, @@ -39,9 +40,7 @@ const StyledInput = styled.input( ({ theme, isChecked, isDisabled, hasError, hoverTokens }) => ({ ...screenReaderStyles, '&:focus-visible + div': { - // TODO: Replace with focus outline token - outline: `1px solid ${theme.colors.surface.background.level1.lowContrast}`, - boxShadow: `0px 0px 0px 4px ${theme.colors.brand.primary[400]}`, + ...getFocusRingStyles({ theme }), }, '&:hover + div': { ...getHoverStyles({ theme, isChecked, isDisabled, hasError, hoverTokens }), diff --git a/packages/blade/src/components/Form/Selector/SelectorSupportText.tsx b/packages/blade/src/components/Form/Selector/SelectorSupportText.tsx index 05fc41e1a16..f83fb44b337 100644 --- a/packages/blade/src/components/Form/Selector/SelectorSupportText.tsx +++ b/packages/blade/src/components/Form/Selector/SelectorSupportText.tsx @@ -1,27 +1,29 @@ -import { BaseText } from '~components/Typography/BaseText'; -import { getPlatformType } from '~utils'; +import { Box } from '~components/Box'; +import { Text } from '~components/Typography/Text'; +import { castWebType, getPlatformType } from '~utils'; const SelectorSupportText = ({ children, id, + isNegative, }: { children: React.ReactNode; id?: string; + isNegative?: boolean; }): React.ReactElement => { const isReactNative = getPlatformType() === 'react-native'; return ( - - {children} - + + + {children} + + ); }; diff --git a/packages/blade/src/components/Form/Selector/SelectorTitle.tsx b/packages/blade/src/components/Form/Selector/SelectorTitle.tsx index cf6a776ef22..b06cf55c6c9 100644 --- a/packages/blade/src/components/Form/Selector/SelectorTitle.tsx +++ b/packages/blade/src/components/Form/Selector/SelectorTitle.tsx @@ -1,5 +1,5 @@ import BaseBox from '~components/Box/BaseBox'; -import { BaseText } from '~components/Typography/BaseText'; +import { Text } from '~components/Typography/Text'; const SelectorTitle = ({ children, @@ -10,29 +10,15 @@ const SelectorTitle = ({ isDisabled?: boolean; size: 'small' | 'medium'; }): React.ReactElement => { - const lineHeight = { - small: 50, - medium: 100, - } as const; - const fontSize = { - small: 75, - medium: 100, - } as const; - return ( <> - {children} - + ); }; diff --git a/packages/blade/src/components/Form/Selector/types.ts b/packages/blade/src/components/Form/Selector/types.ts index 83843176fb6..6f82e8bd2ae 100644 --- a/packages/blade/src/components/Form/Selector/types.ts +++ b/packages/blade/src/components/Form/Selector/types.ts @@ -1,6 +1,7 @@ import type React from 'react'; -import type { DotNotationColorStringToken, TestID } from '~utils/types'; +import type { TestID } from '~utils/types'; import type { Theme } from '~components/BladeProvider'; +import type { DotNotationToken } from '~utils/lodashButBetter/get'; /* eslint-disable @typescript-eslint/no-explicit-any */ type SelectorLabelProps = { @@ -29,7 +30,7 @@ type SelectorInputProps = HoverProps & { accessibilityLabel?: string; }; -type ColorTokens = `colors.${DotNotationColorStringToken}` | 'transparent'; +type ColorTokens = `colors.${DotNotationToken}`; type SelectorInputHoverTokens = { default: { background: { diff --git a/packages/blade/src/components/Icons/ActivityIcon/ActivityIcon.native.test.tsx b/packages/blade/src/components/Icons/ActivityIcon/ActivityIcon.native.test.tsx index d8d081a69b0..17d6b1d9330 100644 --- a/packages/blade/src/components/Icons/ActivityIcon/ActivityIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ActivityIcon/ActivityIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ActivityIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ActivityIcon/ActivityIcon.web.test.tsx b/packages/blade/src/components/Icons/ActivityIcon/ActivityIcon.web.test.tsx index 3f853ff3f20..5afafc72584 100644 --- a/packages/blade/src/components/Icons/ActivityIcon/ActivityIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ActivityIcon/ActivityIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ActivityIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ActivityIcon/__snapshots__/ActivityIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ActivityIcon/__snapshots__/ActivityIcon.native.test.tsx.snap index d869e926903..7bd50bc779b 100644 --- a/packages/blade/src/components/Icons/ActivityIcon/__snapshots__/ActivityIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ActivityIcon/__snapshots__/ActivityIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ActivityIcon 1`] = ` should render ActivityIcon 1`] = ` clip-rule="evenodd" d="M9 1C9.43043 1 9.81257 1.27543 9.94868 1.68377L15 16.8377L17.0513 10.6838C17.1874 10.2754 17.5696 10 18 10H22C22.5523 10 23 10.4477 23 11C23 11.5523 22.5523 12 22 12H18.7208L15.9487 20.3162C15.8126 20.7246 15.4304 21 15 21C14.5696 21 14.1874 20.7246 14.0513 20.3162L9 5.16228L6.94868 11.3162C6.81257 11.7246 6.43043 12 6 12H2C1.44772 12 1 11.5523 1 11C1 10.4477 1.44772 10 2 10H5.27924L8.05132 1.68377C8.18743 1.27543 8.56957 1 9 1Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/AirplayIcon/AirplayIcon.native.test.tsx b/packages/blade/src/components/Icons/AirplayIcon/AirplayIcon.native.test.tsx index a5042d32908..cf89f7daec4 100644 --- a/packages/blade/src/components/Icons/AirplayIcon/AirplayIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/AirplayIcon/AirplayIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render AirplayIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AirplayIcon/AirplayIcon.web.test.tsx b/packages/blade/src/components/Icons/AirplayIcon/AirplayIcon.web.test.tsx index 33cb87cd8ef..e376c0acce9 100644 --- a/packages/blade/src/components/Icons/AirplayIcon/AirplayIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/AirplayIcon/AirplayIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render AirplayIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AirplayIcon/__snapshots__/AirplayIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/AirplayIcon/__snapshots__/AirplayIcon.native.test.tsx.snap index 5f5e5bf5156..fdfc708fcfa 100644 --- a/packages/blade/src/components/Icons/AirplayIcon/__snapshots__/AirplayIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/AirplayIcon/__snapshots__/AirplayIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render AirplayIcon 1`] = ` > should render AirplayIcon 1`] = ` should render AirplayIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/AlertCircleIcon/AlertCircleIcon.native.test.tsx b/packages/blade/src/components/Icons/AlertCircleIcon/AlertCircleIcon.native.test.tsx index da3f81fa5dd..ed3d54a33ef 100644 --- a/packages/blade/src/components/Icons/AlertCircleIcon/AlertCircleIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/AlertCircleIcon/AlertCircleIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render AlertCircleIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AlertCircleIcon/AlertCircleIcon.web.test.tsx b/packages/blade/src/components/Icons/AlertCircleIcon/AlertCircleIcon.web.test.tsx index 0da7fe59195..8935711d8a3 100644 --- a/packages/blade/src/components/Icons/AlertCircleIcon/AlertCircleIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/AlertCircleIcon/AlertCircleIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render AlertCircleIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AlertCircleIcon/__snapshots__/AlertCircleIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/AlertCircleIcon/__snapshots__/AlertCircleIcon.native.test.tsx.snap index adb9671a3a1..03cb4ac6030 100644 --- a/packages/blade/src/components/Icons/AlertCircleIcon/__snapshots__/AlertCircleIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/AlertCircleIcon/__snapshots__/AlertCircleIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render AlertCircleIcon 1`] = ` > should render AlertCircleIcon 1`] = ` /> should render AlertCircleIcon 1`] = ` should render AlertCircleIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/AlertOctagonIcon/AlertOctagonIcon.native.test.tsx b/packages/blade/src/components/Icons/AlertOctagonIcon/AlertOctagonIcon.native.test.tsx index fad7b3ac369..f2aae2e9e43 100644 --- a/packages/blade/src/components/Icons/AlertOctagonIcon/AlertOctagonIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/AlertOctagonIcon/AlertOctagonIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render AlertOctagonIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AlertOctagonIcon/AlertOctagonIcon.web.test.tsx b/packages/blade/src/components/Icons/AlertOctagonIcon/AlertOctagonIcon.web.test.tsx index e6509170574..e60a00c1380 100644 --- a/packages/blade/src/components/Icons/AlertOctagonIcon/AlertOctagonIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/AlertOctagonIcon/AlertOctagonIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render AlertOctagonIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AlertOctagonIcon/__snapshots__/AlertOctagonIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/AlertOctagonIcon/__snapshots__/AlertOctagonIcon.native.test.tsx.snap index 780ae8fbdf3..0f4549d8c65 100644 --- a/packages/blade/src/components/Icons/AlertOctagonIcon/__snapshots__/AlertOctagonIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/AlertOctagonIcon/__snapshots__/AlertOctagonIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render AlertOctagonIcon 1`] = ` > should render AlertOctagonIcon 1`] = ` /> should render AlertOctagonIcon 1`] = ` should render AlertOctagonIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/AlertOnlyIcon/AlertOnlyIcon.native.test.tsx b/packages/blade/src/components/Icons/AlertOnlyIcon/AlertOnlyIcon.native.test.tsx index 0c54a591a83..3afc70d1f69 100644 --- a/packages/blade/src/components/Icons/AlertOnlyIcon/AlertOnlyIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/AlertOnlyIcon/AlertOnlyIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render AlertOnlyIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AlertOnlyIcon/AlertOnlyIcon.web.test.tsx b/packages/blade/src/components/Icons/AlertOnlyIcon/AlertOnlyIcon.web.test.tsx index 5274fb92903..38eb17cf99c 100644 --- a/packages/blade/src/components/Icons/AlertOnlyIcon/AlertOnlyIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/AlertOnlyIcon/AlertOnlyIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render AlertOnlyIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AlertOnlyIcon/__snapshots__/AlertOnlyIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/AlertOnlyIcon/__snapshots__/AlertOnlyIcon.native.test.tsx.snap index 64ba5f704b4..b0d89e726bf 100644 --- a/packages/blade/src/components/Icons/AlertOnlyIcon/__snapshots__/AlertOnlyIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/AlertOnlyIcon/__snapshots__/AlertOnlyIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render AlertOnlyIcon 1`] = ` should render AlertOnlyIcon 1`] = ` clip-rule="evenodd" d="M13 5C13 4.44772 12.5523 4 12 4C11.4477 4 11 4.44772 11 5V14C11 14.5523 11.4477 15 12 15C12.5523 15 13 14.5523 13 14V5ZM12 20C12.5523 20 13 19.5523 13 19C13 18.4477 12.5523 18 12 18C11.4477 18 11 18.4477 11 19C11 19.5523 11.4477 20 12 20Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/AlertTriangleIcon/AlertTriangleIcon.native.test.tsx b/packages/blade/src/components/Icons/AlertTriangleIcon/AlertTriangleIcon.native.test.tsx index 4c130d08bb8..50941daf129 100644 --- a/packages/blade/src/components/Icons/AlertTriangleIcon/AlertTriangleIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/AlertTriangleIcon/AlertTriangleIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render AlertTriangleIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AlertTriangleIcon/AlertTriangleIcon.web.test.tsx b/packages/blade/src/components/Icons/AlertTriangleIcon/AlertTriangleIcon.web.test.tsx index ab69333944d..d5004688894 100644 --- a/packages/blade/src/components/Icons/AlertTriangleIcon/AlertTriangleIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/AlertTriangleIcon/AlertTriangleIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render AlertTriangleIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AlertTriangleIcon/__snapshots__/AlertTriangleIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/AlertTriangleIcon/__snapshots__/AlertTriangleIcon.native.test.tsx.snap index addd1361f5e..4e0c3e4711e 100644 --- a/packages/blade/src/components/Icons/AlertTriangleIcon/__snapshots__/AlertTriangleIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/AlertTriangleIcon/__snapshots__/AlertTriangleIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render AlertTriangleIcon 1`] = ` > should render AlertTriangleIcon 1`] = ` /> should render AlertTriangleIcon 1`] = ` should render AlertTriangleIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/AlignCenterIcon/AlignCenterIcon.native.test.tsx b/packages/blade/src/components/Icons/AlignCenterIcon/AlignCenterIcon.native.test.tsx index 26bd69f9489..126f8082e85 100644 --- a/packages/blade/src/components/Icons/AlignCenterIcon/AlignCenterIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/AlignCenterIcon/AlignCenterIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render AlignCenterIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AlignCenterIcon/AlignCenterIcon.web.test.tsx b/packages/blade/src/components/Icons/AlignCenterIcon/AlignCenterIcon.web.test.tsx index 1aafa583251..177a83ee980 100644 --- a/packages/blade/src/components/Icons/AlignCenterIcon/AlignCenterIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/AlignCenterIcon/AlignCenterIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render AlignCenterIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AlignCenterIcon/__snapshots__/AlignCenterIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/AlignCenterIcon/__snapshots__/AlignCenterIcon.native.test.tsx.snap index 71c1f3e4af4..f86911b752d 100644 --- a/packages/blade/src/components/Icons/AlignCenterIcon/__snapshots__/AlignCenterIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/AlignCenterIcon/__snapshots__/AlignCenterIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render AlignCenterIcon 1`] = ` > should render AlignCenterIcon 1`] = ` /> should render AlignCenterIcon 1`] = ` /> should render AlignCenterIcon 1`] = ` /> should render AlignCenterIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/AlignJustifyIcon/AlignJustifyIcon.native.test.tsx b/packages/blade/src/components/Icons/AlignJustifyIcon/AlignJustifyIcon.native.test.tsx index e81bc764a6a..145d4e18a69 100644 --- a/packages/blade/src/components/Icons/AlignJustifyIcon/AlignJustifyIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/AlignJustifyIcon/AlignJustifyIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render AlignJustifyIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AlignJustifyIcon/AlignJustifyIcon.web.test.tsx b/packages/blade/src/components/Icons/AlignJustifyIcon/AlignJustifyIcon.web.test.tsx index 08433136649..f29fe48ea4e 100644 --- a/packages/blade/src/components/Icons/AlignJustifyIcon/AlignJustifyIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/AlignJustifyIcon/AlignJustifyIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render AlignJustifyIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AlignJustifyIcon/__snapshots__/AlignJustifyIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/AlignJustifyIcon/__snapshots__/AlignJustifyIcon.native.test.tsx.snap index 8a2bfe7678f..f171069faf3 100644 --- a/packages/blade/src/components/Icons/AlignJustifyIcon/__snapshots__/AlignJustifyIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/AlignJustifyIcon/__snapshots__/AlignJustifyIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render AlignJustifyIcon 1`] = ` should render AlignJustifyIcon 1`] = ` clip-rule="evenodd" d="M3 5C2.44772 5 2 5.44772 2 6C2 6.55228 2.44772 7 3 7H21C21.5523 7 22 6.55228 22 6C22 5.44772 21.5523 5 21 5H3ZM3 9C2.44772 9 2 9.44772 2 10C2 10.5523 2.44772 11 3 11H21C21.5523 11 22 10.5523 22 10C22 9.44772 21.5523 9 21 9H3ZM2 14C2 13.4477 2.44772 13 3 13H21C21.5523 13 22 13.4477 22 14C22 14.5523 21.5523 15 21 15H3C2.44772 15 2 14.5523 2 14ZM3 17C2.44772 17 2 17.4477 2 18C2 18.5523 2.44772 19 3 19H21C21.5523 19 22 18.5523 22 18C22 17.4477 21.5523 17 21 17H3Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/AlignLeftIcon/AlignLeftIcon.native.test.tsx b/packages/blade/src/components/Icons/AlignLeftIcon/AlignLeftIcon.native.test.tsx index a5cc86115ab..e6e25e38697 100644 --- a/packages/blade/src/components/Icons/AlignLeftIcon/AlignLeftIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/AlignLeftIcon/AlignLeftIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render AlignLeftIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AlignLeftIcon/AlignLeftIcon.web.test.tsx b/packages/blade/src/components/Icons/AlignLeftIcon/AlignLeftIcon.web.test.tsx index 43f96569f9a..8b4008e2303 100644 --- a/packages/blade/src/components/Icons/AlignLeftIcon/AlignLeftIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/AlignLeftIcon/AlignLeftIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render AlignLeftIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AlignLeftIcon/__snapshots__/AlignLeftIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/AlignLeftIcon/__snapshots__/AlignLeftIcon.native.test.tsx.snap index 553741c31a9..f16cb52d9a6 100644 --- a/packages/blade/src/components/Icons/AlignLeftIcon/__snapshots__/AlignLeftIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/AlignLeftIcon/__snapshots__/AlignLeftIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render AlignLeftIcon 1`] = ` > should render AlignLeftIcon 1`] = ` /> should render AlignLeftIcon 1`] = ` /> should render AlignLeftIcon 1`] = ` /> should render AlignLeftIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/AlignRightIcon/AlignRightIcon.native.test.tsx b/packages/blade/src/components/Icons/AlignRightIcon/AlignRightIcon.native.test.tsx index e3a3a06153a..87a3b0fc5c1 100644 --- a/packages/blade/src/components/Icons/AlignRightIcon/AlignRightIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/AlignRightIcon/AlignRightIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render AlignRightIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AlignRightIcon/AlignRightIcon.web.test.tsx b/packages/blade/src/components/Icons/AlignRightIcon/AlignRightIcon.web.test.tsx index c0b66db6d69..802cadfc139 100644 --- a/packages/blade/src/components/Icons/AlignRightIcon/AlignRightIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/AlignRightIcon/AlignRightIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render AlignRightIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AlignRightIcon/__snapshots__/AlignRightIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/AlignRightIcon/__snapshots__/AlignRightIcon.native.test.tsx.snap index 520737a0469..8857b151a0d 100644 --- a/packages/blade/src/components/Icons/AlignRightIcon/__snapshots__/AlignRightIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/AlignRightIcon/__snapshots__/AlignRightIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render AlignRightIcon 1`] = ` > should render AlignRightIcon 1`] = ` /> should render AlignRightIcon 1`] = ` /> should render AlignRightIcon 1`] = ` /> should render AlignRightIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/AnchorIcon/AnchorIcon.native.test.tsx b/packages/blade/src/components/Icons/AnchorIcon/AnchorIcon.native.test.tsx index d8f49d70b69..464eb94fdec 100644 --- a/packages/blade/src/components/Icons/AnchorIcon/AnchorIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/AnchorIcon/AnchorIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render AnchorIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AnchorIcon/AnchorIcon.web.test.tsx b/packages/blade/src/components/Icons/AnchorIcon/AnchorIcon.web.test.tsx index 0975ebc0999..a2b0adaa36b 100644 --- a/packages/blade/src/components/Icons/AnchorIcon/AnchorIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/AnchorIcon/AnchorIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render AnchorIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AnchorIcon/__snapshots__/AnchorIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/AnchorIcon/__snapshots__/AnchorIcon.native.test.tsx.snap index 765c1f7a4a4..d1f170b6240 100644 --- a/packages/blade/src/components/Icons/AnchorIcon/__snapshots__/AnchorIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/AnchorIcon/__snapshots__/AnchorIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render AnchorIcon 1`] = ` should render AnchorIcon 1`] = ` clip-rule="evenodd" d="M8 5C8 2.79086 9.79086 1 12 1C14.2091 1 16 2.79086 16 5C16 6.86384 14.7252 8.42994 13 8.87398V20.9451C17.1716 20.4839 20.4839 17.1716 20.9451 13H19C18.4477 13 18 12.5523 18 12C18 11.4477 18.4477 11 19 11H22C22.5523 11 23 11.4477 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 11.7348 1.10536 11.4804 1.29289 11.2929C1.48043 11.1054 1.73478 11 2 11H5C5.55228 11 6 11.4477 6 12C6 12.5523 5.55228 13 5 13H3.05493C3.51608 17.1716 6.82838 20.4839 11 20.9451V8.87398C9.27477 8.42994 8 6.86384 8 5ZM14 5C14 6.10457 13.1046 7 12 7C10.8954 7 10 6.10457 10 5C10 3.89543 10.8954 3 12 3C13.1046 3 14 3.89543 14 5Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/AnnouncementIcon/AnnouncementIcon.native.test.tsx b/packages/blade/src/components/Icons/AnnouncementIcon/AnnouncementIcon.native.test.tsx index 1dee65b821f..506cd5f8174 100644 --- a/packages/blade/src/components/Icons/AnnouncementIcon/AnnouncementIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/AnnouncementIcon/AnnouncementIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render AnnouncementIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AnnouncementIcon/AnnouncementIcon.web.test.tsx b/packages/blade/src/components/Icons/AnnouncementIcon/AnnouncementIcon.web.test.tsx index b17beed856f..aa886cf06f5 100644 --- a/packages/blade/src/components/Icons/AnnouncementIcon/AnnouncementIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/AnnouncementIcon/AnnouncementIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render AnnouncementIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AnnouncementIcon/__snapshots__/AnnouncementIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/AnnouncementIcon/__snapshots__/AnnouncementIcon.native.test.tsx.snap index cac24a32e00..451cd114bf1 100644 --- a/packages/blade/src/components/Icons/AnnouncementIcon/__snapshots__/AnnouncementIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/AnnouncementIcon/__snapshots__/AnnouncementIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render AnnouncementIcon 1`] = ` should render AnnouncementIcon 1`] = ` clip-rule="evenodd" d="M9.74698 0.0226661C10.208 -0.0654516 10.68 0.107305 10.9752 0.472159L22.1817 14.3225C22.4769 14.6874 22.5474 15.1851 22.365 15.6176C22.1826 16.05 21.777 16.3469 21.3097 16.3902L12.1719 17.2357C11.7483 17.2749 11.333 17.0998 11.0654 16.769L6.26258 10.8331C5.99494 10.5023 5.91033 10.0597 6.0371 9.65352L8.77111 0.893484C8.91094 0.445471 9.286 0.110784 9.74698 0.0226661ZM8.6696 9.76166L12.6156 14.6386L18.7074 14.0749L10.4923 3.92164L8.6696 9.76166ZM4.0217 15.1445C3.6995 15.522 3.52687 16.0105 3.54673 16.5153L3.55216 16.6535C3.58568 17.5056 4.20675 18.22 5.04593 18.3718C5.51918 18.4574 6.00497 18.3518 6.39838 18.0819L4.0217 15.1445ZM1.00351 16.6153C0.947233 15.1845 1.5698 13.8111 2.68297 12.9105L3.38894 12.3392C3.93532 11.8972 4.73663 11.9817 5.17871 12.5281L9.18104 17.4747C9.62312 18.021 9.53857 18.8224 8.99219 19.2644L8.11452 19.9746C7.12772 20.773 5.84217 21.1022 4.59306 20.8764C2.57956 20.5123 1.08937 18.7981 1.00895 16.7535L1.00351 16.6153ZM11.9835 20.9374C11.5414 20.391 10.7401 20.3065 10.1937 20.7486C9.6473 21.1906 9.56275 21.992 10.0048 22.5383L10.8053 23.5276C11.2474 24.074 12.0487 24.1586 12.5951 23.7165C13.1415 23.2744 13.226 22.4731 12.7839 21.9267L11.9835 20.9374Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ApertureIcon/ApertureIcon.native.test.tsx b/packages/blade/src/components/Icons/ApertureIcon/ApertureIcon.native.test.tsx index e71615b1dbf..5c38227fe9e 100644 --- a/packages/blade/src/components/Icons/ApertureIcon/ApertureIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ApertureIcon/ApertureIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ApertureIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ApertureIcon/ApertureIcon.web.test.tsx b/packages/blade/src/components/Icons/ApertureIcon/ApertureIcon.web.test.tsx index 4b73fb483c6..623915494b7 100644 --- a/packages/blade/src/components/Icons/ApertureIcon/ApertureIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ApertureIcon/ApertureIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ApertureIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ApertureIcon/__snapshots__/ApertureIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ApertureIcon/__snapshots__/ApertureIcon.native.test.tsx.snap index eca853adc26..612e40aadbd 100644 --- a/packages/blade/src/components/Icons/ApertureIcon/__snapshots__/ApertureIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ApertureIcon/__snapshots__/ApertureIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ApertureIcon 1`] = ` should render ApertureIcon 1`] = ` clip-rule="evenodd" d="M3.20377 5.39391C5.2109 2.72559 8.40393 1 12 1C12.3927 1 12.7806 1.02058 13.1627 1.06072C13.2083 1.06262 13.2539 1.06766 13.2993 1.07593C17.224 1.53775 20.5165 4.06572 22.0594 7.54247C22.0788 7.58008 22.0958 7.61907 22.1104 7.65927C22.6829 8.991 23 10.4585 23 12C23 14.4134 22.2228 16.6452 20.905 18.4589C20.8736 18.5108 20.8373 18.5601 20.7962 18.6061C18.7891 21.2744 15.5961 23 12 23C11.6074 23 11.2196 22.9794 10.8377 22.9393C10.7919 22.9374 10.7461 22.9324 10.7006 22.9241C6.77649 22.4623 3.48442 19.9349 1.94126 16.4589C1.92133 16.4204 1.90383 16.3805 1.88896 16.3392C1.31685 15.0079 1 13.5409 1 12C1 9.58664 1.77719 7.35481 3.09493 5.54113C3.12638 5.48921 3.16272 5.43988 3.20377 5.39391ZM12.5886 20.9811C15.0884 20.8197 17.3103 19.6377 18.8418 17.8475L16.6199 13.9999L12.5886 20.9811ZM17.4986 11.522C17.4902 11.5066 17.4814 11.4914 17.4722 11.4764L16.0422 9H20.4879C20.8195 9.93834 21 10.9481 21 12C21 13.4294 20.6667 14.7811 20.0737 15.9814L17.4986 11.522ZM15.4652 12.0002L13.7329 15H10.2673L8.53485 11.9999L10.2672 9H13.7327L15.4652 12.0002ZM12.578 17L10.3548 20.85C7.92612 20.4013 5.83933 18.9776 4.51555 17H9.67206C9.68462 17.0002 9.69721 17.0002 9.7098 17H12.578ZM6.5256 12.5199L7.95777 15H3.51212C3.18046 14.0617 3 13.0519 3 12C3 10.5706 3.33324 9.21896 3.92628 8.01865L6.5036 12.4818C6.51064 12.4946 6.51798 12.5074 6.5256 12.5199ZM7.38009 10.0002L5.15819 6.15255C6.68971 4.36229 8.91164 3.18028 11.4115 3.01893L8.83196 7.48602C8.82614 7.49571 8.82048 7.50552 8.81498 7.51542L7.38009 10.0002ZM14.2916 7H11.4221L13.6453 3.15005C16.0739 3.59871 18.1607 5.02241 19.4845 7H14.3265C14.3149 6.9998 14.3032 6.9998 14.2916 7Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/AppStoreIcon/AppStoreIcon.native.test.tsx b/packages/blade/src/components/Icons/AppStoreIcon/AppStoreIcon.native.test.tsx index c6689991dd4..afaa453f2ce 100644 --- a/packages/blade/src/components/Icons/AppStoreIcon/AppStoreIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/AppStoreIcon/AppStoreIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render AppStoreIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AppStoreIcon/AppStoreIcon.web.test.tsx b/packages/blade/src/components/Icons/AppStoreIcon/AppStoreIcon.web.test.tsx index 20cd85cbb6f..5614552aff9 100644 --- a/packages/blade/src/components/Icons/AppStoreIcon/AppStoreIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/AppStoreIcon/AppStoreIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render AppStoreIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AppStoreIcon/__snapshots__/AppStoreIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/AppStoreIcon/__snapshots__/AppStoreIcon.native.test.tsx.snap index 2b26d43e3af..ec01cc405e7 100644 --- a/packages/blade/src/components/Icons/AppStoreIcon/__snapshots__/AppStoreIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/AppStoreIcon/__snapshots__/AppStoreIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render AppStoreIcon 1`] = ` > should render AppStoreIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/ArrowDownIcon/ArrowDownIcon.native.test.tsx b/packages/blade/src/components/Icons/ArrowDownIcon/ArrowDownIcon.native.test.tsx index 5ca2a0c167d..2a8d763c462 100644 --- a/packages/blade/src/components/Icons/ArrowDownIcon/ArrowDownIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ArrowDownIcon/ArrowDownIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ArrowDownIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ArrowDownIcon/ArrowDownIcon.web.test.tsx b/packages/blade/src/components/Icons/ArrowDownIcon/ArrowDownIcon.web.test.tsx index ecfcd495423..9b31d909c14 100644 --- a/packages/blade/src/components/Icons/ArrowDownIcon/ArrowDownIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ArrowDownIcon/ArrowDownIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ArrowDownIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ArrowDownIcon/__snapshots__/ArrowDownIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ArrowDownIcon/__snapshots__/ArrowDownIcon.native.test.tsx.snap index 4bc7447b036..3ff6408ccaf 100644 --- a/packages/blade/src/components/Icons/ArrowDownIcon/__snapshots__/ArrowDownIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ArrowDownIcon/__snapshots__/ArrowDownIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ArrowDownIcon 1`] = ` > should render ArrowDownIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/ArrowDownLeftIcon/ArrowDownLeftIcon.native.test.tsx b/packages/blade/src/components/Icons/ArrowDownLeftIcon/ArrowDownLeftIcon.native.test.tsx index 81455865b0d..c10e52aace5 100644 --- a/packages/blade/src/components/Icons/ArrowDownLeftIcon/ArrowDownLeftIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ArrowDownLeftIcon/ArrowDownLeftIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ArrowDownLeftIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ArrowDownLeftIcon/ArrowDownLeftIcon.web.test.tsx b/packages/blade/src/components/Icons/ArrowDownLeftIcon/ArrowDownLeftIcon.web.test.tsx index 9c9988e946a..c3a7112982f 100644 --- a/packages/blade/src/components/Icons/ArrowDownLeftIcon/ArrowDownLeftIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ArrowDownLeftIcon/ArrowDownLeftIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ArrowDownLeftIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ArrowDownLeftIcon/__snapshots__/ArrowDownLeftIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ArrowDownLeftIcon/__snapshots__/ArrowDownLeftIcon.native.test.tsx.snap index a7fef0b6f79..b41d7e97042 100644 --- a/packages/blade/src/components/Icons/ArrowDownLeftIcon/__snapshots__/ArrowDownLeftIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ArrowDownLeftIcon/__snapshots__/ArrowDownLeftIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ArrowDownLeftIcon 1`] = ` > should render ArrowDownLeftIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/ArrowDownRightIcon/ArrowDownRightIcon.native.test.tsx b/packages/blade/src/components/Icons/ArrowDownRightIcon/ArrowDownRightIcon.native.test.tsx index 326a5db987e..4d9fa5ecda4 100644 --- a/packages/blade/src/components/Icons/ArrowDownRightIcon/ArrowDownRightIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ArrowDownRightIcon/ArrowDownRightIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ArrowDownRightIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ArrowDownRightIcon/ArrowDownRightIcon.web.test.tsx b/packages/blade/src/components/Icons/ArrowDownRightIcon/ArrowDownRightIcon.web.test.tsx index fd13697a0ae..c605e370c23 100644 --- a/packages/blade/src/components/Icons/ArrowDownRightIcon/ArrowDownRightIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ArrowDownRightIcon/ArrowDownRightIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ArrowDownRightIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ArrowDownRightIcon/__snapshots__/ArrowDownRightIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ArrowDownRightIcon/__snapshots__/ArrowDownRightIcon.native.test.tsx.snap index 03a8b8d466c..ea08701a663 100644 --- a/packages/blade/src/components/Icons/ArrowDownRightIcon/__snapshots__/ArrowDownRightIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ArrowDownRightIcon/__snapshots__/ArrowDownRightIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ArrowDownRightIcon 1`] = ` > should render ArrowDownRightIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/ArrowLeftIcon/ArrowLeftIcon.native.test.tsx b/packages/blade/src/components/Icons/ArrowLeftIcon/ArrowLeftIcon.native.test.tsx index ba573754885..837c0fb8675 100644 --- a/packages/blade/src/components/Icons/ArrowLeftIcon/ArrowLeftIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ArrowLeftIcon/ArrowLeftIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ArrowLeftIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ArrowLeftIcon/ArrowLeftIcon.web.test.tsx b/packages/blade/src/components/Icons/ArrowLeftIcon/ArrowLeftIcon.web.test.tsx index 90cbbdbf1b2..8a8f41badb3 100644 --- a/packages/blade/src/components/Icons/ArrowLeftIcon/ArrowLeftIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ArrowLeftIcon/ArrowLeftIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ArrowLeftIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ArrowLeftIcon/__snapshots__/ArrowLeftIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ArrowLeftIcon/__snapshots__/ArrowLeftIcon.native.test.tsx.snap index 27235d96c2c..967caca1784 100644 --- a/packages/blade/src/components/Icons/ArrowLeftIcon/__snapshots__/ArrowLeftIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ArrowLeftIcon/__snapshots__/ArrowLeftIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ArrowLeftIcon 1`] = ` > should render ArrowLeftIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/ArrowRightIcon/ArrowRightIcon.native.test.tsx b/packages/blade/src/components/Icons/ArrowRightIcon/ArrowRightIcon.native.test.tsx index eda175a37be..59ca4469832 100644 --- a/packages/blade/src/components/Icons/ArrowRightIcon/ArrowRightIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ArrowRightIcon/ArrowRightIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ArrowRightIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ArrowRightIcon/ArrowRightIcon.web.test.tsx b/packages/blade/src/components/Icons/ArrowRightIcon/ArrowRightIcon.web.test.tsx index 9470a3fd29d..b6aacd12793 100644 --- a/packages/blade/src/components/Icons/ArrowRightIcon/ArrowRightIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ArrowRightIcon/ArrowRightIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ArrowRightIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ArrowRightIcon/__snapshots__/ArrowRightIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ArrowRightIcon/__snapshots__/ArrowRightIcon.native.test.tsx.snap index b60feb79a31..9b595e2adcc 100644 --- a/packages/blade/src/components/Icons/ArrowRightIcon/__snapshots__/ArrowRightIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ArrowRightIcon/__snapshots__/ArrowRightIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ArrowRightIcon 1`] = ` > should render ArrowRightIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/ArrowUpIcon/ArrowUpIcon.native.test.tsx b/packages/blade/src/components/Icons/ArrowUpIcon/ArrowUpIcon.native.test.tsx index 14f092e31c6..1b1953f2ab5 100644 --- a/packages/blade/src/components/Icons/ArrowUpIcon/ArrowUpIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ArrowUpIcon/ArrowUpIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ArrowUpIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ArrowUpIcon/ArrowUpIcon.web.test.tsx b/packages/blade/src/components/Icons/ArrowUpIcon/ArrowUpIcon.web.test.tsx index 67c90c8c76c..59ed6427a16 100644 --- a/packages/blade/src/components/Icons/ArrowUpIcon/ArrowUpIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ArrowUpIcon/ArrowUpIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ArrowUpIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ArrowUpIcon/__snapshots__/ArrowUpIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ArrowUpIcon/__snapshots__/ArrowUpIcon.native.test.tsx.snap index 13192efb4b9..68d2b207338 100644 --- a/packages/blade/src/components/Icons/ArrowUpIcon/__snapshots__/ArrowUpIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ArrowUpIcon/__snapshots__/ArrowUpIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ArrowUpIcon 1`] = ` > should render ArrowUpIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/ArrowUpLeftIcon/ArrowUpLeftIcon.native.test.tsx b/packages/blade/src/components/Icons/ArrowUpLeftIcon/ArrowUpLeftIcon.native.test.tsx index 608a57f5d13..c5d516d352c 100644 --- a/packages/blade/src/components/Icons/ArrowUpLeftIcon/ArrowUpLeftIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ArrowUpLeftIcon/ArrowUpLeftIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ArrowUpLeftIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ArrowUpLeftIcon/ArrowUpLeftIcon.web.test.tsx b/packages/blade/src/components/Icons/ArrowUpLeftIcon/ArrowUpLeftIcon.web.test.tsx index 7ce334d8480..1a13d04ec7d 100644 --- a/packages/blade/src/components/Icons/ArrowUpLeftIcon/ArrowUpLeftIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ArrowUpLeftIcon/ArrowUpLeftIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ArrowUpLeftIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ArrowUpLeftIcon/__snapshots__/ArrowUpLeftIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ArrowUpLeftIcon/__snapshots__/ArrowUpLeftIcon.native.test.tsx.snap index 94c4fa54c9f..b9c96692d45 100644 --- a/packages/blade/src/components/Icons/ArrowUpLeftIcon/__snapshots__/ArrowUpLeftIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ArrowUpLeftIcon/__snapshots__/ArrowUpLeftIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ArrowUpLeftIcon 1`] = ` > should render ArrowUpLeftIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/ArrowUpRightIcon/ArrowUpRightIcon.native.test.tsx b/packages/blade/src/components/Icons/ArrowUpRightIcon/ArrowUpRightIcon.native.test.tsx index b66d6c94cb5..76a030a5981 100644 --- a/packages/blade/src/components/Icons/ArrowUpRightIcon/ArrowUpRightIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ArrowUpRightIcon/ArrowUpRightIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ArrowUpRightIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ArrowUpRightIcon/ArrowUpRightIcon.web.test.tsx b/packages/blade/src/components/Icons/ArrowUpRightIcon/ArrowUpRightIcon.web.test.tsx index d9fed756250..e5c8a8da490 100644 --- a/packages/blade/src/components/Icons/ArrowUpRightIcon/ArrowUpRightIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ArrowUpRightIcon/ArrowUpRightIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ArrowUpRightIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ArrowUpRightIcon/__snapshots__/ArrowUpRightIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ArrowUpRightIcon/__snapshots__/ArrowUpRightIcon.native.test.tsx.snap index d88b6207eaa..e84c0eaa399 100644 --- a/packages/blade/src/components/Icons/ArrowUpRightIcon/__snapshots__/ArrowUpRightIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ArrowUpRightIcon/__snapshots__/ArrowUpRightIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ArrowUpRightIcon 1`] = ` > should render ArrowUpRightIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/AtSignIcon/AtSignIcon.native.test.tsx b/packages/blade/src/components/Icons/AtSignIcon/AtSignIcon.native.test.tsx index d778ebb8c09..6e6bde059a0 100644 --- a/packages/blade/src/components/Icons/AtSignIcon/AtSignIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/AtSignIcon/AtSignIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render AtSignIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AtSignIcon/AtSignIcon.web.test.tsx b/packages/blade/src/components/Icons/AtSignIcon/AtSignIcon.web.test.tsx index 18972f631c9..5f4c1f06117 100644 --- a/packages/blade/src/components/Icons/AtSignIcon/AtSignIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/AtSignIcon/AtSignIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render AtSignIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AtSignIcon/__snapshots__/AtSignIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/AtSignIcon/__snapshots__/AtSignIcon.native.test.tsx.snap index e95a0d08aec..ddbe33382e6 100644 --- a/packages/blade/src/components/Icons/AtSignIcon/__snapshots__/AtSignIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/AtSignIcon/__snapshots__/AtSignIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render AtSignIcon 1`] = ` should render AtSignIcon 1`] = ` clip-rule="evenodd" d="M14.4999 1.28843C9.52184 0.126697 4.39951 2.54737 2.13656 7.13099C-0.126387 11.7146 1.06648 17.2531 5.01567 20.4988C8.96487 23.7445 14.6295 23.8419 18.688 20.7339C19.1265 20.3981 19.2097 19.7704 18.8739 19.332C18.5381 18.8935 17.9105 18.8102 17.472 19.146C14.1514 21.6889 9.51671 21.6092 6.28555 18.9537C3.05439 16.2981 2.07841 11.7666 3.92991 8.01638C5.78141 4.26614 9.97241 2.28559 14.0454 3.23609C18.1183 4.18659 20.9997 7.81767 21 12V13C21 14.1045 20.1046 15 19 15C17.8954 15 17 14.1045 17 13V12.0139C17 12.0093 17 12.0046 17 12C17 9.23855 14.7614 6.99997 12 6.99997C9.23858 6.99997 7 9.23855 7 12C7 14.7614 9.23858 17 12 17C13.488 17 14.8241 16.35 15.7401 15.3185C16.4652 16.3362 17.6551 17 19 17C21.2091 17 23 15.2091 23 13V11.9999C22.9997 6.88809 19.4779 2.45015 14.4999 1.28843ZM15 11.9944L15 12V12.011C14.994 13.6628 13.6532 15 12 15C10.3431 15 9 13.6568 9 12C9 10.3431 10.3431 8.99997 12 8.99997C13.655 8.99997 14.997 10.3401 15 11.9944Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/AttachmentIcon/AttachmentIcon.native.test.tsx b/packages/blade/src/components/Icons/AttachmentIcon/AttachmentIcon.native.test.tsx index 163e89511b5..ec9096a3e44 100644 --- a/packages/blade/src/components/Icons/AttachmentIcon/AttachmentIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/AttachmentIcon/AttachmentIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render AttachmentIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AttachmentIcon/AttachmentIcon.web.test.tsx b/packages/blade/src/components/Icons/AttachmentIcon/AttachmentIcon.web.test.tsx index cca27320d52..9cfad7e2008 100644 --- a/packages/blade/src/components/Icons/AttachmentIcon/AttachmentIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/AttachmentIcon/AttachmentIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render AttachmentIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AttachmentIcon/__snapshots__/AttachmentIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/AttachmentIcon/__snapshots__/AttachmentIcon.native.test.tsx.snap index b2661d8ef47..f4dd3481453 100644 --- a/packages/blade/src/components/Icons/AttachmentIcon/__snapshots__/AttachmentIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/AttachmentIcon/__snapshots__/AttachmentIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render AttachmentIcon 1`] = ` > should render AttachmentIcon 1`] = ` /> should render AttachmentIcon 1`] = ` /> should render AttachmentIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/AwardIcon/AwardIcon.native.test.tsx b/packages/blade/src/components/Icons/AwardIcon/AwardIcon.native.test.tsx index 5059ea2f9cd..06a5d6d04eb 100644 --- a/packages/blade/src/components/Icons/AwardIcon/AwardIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/AwardIcon/AwardIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render AwardIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AwardIcon/AwardIcon.web.test.tsx b/packages/blade/src/components/Icons/AwardIcon/AwardIcon.web.test.tsx index a1ae53f1f0e..b3dd8c7c92c 100644 --- a/packages/blade/src/components/Icons/AwardIcon/AwardIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/AwardIcon/AwardIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render AwardIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/AwardIcon/__snapshots__/AwardIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/AwardIcon/__snapshots__/AwardIcon.native.test.tsx.snap index fe14865d013..421d5b6b4f4 100644 --- a/packages/blade/src/components/Icons/AwardIcon/__snapshots__/AwardIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/AwardIcon/__snapshots__/AwardIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render AwardIcon 1`] = ` should render AwardIcon 1`] = ` clip-rule="evenodd" d="M12 0C7.58172 0 4 3.58172 4 8C4 10.5901 5.23084 12.8926 7.13952 14.3547L6.00873 22.8683C5.95817 23.249 6.13004 23.625 6.45099 23.8358C6.77193 24.0466 7.18525 24.0551 7.51452 23.8575L12 21.1662L16.4855 23.8575C16.8148 24.055 17.2281 24.0466 17.549 23.8358C17.8699 23.625 18.0418 23.2491 17.9913 22.8685L16.8617 14.3538C18.7697 12.8917 20 10.5895 20 8C20 3.58172 16.4183 0 12 0ZM15.3305 12.9915C15.2735 13.021 15.2199 13.0558 15.1702 13.095C14.2504 13.6686 13.1639 14 12 14C8.68629 14 6 11.3137 6 8C6 4.68629 8.68629 2 12 2C15.3137 2 18 4.68629 18 8C18 10.0815 16.9401 11.9154 15.3305 12.9915ZM14.9861 15.4241L15.7359 21.0753L12.5145 19.1425C12.1978 18.9525 11.8022 18.9525 11.4855 19.1425L8.26447 21.0751L9.01499 15.4245C9.93735 15.7957 10.9448 16 12 16C13.0556 16 14.0635 15.7955 14.9861 15.4241Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/BankIcon/BankIcon.native.test.tsx b/packages/blade/src/components/Icons/BankIcon/BankIcon.native.test.tsx index 5ca5bacb639..2d3c90f48e9 100644 --- a/packages/blade/src/components/Icons/BankIcon/BankIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/BankIcon/BankIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CloseIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BankIcon/BankIcon.web.test.tsx b/packages/blade/src/components/Icons/BankIcon/BankIcon.web.test.tsx index 64a3f8de2bd..8ee3e1f0deb 100644 --- a/packages/blade/src/components/Icons/BankIcon/BankIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/BankIcon/BankIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CloseIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BankIcon/__snapshots__/BankIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/BankIcon/__snapshots__/BankIcon.native.test.tsx.snap index 4b9dd372683..cbda355d4ac 100644 --- a/packages/blade/src/components/Icons/BankIcon/__snapshots__/BankIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/BankIcon/__snapshots__/BankIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render CloseIcon 1`] = ` > should render CloseIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/BarChartAltIcon/BarChartAltIcon.native.test.tsx b/packages/blade/src/components/Icons/BarChartAltIcon/BarChartAltIcon.native.test.tsx index 56fd14af61d..9f77ab89a6c 100644 --- a/packages/blade/src/components/Icons/BarChartAltIcon/BarChartAltIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/BarChartAltIcon/BarChartAltIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render BarChartAltIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BarChartAltIcon/BarChartAltIcon.web.test.tsx b/packages/blade/src/components/Icons/BarChartAltIcon/BarChartAltIcon.web.test.tsx index 4bab313d65c..ea57dd57968 100644 --- a/packages/blade/src/components/Icons/BarChartAltIcon/BarChartAltIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/BarChartAltIcon/BarChartAltIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render BarChartAltIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BarChartAltIcon/__snapshots__/BarChartAltIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/BarChartAltIcon/__snapshots__/BarChartAltIcon.native.test.tsx.snap index 80ff70a0bfa..c6ab3692751 100644 --- a/packages/blade/src/components/Icons/BarChartAltIcon/__snapshots__/BarChartAltIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/BarChartAltIcon/__snapshots__/BarChartAltIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render BarChartAltIcon 1`] = ` should render BarChartAltIcon 1`] = ` should render BarChartAltIcon 1`] = ` should render BarChartAltIcon 1`] = ` clip-rule="evenodd" d="M9 3C9 2.44772 9.44771 2 10 2H14C14.5523 2 15 2.44772 15 3V21C15 21.5523 14.5523 22 14 22H10C9.44771 22 9 21.5523 9 21V3ZM13 4H11V20H13V4Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/BarChartIcon/BarChartIcon.native.test.tsx b/packages/blade/src/components/Icons/BarChartIcon/BarChartIcon.native.test.tsx index 84f009fff7d..1a351f6f73a 100644 --- a/packages/blade/src/components/Icons/BarChartIcon/BarChartIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/BarChartIcon/BarChartIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render BarChartIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BarChartIcon/BarChartIcon.web.test.tsx b/packages/blade/src/components/Icons/BarChartIcon/BarChartIcon.web.test.tsx index e42ba5d42e7..aa51dfd345b 100644 --- a/packages/blade/src/components/Icons/BarChartIcon/BarChartIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/BarChartIcon/BarChartIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render BarChartIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BarChartIcon/__snapshots__/BarChartIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/BarChartIcon/__snapshots__/BarChartIcon.native.test.tsx.snap index 5d5541414b8..09fee9301a0 100644 --- a/packages/blade/src/components/Icons/BarChartIcon/__snapshots__/BarChartIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/BarChartIcon/__snapshots__/BarChartIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render BarChartIcon 1`] = ` should render BarChartIcon 1`] = ` should render BarChartIcon 1`] = ` should render BarChartIcon 1`] = ` clip-rule="evenodd" d="M17 3C17 2.44772 17.4477 2 18 2H22C22.5523 2 23 2.44772 23 3V21C23 21.5523 22.5523 22 22 22H18C17.4477 22 17 21.5523 17 21V3ZM21 4H19V20H21V4Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/BatteryChargingIcon/BatteryChargingIcon.native.test.tsx b/packages/blade/src/components/Icons/BatteryChargingIcon/BatteryChargingIcon.native.test.tsx index d23d478c19b..0f9e2304ff7 100644 --- a/packages/blade/src/components/Icons/BatteryChargingIcon/BatteryChargingIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/BatteryChargingIcon/BatteryChargingIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render BatteryChargingIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BatteryChargingIcon/BatteryChargingIcon.web.test.tsx b/packages/blade/src/components/Icons/BatteryChargingIcon/BatteryChargingIcon.web.test.tsx index c96c33aa3ee..5c8225ce25f 100644 --- a/packages/blade/src/components/Icons/BatteryChargingIcon/BatteryChargingIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/BatteryChargingIcon/BatteryChargingIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render BatteryChargingIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BatteryChargingIcon/__snapshots__/BatteryChargingIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/BatteryChargingIcon/__snapshots__/BatteryChargingIcon.native.test.tsx.snap index d6e990c8202..c77a0526ff9 100644 --- a/packages/blade/src/components/Icons/BatteryChargingIcon/__snapshots__/BatteryChargingIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/BatteryChargingIcon/__snapshots__/BatteryChargingIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render BatteryChargingIcon 1`] = ` should render BatteryChargingIcon 1`] = ` clip-rule="evenodd" d="M11.8321 6.55481C12.1384 6.09528 12.0142 5.47441 11.5547 5.16806C11.0952 4.8617 10.4743 4.98588 10.168 5.44541L6.16795 11.4454C5.96338 11.7523 5.94431 12.1468 6.11833 12.472C6.29235 12.7971 6.63121 13.0001 7 13.0001H11.1315L8.16795 17.4454C7.8616 17.9049 7.98577 18.5258 8.4453 18.8322C8.90483 19.1385 9.5257 19.0143 9.83205 18.5548L13.8321 12.5548C14.0366 12.248 14.0557 11.8534 13.8817 11.5282C13.7077 11.2031 13.3688 11.0001 13 11.0001H8.86852L11.8321 6.55481ZM3 7.00009C2.44772 7.00009 2 7.44781 2 8.00009V16.0001C2 16.5524 2.44772 17.0001 3 17.0001H5C5.55228 17.0001 6 17.4478 6 18.0001C6 18.5524 5.55228 19.0001 5 19.0001H3C1.34315 19.0001 0 17.6569 0 16.0001V8.00009C0 6.34324 1.34315 5.00009 3 5.00009H6.19C6.74228 5.00009 7.19 5.44781 7.19 6.00009C7.19 6.55238 6.74228 7.00009 6.19 7.00009H3ZM14.0001 6.00009C14.0001 5.44781 14.4478 5.00009 15.0001 5.00009H17.0001C18.6569 5.00009 20.0001 6.34324 20.0001 8.00009V16.0001C20.0001 17.6569 18.6569 19.0001 17.0001 19.0001H13.8101C13.2578 19.0001 12.8101 18.5524 12.8101 18.0001C12.8101 17.4478 13.2578 17.0001 13.8101 17.0001H17.0001C17.5523 17.0001 18.0001 16.5524 18.0001 16.0001V8.00009C18.0001 7.44781 17.5523 7.00009 17.0001 7.00009H15.0001C14.4478 7.00009 14.0001 6.55238 14.0001 6.00009ZM23 10.0001C23.5523 10.0001 24 10.4478 24 11.0001V13.0001C24 13.5524 23.5523 14.0001 23 14.0001C22.4477 14.0001 22 13.5524 22 13.0001V11.0001C22 10.4478 22.4477 10.0001 23 10.0001Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/BatteryIcon/BatteryIcon.native.test.tsx b/packages/blade/src/components/Icons/BatteryIcon/BatteryIcon.native.test.tsx index 7a348136094..8d51d25a793 100644 --- a/packages/blade/src/components/Icons/BatteryIcon/BatteryIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/BatteryIcon/BatteryIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render BatteryIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BatteryIcon/BatteryIcon.web.test.tsx b/packages/blade/src/components/Icons/BatteryIcon/BatteryIcon.web.test.tsx index 50ee7d7a965..579471c65f9 100644 --- a/packages/blade/src/components/Icons/BatteryIcon/BatteryIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/BatteryIcon/BatteryIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render BatteryIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BatteryIcon/__snapshots__/BatteryIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/BatteryIcon/__snapshots__/BatteryIcon.native.test.tsx.snap index 9bfcafa33de..f55ff513c41 100644 --- a/packages/blade/src/components/Icons/BatteryIcon/__snapshots__/BatteryIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/BatteryIcon/__snapshots__/BatteryIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render BatteryIcon 1`] = ` should render BatteryIcon 1`] = ` /> should render BatteryIcon 1`] = ` clip-rule="evenodd" d="M3 5C1.34315 5 0 6.34315 0 8V16C0 17.6569 1.34315 19 3 19H17C18.6569 19 20 17.6569 20 16V8C20 6.34315 18.6569 5 17 5H3ZM2 8C2 7.44772 2.44772 7 3 7H17C17.5523 7 18 7.44772 18 8V16C18 16.5523 17.5523 17 17 17H3C2.44772 17 2 16.5523 2 16V8Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/BellIcon/BellIcon.native.test.tsx b/packages/blade/src/components/Icons/BellIcon/BellIcon.native.test.tsx index 698a7f95870..78e79422846 100644 --- a/packages/blade/src/components/Icons/BellIcon/BellIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/BellIcon/BellIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render BellIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BellIcon/BellIcon.web.test.tsx b/packages/blade/src/components/Icons/BellIcon/BellIcon.web.test.tsx index 97aa8daffad..e16cf158bca 100644 --- a/packages/blade/src/components/Icons/BellIcon/BellIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/BellIcon/BellIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render BellIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BellIcon/__snapshots__/BellIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/BellIcon/__snapshots__/BellIcon.native.test.tsx.snap index 249e96b4719..352c4389a05 100644 --- a/packages/blade/src/components/Icons/BellIcon/__snapshots__/BellIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/BellIcon/__snapshots__/BellIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render BellIcon 1`] = ` should render BellIcon 1`] = ` clip-rule="evenodd" d="M12 3C8.68629 3 6 5.68629 6 9V14C6 14.7286 5.80521 15.4117 5.46487 16H18.5351C18.1948 15.4117 18 14.7286 18 14V9C18 5.68629 15.3137 3 12 3ZM22 16C20.8954 16 20 15.1046 20 14V9C20 4.58172 16.4183 1 12 1C7.58172 1 4 4.58172 4 9V14C4 15.1046 3.10457 16 2 16C1.44772 16 1 16.4477 1 17C1 17.5523 1.44772 18 2 18H22C22.5523 18 23 17.5523 23 17C23 16.4477 22.5523 16 22 16ZM9.76823 20.135C10.246 19.8579 10.8579 20.0205 11.135 20.4982C11.3139 20.8066 11.6435 20.9965 12 20.9965C12.3565 20.9965 12.6861 20.8066 12.865 20.4982C13.1421 20.0205 13.754 19.8579 14.2318 20.135C14.7095 20.4121 14.8721 21.024 14.595 21.5018C14.0583 22.427 13.0696 22.9965 12 22.9965C10.9304 22.9965 9.9417 22.427 9.405 21.5018C9.12788 21.024 9.2905 20.4121 9.76823 20.135Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/BellOffIcon/BellOffIcon.native.test.tsx b/packages/blade/src/components/Icons/BellOffIcon/BellOffIcon.native.test.tsx index fdefa0b6e56..6e9873b73aa 100644 --- a/packages/blade/src/components/Icons/BellOffIcon/BellOffIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/BellOffIcon/BellOffIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render BellOffIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BellOffIcon/BellOffIcon.web.test.tsx b/packages/blade/src/components/Icons/BellOffIcon/BellOffIcon.web.test.tsx index aefc70aa450..cbeb00a9a4c 100644 --- a/packages/blade/src/components/Icons/BellOffIcon/BellOffIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/BellOffIcon/BellOffIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render BellOffIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BellOffIcon/__snapshots__/BellOffIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/BellOffIcon/__snapshots__/BellOffIcon.native.test.tsx.snap index 21934799198..47350591caa 100644 --- a/packages/blade/src/components/Icons/BellOffIcon/__snapshots__/BellOffIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/BellOffIcon/__snapshots__/BellOffIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render BellOffIcon 1`] = ` should render BellOffIcon 1`] = ` /> should render BellOffIcon 1`] = ` /> should render BellOffIcon 1`] = ` name="clip0_60_209" > should render BellOffIcon 1`] = ` clip-rule="evenodd" d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L4.58432 5.99853C4.09725 7.23173 3.94742 8.54072 3.91519 9.78658C3.896 10.5283 3.91846 11.2698 3.94438 11.9748L3.95594 12.284C3.97858 12.8838 4.00001 13.4516 4.00001 14C4.00001 15.1046 3.10458 16 2.00001 16C1.44772 16 1.00001 16.4477 1.00001 17C1.00001 17.5523 1.44772 18 2.00001 18H16.5858L22.2929 23.7071C22.6834 24.0976 23.3166 24.0976 23.7071 23.7071C24.0976 23.3166 24.0976 22.6834 23.7071 22.2929L17.7094 16.2952C17.7079 16.2937 17.7064 16.2921 17.7048 16.2906L6.50379 5.08957C6.49307 5.07834 6.48207 5.06734 6.47078 5.05657L1.70711 0.292893ZM6.17615 7.59037C6.00903 8.28471 5.93525 9.03692 5.91452 9.8383C5.89709 10.5121 5.91721 11.1992 5.94303 11.9014L5.9543 12.2022C5.97691 12.7999 6.00001 13.4105 6.00001 14C6.00001 14.7286 5.80522 15.4117 5.46488 16H14.5858L6.17615 7.59037Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> should render BellOffIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/BillIcon/BillIcon.native.test.tsx b/packages/blade/src/components/Icons/BillIcon/BillIcon.native.test.tsx index 2699ccb456a..901d74bfea1 100644 --- a/packages/blade/src/components/Icons/BillIcon/BillIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/BillIcon/BillIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render BillIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BillIcon/BillIcon.web.test.tsx b/packages/blade/src/components/Icons/BillIcon/BillIcon.web.test.tsx index 72b52df2157..816e86b199d 100644 --- a/packages/blade/src/components/Icons/BillIcon/BillIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/BillIcon/BillIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render BillIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BillIcon/__snapshots__/BillIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/BillIcon/__snapshots__/BillIcon.native.test.tsx.snap index 992c368578d..baaf3afbbb1 100644 --- a/packages/blade/src/components/Icons/BillIcon/__snapshots__/BillIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/BillIcon/__snapshots__/BillIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render BillIcon 1`] = ` > should render BillIcon 1`] = ` /> should render BillIcon 1`] = ` /> should render BillIcon 1`] = ` should render BillIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/BluetoothIcon/BluetoothIcon.native.test.tsx b/packages/blade/src/components/Icons/BluetoothIcon/BluetoothIcon.native.test.tsx index 62532498346..3c413ea7a9a 100644 --- a/packages/blade/src/components/Icons/BluetoothIcon/BluetoothIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/BluetoothIcon/BluetoothIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render BluetoothIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BluetoothIcon/BluetoothIcon.web.test.tsx b/packages/blade/src/components/Icons/BluetoothIcon/BluetoothIcon.web.test.tsx index 6b6e18e26e9..36853e9cd85 100644 --- a/packages/blade/src/components/Icons/BluetoothIcon/BluetoothIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/BluetoothIcon/BluetoothIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render BluetoothIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BluetoothIcon/__snapshots__/BluetoothIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/BluetoothIcon/__snapshots__/BluetoothIcon.native.test.tsx.snap index 7af458dc8cd..a3e0f41a069 100644 --- a/packages/blade/src/components/Icons/BluetoothIcon/__snapshots__/BluetoothIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/BluetoothIcon/__snapshots__/BluetoothIcon.native.test.tsx.snap @@ -62,7 +62,7 @@ exports[` should render BluetoothIcon 1`] = ` "strokeLinejoin", ] } - stroke={4282603381} + stroke={4280563015} strokeLinecap={1} strokeLinejoin={1} strokeWidth="2" @@ -73,7 +73,7 @@ exports[` should render BluetoothIcon 1`] = ` name="clip0_59_170" > should render BluetoothIcon 1`] = ` should render BluetoothIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/BoldIcon/BoldIcon.native.test.tsx b/packages/blade/src/components/Icons/BoldIcon/BoldIcon.native.test.tsx index 790cea4dab2..f11bb09c91a 100644 --- a/packages/blade/src/components/Icons/BoldIcon/BoldIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/BoldIcon/BoldIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render BoldIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BoldIcon/BoldIcon.web.test.tsx b/packages/blade/src/components/Icons/BoldIcon/BoldIcon.web.test.tsx index b4ed2f36858..720a24b5a50 100644 --- a/packages/blade/src/components/Icons/BoldIcon/BoldIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/BoldIcon/BoldIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render BoldIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BoldIcon/__snapshots__/BoldIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/BoldIcon/__snapshots__/BoldIcon.native.test.tsx.snap index fdb4abc4243..ccd0626b9e0 100644 --- a/packages/blade/src/components/Icons/BoldIcon/__snapshots__/BoldIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/BoldIcon/__snapshots__/BoldIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render BoldIcon 1`] = ` should render BoldIcon 1`] = ` clip-rule="evenodd" d="M5 3C4.44772 3 4 3.44772 4 4V20C4 20.5523 4.44772 21 5 21H14C16.7614 21 19 18.7614 19 16C19 14.123 17.9657 12.4875 16.4359 11.6325C17.3991 10.7211 18 9.43071 18 8C18 5.23858 15.7614 3 13 3H5ZM13 11C14.6569 11 16 9.65685 16 8C16 6.34315 14.6569 5 13 5H6V11H13ZM6 13V19H14C15.6569 19 17 17.6569 17 16C17 14.3431 15.6569 13 14 13H6Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/BookIcon/BookIcon.native.test.tsx b/packages/blade/src/components/Icons/BookIcon/BookIcon.native.test.tsx index 4b0364e6796..efd6752adfc 100644 --- a/packages/blade/src/components/Icons/BookIcon/BookIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/BookIcon/BookIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render BookIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BookIcon/BookIcon.web.test.tsx b/packages/blade/src/components/Icons/BookIcon/BookIcon.web.test.tsx index 6a961ee477b..9d2a82c990b 100644 --- a/packages/blade/src/components/Icons/BookIcon/BookIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/BookIcon/BookIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render BookIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BookIcon/__snapshots__/BookIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/BookIcon/__snapshots__/BookIcon.native.test.tsx.snap index 678c4e57641..945fbf816e5 100644 --- a/packages/blade/src/components/Icons/BookIcon/__snapshots__/BookIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/BookIcon/__snapshots__/BookIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render BookIcon 1`] = ` should render BookIcon 1`] = ` clip-rule="evenodd" d="M21 2a1 1 0 0 0-1-1H6.5A3.5 3.5 0 0 0 3 4.5v15A3.5 3.5 0 0 0 6.5 23H20a1 1 0 0 0 1-1V2ZM5 4.5A1.5 1.5 0 0 1 6.5 3H19v13H6.5c-.537 0-1.045.12-1.5.337V4.5Zm0 15A1.5 1.5 0 0 0 6.5 21H19v-3H6.5A1.5 1.5 0 0 0 5 19.5Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/BookmarkIcon/BookmarkIcon.native.test.tsx b/packages/blade/src/components/Icons/BookmarkIcon/BookmarkIcon.native.test.tsx index 5e71223fe93..44c45599bf9 100644 --- a/packages/blade/src/components/Icons/BookmarkIcon/BookmarkIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/BookmarkIcon/BookmarkIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render BookmarkIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BookmarkIcon/BookmarkIcon.web.test.tsx b/packages/blade/src/components/Icons/BookmarkIcon/BookmarkIcon.web.test.tsx index 9363ff909c1..8a351f66e9d 100644 --- a/packages/blade/src/components/Icons/BookmarkIcon/BookmarkIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/BookmarkIcon/BookmarkIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render BookmarkIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BookmarkIcon/__snapshots__/BookmarkIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/BookmarkIcon/__snapshots__/BookmarkIcon.native.test.tsx.snap index 86794bd16ad..14e954350e1 100644 --- a/packages/blade/src/components/Icons/BookmarkIcon/__snapshots__/BookmarkIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/BookmarkIcon/__snapshots__/BookmarkIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render BookmarkIcon 1`] = ` should render BookmarkIcon 1`] = ` clip-rule="evenodd" d="M7 4C6.44772 4 6 4.44772 6 5V19.0568L11.4188 15.1863C11.7665 14.9379 12.2335 14.9379 12.5812 15.1863L18 19.0568V5C18 4.44772 17.5523 4 17 4H7ZM4 5C4 3.34315 5.34315 2 7 2H17C18.6569 2 20 3.34315 20 5V21C20 21.3746 19.7907 21.7178 19.4576 21.8892C19.1245 22.0606 18.7236 22.0315 18.4188 21.8137L12 17.2289L5.58124 21.8137C5.27642 22.0315 4.87549 22.0606 4.54242 21.8892C4.20935 21.7178 4 21.3746 4 21V5Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/BoxIcon/BoxIcon.native.test.tsx b/packages/blade/src/components/Icons/BoxIcon/BoxIcon.native.test.tsx index 62ab5d0765b..b959584bcd7 100644 --- a/packages/blade/src/components/Icons/BoxIcon/BoxIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/BoxIcon/BoxIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render BoxIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BoxIcon/BoxIcon.web.test.tsx b/packages/blade/src/components/Icons/BoxIcon/BoxIcon.web.test.tsx index d515aee0699..dc6a099ef13 100644 --- a/packages/blade/src/components/Icons/BoxIcon/BoxIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/BoxIcon/BoxIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render BoxIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BoxIcon/__snapshots__/BoxIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/BoxIcon/__snapshots__/BoxIcon.native.test.tsx.snap index e1c89771dc0..5b792b53574 100644 --- a/packages/blade/src/components/Icons/BoxIcon/__snapshots__/BoxIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/BoxIcon/__snapshots__/BoxIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render BoxIcon 1`] = ` should render BoxIcon 1`] = ` clip-rule="evenodd" d="M10.665 0.554375C11.5059 0.136497 12.494 0.136497 13.335 0.554375L13.3372 0.555476L21.335 4.55438L21.3364 4.55506C22.3551 5.06191 22.9994 6.10147 23 7.23938V16.7699C22.9994 17.9079 22.3549 18.9482 21.336 19.4549L21.335 19.4554L13.3375 23.4542C12.4924 23.8771 11.4975 23.8771 10.6525 23.4542L2.65277 19.4543L2.65001 19.4529C1.63264 18.9403 0.993506 17.8958 0.999988 16.7568V7.23992C0.999978 5.76032 1.97162 4.88819 2.55877 4.60249L10.665 0.554375ZM11.555 2.34544L4.23655 6.00015L12 9.88187L19.7589 6.0024L12.445 2.34544L12.4441 2.34499C12.1642 2.20627 11.8348 2.20666 11.555 2.34544ZM2.99999 16.7669V7.61794L11 11.6179V21.3919L3.54914 17.6665C3.21012 17.4952 2.99734 17.1467 2.99999 16.7669ZM13 21.3869L20.4428 17.6655L20.445 17.6644C20.7848 17.4955 20.9998 17.1488 21 16.7694V7.61794L13 11.6179V21.3869Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/BriefcaseIcon/BriefcaseIcon.native.test.tsx b/packages/blade/src/components/Icons/BriefcaseIcon/BriefcaseIcon.native.test.tsx index e29c05cd1f8..2862014f543 100644 --- a/packages/blade/src/components/Icons/BriefcaseIcon/BriefcaseIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/BriefcaseIcon/BriefcaseIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render BriefcaseIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BriefcaseIcon/BriefcaseIcon.web.test.tsx b/packages/blade/src/components/Icons/BriefcaseIcon/BriefcaseIcon.web.test.tsx index 449bb59f637..609b9d5b2f5 100644 --- a/packages/blade/src/components/Icons/BriefcaseIcon/BriefcaseIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/BriefcaseIcon/BriefcaseIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render BriefcaseIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BriefcaseIcon/__snapshots__/BriefcaseIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/BriefcaseIcon/__snapshots__/BriefcaseIcon.native.test.tsx.snap index a0fbdc2450a..33c267d0889 100644 --- a/packages/blade/src/components/Icons/BriefcaseIcon/__snapshots__/BriefcaseIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/BriefcaseIcon/__snapshots__/BriefcaseIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render BriefcaseIcon 1`] = ` should render BriefcaseIcon 1`] = ` clip-rule="evenodd" d="M10 2C8.34315 2 7 3.34315 7 5V6H4C2.34315 6 1 7.34315 1 9V19C1 20.6569 2.34315 22 4 22H8H16H20C21.6569 22 23 20.6569 23 19V9C23 7.34315 21.6569 6 20 6H17V5C17 3.34315 15.6569 2 14 2H10ZM15 6V5C15 4.44772 14.5523 4 14 4H10C9.44772 4 9 4.44772 9 5V6H15ZM9 8H15V20H9V8ZM7 8H4C3.44772 8 3 8.44772 3 9V19C3 19.5523 3.44772 20 4 20H7V8ZM17 20V8H20C20.5523 8 21 8.44772 21 9V19C21 19.5523 20.5523 20 20 20H17Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/BulkPayoutsIcon/BulkPayoutsIcon.native.test.tsx b/packages/blade/src/components/Icons/BulkPayoutsIcon/BulkPayoutsIcon.native.test.tsx index 310b823dbc4..9f6ab42ffa0 100644 --- a/packages/blade/src/components/Icons/BulkPayoutsIcon/BulkPayoutsIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/BulkPayoutsIcon/BulkPayoutsIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render BulkPayoutsIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BulkPayoutsIcon/BulkPayoutsIcon.web.test.tsx b/packages/blade/src/components/Icons/BulkPayoutsIcon/BulkPayoutsIcon.web.test.tsx index 65388f703f6..f4eeba8bb44 100644 --- a/packages/blade/src/components/Icons/BulkPayoutsIcon/BulkPayoutsIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/BulkPayoutsIcon/BulkPayoutsIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render BulkPayoutsIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/BulkPayoutsIcon/__snapshots__/BulkPayoutsIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/BulkPayoutsIcon/__snapshots__/BulkPayoutsIcon.native.test.tsx.snap index ad28ce738b3..15d744ed2fd 100644 --- a/packages/blade/src/components/Icons/BulkPayoutsIcon/__snapshots__/BulkPayoutsIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/BulkPayoutsIcon/__snapshots__/BulkPayoutsIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render BulkPayoutsIcon 1`] = ` should render BulkPayoutsIcon 1`] = ` clip-rule="evenodd" d="M11.6001 2C10.9374 2 10.4001 2.53726 10.4001 3.19999C10.4001 3.86273 10.9374 4.39999 11.6001 4.39999H19.6001V12.4C19.6001 13.0627 20.1373 13.5999 20.8 13.5999C21.4628 13.5999 22 13.0627 22 12.4V3.19999C22 2.53726 21.4628 2 20.8 2H11.6001ZM5.60043 7.60069C5.60043 6.93795 6.13768 6.40069 6.80042 6.40069H16.4004C17.0631 6.40069 17.6004 6.93795 17.6004 7.60069V17.2006C17.6004 17.8634 17.0631 18.4006 16.4004 18.4006C15.7376 18.4006 15.2004 17.8634 15.2004 17.2006V10.4977L4.04852 21.6495C3.57989 22.1182 2.8201 22.1182 2.35147 21.6495C1.88284 21.1809 1.88284 20.4211 2.35147 19.9525L13.5033 8.80068H6.80042C6.13768 8.80068 5.60043 8.26343 5.60043 7.60069Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/CalendarIcon/CalendarIcon.native.test.tsx b/packages/blade/src/components/Icons/CalendarIcon/CalendarIcon.native.test.tsx index 52201364537..45eda9e077a 100644 --- a/packages/blade/src/components/Icons/CalendarIcon/CalendarIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CalendarIcon/CalendarIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CalendarIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CalendarIcon/CalendarIcon.web.test.tsx b/packages/blade/src/components/Icons/CalendarIcon/CalendarIcon.web.test.tsx index 0baa8251662..53eb87d7334 100644 --- a/packages/blade/src/components/Icons/CalendarIcon/CalendarIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CalendarIcon/CalendarIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CalendarIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CalendarIcon/__snapshots__/CalendarIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CalendarIcon/__snapshots__/CalendarIcon.native.test.tsx.snap index 1a4692d6c63..ae10ff6150c 100644 --- a/packages/blade/src/components/Icons/CalendarIcon/__snapshots__/CalendarIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CalendarIcon/__snapshots__/CalendarIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render CalendarIcon 1`] = ` should render CalendarIcon 1`] = ` should render CalendarIcon 1`] = ` should render CalendarIcon 1`] = ` should render CalendarIcon 1`] = ` clip-rule="evenodd" d="M5 5C4.44772 5 4 5.44772 4 6V20C4 20.5523 4.44772 21 5 21H19C19.5523 21 20 20.5523 20 20V6C20 5.44772 19.5523 5 19 5H5ZM2 6C2 4.34315 3.34315 3 5 3H19C20.6569 3 22 4.34315 22 6V20C22 21.6569 20.6569 23 19 23H5C3.34315 23 2 21.6569 2 20V6Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/CameraIcon/CameraIcon.native.test.tsx b/packages/blade/src/components/Icons/CameraIcon/CameraIcon.native.test.tsx index e28f3514437..5daf49a26f9 100644 --- a/packages/blade/src/components/Icons/CameraIcon/CameraIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CameraIcon/CameraIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CameraIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CameraIcon/CameraIcon.web.test.tsx b/packages/blade/src/components/Icons/CameraIcon/CameraIcon.web.test.tsx index 440d76c7486..f5b7af7b1a3 100644 --- a/packages/blade/src/components/Icons/CameraIcon/CameraIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CameraIcon/CameraIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CameraIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CameraIcon/__snapshots__/CameraIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CameraIcon/__snapshots__/CameraIcon.native.test.tsx.snap index b5bace34aa3..aa036be73c5 100644 --- a/packages/blade/src/components/Icons/CameraIcon/__snapshots__/CameraIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CameraIcon/__snapshots__/CameraIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render CameraIcon 1`] = ` should render CameraIcon 1`] = ` should render CameraIcon 1`] = ` clip-rule="evenodd" d="M12 8C9.23858 8 7 10.2386 7 13C7 15.7614 9.23858 18 12 18C14.7614 18 17 15.7614 17 13C17 10.2386 14.7614 8 12 8ZM9 13C9 11.3431 10.3431 10 12 10C13.6569 10 15 11.3431 15 13C15 14.6569 13.6569 16 12 16C10.3431 16 9 14.6569 9 13Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/CameraOffIcon/CameraOffIcon.native.test.tsx b/packages/blade/src/components/Icons/CameraOffIcon/CameraOffIcon.native.test.tsx index 1501872d584..4852c6c71cb 100644 --- a/packages/blade/src/components/Icons/CameraOffIcon/CameraOffIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CameraOffIcon/CameraOffIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CameraOffIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CameraOffIcon/CameraOffIcon.web.test.tsx b/packages/blade/src/components/Icons/CameraOffIcon/CameraOffIcon.web.test.tsx index cd04df9979d..28caead8e9c 100644 --- a/packages/blade/src/components/Icons/CameraOffIcon/CameraOffIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CameraOffIcon/CameraOffIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CameraOffIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CameraOffIcon/__snapshots__/CameraOffIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CameraOffIcon/__snapshots__/CameraOffIcon.native.test.tsx.snap index 951b061e5cb..aa0762dda99 100644 --- a/packages/blade/src/components/Icons/CameraOffIcon/__snapshots__/CameraOffIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CameraOffIcon/__snapshots__/CameraOffIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render CameraOffIcon 1`] = ` should render CameraOffIcon 1`] = ` name="clip0_59_165" > should render CameraOffIcon 1`] = ` clip-rule="evenodd" d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L3.58579 5H3C1.34315 5 0 6.34315 0 8V19C0 20.6569 1.34315 22 3 22H20.5858L22.2929 23.7071C22.6834 24.0976 23.3166 24.0976 23.7071 23.7071C24.0976 23.3166 24.0976 22.6834 23.7071 22.2929L16.0013 14.587C15.9926 14.578 15.9836 14.5691 15.9745 14.5603L10.4397 9.02547C10.4309 9.01636 10.422 9.00745 10.4129 8.99873L1.70711 0.292893ZM8.26209 9.6763L5.58579 7H3C2.44772 7 2 7.44772 2 8V19C2 19.5523 2.44772 20 3 20H18.5858L15.3237 16.7379C14.1638 17.7818 12.5593 18.2406 10.9854 17.9215C9.01649 17.5223 7.47771 15.9835 7.07854 14.0146C6.75944 12.4407 7.21818 10.8362 8.26209 9.6763ZM13.9061 15.3204L9.67964 11.0939C9.10241 11.7825 8.8544 12.7084 9.03866 13.6172C9.27816 14.7986 10.2014 15.7218 11.3828 15.9613C12.2916 16.1456 13.2175 15.8976 13.9061 15.3204ZM9 2C8.44772 2 8 2.44772 8 3C8 3.55228 8.44772 4 9 4H14.4648L16.1679 6.5547C16.3534 6.8329 16.6656 7 17 7H21C21.5523 7 22 7.44772 22 8V17.34C22 17.8923 22.4477 18.34 23 18.34C23.5523 18.34 24 17.8923 24 17.34V8C24 6.34315 22.6569 5 21 5H17.5352L15.8321 2.4453C15.6466 2.1671 15.3344 2 15 2H9Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> @@ -32,7 +32,7 @@ exports[` should render CameraOffIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/CastIcon/CastIcon.native.test.tsx b/packages/blade/src/components/Icons/CastIcon/CastIcon.native.test.tsx index b98cb0a36c7..4b4bcd1da12 100644 --- a/packages/blade/src/components/Icons/CastIcon/CastIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CastIcon/CastIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CastIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CastIcon/CastIcon.web.test.tsx b/packages/blade/src/components/Icons/CastIcon/CastIcon.web.test.tsx index 5a28154f82f..792ce46a365 100644 --- a/packages/blade/src/components/Icons/CastIcon/CastIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CastIcon/CastIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CastIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CastIcon/__snapshots__/CastIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CastIcon/__snapshots__/CastIcon.native.test.tsx.snap index 93dd6a58b54..554230c9a59 100644 --- a/packages/blade/src/components/Icons/CastIcon/__snapshots__/CastIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CastIcon/__snapshots__/CastIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render CastIcon 1`] = ` should render CastIcon 1`] = ` clip-rule="evenodd" d="M3.99995 5C3.44767 5 2.99995 5.44772 2.99995 6V8C2.99995 8.55228 2.55224 9 1.99995 9C1.44767 9 0.999953 8.55228 0.999953 8V6C0.999953 4.34315 2.3431 3 3.99995 3H20C21.6568 3 23 4.34315 23 6V18C23 19.6569 21.6568 21 20 21H14C13.4477 21 13 20.5523 13 20C13 19.4477 13.4477 19 14 19H20C20.5522 19 21 18.5523 21 18V6C21 5.44772 20.5522 5 20 5H3.99995ZM1.00608 11.9395C1.06713 11.3906 1.56159 10.9951 2.11049 11.0561C6.75811 11.573 10.4269 15.2418 10.9438 19.8895C11.0049 20.4384 10.6094 20.9328 10.0605 20.9939C9.51159 21.0549 9.01713 20.6594 8.95608 20.1105C8.54255 16.3924 5.60751 13.4574 1.88941 13.0439C1.34051 12.9828 0.945032 12.4884 1.00608 11.9395ZM1.02012 15.9002C1.13049 15.359 1.65864 15.0098 2.19978 15.1202C4.55693 15.6009 6.39906 17.443 6.87978 19.8002C6.99015 20.3413 6.64093 20.8695 6.09978 20.9798C5.55864 21.0902 5.03049 20.741 4.92012 20.1998C4.59964 18.6284 3.37155 17.4003 1.80012 17.0798C1.25898 16.9695 0.909759 16.4413 1.02012 15.9002Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/CheckCircleIcon/CheckCircleIcon.native.test.tsx b/packages/blade/src/components/Icons/CheckCircleIcon/CheckCircleIcon.native.test.tsx index 7d5b1a879d8..90a77e878e0 100644 --- a/packages/blade/src/components/Icons/CheckCircleIcon/CheckCircleIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CheckCircleIcon/CheckCircleIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CheckCircleIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CheckCircleIcon/CheckCircleIcon.web.test.tsx b/packages/blade/src/components/Icons/CheckCircleIcon/CheckCircleIcon.web.test.tsx index f6899564888..551bc0115db 100644 --- a/packages/blade/src/components/Icons/CheckCircleIcon/CheckCircleIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CheckCircleIcon/CheckCircleIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CheckCircleIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CheckCircleIcon/__snapshots__/CheckCircleIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CheckCircleIcon/__snapshots__/CheckCircleIcon.native.test.tsx.snap index 2ce015e508d..3f74c8be5bf 100644 --- a/packages/blade/src/components/Icons/CheckCircleIcon/__snapshots__/CheckCircleIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CheckCircleIcon/__snapshots__/CheckCircleIcon.native.test.tsx.snap @@ -54,7 +54,7 @@ exports[` should render CheckCircleIcon 1`] = ` > should render CheckCircleIcon 1`] = ` /> should render CheckCircleIcon 1`] = ` ', () => { it('should render CheckIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CheckIcon/CheckIcon.web.test.tsx b/packages/blade/src/components/Icons/CheckIcon/CheckIcon.web.test.tsx index 67d12b61f22..0fcd10f8e25 100644 --- a/packages/blade/src/components/Icons/CheckIcon/CheckIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CheckIcon/CheckIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CheckIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CheckIcon/__snapshots__/CheckIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CheckIcon/__snapshots__/CheckIcon.native.test.tsx.snap index 4775337d594..5bf06e55f93 100644 --- a/packages/blade/src/components/Icons/CheckIcon/__snapshots__/CheckIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CheckIcon/__snapshots__/CheckIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render CheckIcon 1`] = ` should render CheckIcon 1`] = ` clip-rule="evenodd" d="M20.7071 5.29289C21.0976 5.68342 21.0976 6.31658 20.7071 6.70711L9.70711 17.7071C9.31658 18.0976 8.68342 18.0976 8.29289 17.7071L3.29289 12.7071C2.90237 12.3166 2.90237 11.6834 3.29289 11.2929C3.68342 10.9024 4.31658 10.9024 4.70711 11.2929L9 15.5858L19.2929 5.29289C19.6834 4.90237 20.3166 4.90237 20.7071 5.29289Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/CheckSquareIcon/CheckSquareIcon.native.test.tsx b/packages/blade/src/components/Icons/CheckSquareIcon/CheckSquareIcon.native.test.tsx index 75475a43565..d14789b26a9 100644 --- a/packages/blade/src/components/Icons/CheckSquareIcon/CheckSquareIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CheckSquareIcon/CheckSquareIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CheckSquareIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CheckSquareIcon/CheckSquareIcon.web.test.tsx b/packages/blade/src/components/Icons/CheckSquareIcon/CheckSquareIcon.web.test.tsx index fd676038601..145687893b1 100644 --- a/packages/blade/src/components/Icons/CheckSquareIcon/CheckSquareIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CheckSquareIcon/CheckSquareIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CheckSquareIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CheckSquareIcon/__snapshots__/CheckSquareIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CheckSquareIcon/__snapshots__/CheckSquareIcon.native.test.tsx.snap index 47780a52e62..bd97193e50c 100644 --- a/packages/blade/src/components/Icons/CheckSquareIcon/__snapshots__/CheckSquareIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CheckSquareIcon/__snapshots__/CheckSquareIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render CheckSquareIcon 1`] = ` > should render CheckSquareIcon 1`] = ` /> should render CheckSquareIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/ChevronDownIcon/ChevronDownIcon.native.test.tsx b/packages/blade/src/components/Icons/ChevronDownIcon/ChevronDownIcon.native.test.tsx index 6395e620297..43938a858df 100644 --- a/packages/blade/src/components/Icons/ChevronDownIcon/ChevronDownIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ChevronDownIcon/ChevronDownIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ChevronDownIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ChevronDownIcon/ChevronDownIcon.web.test.tsx b/packages/blade/src/components/Icons/ChevronDownIcon/ChevronDownIcon.web.test.tsx index 3f1d24dbdad..a919347c031 100644 --- a/packages/blade/src/components/Icons/ChevronDownIcon/ChevronDownIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ChevronDownIcon/ChevronDownIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ChevronDownIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ChevronDownIcon/__snapshots__/ChevronDownIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ChevronDownIcon/__snapshots__/ChevronDownIcon.native.test.tsx.snap index 7b2b6442402..663c3ed01be 100644 --- a/packages/blade/src/components/Icons/ChevronDownIcon/__snapshots__/ChevronDownIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ChevronDownIcon/__snapshots__/ChevronDownIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ChevronDownIcon 1`] = ` should render ChevronDownIcon 1`] = ` clip-rule="evenodd" d="M5.29289 8.29289C5.68342 7.90237 6.31658 7.90237 6.70711 8.29289L12 13.5858L17.2929 8.29289C17.6834 7.90237 18.3166 7.90237 18.7071 8.29289C19.0976 8.68342 19.0976 9.31658 18.7071 9.70711L12.7071 15.7071C12.3166 16.0976 11.6834 16.0976 11.2929 15.7071L5.29289 9.70711C4.90237 9.31658 4.90237 8.68342 5.29289 8.29289Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ChevronLeftIcon/ChevronLeftIcon.native.test.tsx b/packages/blade/src/components/Icons/ChevronLeftIcon/ChevronLeftIcon.native.test.tsx index ef290bdfb7f..3c5f42fff2a 100644 --- a/packages/blade/src/components/Icons/ChevronLeftIcon/ChevronLeftIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ChevronLeftIcon/ChevronLeftIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ChevronLeftIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ChevronLeftIcon/ChevronLeftIcon.web.test.tsx b/packages/blade/src/components/Icons/ChevronLeftIcon/ChevronLeftIcon.web.test.tsx index 6b9cf80da8d..096cb28d4cc 100644 --- a/packages/blade/src/components/Icons/ChevronLeftIcon/ChevronLeftIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ChevronLeftIcon/ChevronLeftIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ChevronLeftIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ChevronLeftIcon/__snapshots__/ChevronLeftIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ChevronLeftIcon/__snapshots__/ChevronLeftIcon.native.test.tsx.snap index ea100cd7910..9d79d1dee9e 100644 --- a/packages/blade/src/components/Icons/ChevronLeftIcon/__snapshots__/ChevronLeftIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ChevronLeftIcon/__snapshots__/ChevronLeftIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ChevronLeftIcon 1`] = ` should render ChevronLeftIcon 1`] = ` clip-rule="evenodd" d="M15.7071 5.29289C16.0976 5.68342 16.0976 6.31658 15.7071 6.70711L10.4142 12L15.7071 17.2929C16.0976 17.6834 16.0976 18.3166 15.7071 18.7071C15.3166 19.0976 14.6834 19.0976 14.2929 18.7071L8.29289 12.7071C7.90237 12.3166 7.90237 11.6834 8.29289 11.2929L14.2929 5.29289C14.6834 4.90237 15.3166 4.90237 15.7071 5.29289Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ChevronRightIcon/ChevronRightIcon.native.test.tsx b/packages/blade/src/components/Icons/ChevronRightIcon/ChevronRightIcon.native.test.tsx index 497568e0f66..893434d8fec 100644 --- a/packages/blade/src/components/Icons/ChevronRightIcon/ChevronRightIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ChevronRightIcon/ChevronRightIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ChevronRightIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ChevronRightIcon/ChevronRightIcon.web.test.tsx b/packages/blade/src/components/Icons/ChevronRightIcon/ChevronRightIcon.web.test.tsx index 42de94bb6b9..49b92895928 100644 --- a/packages/blade/src/components/Icons/ChevronRightIcon/ChevronRightIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ChevronRightIcon/ChevronRightIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ChevronRightIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ChevronRightIcon/__snapshots__/ChevronRightIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ChevronRightIcon/__snapshots__/ChevronRightIcon.native.test.tsx.snap index 41d4b311f99..6f2fb22c409 100644 --- a/packages/blade/src/components/Icons/ChevronRightIcon/__snapshots__/ChevronRightIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ChevronRightIcon/__snapshots__/ChevronRightIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ChevronRightIcon 1`] = ` should render ChevronRightIcon 1`] = ` clip-rule="evenodd" d="M8.29289 5.29289C8.68342 4.90237 9.31658 4.90237 9.70711 5.29289L15.7071 11.2929C16.0976 11.6834 16.0976 12.3166 15.7071 12.7071L9.70711 18.7071C9.31658 19.0976 8.68342 19.0976 8.29289 18.7071C7.90237 18.3166 7.90237 17.6834 8.29289 17.2929L13.5858 12L8.29289 6.70711C7.90237 6.31658 7.90237 5.68342 8.29289 5.29289Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ChevronUpIcon/ChevronUpIcon.native.test.tsx b/packages/blade/src/components/Icons/ChevronUpIcon/ChevronUpIcon.native.test.tsx index 1986ad16e12..92956ef071f 100644 --- a/packages/blade/src/components/Icons/ChevronUpIcon/ChevronUpIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ChevronUpIcon/ChevronUpIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ChevronUpIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ChevronUpIcon/ChevronUpIcon.web.test.tsx b/packages/blade/src/components/Icons/ChevronUpIcon/ChevronUpIcon.web.test.tsx index 6959fc98764..4312a3dbde0 100644 --- a/packages/blade/src/components/Icons/ChevronUpIcon/ChevronUpIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ChevronUpIcon/ChevronUpIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ChevronUpIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ChevronUpIcon/__snapshots__/ChevronUpIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ChevronUpIcon/__snapshots__/ChevronUpIcon.native.test.tsx.snap index 3e6918bdba4..8a183fd8187 100644 --- a/packages/blade/src/components/Icons/ChevronUpIcon/__snapshots__/ChevronUpIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ChevronUpIcon/__snapshots__/ChevronUpIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ChevronUpIcon 1`] = ` should render ChevronUpIcon 1`] = ` clip-rule="evenodd" d="M11.2929 8.29289C11.6834 7.90237 12.3166 7.90237 12.7071 8.29289L18.7071 14.2929C19.0976 14.6834 19.0976 15.3166 18.7071 15.7071C18.3166 16.0976 17.6834 16.0976 17.2929 15.7071L12 10.4142L6.70711 15.7071C6.31658 16.0976 5.68342 16.0976 5.29289 15.7071C4.90237 15.3166 4.90237 14.6834 5.29289 14.2929L11.2929 8.29289Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ChevronsDownIcon/ChevronsDownIcon.native.test.tsx b/packages/blade/src/components/Icons/ChevronsDownIcon/ChevronsDownIcon.native.test.tsx index 5c5b6fff984..905b93b116b 100644 --- a/packages/blade/src/components/Icons/ChevronsDownIcon/ChevronsDownIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ChevronsDownIcon/ChevronsDownIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ChevronsDownIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ChevronsDownIcon/ChevronsDownIcon.web.test.tsx b/packages/blade/src/components/Icons/ChevronsDownIcon/ChevronsDownIcon.web.test.tsx index 4a3799cb6b5..894192e4527 100644 --- a/packages/blade/src/components/Icons/ChevronsDownIcon/ChevronsDownIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ChevronsDownIcon/ChevronsDownIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ChevronsDownIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ChevronsDownIcon/__snapshots__/ChevronsDownIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ChevronsDownIcon/__snapshots__/ChevronsDownIcon.native.test.tsx.snap index 177be455c5d..d4caaa97cb2 100644 --- a/packages/blade/src/components/Icons/ChevronsDownIcon/__snapshots__/ChevronsDownIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ChevronsDownIcon/__snapshots__/ChevronsDownIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ChevronsDownIcon 1`] = ` > should render ChevronsDownIcon 1`] = ` /> should render ChevronsDownIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/ChevronsLeftIcon/ChevronsLeftIcon.native.test.tsx b/packages/blade/src/components/Icons/ChevronsLeftIcon/ChevronsLeftIcon.native.test.tsx index fda45b5662e..be1444e1bd9 100644 --- a/packages/blade/src/components/Icons/ChevronsLeftIcon/ChevronsLeftIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ChevronsLeftIcon/ChevronsLeftIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ChevronsLeftIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ChevronsLeftIcon/ChevronsLeftIcon.web.test.tsx b/packages/blade/src/components/Icons/ChevronsLeftIcon/ChevronsLeftIcon.web.test.tsx index ec4485f9e0f..0e6ca8aa52b 100644 --- a/packages/blade/src/components/Icons/ChevronsLeftIcon/ChevronsLeftIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ChevronsLeftIcon/ChevronsLeftIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ChevronsLeftIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ChevronsLeftIcon/__snapshots__/ChevronsLeftIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ChevronsLeftIcon/__snapshots__/ChevronsLeftIcon.native.test.tsx.snap index ada19c4fba6..f5da003490b 100644 --- a/packages/blade/src/components/Icons/ChevronsLeftIcon/__snapshots__/ChevronsLeftIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ChevronsLeftIcon/__snapshots__/ChevronsLeftIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ChevronsLeftIcon 1`] = ` should render ChevronsLeftIcon 1`] = ` clip-rule="evenodd" d="M11.7071 7.70711C12.0976 7.31658 12.0976 6.68342 11.7071 6.29289C11.3166 5.90237 10.6834 5.90237 10.2929 6.29289L5.29289 11.2929C4.90237 11.6834 4.90237 12.3166 5.29289 12.7071L10.2929 17.7071C10.6834 18.0976 11.3166 18.0976 11.7071 17.7071C12.0976 17.3166 12.0976 16.6834 11.7071 16.2929L7.41421 12L11.7071 7.70711ZM18.7071 7.70711C19.0976 7.31658 19.0976 6.68342 18.7071 6.29289C18.3166 5.90237 17.6834 5.90237 17.2929 6.29289L12.2929 11.2929C11.9024 11.6834 11.9024 12.3166 12.2929 12.7071L17.2929 17.7071C17.6834 18.0976 18.3166 18.0976 18.7071 17.7071C19.0976 17.3166 19.0976 16.6834 18.7071 16.2929L14.4142 12L18.7071 7.70711Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ChevronsRightIcon/ChevronsRightIcon.native.test.tsx b/packages/blade/src/components/Icons/ChevronsRightIcon/ChevronsRightIcon.native.test.tsx index a7bf13c8131..ad4a466be12 100644 --- a/packages/blade/src/components/Icons/ChevronsRightIcon/ChevronsRightIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ChevronsRightIcon/ChevronsRightIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ChevronsRightIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ChevronsRightIcon/ChevronsRightIcon.web.test.tsx b/packages/blade/src/components/Icons/ChevronsRightIcon/ChevronsRightIcon.web.test.tsx index 437620d7803..a971fb8abf6 100644 --- a/packages/blade/src/components/Icons/ChevronsRightIcon/ChevronsRightIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ChevronsRightIcon/ChevronsRightIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ChevronsRightIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ChevronsRightIcon/__snapshots__/ChevronsRightIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ChevronsRightIcon/__snapshots__/ChevronsRightIcon.native.test.tsx.snap index 1383535db56..770c9f3f5e7 100644 --- a/packages/blade/src/components/Icons/ChevronsRightIcon/__snapshots__/ChevronsRightIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ChevronsRightIcon/__snapshots__/ChevronsRightIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ChevronsRightIcon 1`] = ` > should render ChevronsRightIcon 1`] = ` /> should render ChevronsRightIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/ChevronsUpIcon/ChevronsUpIcon.native.test.tsx b/packages/blade/src/components/Icons/ChevronsUpIcon/ChevronsUpIcon.native.test.tsx index 80aaad53f61..c073ec52680 100644 --- a/packages/blade/src/components/Icons/ChevronsUpIcon/ChevronsUpIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ChevronsUpIcon/ChevronsUpIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ChevronsUpIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ChevronsUpIcon/ChevronsUpIcon.web.test.tsx b/packages/blade/src/components/Icons/ChevronsUpIcon/ChevronsUpIcon.web.test.tsx index f7c8d534fef..d7428272f5b 100644 --- a/packages/blade/src/components/Icons/ChevronsUpIcon/ChevronsUpIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ChevronsUpIcon/ChevronsUpIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ChevronsUpIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ChevronsUpIcon/__snapshots__/ChevronsUpIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ChevronsUpIcon/__snapshots__/ChevronsUpIcon.native.test.tsx.snap index 7bbd6dd3c05..5fafc608455 100644 --- a/packages/blade/src/components/Icons/ChevronsUpIcon/__snapshots__/ChevronsUpIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ChevronsUpIcon/__snapshots__/ChevronsUpIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ChevronsUpIcon 1`] = ` > should render ChevronsUpIcon 1`] = ` /> should render ChevronsUpIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/ChromeIcon/ChromeIcon.native.test.tsx b/packages/blade/src/components/Icons/ChromeIcon/ChromeIcon.native.test.tsx index a90fa176aa9..08b1c719ff7 100644 --- a/packages/blade/src/components/Icons/ChromeIcon/ChromeIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ChromeIcon/ChromeIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ChromeIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ChromeIcon/ChromeIcon.web.test.tsx b/packages/blade/src/components/Icons/ChromeIcon/ChromeIcon.web.test.tsx index 8a95901ac5e..10014a1cfe1 100644 --- a/packages/blade/src/components/Icons/ChromeIcon/ChromeIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ChromeIcon/ChromeIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ChromeIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ChromeIcon/__snapshots__/ChromeIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ChromeIcon/__snapshots__/ChromeIcon.native.test.tsx.snap index e023fbaa3fc..c161cfdc3a9 100644 --- a/packages/blade/src/components/Icons/ChromeIcon/__snapshots__/ChromeIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ChromeIcon/__snapshots__/ChromeIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ChromeIcon 1`] = ` should render ChromeIcon 1`] = ` clip-rule="evenodd" d="M1 12C1 9.58672 1.77714 7.35494 3.09482 5.54129C3.12632 5.48923 3.16276 5.43979 3.20392 5.39371C5.21106 2.72551 8.40402 1 12 1C16.4881 1 20.3484 3.68785 22.059 7.54165C22.0787 7.57978 22.096 7.61934 22.1108 7.66014C22.683 8.99165 23 10.4588 23 12C23 18.0751 18.0751 23 12 23C11.6073 23 11.2193 22.9794 10.8372 22.9393C10.7918 22.9374 10.7463 22.9323 10.7011 22.9241C5.23811 22.2815 1 17.6357 1 12ZM12.5876 20.9811C17.2843 20.6785 21 16.7732 21 12C21 10.9481 20.8195 9.93834 20.4879 9H16.0004C16.6281 9.83566 17 10.8744 17 12C17 12.9831 16.7162 13.9 16.2262 14.6732L12.5876 20.9811ZM12.5954 16.9649L10.3544 20.8499C6.16969 20.0767 3 16.4085 3 12C3 10.5702 3.3334 9.21832 3.92671 8.01779L7.56725 14.3154C8.40246 15.9111 10.0741 17 12 17C12.2015 17 12.4001 16.9881 12.5954 16.9649ZM14.6363 13.4329C14.6214 13.4546 14.6072 13.4771 14.5938 13.5003L14.5195 13.6293C13.9849 14.4542 13.0562 15 12 15C10.918 15 9.96981 14.4272 9.44208 13.5683C9.43095 13.5451 9.41884 13.5222 9.40574 13.4995L9.32645 13.3623C9.11772 12.9535 9 12.4905 9 12C9 10.3431 10.3431 9 12 9C13.6569 9 15 10.3431 15 12C15 12.519 14.8682 13.0071 14.6363 13.4329ZM5.15842 6.15228L7.40178 10.033C8.16573 8.24947 9.93695 7 12 7H19.4845C17.8699 4.58803 15.1204 3 12 3C9.26175 3 6.80911 4.22287 5.15842 6.15228Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/CircleIcon/CircleIcon.native.test.tsx b/packages/blade/src/components/Icons/CircleIcon/CircleIcon.native.test.tsx index 506240ba459..772c0850fa6 100644 --- a/packages/blade/src/components/Icons/CircleIcon/CircleIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CircleIcon/CircleIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CircleIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CircleIcon/CircleIcon.web.test.tsx b/packages/blade/src/components/Icons/CircleIcon/CircleIcon.web.test.tsx index a16f33e7ae6..e5d3a9d1964 100644 --- a/packages/blade/src/components/Icons/CircleIcon/CircleIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CircleIcon/CircleIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CircleIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CircleIcon/__snapshots__/CircleIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CircleIcon/__snapshots__/CircleIcon.native.test.tsx.snap index bab01824dd5..1aeaf0b5914 100644 --- a/packages/blade/src/components/Icons/CircleIcon/__snapshots__/CircleIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CircleIcon/__snapshots__/CircleIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render CircleIcon 1`] = ` should render CircleIcon 1`] = ` clip-rule="evenodd" d="M1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ClipboardIcon/ClipboardIcon.native.test.tsx b/packages/blade/src/components/Icons/ClipboardIcon/ClipboardIcon.native.test.tsx index e74c9c7be27..f529d741ae8 100644 --- a/packages/blade/src/components/Icons/ClipboardIcon/ClipboardIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ClipboardIcon/ClipboardIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ClipboardIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ClipboardIcon/ClipboardIcon.web.test.tsx b/packages/blade/src/components/Icons/ClipboardIcon/ClipboardIcon.web.test.tsx index 5d40fddd4c9..cc667c96a57 100644 --- a/packages/blade/src/components/Icons/ClipboardIcon/ClipboardIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ClipboardIcon/ClipboardIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ClipboardIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ClipboardIcon/__snapshots__/ClipboardIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ClipboardIcon/__snapshots__/ClipboardIcon.native.test.tsx.snap index 902e0df028d..8fcc1b57dea 100644 --- a/packages/blade/src/components/Icons/ClipboardIcon/__snapshots__/ClipboardIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ClipboardIcon/__snapshots__/ClipboardIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ClipboardIcon 1`] = ` should render ClipboardIcon 1`] = ` clip-rule="evenodd" d="M9 1C7.89543 1 7 1.89543 7 3H6C4.34315 3 3 4.34315 3 6V20C3 21.6569 4.34315 23 6 23H18C19.6569 23 21 21.6569 21 20V6C21 4.34315 19.6569 3 18 3H17C17 1.89543 16.1046 1 15 1H9ZM17 5C17 6.10457 16.1046 7 15 7H9C7.89543 7 7 6.10457 7 5H6C5.44772 5 5 5.44772 5 6V20C5 20.5523 5.44772 21 6 21H18C18.5523 21 19 20.5523 19 20V6C19 5.44772 18.5523 5 18 5H17ZM9 4V5H15V4V3H9V4Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ClockIcon/ClockIcon.native.test.tsx b/packages/blade/src/components/Icons/ClockIcon/ClockIcon.native.test.tsx index d5a2ea979a5..768085509ee 100644 --- a/packages/blade/src/components/Icons/ClockIcon/ClockIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ClockIcon/ClockIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ClockIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ClockIcon/ClockIcon.web.test.tsx b/packages/blade/src/components/Icons/ClockIcon/ClockIcon.web.test.tsx index ad401780475..5a3ee18dabd 100644 --- a/packages/blade/src/components/Icons/ClockIcon/ClockIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ClockIcon/ClockIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ClockIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ClockIcon/__snapshots__/ClockIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ClockIcon/__snapshots__/ClockIcon.native.test.tsx.snap index 3bc3c48805f..3418c5d0a3e 100644 --- a/packages/blade/src/components/Icons/ClockIcon/__snapshots__/ClockIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ClockIcon/__snapshots__/ClockIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ClockIcon 1`] = ` > should render ClockIcon 1`] = ` should render ClockIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/CloseIcon/CloseIcon.native.test.tsx b/packages/blade/src/components/Icons/CloseIcon/CloseIcon.native.test.tsx index a549fe8736a..f0bc3f4cbdf 100644 --- a/packages/blade/src/components/Icons/CloseIcon/CloseIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CloseIcon/CloseIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CloseIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CloseIcon/CloseIcon.web.test.tsx b/packages/blade/src/components/Icons/CloseIcon/CloseIcon.web.test.tsx index b7a13d0ba64..0ba7c9c76d9 100644 --- a/packages/blade/src/components/Icons/CloseIcon/CloseIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CloseIcon/CloseIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CloseIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CloseIcon/__snapshots__/CloseIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CloseIcon/__snapshots__/CloseIcon.native.test.tsx.snap index 0de5d1f7429..991a4a4cd69 100644 --- a/packages/blade/src/components/Icons/CloseIcon/__snapshots__/CloseIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CloseIcon/__snapshots__/CloseIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render CloseIcon 1`] = ` > should render CloseIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/CloudDrizzleIcon/CloudDrizzleIcon.native.test.tsx b/packages/blade/src/components/Icons/CloudDrizzleIcon/CloudDrizzleIcon.native.test.tsx index ab13b9b606b..07d779493e2 100644 --- a/packages/blade/src/components/Icons/CloudDrizzleIcon/CloudDrizzleIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CloudDrizzleIcon/CloudDrizzleIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CloudDrizzleIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CloudDrizzleIcon/CloudDrizzleIcon.web.test.tsx b/packages/blade/src/components/Icons/CloudDrizzleIcon/CloudDrizzleIcon.web.test.tsx index 3da520ccf76..2fb1cc8c530 100644 --- a/packages/blade/src/components/Icons/CloudDrizzleIcon/CloudDrizzleIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CloudDrizzleIcon/CloudDrizzleIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CloudDrizzleIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CloudDrizzleIcon/__snapshots__/CloudDrizzleIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CloudDrizzleIcon/__snapshots__/CloudDrizzleIcon.native.test.tsx.snap index b77b3d71cb1..6dfe7d7365e 100644 --- a/packages/blade/src/components/Icons/CloudDrizzleIcon/__snapshots__/CloudDrizzleIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CloudDrizzleIcon/__snapshots__/CloudDrizzleIcon.native.test.tsx.snap @@ -54,7 +54,7 @@ exports[` should render CloudDrizzleIcon 1`] = ` > should render CloudDrizzleIcon 1`] = ` /> should render CloudDrizzleIcon 1`] = ` /> should render CloudDrizzleIcon 1`] = ` /> should render CloudDrizzleIcon 1`] = ` /> should render CloudDrizzleIcon 1`] = ` /> should render CloudDrizzleIcon 1`] = ` /> should render CloudDrizzleIcon 1`] = ` name="clip0_60_395" > should render CloudDrizzleIcon 1`] = ` should render CloudDrizzleIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/CloudIcon/CloudIcon.native.test.tsx b/packages/blade/src/components/Icons/CloudIcon/CloudIcon.native.test.tsx index 41a8fd2c9df..b472559d890 100644 --- a/packages/blade/src/components/Icons/CloudIcon/CloudIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CloudIcon/CloudIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CloudIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CloudIcon/CloudIcon.web.test.tsx b/packages/blade/src/components/Icons/CloudIcon/CloudIcon.web.test.tsx index 9d7319b3d34..102734b00ee 100644 --- a/packages/blade/src/components/Icons/CloudIcon/CloudIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CloudIcon/CloudIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CloudIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CloudIcon/__snapshots__/CloudIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CloudIcon/__snapshots__/CloudIcon.native.test.tsx.snap index e8c58cca4bd..55984766002 100644 --- a/packages/blade/src/components/Icons/CloudIcon/__snapshots__/CloudIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CloudIcon/__snapshots__/CloudIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render CloudIcon 1`] = ` should render CloudIcon 1`] = ` name="clip0_60_394" > should render CloudIcon 1`] = ` clip-rule="evenodd" d="M17.49 9.03011C16.0571 4.92061 11.8447 2.38572 7.48287 3.12864C2.87457 3.91353 -0.365082 8.09555 0.0254645 12.7528C0.117768 14.1386 0.66873 16.1707 2.04111 17.8807C3.44928 19.6352 5.68719 21.0009 8.99998 21.0009H18C21.3137 21.0009 24 18.3146 24 15.0009C24 12.793 22.9167 11.2454 21.45 10.2919C20.2557 9.51543 18.8182 9.13309 17.49 9.03011ZM15.7717 10.2509C14.8621 6.72803 11.4054 4.48935 7.81868 5.10024C4.23196 5.71114 1.71122 8.96791 2.01911 12.5932L2.02058 12.6128C2.08934 13.6678 2.52767 15.2916 3.60089 16.6288C4.64159 17.9255 6.31278 19.0009 8.99998 19.0009H18C20.2091 19.0009 22 17.21 22 15.0009C22 13.5538 21.3332 12.6014 20.3599 11.9687C19.3434 11.3078 17.9824 11.0009 16.74 11.0009C16.284 11.0009 15.8857 10.6924 15.7717 10.2509Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> @@ -32,7 +32,7 @@ exports[` should render CloudIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/CloudLightningIcon/CloudLightningIcon.native.test.tsx b/packages/blade/src/components/Icons/CloudLightningIcon/CloudLightningIcon.native.test.tsx index ae3681e9c15..73256462b15 100644 --- a/packages/blade/src/components/Icons/CloudLightningIcon/CloudLightningIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CloudLightningIcon/CloudLightningIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CloudLightningIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CloudLightningIcon/CloudLightningIcon.web.test.tsx b/packages/blade/src/components/Icons/CloudLightningIcon/CloudLightningIcon.web.test.tsx index abd5c76a4e5..64968f45589 100644 --- a/packages/blade/src/components/Icons/CloudLightningIcon/CloudLightningIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CloudLightningIcon/CloudLightningIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CloudLightningIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CloudLightningIcon/__snapshots__/CloudLightningIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CloudLightningIcon/__snapshots__/CloudLightningIcon.native.test.tsx.snap index eb18f3871e7..019cd6c214e 100644 --- a/packages/blade/src/components/Icons/CloudLightningIcon/__snapshots__/CloudLightningIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CloudLightningIcon/__snapshots__/CloudLightningIcon.native.test.tsx.snap @@ -54,7 +54,7 @@ exports[` should render CloudLightningIcon 1`] = ` > should render CloudLightningIcon 1`] = ` /> should render CloudLightningIcon 1`] = ` name="clip0_60_391" > should render CloudLightningIcon 1`] = ` should render CloudLightningIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/CloudOffIcon/CloudOffIcon.native.test.tsx b/packages/blade/src/components/Icons/CloudOffIcon/CloudOffIcon.native.test.tsx index d66ef88ba0a..77666e1ba21 100644 --- a/packages/blade/src/components/Icons/CloudOffIcon/CloudOffIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CloudOffIcon/CloudOffIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CloudOffIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CloudOffIcon/CloudOffIcon.web.test.tsx b/packages/blade/src/components/Icons/CloudOffIcon/CloudOffIcon.web.test.tsx index c7855ce87de..2149f3bd3e5 100644 --- a/packages/blade/src/components/Icons/CloudOffIcon/CloudOffIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CloudOffIcon/CloudOffIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CloudOffIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CloudOffIcon/__snapshots__/CloudOffIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CloudOffIcon/__snapshots__/CloudOffIcon.native.test.tsx.snap index a1a0ec02f4f..b5bf41d25a1 100644 --- a/packages/blade/src/components/Icons/CloudOffIcon/__snapshots__/CloudOffIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CloudOffIcon/__snapshots__/CloudOffIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render CloudOffIcon 1`] = ` should render CloudOffIcon 1`] = ` name="clip0_60_392" > should render CloudOffIcon 1`] = ` clip-rule="evenodd" d="M1.70717 0.292893C1.31664 -0.0976311 0.683479 -0.0976311 0.292954 0.292893C-0.0975701 0.683417 -0.0975701 1.31658 0.292954 1.70711L3.42436 4.83851C0.559704 7.03184 -0.639719 10.7779 0.304853 14.32C1.36866 18.3093 5.01019 21.0628 9.13769 21H19.5858L22.293 23.7071C22.6835 24.0976 23.3166 24.0976 23.7072 23.7071C24.0977 23.3166 24.0977 22.6834 23.7072 22.2929L20.713 19.2988C20.7092 19.2948 20.7053 19.2909 20.7014 19.2871L5.72258 4.3083C5.71228 4.29754 5.70178 4.28703 5.69107 4.2768L1.70717 0.292893ZM4.85502 6.26918C2.50677 7.92678 1.46739 10.9174 2.23732 13.8047C3.06528 16.9095 5.90082 19.0519 9.11375 19.0001L9.1218 19H17.5858L4.85502 6.26918ZM8.82364 3.91201C8.87224 3.36187 9.35761 2.95528 9.90775 3.00388C13.4586 3.31753 16.4632 5.69089 17.617 9.01355C19.5976 9.09144 21.7249 9.55646 23.1357 11.6834C24.2488 13.3614 24.4459 15.4859 23.6606 17.34C23.4452 17.8486 22.8583 18.0862 22.3498 17.8708C21.8412 17.6554 21.6036 17.0686 21.8189 16.56C22.3425 15.3239 22.2111 13.9076 21.469 12.7889C20.4819 11.3008 18.9488 11 16.8698 11H16.092L15.9005 10.2461C15.1685 7.36328 12.6946 5.25783 9.73177 4.99612C9.18163 4.94753 8.77505 4.46215 8.82364 3.91201Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> @@ -32,7 +32,7 @@ exports[` should render CloudOffIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/CloudRainIcon/CloudRainIcon.native.test.tsx b/packages/blade/src/components/Icons/CloudRainIcon/CloudRainIcon.native.test.tsx index ebb0aacdfea..4dede92dcf6 100644 --- a/packages/blade/src/components/Icons/CloudRainIcon/CloudRainIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CloudRainIcon/CloudRainIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CloudRainIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CloudRainIcon/CloudRainIcon.web.test.tsx b/packages/blade/src/components/Icons/CloudRainIcon/CloudRainIcon.web.test.tsx index ae07566c954..4b831d47343 100644 --- a/packages/blade/src/components/Icons/CloudRainIcon/CloudRainIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CloudRainIcon/CloudRainIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CloudRainIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CloudRainIcon/__snapshots__/CloudRainIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CloudRainIcon/__snapshots__/CloudRainIcon.native.test.tsx.snap index 5726f305b23..aaa54d9ed81 100644 --- a/packages/blade/src/components/Icons/CloudRainIcon/__snapshots__/CloudRainIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CloudRainIcon/__snapshots__/CloudRainIcon.native.test.tsx.snap @@ -54,7 +54,7 @@ exports[` should render CloudRainIcon 1`] = ` > should render CloudRainIcon 1`] = ` /> should render CloudRainIcon 1`] = ` /> should render CloudRainIcon 1`] = ` /> should render CloudRainIcon 1`] = ` name="clip0_60_387" > should render CloudRainIcon 1`] = ` should render CloudRainIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/CloudSnowIcon/CloudSnowIcon.native.test.tsx b/packages/blade/src/components/Icons/CloudSnowIcon/CloudSnowIcon.native.test.tsx index 1a8a5406108..da84a79b120 100644 --- a/packages/blade/src/components/Icons/CloudSnowIcon/CloudSnowIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CloudSnowIcon/CloudSnowIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CloudSnowIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CloudSnowIcon/CloudSnowIcon.web.test.tsx b/packages/blade/src/components/Icons/CloudSnowIcon/CloudSnowIcon.web.test.tsx index 9036498e06e..f64c1da537a 100644 --- a/packages/blade/src/components/Icons/CloudSnowIcon/CloudSnowIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CloudSnowIcon/CloudSnowIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CloudSnowIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CloudSnowIcon/__snapshots__/CloudSnowIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CloudSnowIcon/__snapshots__/CloudSnowIcon.native.test.tsx.snap index 7172169fb3b..c7a690dc2b0 100644 --- a/packages/blade/src/components/Icons/CloudSnowIcon/__snapshots__/CloudSnowIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CloudSnowIcon/__snapshots__/CloudSnowIcon.native.test.tsx.snap @@ -54,7 +54,7 @@ exports[` should render CloudSnowIcon 1`] = ` > should render CloudSnowIcon 1`] = ` /> should render CloudSnowIcon 1`] = ` /> should render CloudSnowIcon 1`] = ` /> should render CloudSnowIcon 1`] = ` /> should render CloudSnowIcon 1`] = ` /> should render CloudSnowIcon 1`] = ` /> should render CloudSnowIcon 1`] = ` name="clip0_60_393" > should render CloudSnowIcon 1`] = ` should render CloudSnowIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/CodepenIcon/CodepenIcon.native.test.tsx b/packages/blade/src/components/Icons/CodepenIcon/CodepenIcon.native.test.tsx index 286b47071fc..d5f1a35cde0 100644 --- a/packages/blade/src/components/Icons/CodepenIcon/CodepenIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CodepenIcon/CodepenIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CodepenIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CodepenIcon/CodepenIcon.web.test.tsx b/packages/blade/src/components/Icons/CodepenIcon/CodepenIcon.web.test.tsx index af458d57911..fd2b4a99700 100644 --- a/packages/blade/src/components/Icons/CodepenIcon/CodepenIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CodepenIcon/CodepenIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CodepenIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CodepenIcon/__snapshots__/CodepenIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CodepenIcon/__snapshots__/CodepenIcon.native.test.tsx.snap index 80c415d609f..0e3118ec6d0 100644 --- a/packages/blade/src/components/Icons/CodepenIcon/__snapshots__/CodepenIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CodepenIcon/__snapshots__/CodepenIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render CodepenIcon 1`] = ` should render CodepenIcon 1`] = ` clip-rule="evenodd" d="M12.5572 1.1695C12.398 1.06246 12.2063 1 12 1C11.7937 1 11.602 1.06246 11.4428 1.1695L1.47281 7.64999C1.38089 7.70694 1.29702 7.77966 1.22551 7.86739C1.19674 7.90262 1.17046 7.93971 1.14683 7.97837C1.04567 8.14347 0.997988 8.3279 1 8.51022V15.4898C0.997964 15.6743 1.04683 15.861 1.15053 16.0276C1.17084 16.0604 1.19306 16.0919 1.21709 16.1222C1.29054 16.2148 1.37759 16.2911 1.47336 16.3504L11.4431 22.8307C11.5902 22.9295 11.765 22.9903 11.9534 22.9989C11.9689 22.9996 11.9845 23 12 23C12.0119 23 12.0237 22.9998 12.0356 22.9994C12.2281 22.9926 12.4069 22.9315 12.5569 22.8307L22.5257 16.351C22.6382 16.2816 22.7386 16.1886 22.8193 16.0735C22.9445 15.8945 23.003 15.6889 23 15.486V8.51402C23.003 8.31115 22.9445 8.10548 22.8193 7.92656L22.8137 7.91867C22.8069 7.90913 22.7999 7.89971 22.7927 7.89041C22.7172 7.79198 22.6265 7.7113 22.5262 7.64936L12.5572 1.1695ZM11 3.84269L3.78766 8.53071L7.00001 10.7794L11 7.97936V3.84269ZM13 7.97933V3.84269L20.2124 8.53073L17 10.7794L13 7.97933ZM5.25621 12L3 10.4207V13.5794L5.25621 12ZM18.7438 12L21 10.4207V13.5793L18.7438 12ZM12 9.72066L8.7438 12L12 14.2794L15.2562 12L12 9.72066ZM11 16.0207L7.00001 13.2207L3.78767 15.4693L11 20.1573V16.0207ZM20.2124 15.4693L17 13.2207L13 16.0207V20.1573L20.2124 15.4693Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/CoinsIcon/CoinsIcon.native.test.tsx b/packages/blade/src/components/Icons/CoinsIcon/CoinsIcon.native.test.tsx index 1bdbabe3c6d..d546563c7bb 100644 --- a/packages/blade/src/components/Icons/CoinsIcon/CoinsIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CoinsIcon/CoinsIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CoinsIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CoinsIcon/CoinsIcon.web.test.tsx b/packages/blade/src/components/Icons/CoinsIcon/CoinsIcon.web.test.tsx index dcf1cea7c24..1d024ebc2eb 100644 --- a/packages/blade/src/components/Icons/CoinsIcon/CoinsIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CoinsIcon/CoinsIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CoinsIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CoinsIcon/__snapshots__/CoinsIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CoinsIcon/__snapshots__/CoinsIcon.native.test.tsx.snap index 153978ddbab..4ae34c8c575 100644 --- a/packages/blade/src/components/Icons/CoinsIcon/__snapshots__/CoinsIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CoinsIcon/__snapshots__/CoinsIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render CoinsIcon 1`] = ` > should render CoinsIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/CommandIcon/CommandIcon.native.test.tsx b/packages/blade/src/components/Icons/CommandIcon/CommandIcon.native.test.tsx index 19d7e7f3bda..70f2e35ed20 100644 --- a/packages/blade/src/components/Icons/CommandIcon/CommandIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CommandIcon/CommandIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CommandIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CommandIcon/CommandIcon.web.test.tsx b/packages/blade/src/components/Icons/CommandIcon/CommandIcon.web.test.tsx index 2832937b1eb..d51ff3f50bc 100644 --- a/packages/blade/src/components/Icons/CommandIcon/CommandIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CommandIcon/CommandIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CommandIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CommandIcon/__snapshots__/CommandIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CommandIcon/__snapshots__/CommandIcon.native.test.tsx.snap index ae33f89278b..6c8b91ce9f0 100644 --- a/packages/blade/src/components/Icons/CommandIcon/__snapshots__/CommandIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CommandIcon/__snapshots__/CommandIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render CommandIcon 1`] = ` should render CommandIcon 1`] = ` clip-rule="evenodd" d="M2 6C2 3.79086 3.79086 2 6 2C8.20914 2 10 3.79086 10 6V8H14V6C14 3.79086 15.7909 2 18 2C20.2091 2 22 3.79086 22 6C22 8.20914 20.2091 10 18 10H16V14H18C20.2091 14 22 15.7909 22 18C22 20.2091 20.2091 22 18 22C15.7909 22 14 20.2091 14 18V16H10V18C10 20.2091 8.20914 22 6 22C3.79086 22 2 20.2091 2 18C2 15.7909 3.79086 14 6 14H8V10H6C3.79086 10 2 8.20914 2 6ZM8 8V6C8 4.89543 7.10457 4 6 4C4.89543 4 4 4.89543 4 6C4 7.10457 4.89543 8 6 8H8ZM10 10V14H14V10H10ZM8 16H6C4.89543 16 4 16.8954 4 18C4 19.1046 4.89543 20 6 20C7.10457 20 8 19.1046 8 18V16ZM16 16V18C16 19.1046 16.8954 20 18 20C19.1046 20 20 19.1046 20 18C20 16.8954 19.1046 16 18 16H16ZM16 8H18C19.1046 8 20 7.10457 20 6C20 4.89543 19.1046 4 18 4C16.8954 4 16 4.89543 16 6V8Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/CompassIcon/CompassIcon.native.test.tsx b/packages/blade/src/components/Icons/CompassIcon/CompassIcon.native.test.tsx index 90e4e69ed01..61d5117d0e5 100644 --- a/packages/blade/src/components/Icons/CompassIcon/CompassIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CompassIcon/CompassIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CompassIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CompassIcon/CompassIcon.web.test.tsx b/packages/blade/src/components/Icons/CompassIcon/CompassIcon.web.test.tsx index 9dabda60e84..6b34900b855 100644 --- a/packages/blade/src/components/Icons/CompassIcon/CompassIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CompassIcon/CompassIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CompassIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CompassIcon/__snapshots__/CompassIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CompassIcon/__snapshots__/CompassIcon.native.test.tsx.snap index 4020a665702..f000ddb35ae 100644 --- a/packages/blade/src/components/Icons/CompassIcon/__snapshots__/CompassIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CompassIcon/__snapshots__/CompassIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render CompassIcon 1`] = ` should render CompassIcon 1`] = ` should render CompassIcon 1`] = ` clip-rule="evenodd" d="M17.1887 8.0762C17.3085 7.71687 17.215 7.3207 16.9471 7.05287C16.6793 6.78504 16.2831 6.69151 15.9238 6.81129L9.56381 8.93129C9.2652 9.03083 9.03089 9.26514 8.93135 9.56375L6.81135 15.9237C6.69158 16.2831 6.7851 16.6792 7.05293 16.9471C7.32076 17.2149 7.71693 17.3084 8.07626 17.1887L14.4363 15.0687C14.7349 14.9691 14.9692 14.7348 15.0687 14.4362L17.1887 8.0762ZM9.34118 14.6588L10.6706 10.6705L14.6589 9.34111L13.3295 13.3294L9.34118 14.6588Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/CopyIcon/CopyIcon.native.test.tsx b/packages/blade/src/components/Icons/CopyIcon/CopyIcon.native.test.tsx index 4596fbff972..7926c5651e9 100644 --- a/packages/blade/src/components/Icons/CopyIcon/CopyIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CopyIcon/CopyIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CopyIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CopyIcon/CopyIcon.web.test.tsx b/packages/blade/src/components/Icons/CopyIcon/CopyIcon.web.test.tsx index 3df40f2a255..613618754a0 100644 --- a/packages/blade/src/components/Icons/CopyIcon/CopyIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CopyIcon/CopyIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CopyIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CopyIcon/__snapshots__/CopyIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CopyIcon/__snapshots__/CopyIcon.native.test.tsx.snap index 7e73beb6e23..2693081d74f 100644 --- a/packages/blade/src/components/Icons/CopyIcon/__snapshots__/CopyIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CopyIcon/__snapshots__/CopyIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render CopyIcon 1`] = ` > should render CopyIcon 1`] = ` should render CopyIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/CornerDownLeftIcon/CornerDownLeftIcon.native.test.tsx b/packages/blade/src/components/Icons/CornerDownLeftIcon/CornerDownLeftIcon.native.test.tsx index d87959c4993..c5259c116b6 100644 --- a/packages/blade/src/components/Icons/CornerDownLeftIcon/CornerDownLeftIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CornerDownLeftIcon/CornerDownLeftIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CornerDownLeftIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CornerDownLeftIcon/CornerDownLeftIcon.web.test.tsx b/packages/blade/src/components/Icons/CornerDownLeftIcon/CornerDownLeftIcon.web.test.tsx index 62ad80ef78f..049151d8160 100644 --- a/packages/blade/src/components/Icons/CornerDownLeftIcon/CornerDownLeftIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CornerDownLeftIcon/CornerDownLeftIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CornerDownLeftIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CornerDownLeftIcon/__snapshots__/CornerDownLeftIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CornerDownLeftIcon/__snapshots__/CornerDownLeftIcon.native.test.tsx.snap index 409c4002b0f..80b0f738100 100644 --- a/packages/blade/src/components/Icons/CornerDownLeftIcon/__snapshots__/CornerDownLeftIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CornerDownLeftIcon/__snapshots__/CornerDownLeftIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render CornerDownLeftIcon 1`] = ` > should render CornerDownLeftIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/CornerDownRightIcon/CornerDownRightIcon.native.test.tsx b/packages/blade/src/components/Icons/CornerDownRightIcon/CornerDownRightIcon.native.test.tsx index 5c61a6bdf73..0855108788c 100644 --- a/packages/blade/src/components/Icons/CornerDownRightIcon/CornerDownRightIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CornerDownRightIcon/CornerDownRightIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CornerDownRightIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CornerDownRightIcon/CornerDownRightIcon.web.test.tsx b/packages/blade/src/components/Icons/CornerDownRightIcon/CornerDownRightIcon.web.test.tsx index 5a8e5697bdf..f36dc0d6d9e 100644 --- a/packages/blade/src/components/Icons/CornerDownRightIcon/CornerDownRightIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CornerDownRightIcon/CornerDownRightIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CornerDownRightIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CornerDownRightIcon/__snapshots__/CornerDownRightIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CornerDownRightIcon/__snapshots__/CornerDownRightIcon.native.test.tsx.snap index fe8bd3c288a..14fb740a3e2 100644 --- a/packages/blade/src/components/Icons/CornerDownRightIcon/__snapshots__/CornerDownRightIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CornerDownRightIcon/__snapshots__/CornerDownRightIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render CornerDownRightIcon 1`] = ` > should render CornerDownRightIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/CornerLeftDownIcon/CornerLeftDownIcon.native.test.tsx b/packages/blade/src/components/Icons/CornerLeftDownIcon/CornerLeftDownIcon.native.test.tsx index 9eab992ca05..c9cfeefe249 100644 --- a/packages/blade/src/components/Icons/CornerLeftDownIcon/CornerLeftDownIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CornerLeftDownIcon/CornerLeftDownIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CornerLeftDownIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CornerLeftDownIcon/CornerLeftDownIcon.web.test.tsx b/packages/blade/src/components/Icons/CornerLeftDownIcon/CornerLeftDownIcon.web.test.tsx index 2669391f698..454089b78bc 100644 --- a/packages/blade/src/components/Icons/CornerLeftDownIcon/CornerLeftDownIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CornerLeftDownIcon/CornerLeftDownIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CornerLeftDownIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CornerLeftDownIcon/__snapshots__/CornerLeftDownIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CornerLeftDownIcon/__snapshots__/CornerLeftDownIcon.native.test.tsx.snap index 9c53856a3f8..cfb4cca4714 100644 --- a/packages/blade/src/components/Icons/CornerLeftDownIcon/__snapshots__/CornerLeftDownIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CornerLeftDownIcon/__snapshots__/CornerLeftDownIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render CornerLeftDownIcon 1`] = ` > should render CornerLeftDownIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/CornerLeftUpIcon/CornerLeftUpIcon.native.test.tsx b/packages/blade/src/components/Icons/CornerLeftUpIcon/CornerLeftUpIcon.native.test.tsx index 128b5177441..899bb685f5e 100644 --- a/packages/blade/src/components/Icons/CornerLeftUpIcon/CornerLeftUpIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CornerLeftUpIcon/CornerLeftUpIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CornerLeftUpIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CornerLeftUpIcon/CornerLeftUpIcon.web.test.tsx b/packages/blade/src/components/Icons/CornerLeftUpIcon/CornerLeftUpIcon.web.test.tsx index 3dd8c42cd7d..9cdc7279b55 100644 --- a/packages/blade/src/components/Icons/CornerLeftUpIcon/CornerLeftUpIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CornerLeftUpIcon/CornerLeftUpIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CornerLeftUpIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CornerLeftUpIcon/__snapshots__/CornerLeftUpIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CornerLeftUpIcon/__snapshots__/CornerLeftUpIcon.native.test.tsx.snap index e3ee8f26782..583818b1715 100644 --- a/packages/blade/src/components/Icons/CornerLeftUpIcon/__snapshots__/CornerLeftUpIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CornerLeftUpIcon/__snapshots__/CornerLeftUpIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render CornerLeftUpIcon 1`] = ` > should render CornerLeftUpIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/CornerRightDownIcon/CornerRightDownIcon.native.test.tsx b/packages/blade/src/components/Icons/CornerRightDownIcon/CornerRightDownIcon.native.test.tsx index edf154e48a7..c5329384ae6 100644 --- a/packages/blade/src/components/Icons/CornerRightDownIcon/CornerRightDownIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CornerRightDownIcon/CornerRightDownIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CornerRightDownIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CornerRightDownIcon/CornerRightDownIcon.web.test.tsx b/packages/blade/src/components/Icons/CornerRightDownIcon/CornerRightDownIcon.web.test.tsx index 73e363a38bd..6555230a4b9 100644 --- a/packages/blade/src/components/Icons/CornerRightDownIcon/CornerRightDownIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CornerRightDownIcon/CornerRightDownIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CornerRightDownIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CornerRightDownIcon/__snapshots__/CornerRightDownIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CornerRightDownIcon/__snapshots__/CornerRightDownIcon.native.test.tsx.snap index b1b8f89a2ce..3bd2bde9927 100644 --- a/packages/blade/src/components/Icons/CornerRightDownIcon/__snapshots__/CornerRightDownIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CornerRightDownIcon/__snapshots__/CornerRightDownIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render CornerRightDownIcon 1`] = ` > should render CornerRightDownIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/CornerRightUpIcon/CornerRightUpIcon.native.test.tsx b/packages/blade/src/components/Icons/CornerRightUpIcon/CornerRightUpIcon.native.test.tsx index 96855153f23..b686ca1fabf 100644 --- a/packages/blade/src/components/Icons/CornerRightUpIcon/CornerRightUpIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CornerRightUpIcon/CornerRightUpIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CornerRightUpIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CornerRightUpIcon/CornerRightUpIcon.web.test.tsx b/packages/blade/src/components/Icons/CornerRightUpIcon/CornerRightUpIcon.web.test.tsx index f58a3222f51..2a576418a28 100644 --- a/packages/blade/src/components/Icons/CornerRightUpIcon/CornerRightUpIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CornerRightUpIcon/CornerRightUpIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CornerRightUpIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CornerRightUpIcon/__snapshots__/CornerRightUpIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CornerRightUpIcon/__snapshots__/CornerRightUpIcon.native.test.tsx.snap index 143d7f9fea2..ae69791b074 100644 --- a/packages/blade/src/components/Icons/CornerRightUpIcon/__snapshots__/CornerRightUpIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CornerRightUpIcon/__snapshots__/CornerRightUpIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render CornerRightUpIcon 1`] = ` > should render CornerRightUpIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/CornerUpLeftIcon/CornerUpLeftIcon.native.test.tsx b/packages/blade/src/components/Icons/CornerUpLeftIcon/CornerUpLeftIcon.native.test.tsx index 9b3b111757f..2c395793f51 100644 --- a/packages/blade/src/components/Icons/CornerUpLeftIcon/CornerUpLeftIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CornerUpLeftIcon/CornerUpLeftIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CornerUpLeftIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CornerUpLeftIcon/CornerUpLeftIcon.web.test.tsx b/packages/blade/src/components/Icons/CornerUpLeftIcon/CornerUpLeftIcon.web.test.tsx index 08afa6c0d0e..391b238ccee 100644 --- a/packages/blade/src/components/Icons/CornerUpLeftIcon/CornerUpLeftIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CornerUpLeftIcon/CornerUpLeftIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CornerUpLeftIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CornerUpLeftIcon/__snapshots__/CornerUpLeftIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CornerUpLeftIcon/__snapshots__/CornerUpLeftIcon.native.test.tsx.snap index 7f1630c023c..9c761f04e41 100644 --- a/packages/blade/src/components/Icons/CornerUpLeftIcon/__snapshots__/CornerUpLeftIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CornerUpLeftIcon/__snapshots__/CornerUpLeftIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render CornerUpLeftIcon 1`] = ` > should render CornerUpLeftIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/CornerUpRightIcon/CornerUpRightIcon.native.test.tsx b/packages/blade/src/components/Icons/CornerUpRightIcon/CornerUpRightIcon.native.test.tsx index 2bf842e6c01..dc43920e07e 100644 --- a/packages/blade/src/components/Icons/CornerUpRightIcon/CornerUpRightIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CornerUpRightIcon/CornerUpRightIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CornerUpRightIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CornerUpRightIcon/CornerUpRightIcon.web.test.tsx b/packages/blade/src/components/Icons/CornerUpRightIcon/CornerUpRightIcon.web.test.tsx index 1b533d4cb8c..e9eb498921d 100644 --- a/packages/blade/src/components/Icons/CornerUpRightIcon/CornerUpRightIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CornerUpRightIcon/CornerUpRightIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CornerUpRightIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CornerUpRightIcon/__snapshots__/CornerUpRightIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CornerUpRightIcon/__snapshots__/CornerUpRightIcon.native.test.tsx.snap index 2e90a62fab1..1a365d494d3 100644 --- a/packages/blade/src/components/Icons/CornerUpRightIcon/__snapshots__/CornerUpRightIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CornerUpRightIcon/__snapshots__/CornerUpRightIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render CornerUpRightIcon 1`] = ` > should render CornerUpRightIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/CpuIcon/CpuIcon.native.test.tsx b/packages/blade/src/components/Icons/CpuIcon/CpuIcon.native.test.tsx index 42584e40160..ee20f12af6c 100644 --- a/packages/blade/src/components/Icons/CpuIcon/CpuIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CpuIcon/CpuIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CpuIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CpuIcon/CpuIcon.web.test.tsx b/packages/blade/src/components/Icons/CpuIcon/CpuIcon.web.test.tsx index 2fe9806ab31..9cd60ebf27d 100644 --- a/packages/blade/src/components/Icons/CpuIcon/CpuIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CpuIcon/CpuIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CpuIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CpuIcon/__snapshots__/CpuIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CpuIcon/__snapshots__/CpuIcon.native.test.tsx.snap index edb56f901b9..de6dd7a59fc 100644 --- a/packages/blade/src/components/Icons/CpuIcon/__snapshots__/CpuIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CpuIcon/__snapshots__/CpuIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render CpuIcon 1`] = ` should render CpuIcon 1`] = ` should render CpuIcon 1`] = ` name="clip0_83_745" > should render CpuIcon 1`] = ` clip-rule="evenodd" d="M9 8C8.44771 8 8 8.44771 8 9V15C8 15.5523 8.44771 16 9 16H15C15.5523 16 16 15.5523 16 15V9C16 8.44771 15.5523 8 15 8H9ZM10 14V10H14V14H10Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> @@ -39,7 +39,7 @@ exports[` should render CpuIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/CreditCardIcon/CreditCardIcon.native.test.tsx b/packages/blade/src/components/Icons/CreditCardIcon/CreditCardIcon.native.test.tsx index a1caa193cec..d085008eb31 100644 --- a/packages/blade/src/components/Icons/CreditCardIcon/CreditCardIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CreditCardIcon/CreditCardIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CreditCardIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CreditCardIcon/CreditCardIcon.web.test.tsx b/packages/blade/src/components/Icons/CreditCardIcon/CreditCardIcon.web.test.tsx index 74553722532..ed060b8406c 100644 --- a/packages/blade/src/components/Icons/CreditCardIcon/CreditCardIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CreditCardIcon/CreditCardIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CreditCardIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CreditCardIcon/__snapshots__/CreditCardIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CreditCardIcon/__snapshots__/CreditCardIcon.native.test.tsx.snap index ba13214363d..22d87504967 100644 --- a/packages/blade/src/components/Icons/CreditCardIcon/__snapshots__/CreditCardIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CreditCardIcon/__snapshots__/CreditCardIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render CreditCardIcon 1`] = ` should render CreditCardIcon 1`] = ` clip-rule="evenodd" d="M3 3C1.34315 3 0 4.34315 0 6V18C0 19.6569 1.34314 21 3 21H21C22.6569 21 24 19.6569 24 18V6C24 4.34315 22.6569 3 21 3H3ZM22 9V6C22 5.44771 21.5523 5 21 5H3C2.44772 5 2 5.44772 2 6V9H22ZM2 11H22V18C22 18.5523 21.5523 19 21 19H3C2.44772 19 2 18.5523 2 18V11Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/CropIcon/CropIcon.native.test.tsx b/packages/blade/src/components/Icons/CropIcon/CropIcon.native.test.tsx index 3ee2d7498d4..05e18c7ff4e 100644 --- a/packages/blade/src/components/Icons/CropIcon/CropIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CropIcon/CropIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CropIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CropIcon/CropIcon.web.test.tsx b/packages/blade/src/components/Icons/CropIcon/CropIcon.web.test.tsx index d6bf44bfe40..284e8847f63 100644 --- a/packages/blade/src/components/Icons/CropIcon/CropIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CropIcon/CropIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CropIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CropIcon/__snapshots__/CropIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CropIcon/__snapshots__/CropIcon.native.test.tsx.snap index 967deab2c80..cfd2df68737 100644 --- a/packages/blade/src/components/Icons/CropIcon/__snapshots__/CropIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CropIcon/__snapshots__/CropIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render CropIcon 1`] = ` should render CropIcon 1`] = ` name="clip0_60_192" > should render CropIcon 1`] = ` clip-rule="evenodd" d="M7.12996 1.00867C7.13475 0.456403 6.69093 0.00482466 6.13867 3.83509e-05C5.5864 -0.0047479 5.13482 0.43907 5.13004 0.991334L5.09448 5.09449L0.991334 5.13004C0.43907 5.13482 -0.0047479 5.5864 3.83509e-05 6.13867C0.00482466 6.69093 0.456403 7.13475 1.00867 7.12996L5.07714 7.0947L5.00004 15.9913L5 16C5 17.6569 6.34315 19 8 19H17V23C17 23.5523 17.4477 24 18 24C18.5523 24 19 23.5523 19 23V19H23C23.5523 19 24 18.5523 24 18C24 17.4477 23.5523 17 23 17H19V8C19 6.34315 17.6569 5 16 5L7.0947 5.07716L7.12996 1.00867ZM7.07737 7.07737L7.00001 16.0036C7.00195 16.5542 7.44892 17 8 17H17V8C17 7.44892 16.5542 7.00195 16.0036 7.00001L7.07737 7.07737Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> @@ -32,7 +32,7 @@ exports[` should render CropIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/CrosshairIcon/CrosshairIcon.native.test.tsx b/packages/blade/src/components/Icons/CrosshairIcon/CrosshairIcon.native.test.tsx index 3a61f33e0a1..c8ded600b0a 100644 --- a/packages/blade/src/components/Icons/CrosshairIcon/CrosshairIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CrosshairIcon/CrosshairIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CrosshairIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CrosshairIcon/CrosshairIcon.web.test.tsx b/packages/blade/src/components/Icons/CrosshairIcon/CrosshairIcon.web.test.tsx index 318a885a834..5caecf04c58 100644 --- a/packages/blade/src/components/Icons/CrosshairIcon/CrosshairIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CrosshairIcon/CrosshairIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CrosshairIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CrosshairIcon/__snapshots__/CrosshairIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CrosshairIcon/__snapshots__/CrosshairIcon.native.test.tsx.snap index f963167368b..dad61928e2e 100644 --- a/packages/blade/src/components/Icons/CrosshairIcon/__snapshots__/CrosshairIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CrosshairIcon/__snapshots__/CrosshairIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render CrosshairIcon 1`] = ` should render CrosshairIcon 1`] = ` clip-rule="evenodd" d="M1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM13 20.9451V18C13 17.4477 12.5523 17 12 17C11.4477 17 11 17.4477 11 18V20.9451C6.82838 20.4839 3.51608 17.1716 3.05493 13H6C6.55228 13 7 12.5523 7 12C7 11.4477 6.55228 11 6 11H3.05493C3.51608 6.82838 6.82838 3.51608 11 3.05493V6C11 6.55228 11.4477 7 12 7C12.5523 7 13 6.55228 13 6V3.05493C17.1716 3.51608 20.4839 6.82838 20.9451 11H18C17.4477 11 17 11.4477 17 12C17 12.5523 17.4477 13 18 13H20.9451C20.4839 17.1716 17.1716 20.4839 13 20.9451Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/CustomersIcon/CustomersIcon.native.test.tsx b/packages/blade/src/components/Icons/CustomersIcon/CustomersIcon.native.test.tsx index 505725d27fe..aa2857fb3d2 100644 --- a/packages/blade/src/components/Icons/CustomersIcon/CustomersIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CustomersIcon/CustomersIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CustomersIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CustomersIcon/CustomersIcon.web.test.tsx b/packages/blade/src/components/Icons/CustomersIcon/CustomersIcon.web.test.tsx index 6511616bde6..57e5b695e18 100644 --- a/packages/blade/src/components/Icons/CustomersIcon/CustomersIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CustomersIcon/CustomersIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CustomersIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CustomersIcon/__snapshots__/CustomersIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CustomersIcon/__snapshots__/CustomersIcon.native.test.tsx.snap index 1a16aafe4bc..f7e6ad234ed 100644 --- a/packages/blade/src/components/Icons/CustomersIcon/__snapshots__/CustomersIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CustomersIcon/__snapshots__/CustomersIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render CustomersIcon 1`] = ` should render CustomersIcon 1`] = ` clip-rule="evenodd" d="M19.6255 8.21429C19.6255 9.99286 18.1745 11.4286 16.3636 11.4286C14.5527 11.4286 13.0909 9.99286 13.0909 8.21429C13.0909 6.43571 14.5527 5 16.3636 5C18.1745 5 19.6255 6.43571 19.6255 8.21429ZM10.8982 8.21429C10.8982 9.99286 9.44727 11.4286 7.63636 11.4286C5.82545 11.4286 4.36364 9.99286 4.36364 8.21429C4.36364 6.43571 5.82545 5 7.63636 5C9.44727 5 10.8982 6.43571 10.8982 8.21429ZM0 17.3214C0 14.825 5.09455 13.5714 7.63636 13.5714C10.1782 13.5714 15.2727 14.825 15.2727 17.3214V18C15.2727 19.1046 14.3773 20 13.2727 20H2C0.895431 20 0 19.1046 0 18V17.3214ZM15.3055 13.625C15.6873 13.5929 16.0473 13.5714 16.3636 13.5714C18.9055 13.5714 24 14.825 24 17.3214V18C24 19.1046 23.1046 20 22 20H17.4545V20H15.95C16.45 19.8333 17.45 19.2 17.45 18V17.1259C17.3805 15.6357 16.5184 14.4876 15.3055 13.625Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/CutIcon/CutIcon.native.test.tsx b/packages/blade/src/components/Icons/CutIcon/CutIcon.native.test.tsx index e2ec5d2bc0d..57b1d0c87af 100644 --- a/packages/blade/src/components/Icons/CutIcon/CutIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/CutIcon/CutIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render CutIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CutIcon/CutIcon.web.test.tsx b/packages/blade/src/components/Icons/CutIcon/CutIcon.web.test.tsx index 1e557ec8626..87d51c57887 100644 --- a/packages/blade/src/components/Icons/CutIcon/CutIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/CutIcon/CutIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render CutIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/CutIcon/__snapshots__/CutIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/CutIcon/__snapshots__/CutIcon.native.test.tsx.snap index 3f1761b51bc..201f9be18d7 100644 --- a/packages/blade/src/components/Icons/CutIcon/__snapshots__/CutIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/CutIcon/__snapshots__/CutIcon.native.test.tsx.snap @@ -65,7 +65,7 @@ exports[` should render CutIcon 1`] = ` "strokeLinejoin", ] } - stroke={4282603381} + stroke={4280563015} strokeLinecap={1} strokeLinejoin={1} strokeWidth="2" @@ -83,7 +83,7 @@ exports[` should render CutIcon 1`] = ` "strokeLinejoin", ] } - stroke={4282603381} + stroke={4280563015} strokeLinecap={1} strokeLinejoin={1} strokeWidth="2" @@ -98,7 +98,7 @@ exports[` should render CutIcon 1`] = ` "strokeLinejoin", ] } - stroke={4282603381} + stroke={4280563015} strokeLinecap={1} strokeLinejoin={1} strokeWidth="2" @@ -113,7 +113,7 @@ exports[` should render CutIcon 1`] = ` "strokeLinejoin", ] } - stroke={4282603381} + stroke={4280563015} strokeLinecap={1} strokeLinejoin={1} strokeWidth="2" @@ -128,7 +128,7 @@ exports[` should render CutIcon 1`] = ` "strokeLinejoin", ] } - stroke={4282603381} + stroke={4280563015} strokeLinecap={1} strokeLinejoin={1} strokeWidth="2" @@ -139,7 +139,7 @@ exports[` should render CutIcon 1`] = ` name="clip0_60_191" > should render CutIcon 1`] = ` d="M6 9C7.65685 9 9 7.65685 9 6C9 4.34315 7.65685 3 6 3C4.34315 3 3 4.34315 3 6C3 7.65685 4.34315 9 6 9Z" data-blade-component="svg-path" fill-rule="evenodd" - stroke="hsla(216, 27%, 36%, 1)" + stroke="hsla(211, 33%, 21%, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" @@ -30,7 +30,7 @@ exports[` should render CutIcon 1`] = ` d="M6 21C7.65685 21 9 19.6569 9 18C9 16.3431 7.65685 15 6 15C4.34315 15 3 16.3431 3 18C3 19.6569 4.34315 21 6 21Z" data-blade-component="svg-path" fill-rule="evenodd" - stroke="hsla(216, 27%, 36%, 1)" + stroke="hsla(211, 33%, 21%, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" @@ -38,7 +38,7 @@ exports[` should render CutIcon 1`] = ` should render CutIcon 1`] = ` should render CutIcon 1`] = ` should render CutIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/DashboardIcon/DashboardIcon.native.test.tsx b/packages/blade/src/components/Icons/DashboardIcon/DashboardIcon.native.test.tsx index 2434dd8ca0c..985fd4ce807 100644 --- a/packages/blade/src/components/Icons/DashboardIcon/DashboardIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/DashboardIcon/DashboardIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render DashboardIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/DashboardIcon/DashboardIcon.web.test.tsx b/packages/blade/src/components/Icons/DashboardIcon/DashboardIcon.web.test.tsx index d6754d10f9f..901de5d7ff7 100644 --- a/packages/blade/src/components/Icons/DashboardIcon/DashboardIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/DashboardIcon/DashboardIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render DashboardIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/DashboardIcon/__snapshots__/DashboardIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/DashboardIcon/__snapshots__/DashboardIcon.native.test.tsx.snap index f46563ef792..d4ad6d4081b 100644 --- a/packages/blade/src/components/Icons/DashboardIcon/__snapshots__/DashboardIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/DashboardIcon/__snapshots__/DashboardIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render DashboardIcon 1`] = ` > should render DashboardIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/DeleteIcon/DeleteIcon.native.test.tsx b/packages/blade/src/components/Icons/DeleteIcon/DeleteIcon.native.test.tsx index a4f387b7387..2b1d2a6781a 100644 --- a/packages/blade/src/components/Icons/DeleteIcon/DeleteIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/DeleteIcon/DeleteIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render DeleteIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/DeleteIcon/DeleteIcon.web.test.tsx b/packages/blade/src/components/Icons/DeleteIcon/DeleteIcon.web.test.tsx index 729754b2b1e..cbe8a610450 100644 --- a/packages/blade/src/components/Icons/DeleteIcon/DeleteIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/DeleteIcon/DeleteIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render DeleteIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/DeleteIcon/__snapshots__/DeleteIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/DeleteIcon/__snapshots__/DeleteIcon.native.test.tsx.snap index 0479481ac22..f195f75a6ff 100644 --- a/packages/blade/src/components/Icons/DeleteIcon/__snapshots__/DeleteIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/DeleteIcon/__snapshots__/DeleteIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render DeleteIcon 1`] = ` > should render DeleteIcon 1`] = ` should render DeleteIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/DiscIcon/DiscIcon.native.test.tsx b/packages/blade/src/components/Icons/DiscIcon/DiscIcon.native.test.tsx index 2f55e017378..ee512569ecc 100644 --- a/packages/blade/src/components/Icons/DiscIcon/DiscIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/DiscIcon/DiscIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render DiscIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/DiscIcon/DiscIcon.web.test.tsx b/packages/blade/src/components/Icons/DiscIcon/DiscIcon.web.test.tsx index f7f5bb59d76..71ffcb6945f 100644 --- a/packages/blade/src/components/Icons/DiscIcon/DiscIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/DiscIcon/DiscIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render DiscIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/DiscIcon/__snapshots__/DiscIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/DiscIcon/__snapshots__/DiscIcon.native.test.tsx.snap index 726ec06a0e1..efa901876c6 100644 --- a/packages/blade/src/components/Icons/DiscIcon/__snapshots__/DiscIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/DiscIcon/__snapshots__/DiscIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render DiscIcon 1`] = ` should render DiscIcon 1`] = ` should render DiscIcon 1`] = ` clip-rule="evenodd" d="M12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8ZM10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/DollarIcon/DollarIcon.native.test.tsx b/packages/blade/src/components/Icons/DollarIcon/DollarIcon.native.test.tsx index a70105d0fab..0d9d798aefc 100644 --- a/packages/blade/src/components/Icons/DollarIcon/DollarIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/DollarIcon/DollarIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render DollarIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/DollarIcon/DollarIcon.web.test.tsx b/packages/blade/src/components/Icons/DollarIcon/DollarIcon.web.test.tsx index 8ed18fb781a..e5e41c49b6b 100644 --- a/packages/blade/src/components/Icons/DollarIcon/DollarIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/DollarIcon/DollarIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render DollarIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/DollarIcon/__snapshots__/DollarIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/DollarIcon/__snapshots__/DollarIcon.native.test.tsx.snap index a0c80e10c34..d1f77e71192 100644 --- a/packages/blade/src/components/Icons/DollarIcon/__snapshots__/DollarIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/DollarIcon/__snapshots__/DollarIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render DollarIcon 1`] = ` > should render DollarIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/DollarsIcon/DollarsIcon.native.test.tsx b/packages/blade/src/components/Icons/DollarsIcon/DollarsIcon.native.test.tsx index cba8727413e..d21c72fe0f1 100644 --- a/packages/blade/src/components/Icons/DollarsIcon/DollarsIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/DollarsIcon/DollarsIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render DollarsIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/DollarsIcon/DollarsIcon.web.test.tsx b/packages/blade/src/components/Icons/DollarsIcon/DollarsIcon.web.test.tsx index 650974a3621..9d18f529940 100644 --- a/packages/blade/src/components/Icons/DollarsIcon/DollarsIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/DollarsIcon/DollarsIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render DollarsIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/DollarsIcon/__snapshots__/DollarsIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/DollarsIcon/__snapshots__/DollarsIcon.native.test.tsx.snap index b952c888f14..6d54177b413 100644 --- a/packages/blade/src/components/Icons/DollarsIcon/__snapshots__/DollarsIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/DollarsIcon/__snapshots__/DollarsIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render DollarsIcon 1`] = ` > should render DollarsIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/DownloadCloudIcon/DownloadCloudIcon.native.test.tsx b/packages/blade/src/components/Icons/DownloadCloudIcon/DownloadCloudIcon.native.test.tsx index 4ed642b94fe..c4c168cdac4 100644 --- a/packages/blade/src/components/Icons/DownloadCloudIcon/DownloadCloudIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/DownloadCloudIcon/DownloadCloudIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render DownloadCloudIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/DownloadCloudIcon/DownloadCloudIcon.web.test.tsx b/packages/blade/src/components/Icons/DownloadCloudIcon/DownloadCloudIcon.web.test.tsx index a058bf57e61..4d074809f5f 100644 --- a/packages/blade/src/components/Icons/DownloadCloudIcon/DownloadCloudIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/DownloadCloudIcon/DownloadCloudIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render DownloadCloudIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/DownloadCloudIcon/__snapshots__/DownloadCloudIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/DownloadCloudIcon/__snapshots__/DownloadCloudIcon.native.test.tsx.snap index d49f5e83484..3c88589dd03 100644 --- a/packages/blade/src/components/Icons/DownloadCloudIcon/__snapshots__/DownloadCloudIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/DownloadCloudIcon/__snapshots__/DownloadCloudIcon.native.test.tsx.snap @@ -54,7 +54,7 @@ exports[` should render DownloadCloudIcon 1`] = ` > should render DownloadCloudIcon 1`] = ` /> should render DownloadCloudIcon 1`] = ` name="clip0_60_189" > should render DownloadCloudIcon 1`] = ` should render DownloadCloudIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/DownloadIcon/DownloadIcon.native.test.tsx b/packages/blade/src/components/Icons/DownloadIcon/DownloadIcon.native.test.tsx index 6c8c1b67244..a56ad774cca 100644 --- a/packages/blade/src/components/Icons/DownloadIcon/DownloadIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/DownloadIcon/DownloadIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render DownloadIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/DownloadIcon/DownloadIcon.web.test.tsx b/packages/blade/src/components/Icons/DownloadIcon/DownloadIcon.web.test.tsx index 58f1ac66e58..1fb99f74274 100644 --- a/packages/blade/src/components/Icons/DownloadIcon/DownloadIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/DownloadIcon/DownloadIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render DownloadIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/DownloadIcon/__snapshots__/DownloadIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/DownloadIcon/__snapshots__/DownloadIcon.native.test.tsx.snap index 1aeef8cbf39..53f5c19b43c 100644 --- a/packages/blade/src/components/Icons/DownloadIcon/__snapshots__/DownloadIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/DownloadIcon/__snapshots__/DownloadIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render DownloadIcon 1`] = ` > should render DownloadIcon 1`] = ` /> should render DownloadIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/DropletIcon/DropletIcon.native.test.tsx b/packages/blade/src/components/Icons/DropletIcon/DropletIcon.native.test.tsx index 5aa1a4a2b72..c9a8f6b0916 100644 --- a/packages/blade/src/components/Icons/DropletIcon/DropletIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/DropletIcon/DropletIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render DropletIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/DropletIcon/DropletIcon.web.test.tsx b/packages/blade/src/components/Icons/DropletIcon/DropletIcon.web.test.tsx index dc0cdea5307..788d956d4bb 100644 --- a/packages/blade/src/components/Icons/DropletIcon/DropletIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/DropletIcon/DropletIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render DropletIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/DropletIcon/__snapshots__/DropletIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/DropletIcon/__snapshots__/DropletIcon.native.test.tsx.snap index b5ac78493ba..c22fa2927b8 100644 --- a/packages/blade/src/components/Icons/DropletIcon/__snapshots__/DropletIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/DropletIcon/__snapshots__/DropletIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render DropletIcon 1`] = ` should render DropletIcon 1`] = ` clip-rule="evenodd" d="M11.9996 1.68994C12.265 1.68982 12.5195 1.79519 12.7071 1.98283L18.3669 7.6426C18.367 7.64268 18.3668 7.64253 18.3669 7.6426C20.9419 10.2161 21.7131 14.0877 20.3205 17.4514C18.9278 20.8152 15.6457 23.0086 12.005 23.0086C8.36433 23.0086 5.08223 20.8152 3.68954 17.4514C2.29697 14.0879 3.06782 10.2167 5.64255 7.6432C5.64275 7.643 5.64235 7.6434 5.64255 7.6432L11.2923 1.98346C11.4798 1.79565 11.7342 1.69006 11.9996 1.68994ZM12.0007 4.10478L7.0569 9.05728C5.05396 11.0589 4.45423 14.0701 5.53743 16.6864C6.62063 19.3027 9.17337 21.0086 12.005 21.0086C14.8367 21.0086 17.3894 19.3027 18.4726 16.6864C19.5558 14.0701 18.9561 11.0589 16.9531 9.05728L12.0007 4.10478Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/EditComposeIcon/EditComposeIcon.native.test.tsx b/packages/blade/src/components/Icons/EditComposeIcon/EditComposeIcon.native.test.tsx index 9b4e6db9bea..98e234b8487 100644 --- a/packages/blade/src/components/Icons/EditComposeIcon/EditComposeIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/EditComposeIcon/EditComposeIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render EditComposeIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/EditComposeIcon/EditComposeIcon.web.test.tsx b/packages/blade/src/components/Icons/EditComposeIcon/EditComposeIcon.web.test.tsx index a035ed8aefb..8e00fe613e0 100644 --- a/packages/blade/src/components/Icons/EditComposeIcon/EditComposeIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/EditComposeIcon/EditComposeIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render EditComposeIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/EditComposeIcon/__snapshots__/EditComposeIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/EditComposeIcon/__snapshots__/EditComposeIcon.native.test.tsx.snap index 941fc5b4048..cf0aed3b79d 100644 --- a/packages/blade/src/components/Icons/EditComposeIcon/__snapshots__/EditComposeIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/EditComposeIcon/__snapshots__/EditComposeIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render EditComposeIcon 1`] = ` should render EditComposeIcon 1`] = ` /> should render EditComposeIcon 1`] = ` clip-rule="evenodd" d="M18.7071 1.29289C18.3166 0.902369 17.6834 0.902369 17.2929 1.29289L7.29289 11.2929C7.10536 11.4804 7 11.7348 7 12V16C7 16.5523 7.44772 17 8 17H12C12.2652 17 12.5196 16.8946 12.7071 16.7071L22.7071 6.70711C23.0976 6.31658 23.0976 5.68342 22.7071 5.29289L18.7071 1.29289ZM9 15V12.4142L18 3.41421L20.5858 6L11.5858 15H9Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/EditIcon/EditIcon.native.test.tsx b/packages/blade/src/components/Icons/EditIcon/EditIcon.native.test.tsx index 47ec60ba0bd..6513d49d310 100644 --- a/packages/blade/src/components/Icons/EditIcon/EditIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/EditIcon/EditIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render EditIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/EditIcon/EditIcon.web.test.tsx b/packages/blade/src/components/Icons/EditIcon/EditIcon.web.test.tsx index 6186d66c5b4..ed80b454b59 100644 --- a/packages/blade/src/components/Icons/EditIcon/EditIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/EditIcon/EditIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render EditIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/EditIcon/__snapshots__/EditIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/EditIcon/__snapshots__/EditIcon.native.test.tsx.snap index 3eed7acea95..42303b92449 100644 --- a/packages/blade/src/components/Icons/EditIcon/__snapshots__/EditIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/EditIcon/__snapshots__/EditIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render EditIcon 1`] = ` should render EditIcon 1`] = ` clip-rule="evenodd" d="M15.293 2.293a1 1 0 0 1 1.414 0l5 5a1 1 0 0 1 0 1.414l-13 13A1 1 0 0 1 8 22H3a1 1 0 0 1-1-1v-5a1 1 0 0 1 .293-.707l13-13ZM4 16.414V20h3.586l12-12L16 4.414l-12 12Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/EditInlineIcon/EditInlineIcon.native.test.tsx b/packages/blade/src/components/Icons/EditInlineIcon/EditInlineIcon.native.test.tsx index 3226502ac61..1a7e7319361 100644 --- a/packages/blade/src/components/Icons/EditInlineIcon/EditInlineIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/EditInlineIcon/EditInlineIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render EditInlineIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/EditInlineIcon/EditInlineIcon.web.test.tsx b/packages/blade/src/components/Icons/EditInlineIcon/EditInlineIcon.web.test.tsx index 2d871948856..3e898d18eaa 100644 --- a/packages/blade/src/components/Icons/EditInlineIcon/EditInlineIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/EditInlineIcon/EditInlineIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render EditInlineIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/EditInlineIcon/__snapshots__/EditInlineIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/EditInlineIcon/__snapshots__/EditInlineIcon.native.test.tsx.snap index dffdddce949..a931e8301e0 100644 --- a/packages/blade/src/components/Icons/EditInlineIcon/__snapshots__/EditInlineIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/EditInlineIcon/__snapshots__/EditInlineIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render EditInlineIcon 1`] = ` should render EditInlineIcon 1`] = ` /> should render EditInlineIcon 1`] = ` clip-rule="evenodd" d="M14.7071 1.29289C14.3166 0.902369 13.6834 0.902369 13.2929 1.29289L2.29289 12.2929C2.10536 12.4804 2 12.7348 2 13V17C2 17.5523 2.44772 18 3 18H7C7.26522 18 7.51957 17.8946 7.70711 17.7071L18.7071 6.70711C19.0976 6.31658 19.0976 5.68342 18.7071 5.29289L14.7071 1.29289ZM4 16V13.4142L14 3.41421L16.5858 6L6.58579 16H4Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ExportIcon/ExportIcon.native.test.tsx b/packages/blade/src/components/Icons/ExportIcon/ExportIcon.native.test.tsx index 3bda914a35c..7136665cb60 100644 --- a/packages/blade/src/components/Icons/ExportIcon/ExportIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ExportIcon/ExportIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ExportIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ExportIcon/ExportIcon.web.test.tsx b/packages/blade/src/components/Icons/ExportIcon/ExportIcon.web.test.tsx index 53aeced6fc9..dbb3dde348b 100644 --- a/packages/blade/src/components/Icons/ExportIcon/ExportIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ExportIcon/ExportIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ExportIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ExportIcon/__snapshots__/ExportIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ExportIcon/__snapshots__/ExportIcon.native.test.tsx.snap index 103ca7d321e..68c58797943 100644 --- a/packages/blade/src/components/Icons/ExportIcon/__snapshots__/ExportIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ExportIcon/__snapshots__/ExportIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ExportIcon 1`] = ` should render ExportIcon 1`] = ` should render ExportIcon 1`] = ` should render ExportIcon 1`] = ` clip-rule="evenodd" d="M4 11C4.55228 11 5 11.4477 5 12V20C5 20.5523 5.44772 21 6 21H18C18.5523 21 19 20.5523 19 20V12C19 11.4477 19.4477 11 20 11C20.5523 11 21 11.4477 21 12V20C21 21.6569 19.6569 23 18 23H6C4.34315 23 3 21.6569 3 20V12C3 11.4477 3.44772 11 4 11Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ExternalLinkIcon/ExternalLinkIcon.native.test.tsx b/packages/blade/src/components/Icons/ExternalLinkIcon/ExternalLinkIcon.native.test.tsx index 662d91801f6..9d8009a53a4 100644 --- a/packages/blade/src/components/Icons/ExternalLinkIcon/ExternalLinkIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ExternalLinkIcon/ExternalLinkIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ExternalLinkIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ExternalLinkIcon/ExternalLinkIcon.web.test.tsx b/packages/blade/src/components/Icons/ExternalLinkIcon/ExternalLinkIcon.web.test.tsx index 99c16907a7f..0c2047f27f0 100644 --- a/packages/blade/src/components/Icons/ExternalLinkIcon/ExternalLinkIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ExternalLinkIcon/ExternalLinkIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ExternalLinkIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ExternalLinkIcon/__snapshots__/ExternalLinkIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ExternalLinkIcon/__snapshots__/ExternalLinkIcon.native.test.tsx.snap index aadf3de4f74..18c36aef3dd 100644 --- a/packages/blade/src/components/Icons/ExternalLinkIcon/__snapshots__/ExternalLinkIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ExternalLinkIcon/__snapshots__/ExternalLinkIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ExternalLinkIcon 1`] = ` > should render ExternalLinkIcon 1`] = ` /> should render ExternalLinkIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/EyeIcon/EyeIcon.native.test.tsx b/packages/blade/src/components/Icons/EyeIcon/EyeIcon.native.test.tsx index 57382e2b83a..8844215c639 100644 --- a/packages/blade/src/components/Icons/EyeIcon/EyeIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/EyeIcon/EyeIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render EyeIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/EyeIcon/EyeIcon.web.test.tsx b/packages/blade/src/components/Icons/EyeIcon/EyeIcon.web.test.tsx index 52863cff042..13ccfe3e691 100644 --- a/packages/blade/src/components/Icons/EyeIcon/EyeIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/EyeIcon/EyeIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render EyeIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/EyeIcon/__snapshots__/EyeIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/EyeIcon/__snapshots__/EyeIcon.native.test.tsx.snap index dab3f8c3636..f80dbce58e7 100644 --- a/packages/blade/src/components/Icons/EyeIcon/__snapshots__/EyeIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/EyeIcon/__snapshots__/EyeIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render EyeIcon 1`] = ` should render EyeIcon 1`] = ` should render EyeIcon 1`] = ` clip-rule="evenodd" d="M12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8ZM10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/EyeOffIcon/EyeOffIcon.native.test.tsx b/packages/blade/src/components/Icons/EyeOffIcon/EyeOffIcon.native.test.tsx index c421e42379f..1f2241e02b4 100644 --- a/packages/blade/src/components/Icons/EyeOffIcon/EyeOffIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/EyeOffIcon/EyeOffIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render EyeOffIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/EyeOffIcon/EyeOffIcon.web.test.tsx b/packages/blade/src/components/Icons/EyeOffIcon/EyeOffIcon.web.test.tsx index f66c3c5ac29..daac82bed5f 100644 --- a/packages/blade/src/components/Icons/EyeOffIcon/EyeOffIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/EyeOffIcon/EyeOffIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render EyeOffIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/EyeOffIcon/__snapshots__/EyeOffIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/EyeOffIcon/__snapshots__/EyeOffIcon.native.test.tsx.snap index d94d9bae023..fe425323688 100644 --- a/packages/blade/src/components/Icons/EyeOffIcon/__snapshots__/EyeOffIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/EyeOffIcon/__snapshots__/EyeOffIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render EyeOffIcon 1`] = ` should render EyeOffIcon 1`] = ` clip-rule="evenodd" d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L4.54852 5.96273C2.11768 8.23575 0.611157 10.5466 0.105573 11.5577C-0.0388552 11.8466 -0.0348927 12.1874 0.116212 12.4728C0.911795 13.9756 2.43155 16.1767 4.44905 17.9657C6.44912 19.7391 9.07199 21.2217 12.0463 21.0043C14.1054 20.965 16.1069 20.3524 17.8291 19.2433L22.2929 23.7071C22.6834 24.0976 23.3166 24.0976 23.7071 23.7071C24.0976 23.3166 24.0976 22.6834 23.7071 22.2929L1.70711 0.292893ZM16.3745 17.7888L14.0529 15.4671C13.137 16.0423 12.0118 16.2303 10.9354 15.9554C9.51816 15.5934 8.4115 14.4868 8.04956 13.0695C7.77466 11.9931 7.96267 10.8679 8.53787 9.95208L5.96358 7.3778C4.02162 9.18305 2.73293 11.0024 2.14239 12.0023C2.8992 13.3055 4.16865 15.044 5.77595 16.4692C7.59406 18.0814 9.71013 19.1781 11.9233 19.0079C11.9434 19.0063 11.9635 19.0054 11.9837 19.0051C13.5332 18.9797 15.0437 18.558 16.3745 17.7888ZM10.0291 11.4433C9.90866 11.8023 9.89029 12.1946 9.98736 12.5747C10.1683 13.2833 10.7217 13.8366 11.4303 14.0176C11.8104 14.1146 12.2026 14.0963 12.5616 13.9758L10.0291 11.4433ZM23.8777 11.5256C23.0808 10.0665 21.5613 7.9214 19.5476 6.15178C17.5484 4.3949 14.9387 2.90282 11.9828 3.00492C11.2049 3.00459 10.4296 3.09396 9.67209 3.27126C9.13434 3.39713 8.80045 3.93511 8.92632 4.47286C9.05219 5.0106 9.59016 5.3445 10.1279 5.21862C10.7408 5.07517 11.3682 5.00346 11.9977 5.00494C12.0107 5.00497 12.0238 5.00474 12.0369 5.00426C14.273 4.9217 16.4061 6.05356 18.2274 7.65411C19.8179 9.05181 21.0762 10.7264 21.8355 11.9857C21.6047 12.3498 21.3179 12.7884 21.0346 13.2066C20.8197 13.5237 20.6117 13.8221 20.4357 14.0622C20.2457 14.3213 20.1312 14.4595 20.0929 14.4978C19.7024 14.8884 19.7024 15.5215 20.0929 15.912C20.4834 16.3026 21.1166 16.3026 21.5071 15.912C21.6688 15.7504 21.8668 15.4927 22.0487 15.2446C22.2446 14.9774 22.4678 14.657 22.6904 14.3283C23.1344 13.6729 23.5951 12.9567 23.8575 12.5194C24.04 12.2152 24.0477 11.837 23.8777 11.5256Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/FacebookIcon/FacebookIcon.native.test.tsx b/packages/blade/src/components/Icons/FacebookIcon/FacebookIcon.native.test.tsx index 0fbf5c7b66d..c4879444aef 100644 --- a/packages/blade/src/components/Icons/FacebookIcon/FacebookIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/FacebookIcon/FacebookIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render FacebookIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FacebookIcon/FacebookIcon.web.test.tsx b/packages/blade/src/components/Icons/FacebookIcon/FacebookIcon.web.test.tsx index 6bd5d85607a..4057dcdc067 100644 --- a/packages/blade/src/components/Icons/FacebookIcon/FacebookIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/FacebookIcon/FacebookIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render FacebookIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FacebookIcon/__snapshots__/FacebookIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/FacebookIcon/__snapshots__/FacebookIcon.native.test.tsx.snap index b70ae1f2ced..f40ed6823e9 100644 --- a/packages/blade/src/components/Icons/FacebookIcon/__snapshots__/FacebookIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/FacebookIcon/__snapshots__/FacebookIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render FacebookIcon 1`] = ` should render FacebookIcon 1`] = ` clip-rule="evenodd" d="M8 7C8 3.68629 10.6863 1 14 1H17C17.5523 1 18 1.44772 18 2V6C18 6.55228 17.5523 7 17 7H14V9H17C17.3079 9 17.5987 9.14187 17.7882 9.38459C17.9777 9.6273 18.0448 9.94379 17.9701 10.2425L16.9701 14.2425C16.8589 14.6877 16.4589 15 16 15H14V22C14 22.5523 13.5523 23 13 23H9C8.44772 23 8 22.5523 8 22V15H6C5.44772 15 5 14.5523 5 14V10C5 9.44772 5.44772 9 6 9H8V7ZM14 3C11.7909 3 10 4.79086 10 7V10C10 10.5523 9.55228 11 9 11H7V13H9C9.55228 13 10 13.4477 10 14V21H12V14C12 13.4477 12.4477 13 13 13H15.2192L15.7192 11H13C12.4477 11 12 10.5523 12 10V7C12 5.89543 12.8954 5 14 5H16V3H14Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/FastForwardIcon/FastForwardIcon.native.test.tsx b/packages/blade/src/components/Icons/FastForwardIcon/FastForwardIcon.native.test.tsx index d291a261cd1..77fcc58c6e4 100644 --- a/packages/blade/src/components/Icons/FastForwardIcon/FastForwardIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/FastForwardIcon/FastForwardIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render FastForwardIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FastForwardIcon/FastForwardIcon.web.test.tsx b/packages/blade/src/components/Icons/FastForwardIcon/FastForwardIcon.web.test.tsx index 45a9ab36a1a..ce6fd72d589 100644 --- a/packages/blade/src/components/Icons/FastForwardIcon/FastForwardIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/FastForwardIcon/FastForwardIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render FastForwardIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FastForwardIcon/__snapshots__/FastForwardIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/FastForwardIcon/__snapshots__/FastForwardIcon.native.test.tsx.snap index 1e16539a30a..637d94e0bca 100644 --- a/packages/blade/src/components/Icons/FastForwardIcon/__snapshots__/FastForwardIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/FastForwardIcon/__snapshots__/FastForwardIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render FastForwardIcon 1`] = ` should render FastForwardIcon 1`] = ` clip-rule="evenodd" d="M2.61394 4.21066C2.31246 3.97617 1.90375 3.93389 1.56065 4.10169C1.21755 4.2695 1 4.61807 1 5.00001V19C1 19.3819 1.21755 19.7305 1.56065 19.8983C1.90375 20.0661 2.31246 20.0238 2.61394 19.7894L11.6139 12.7894C11.8575 12.5999 12 12.3086 12 12V19C12 19.3819 12.2176 19.7305 12.5606 19.8983C12.9037 20.0661 13.3125 20.0238 13.6139 19.7894L22.6139 12.7894C22.8575 12.5999 23 12.3086 23 12C23 11.6914 22.8575 11.4001 22.6139 11.2107L13.6139 4.21066C13.3125 3.97617 12.9037 3.93389 12.5606 4.10169C12.2176 4.2695 12 4.61807 12 5.00001V12C12 11.6914 11.8575 11.4001 11.6139 11.2107L2.61394 4.21066ZM9.37118 12L3 16.9554V7.04465L9.37118 12ZM20.3712 12L14 16.9554V7.04465L20.3712 12Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/FeatherIcon/FeatherIcon.native.test.tsx b/packages/blade/src/components/Icons/FeatherIcon/FeatherIcon.native.test.tsx index 793b64d2a3f..4716953e767 100644 --- a/packages/blade/src/components/Icons/FeatherIcon/FeatherIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/FeatherIcon/FeatherIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render FeatherIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FeatherIcon/FeatherIcon.web.test.tsx b/packages/blade/src/components/Icons/FeatherIcon/FeatherIcon.web.test.tsx index 05d1f2baf66..c13d300977f 100644 --- a/packages/blade/src/components/Icons/FeatherIcon/FeatherIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/FeatherIcon/FeatherIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render FeatherIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FeatherIcon/__snapshots__/FeatherIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/FeatherIcon/__snapshots__/FeatherIcon.native.test.tsx.snap index 9b5809f0d62..7a949b457de 100644 --- a/packages/blade/src/components/Icons/FeatherIcon/__snapshots__/FeatherIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/FeatherIcon/__snapshots__/FeatherIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render FeatherIcon 1`] = ` should render FeatherIcon 1`] = ` clip-rule="evenodd" d="M11.0429 4.04293C13.7779 1.30796 18.2121 1.30796 20.9471 4.04293C23.6818 6.77765 23.6821 11.2113 20.9479 13.9464L20.9471 13.9471L14.2082 20.7061C14.0205 20.8943 13.7657 21 13.5 21H5.41424L2.70711 23.7072C2.31658 24.0977 1.68342 24.0977 1.29289 23.7072C0.902369 23.3166 0.902369 22.6835 1.29289 22.293L4 19.5858V11.5C4 11.2348 4.10536 10.9805 4.29289 10.7929L11.0429 4.04293ZM13.0849 19H7.41424L9.41421 17.0001H15.079L13.0849 19ZM17.0706 15.0025L19.5318 12.534L19.5329 12.5329C21.4868 10.579 21.4868 7.41107 19.5329 5.45714C17.579 3.50322 14.411 3.50322 12.4571 5.45714L6 11.9142V17.5858L15.2929 8.29295C15.6834 7.90243 16.3166 7.90243 16.7071 8.29295C17.0976 8.68348 17.0976 9.31664 16.7071 9.70717L11.4142 15.0001H17C17.0237 15.0001 17.0473 15.0009 17.0706 15.0025Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/FileIcon/FileIcon.native.test.tsx b/packages/blade/src/components/Icons/FileIcon/FileIcon.native.test.tsx index 6be786e1f1d..b693fa0ea94 100644 --- a/packages/blade/src/components/Icons/FileIcon/FileIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/FileIcon/FileIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render FileIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FileIcon/FileIcon.web.test.tsx b/packages/blade/src/components/Icons/FileIcon/FileIcon.web.test.tsx index 60294c454a8..0790fd6da4e 100644 --- a/packages/blade/src/components/Icons/FileIcon/FileIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/FileIcon/FileIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render FileIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FileIcon/__snapshots__/FileIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/FileIcon/__snapshots__/FileIcon.native.test.tsx.snap index 764b70e6818..095bcc9ebf8 100644 --- a/packages/blade/src/components/Icons/FileIcon/__snapshots__/FileIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/FileIcon/__snapshots__/FileIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render FileIcon 1`] = ` should render FileIcon 1`] = ` clip-rule="evenodd" d="M6 1C4.34315 1 3 2.34315 3 4V20C3 21.6569 4.34315 23 6 23H18C19.6569 23 21 21.6569 21 20V9C21 8.73478 20.8946 8.48043 20.7071 8.29289L13.7071 1.29289C13.5196 1.10536 13.2652 1 13 1H6ZM5 4C5 3.44772 5.44772 3 6 3H12V9C12 9.55228 12.4477 10 13 10H19V20C19 20.5523 18.5523 21 18 21H6C5.44772 21 5 20.5523 5 20V4ZM17.5858 8L14 4.41421V8H17.5858Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/FileMinusIcon/FileMinusIcon.native.test.tsx b/packages/blade/src/components/Icons/FileMinusIcon/FileMinusIcon.native.test.tsx index 38b6c11764d..24fe311db39 100644 --- a/packages/blade/src/components/Icons/FileMinusIcon/FileMinusIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/FileMinusIcon/FileMinusIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render FileMinusIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FileMinusIcon/FileMinusIcon.web.test.tsx b/packages/blade/src/components/Icons/FileMinusIcon/FileMinusIcon.web.test.tsx index 9055e5bbc05..6b92d3db196 100644 --- a/packages/blade/src/components/Icons/FileMinusIcon/FileMinusIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/FileMinusIcon/FileMinusIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render FileMinusIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FileMinusIcon/__snapshots__/FileMinusIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/FileMinusIcon/__snapshots__/FileMinusIcon.native.test.tsx.snap index 4e3a24404b4..dda48a44005 100644 --- a/packages/blade/src/components/Icons/FileMinusIcon/__snapshots__/FileMinusIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/FileMinusIcon/__snapshots__/FileMinusIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render FileMinusIcon 1`] = ` > should render FileMinusIcon 1`] = ` should render FileMinusIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/FilePlusIcon/FilePlusIcon.native.test.tsx b/packages/blade/src/components/Icons/FilePlusIcon/FilePlusIcon.native.test.tsx index 36ee396da91..09e5ce1d45f 100644 --- a/packages/blade/src/components/Icons/FilePlusIcon/FilePlusIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/FilePlusIcon/FilePlusIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render FilePlusIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FilePlusIcon/FilePlusIcon.web.test.tsx b/packages/blade/src/components/Icons/FilePlusIcon/FilePlusIcon.web.test.tsx index ba2c78b6d39..029de11fccf 100644 --- a/packages/blade/src/components/Icons/FilePlusIcon/FilePlusIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/FilePlusIcon/FilePlusIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render FilePlusIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FilePlusIcon/__snapshots__/FilePlusIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/FilePlusIcon/__snapshots__/FilePlusIcon.native.test.tsx.snap index 0c8155b8f23..dd7d1c225d6 100644 --- a/packages/blade/src/components/Icons/FilePlusIcon/__snapshots__/FilePlusIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/FilePlusIcon/__snapshots__/FilePlusIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render FilePlusIcon 1`] = ` > should render FilePlusIcon 1`] = ` should render FilePlusIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/FileTextIcon/FileTextIcon.native.test.tsx b/packages/blade/src/components/Icons/FileTextIcon/FileTextIcon.native.test.tsx index 712031c9624..558bba6704d 100644 --- a/packages/blade/src/components/Icons/FileTextIcon/FileTextIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/FileTextIcon/FileTextIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render FileTextIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FileTextIcon/FileTextIcon.web.test.tsx b/packages/blade/src/components/Icons/FileTextIcon/FileTextIcon.web.test.tsx index ab6cc8813cc..6bb4730456d 100644 --- a/packages/blade/src/components/Icons/FileTextIcon/FileTextIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/FileTextIcon/FileTextIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render FileTextIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FileTextIcon/__snapshots__/FileTextIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/FileTextIcon/__snapshots__/FileTextIcon.native.test.tsx.snap index 4dad48b4305..77ca6603271 100644 --- a/packages/blade/src/components/Icons/FileTextIcon/__snapshots__/FileTextIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/FileTextIcon/__snapshots__/FileTextIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render FileTextIcon 1`] = ` > should render FileTextIcon 1`] = ` /> should render FileTextIcon 1`] = ` /> should render FileTextIcon 1`] = ` should render FileTextIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/FileZipIcon/FileZipIcon.native.test.tsx b/packages/blade/src/components/Icons/FileZipIcon/FileZipIcon.native.test.tsx index 9118836638c..44e62cf8eec 100644 --- a/packages/blade/src/components/Icons/FileZipIcon/FileZipIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/FileZipIcon/FileZipIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render FileZipIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FileZipIcon/FileZipIcon.web.test.tsx b/packages/blade/src/components/Icons/FileZipIcon/FileZipIcon.web.test.tsx index 3712846bdf2..9c49809b8f6 100644 --- a/packages/blade/src/components/Icons/FileZipIcon/FileZipIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/FileZipIcon/FileZipIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render FileZipIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FileZipIcon/__snapshots__/FileZipIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/FileZipIcon/__snapshots__/FileZipIcon.native.test.tsx.snap index c2c1dadc8a2..43eaece87f2 100644 --- a/packages/blade/src/components/Icons/FileZipIcon/__snapshots__/FileZipIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/FileZipIcon/__snapshots__/FileZipIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render FileZipIcon 1`] = ` > should render FileZipIcon 1`] = ` /> should render FileZipIcon 1`] = ` /> should render FileZipIcon 1`] = ` should render FileZipIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/FilmIcon/FilmIcon.native.test.tsx b/packages/blade/src/components/Icons/FilmIcon/FilmIcon.native.test.tsx index 547710c169d..c4dcb6f3825 100644 --- a/packages/blade/src/components/Icons/FilmIcon/FilmIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/FilmIcon/FilmIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render FilmIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FilmIcon/FilmIcon.web.test.tsx b/packages/blade/src/components/Icons/FilmIcon/FilmIcon.web.test.tsx index b341c51373e..fe7474a74c0 100644 --- a/packages/blade/src/components/Icons/FilmIcon/FilmIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/FilmIcon/FilmIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render FilmIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FilmIcon/__snapshots__/FilmIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/FilmIcon/__snapshots__/FilmIcon.native.test.tsx.snap index db301e84b74..7557f7c2f5f 100644 --- a/packages/blade/src/components/Icons/FilmIcon/__snapshots__/FilmIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/FilmIcon/__snapshots__/FilmIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render FilmIcon 1`] = ` should render FilmIcon 1`] = ` clip-rule="evenodd" d="M4.18 1C2.42373 1 1 2.42374 1 4.18V19.82C1 21.5763 2.42374 23 4.18 23H19.82C21.5763 23 23 21.5763 23 19.82V4.18C23 2.42373 21.5763 1 19.82 1H4.18ZM21 6V4.18C21 3.5283 20.4717 3 19.82 3H18V6H21ZM18 8H21V11H18V8ZM16 3H8V11H16V3ZM21 13V16H18V13H21ZM21 18H18V21H19.82C20.4717 21 21 20.4717 21 19.82V18ZM16 13V21H8V13H16ZM3 18V19.82C3 20.4717 3.5283 21 4.18 21H6V18H3ZM6 16H3V13H6V16ZM3 11V8H6V11H3ZM3 6H6V3H4.18C3.5283 3 3 3.5283 3 4.18V6Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/FilterIcon/FilterIcon.native.test.tsx b/packages/blade/src/components/Icons/FilterIcon/FilterIcon.native.test.tsx index 588edc3c052..d206bc58dca 100644 --- a/packages/blade/src/components/Icons/FilterIcon/FilterIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/FilterIcon/FilterIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render FilterIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FilterIcon/FilterIcon.web.test.tsx b/packages/blade/src/components/Icons/FilterIcon/FilterIcon.web.test.tsx index 9130e36b3ae..d4eec8e005f 100644 --- a/packages/blade/src/components/Icons/FilterIcon/FilterIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/FilterIcon/FilterIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render FilterIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FilterIcon/__snapshots__/FilterIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/FilterIcon/__snapshots__/FilterIcon.native.test.tsx.snap index bc48e1c460f..7483e00f46d 100644 --- a/packages/blade/src/components/Icons/FilterIcon/__snapshots__/FilterIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/FilterIcon/__snapshots__/FilterIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render FilterIcon 1`] = ` should render FilterIcon 1`] = ` clip-rule="evenodd" d="M1.0929 2.57912C1.25675 2.22596 1.61069 2 2.00001 2H22C22.3893 2 22.7433 2.22596 22.9071 2.57912C23.071 2.93229 23.015 3.34845 22.7636 3.64573L15 12.8261V21C15 21.3466 14.8206 21.6684 14.5257 21.8507C14.2309 22.0329 13.8628 22.0494 13.5528 21.8944L9.5528 19.8944C9.21402 19.725 9.00001 19.3788 9.00001 19V12.8261L1.23644 3.64573C0.985046 3.34845 0.929037 2.93229 1.0929 2.57912ZM4.15532 4L10.7636 11.8143C10.9162 11.9948 11 12.2236 11 12.46V18.382L13 19.382V12.46C13 12.2236 13.0838 11.9948 13.2364 11.8143L19.8447 4H4.15532Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/FlagIcon/FlagIcon.native.test.tsx b/packages/blade/src/components/Icons/FlagIcon/FlagIcon.native.test.tsx index 800a43b6558..374658d01a8 100644 --- a/packages/blade/src/components/Icons/FlagIcon/FlagIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/FlagIcon/FlagIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render FlagIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FlagIcon/FlagIcon.web.test.tsx b/packages/blade/src/components/Icons/FlagIcon/FlagIcon.web.test.tsx index 3cb3b0e1741..2553a6c77a7 100644 --- a/packages/blade/src/components/Icons/FlagIcon/FlagIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/FlagIcon/FlagIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render FlagIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FlagIcon/__snapshots__/FlagIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/FlagIcon/__snapshots__/FlagIcon.native.test.tsx.snap index b5070adde24..382c60300c2 100644 --- a/packages/blade/src/components/Icons/FlagIcon/__snapshots__/FlagIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/FlagIcon/__snapshots__/FlagIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render FlagIcon 1`] = ` should render FlagIcon 1`] = ` clip-rule="evenodd" d="M8 1C6.70808 1 5.6887 1.17938 4.92329 1.4216C4.18729 1.65451 3.61805 1.96773 3.29289 2.29289C3.10536 2.48043 3 2.73478 3 3V22C3 22.5523 3.44772 23 4 23C4.55228 23 5 22.5523 5 22V15.5337C5.13381 15.469 5.30833 15.3975 5.52671 15.3284C6.07797 15.154 6.89192 15 8 15C9.28069 15 10.3605 15.4212 11.6286 15.9285L11.6843 15.9508C12.8931 16.4344 14.283 16.9906 15.9575 16.9999C16.6651 17.0523 17.5752 16.8465 18.313 16.6373C19.1141 16.4102 19.8957 16.1234 20.3792 15.9253C20.7547 15.7714 21 15.4058 21 15V3C21 2.61559 20.7797 2.26522 20.4332 2.0987C20.0867 1.93218 19.6755 1.979 19.3753 2.21913C19.0653 2.46712 18.5071 2.67878 17.8039 2.81942C17.1286 2.95448 16.4454 3 16 3C14.7193 3 13.6395 2.57876 12.3714 2.07152L12.3157 2.04923C11.0967 1.56148 9.69345 1 8 1ZM5 13.3978V3.53374C5.13381 3.46899 5.30833 3.39751 5.52671 3.3284C6.07797 3.15395 6.89192 3 8 3C9.28069 3 10.3605 3.42124 11.6286 3.92848L11.6843 3.95077C12.9033 4.43852 14.3066 5 16 5C16.5546 5 17.3714 4.94552 18.1961 4.78058C18.4534 4.72912 18.7258 4.66421 19 4.58132V14.313C18.6326 14.4462 18.2014 14.5901 17.7675 14.7131C17.0044 14.9295 16.3952 15.0324 16.0926 15.0043C16.0618 15.0014 16.0309 15 16 15C14.7193 15 13.6395 14.5788 12.3714 14.0715L12.3157 14.0492C11.0967 13.5615 9.69345 13 8 13C6.75077 13 5.75636 13.1677 5 13.3978Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/FolderIcon/FolderIcon.native.test.tsx b/packages/blade/src/components/Icons/FolderIcon/FolderIcon.native.test.tsx index df5db9cd865..ed69d8ac696 100644 --- a/packages/blade/src/components/Icons/FolderIcon/FolderIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/FolderIcon/FolderIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render FolderIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FolderIcon/FolderIcon.web.test.tsx b/packages/blade/src/components/Icons/FolderIcon/FolderIcon.web.test.tsx index af28aaa1964..23448f628ca 100644 --- a/packages/blade/src/components/Icons/FolderIcon/FolderIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/FolderIcon/FolderIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render FolderIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FolderIcon/__snapshots__/FolderIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/FolderIcon/__snapshots__/FolderIcon.native.test.tsx.snap index ad6ab19a436..ee0f2f7bc04 100644 --- a/packages/blade/src/components/Icons/FolderIcon/__snapshots__/FolderIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/FolderIcon/__snapshots__/FolderIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render FolderIcon 1`] = ` should render FolderIcon 1`] = ` clip-rule="evenodd" d="M4 4C3.44772 4 3 4.44772 3 5V19C3 19.5523 3.44772 20 4 20H20C20.5523 20 21 19.5523 21 19V8C21 7.44772 20.5523 7 20 7H11C10.6656 7 10.3534 6.8329 10.1679 6.5547L8.46482 4H4ZM1 5C1 3.34315 2.34315 2 4 2H9C9.33435 2 9.64658 2.1671 9.83205 2.4453L11.5352 5H20C21.6569 5 23 6.34315 23 8V19C23 20.6569 21.6569 22 20 22H4C2.34315 22 1 20.6569 1 19V5Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/FullScreenEnterIcon/FullScreenEnterIcon.native.test.tsx b/packages/blade/src/components/Icons/FullScreenEnterIcon/FullScreenEnterIcon.native.test.tsx index 7251117d146..434a57d5a3d 100644 --- a/packages/blade/src/components/Icons/FullScreenEnterIcon/FullScreenEnterIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/FullScreenEnterIcon/FullScreenEnterIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render FullScreenEnterIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FullScreenEnterIcon/FullScreenEnterIcon.web.test.tsx b/packages/blade/src/components/Icons/FullScreenEnterIcon/FullScreenEnterIcon.web.test.tsx index 235a6d000c5..038858afdd6 100644 --- a/packages/blade/src/components/Icons/FullScreenEnterIcon/FullScreenEnterIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/FullScreenEnterIcon/FullScreenEnterIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render FullScreenEnterIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FullScreenEnterIcon/__snapshots__/FullScreenEnterIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/FullScreenEnterIcon/__snapshots__/FullScreenEnterIcon.native.test.tsx.snap index af4fcb8ee46..a75c1a6413a 100644 --- a/packages/blade/src/components/Icons/FullScreenEnterIcon/__snapshots__/FullScreenEnterIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/FullScreenEnterIcon/__snapshots__/FullScreenEnterIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render FullScreenEnterIcon 1`] = ` should render FullScreenEnterIcon 1`] = ` clip-rule="evenodd" d="M2 5C2 3.34315 3.34315 2 5 2H8C8.55228 2 9 2.44772 9 3C9 3.55228 8.55228 4 8 4H5C4.44772 4 4 4.44772 4 5V8C4 8.55228 3.55228 9 3 9C2.44772 9 2 8.55228 2 8V5ZM15 3C15 2.44772 15.4477 2 16 2H19C20.6569 2 22 3.34315 22 5V8C22 8.55228 21.5523 9 21 9C20.4477 9 20 8.55228 20 8V5C20 4.44772 19.5523 4 19 4H16C15.4477 4 15 3.55228 15 3ZM3 15C3.55228 15 4 15.4477 4 16V19C4 19.5523 4.44772 20 5 20H8C8.55228 20 9 20.4477 9 21C9 21.5523 8.55228 22 8 22H5C3.34315 22 2 20.6569 2 19V16C2 15.4477 2.44772 15 3 15ZM21 15C21.5523 15 22 15.4477 22 16V19C22 20.6569 20.6569 22 19 22H16C15.4477 22 15 21.5523 15 21C15 20.4477 15.4477 20 16 20H19C19.5523 20 20 19.5523 20 19V16C20 15.4477 20.4477 15 21 15Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/FullScreenExitIcon/FullScreenExitIcon.native.test.tsx b/packages/blade/src/components/Icons/FullScreenExitIcon/FullScreenExitIcon.native.test.tsx index b9518b88db0..d43ab4d4577 100644 --- a/packages/blade/src/components/Icons/FullScreenExitIcon/FullScreenExitIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/FullScreenExitIcon/FullScreenExitIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render FullScreenExitIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FullScreenExitIcon/FullScreenExitIcon.web.test.tsx b/packages/blade/src/components/Icons/FullScreenExitIcon/FullScreenExitIcon.web.test.tsx index 0689f476ffe..d5654f8cc06 100644 --- a/packages/blade/src/components/Icons/FullScreenExitIcon/FullScreenExitIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/FullScreenExitIcon/FullScreenExitIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render FullScreenExitIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/FullScreenExitIcon/__snapshots__/FullScreenExitIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/FullScreenExitIcon/__snapshots__/FullScreenExitIcon.native.test.tsx.snap index b4453974449..49f4a84e30f 100644 --- a/packages/blade/src/components/Icons/FullScreenExitIcon/__snapshots__/FullScreenExitIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/FullScreenExitIcon/__snapshots__/FullScreenExitIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render FullScreenExitIcon 1`] = ` should render FullScreenExitIcon 1`] = ` clip-rule="evenodd" d="M8 2C8.55228 2 9 2.44772 9 3V6C9 7.65685 7.65685 9 6 9H3C2.44772 9 2 8.55228 2 8C2 7.44772 2.44772 7 3 7H6C6.55228 7 7 6.55228 7 6V3C7 2.44772 7.44772 2 8 2ZM16 2C16.5523 2 17 2.44772 17 3V6C17 6.55228 17.4477 7 18 7H21C21.5523 7 22 7.44772 22 8C22 8.55228 21.5523 9 21 9H18C16.3431 9 15 7.65685 15 6V3C15 2.44772 15.4477 2 16 2ZM2 16C2 15.4477 2.44772 15 3 15H6C7.65685 15 9 16.3431 9 18V21C9 21.5523 8.55228 22 8 22C7.44772 22 7 21.5523 7 21V18C7 17.4477 6.55228 17 6 17H3C2.44772 17 2 16.5523 2 16ZM18 17C17.4477 17 17 17.4477 17 18V21C17 21.5523 16.5523 22 16 22C15.4477 22 15 21.5523 15 21V18C15 16.3431 16.3431 15 18 15H21C21.5523 15 22 15.4477 22 16C22 16.5523 21.5523 17 21 17H18Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/GithubIcon/GithubIcon.native.test.tsx b/packages/blade/src/components/Icons/GithubIcon/GithubIcon.native.test.tsx index d1b18a4ebca..695b6067518 100644 --- a/packages/blade/src/components/Icons/GithubIcon/GithubIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/GithubIcon/GithubIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render GithubIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/GithubIcon/GithubIcon.web.test.tsx b/packages/blade/src/components/Icons/GithubIcon/GithubIcon.web.test.tsx index 173b6d30818..e12a9d0ee68 100644 --- a/packages/blade/src/components/Icons/GithubIcon/GithubIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/GithubIcon/GithubIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render GithubIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/GithubIcon/__snapshots__/GithubIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/GithubIcon/__snapshots__/GithubIcon.native.test.tsx.snap index 882962cd9e6..1420e156966 100644 --- a/packages/blade/src/components/Icons/GithubIcon/__snapshots__/GithubIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/GithubIcon/__snapshots__/GithubIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render GithubIcon 1`] = ` should render GithubIcon 1`] = ` name="clip0_83_562" > should render GithubIcon 1`] = ` clip-rule="evenodd" d="M17.855 1.3197C18.6995 1.07098 19.5002 0.991837 20.016 1.00009C20.4706 1.00736 20.863 1.32035 20.9712 1.76191C21.1356 2.43264 21.3702 4.00944 21.0918 5.49254C22.2038 6.87887 22.4888 8.6263 22.4997 9.45102C22.6099 10.7149 22.379 12.5853 21.3146 14.2274C20.4058 15.6295 18.9314 16.7975 16.7173 17.2922C16.9451 17.8826 17.0445 18.5218 17 19.1667V23C17 23.5522 16.5523 24 16 24C15.4477 24 15 23.5522 15 23V19.13C15 19.1038 15.001 19.0776 15.0031 19.0515C15.0564 18.3732 14.8156 17.7046 14.342 17.216C14.071 16.9365 13.9869 16.5251 14.1264 16.1616C14.2659 15.7981 14.6037 15.5487 14.9922 15.5223C17.5206 15.3504 18.8877 14.2945 19.6364 13.1395C20.4188 11.9324 20.5913 10.5102 20.5045 9.59434C20.5015 9.56297 20.5 9.53147 20.5 9.49996C20.5 8.89998 20.2339 7.41808 19.2929 6.47707C19.0353 6.2195 18.9382 5.84224 19.0393 5.4923C19.2623 4.7209 19.2468 3.78298 19.1677 3.06904C18.9367 3.10635 18.6823 3.16097 18.42 3.23822C17.7705 3.42953 17.1522 3.73607 16.7118 4.18237C16.4584 4.43907 16.0865 4.53948 15.7384 4.44514C13.6177 3.87039 11.3823 3.87039 9.26158 4.44514C8.96211 4.5263 8.64193 4.46386 8.39491 4.27612C7.46998 3.57317 6.49906 3.23806 5.81162 3.09413C5.75353 3.69573 5.7542 4.56301 5.97577 5.55118C6.04434 5.85703 5.96554 6.17735 5.76289 6.41648C4.7433 7.61959 4.49999 9.05073 4.49999 9.51996C4.49999 9.55384 4.49827 9.5877 4.49483 9.62141C4.41128 10.4408 4.5746 11.7702 5.35916 12.9592C6.11745 14.1084 7.51271 15.2143 10.0734 15.5589C10.4473 15.6092 10.761 15.8657 10.8847 16.2221C11.0084 16.5786 10.921 16.9743 10.6586 17.2454C10.1907 17.7289 9.95032 18.3886 9.99753 19.0598C9.99917 19.0832 9.99999 19.1066 9.99999 19.13V19.9775C10.0003 19.9928 10.0003 20.008 9.99999 20.0232V23C9.99999 23.5522 9.55228 24 8.99999 24C8.44771 24 7.99999 23.5522 7.99999 23V21.2543C7.19382 21.3776 6.48439 21.3564 5.85023 21.208C4.88546 20.9822 4.19642 20.4856 3.66789 19.9571C3.40924 19.6984 3.18642 19.4295 2.99387 19.1883C2.92845 19.1064 2.86866 19.0304 2.81216 18.9587C2.69174 18.8058 2.58628 18.6719 2.47312 18.5391C2.14508 18.154 1.94159 18.0161 1.75746 17.9701C1.22166 17.8362 0.895901 17.2932 1.02985 16.7574C1.1638 16.2216 1.70673 15.8959 2.24253 16.0298C3.0584 16.2338 3.60491 16.7835 3.99561 17.2421C4.13475 17.4055 4.27845 17.5879 4.41008 17.7549C4.46116 17.8198 4.51042 17.8823 4.55689 17.9405C4.73544 18.1642 4.90324 18.364 5.0821 18.5429C5.42857 18.8893 5.80202 19.1427 6.306 19.2606C6.70619 19.3543 7.24823 19.3763 7.99999 19.2232V19.1628C7.95909 18.5005 8.06983 17.8452 8.31522 17.2434C6.08068 16.6375 4.60183 15.4429 3.68982 14.0607C2.62899 12.453 2.38836 10.6737 2.50044 9.46691C2.51372 8.66198 2.82748 7.01403 3.9295 5.51322C3.62503 3.76748 3.84423 2.32145 4.04887 1.69115C4.1804 1.28602 4.55413 1.00868 4.98 1.00016C5.78253 0.984108 7.52234 1.26931 9.2036 2.397C11.3496 1.89158 13.583 1.88649 15.7308 2.38172C16.4022 1.85092 17.1693 1.52164 17.855 1.3197Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> @@ -32,7 +32,7 @@ exports[` should render GithubIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/GitlabIcon/GitlabIcon.native.test.tsx b/packages/blade/src/components/Icons/GitlabIcon/GitlabIcon.native.test.tsx index 81bf4a2b39c..d46ddc954af 100644 --- a/packages/blade/src/components/Icons/GitlabIcon/GitlabIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/GitlabIcon/GitlabIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render GitlabIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/GitlabIcon/GitlabIcon.web.test.tsx b/packages/blade/src/components/Icons/GitlabIcon/GitlabIcon.web.test.tsx index edfe3270cb8..67c10cbfd94 100644 --- a/packages/blade/src/components/Icons/GitlabIcon/GitlabIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/GitlabIcon/GitlabIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render GitlabIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/GitlabIcon/__snapshots__/GitlabIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/GitlabIcon/__snapshots__/GitlabIcon.native.test.tsx.snap index fa3df38250d..7b10649a7ef 100644 --- a/packages/blade/src/components/Icons/GitlabIcon/__snapshots__/GitlabIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/GitlabIcon/__snapshots__/GitlabIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render GitlabIcon 1`] = ` should render GitlabIcon 1`] = ` name="clip0_83_564" > should render GitlabIcon 1`] = ` clip-rule="evenodd" d="M4.55666 2.48185C4.55545 2.47814 4.55427 2.4744 4.55313 2.47066L4.55666 2.48185ZM5.10751 4.17305L6.9992 9.97995C7.13331 10.3916 7.51708 10.6702 7.95002 10.6702H16.05C16.4833 10.6702 16.8672 10.3912 17.0011 9.97921L18.8868 4.1753L20.779 9.9992L22.0032 13.6241L12 20.894L2.0356 13.6523L5.10751 4.17305ZM19.2708 2.74187L19.2744 2.73855C19.2732 2.73967 19.272 2.74077 19.2708 2.74187ZM4.14742 1.2602C4.69363 0.762976 5.52888 0.763529 6.07444 1.26186C6.08139 1.2682 6.08824 1.27464 6.09501 1.28118C6.26559 1.44605 6.39209 1.65099 6.46305 1.87722L8.67598 8.67021H15.3235L17.539 1.8512C17.5446 1.8338 17.5507 1.81656 17.5573 1.79949C17.6371 1.59337 17.7638 1.4087 17.9274 1.2602C18.4736 0.762976 19.3089 0.763529 19.8544 1.26186C19.8614 1.2682 19.8682 1.27464 19.875 1.28118C20.0457 1.44617 20.1723 1.65128 20.2432 1.87771L22.6793 9.3756L23.9474 13.1302C23.952 13.1436 23.9562 13.157 23.9601 13.1706C24.1844 13.9406 23.8839 14.7659 23.2203 15.212L12.5879 22.9391C12.2374 23.1939 11.7627 23.1939 11.4121 22.9391L0.762123 15.1991L0.757562 15.1958C0.117075 14.7248 -0.148318 13.8958 0.0991758 13.1405L3.75896 1.8512C3.76462 1.8338 3.77075 1.81656 3.77735 1.79949C3.85706 1.59337 3.98379 1.40871 4.14742 1.2602Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> @@ -32,7 +32,7 @@ exports[` should render GitlabIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/GlobeIcon/GlobeIcon.native.test.tsx b/packages/blade/src/components/Icons/GlobeIcon/GlobeIcon.native.test.tsx index e6f3c692cc1..7ab57f9481a 100644 --- a/packages/blade/src/components/Icons/GlobeIcon/GlobeIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/GlobeIcon/GlobeIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render GlobeIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/GlobeIcon/GlobeIcon.web.test.tsx b/packages/blade/src/components/Icons/GlobeIcon/GlobeIcon.web.test.tsx index be4286e4e59..e49d03fb64e 100644 --- a/packages/blade/src/components/Icons/GlobeIcon/GlobeIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/GlobeIcon/GlobeIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render GlobeIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/GlobeIcon/__snapshots__/GlobeIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/GlobeIcon/__snapshots__/GlobeIcon.native.test.tsx.snap index a6f9bfcb1d4..db58456a2c9 100644 --- a/packages/blade/src/components/Icons/GlobeIcon/__snapshots__/GlobeIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/GlobeIcon/__snapshots__/GlobeIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render GlobeIcon 1`] = ` should render GlobeIcon 1`] = ` clip-rule="evenodd" d="M12.0118 1C18.0815 1.00638 23 5.9288 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92864 5.91875 1.00612 11.9887 1M16.9499 11C16.7257 8.23681 15.8009 5.58442 14.2743 3.28983C17.8312 4.21598 20.532 7.26324 20.9451 11H16.9499ZM14.9424 11C14.6912 8.28682 13.6697 5.70191 12 3.55077C10.3303 5.70191 9.30878 8.28682 9.05759 11H14.9424ZM9.05759 13H14.9424C14.6912 15.7132 13.6697 18.298 12 20.4492C10.3303 18.298 9.30879 15.7132 9.05759 13ZM7.05009 11H3.05493C3.46801 7.26324 6.1688 4.21598 9.72569 3.28983C8.19909 5.58442 7.27429 8.23681 7.05009 11ZM7.05009 13C7.2743 15.7632 8.19911 18.4156 9.72572 20.7102C6.16881 19.784 3.46801 16.7368 3.05493 13H7.05009ZM14.2743 20.7102C15.8009 18.4156 16.7257 15.7632 16.9499 13H20.9451C20.532 16.7368 17.8312 19.784 14.2743 20.7102Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/GridIcon/GridIcon.native.test.tsx b/packages/blade/src/components/Icons/GridIcon/GridIcon.native.test.tsx index ee8c6d628d8..1d266296ab6 100644 --- a/packages/blade/src/components/Icons/GridIcon/GridIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/GridIcon/GridIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render GridIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/GridIcon/GridIcon.web.test.tsx b/packages/blade/src/components/Icons/GridIcon/GridIcon.web.test.tsx index bc5729452e8..504c71c6a32 100644 --- a/packages/blade/src/components/Icons/GridIcon/GridIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/GridIcon/GridIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render GridIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/GridIcon/__snapshots__/GridIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/GridIcon/__snapshots__/GridIcon.native.test.tsx.snap index b7a6dfad290..d0192d5f0c2 100644 --- a/packages/blade/src/components/Icons/GridIcon/__snapshots__/GridIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/GridIcon/__snapshots__/GridIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render GridIcon 1`] = ` should render GridIcon 1`] = ` should render GridIcon 1`] = ` should render GridIcon 1`] = ` should render GridIcon 1`] = ` clip-rule="evenodd" d="M3 2C2.44772 2 2 2.44772 2 3V10C2 10.5523 2.44772 11 3 11H10C10.5523 11 11 10.5523 11 10V3C11 2.44772 10.5523 2 10 2H3ZM4 9V4H9V9H4Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/HashIcon/HashIcon.native.test.tsx b/packages/blade/src/components/Icons/HashIcon/HashIcon.native.test.tsx index d15e177bfb2..d981b4a4f90 100644 --- a/packages/blade/src/components/Icons/HashIcon/HashIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/HashIcon/HashIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render HashIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/HashIcon/HashIcon.web.test.tsx b/packages/blade/src/components/Icons/HashIcon/HashIcon.web.test.tsx index 47d30de6d9d..639d1d2c21e 100644 --- a/packages/blade/src/components/Icons/HashIcon/HashIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/HashIcon/HashIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render HashIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/HashIcon/__snapshots__/HashIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/HashIcon/__snapshots__/HashIcon.native.test.tsx.snap index 5e54be0fb66..a765c2761a8 100644 --- a/packages/blade/src/components/Icons/HashIcon/__snapshots__/HashIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/HashIcon/__snapshots__/HashIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render HashIcon 1`] = ` should render HashIcon 1`] = ` clip-rule="evenodd" d="M10.1104 2.00608C10.6593 2.06707 11.0548 2.56149 10.9938 3.1104L10.4506 7.99994H14.4383L15.0061 2.88953C15.0671 2.34063 15.5615 1.94509 16.1104 2.00608C16.6593 2.06707 17.0548 2.56149 16.9938 3.1104L16.4506 7.99994H20C20.5523 7.99994 21 8.44765 21 8.99994C21 9.55222 20.5523 9.99994 20 9.99994H16.2283L15.7839 13.9999H20C20.5523 13.9999 21 14.4477 21 14.9999C21 15.5522 20.5523 15.9999 20 15.9999H15.5617L14.9938 21.1104C14.9329 21.6593 14.4384 22.0548 13.8895 21.9938C13.3406 21.9329 12.9451 21.4384 13.0061 20.8895L13.5494 15.9999H9.56168L8.99385 21.1104C8.93286 21.6593 8.43844 22.0548 7.88953 21.9938C7.34063 21.9329 6.94509 21.4384 7.00608 20.8895L7.54937 15.9999H4C3.44772 15.9999 3 15.5522 3 14.9999C3 14.4477 3.44772 13.9999 4 13.9999H7.77159L8.21604 9.99994H4C3.44772 9.99994 3 9.55222 3 8.99994C3 8.44765 3.44772 7.99994 4 7.99994H8.43826L9.00608 2.88953C9.06707 2.34063 9.56149 1.94509 10.1104 2.00608ZM13.7716 13.9999L14.216 9.99994H10.2283L9.7839 13.9999H13.7716Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/HeadphonesIcon/HeadphonesIcon.native.test.tsx b/packages/blade/src/components/Icons/HeadphonesIcon/HeadphonesIcon.native.test.tsx index 589b692c981..635900d02f7 100644 --- a/packages/blade/src/components/Icons/HeadphonesIcon/HeadphonesIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/HeadphonesIcon/HeadphonesIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render HeadphonesIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/HeadphonesIcon/HeadphonesIcon.web.test.tsx b/packages/blade/src/components/Icons/HeadphonesIcon/HeadphonesIcon.web.test.tsx index 5ec7815df60..9c064b93a81 100644 --- a/packages/blade/src/components/Icons/HeadphonesIcon/HeadphonesIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/HeadphonesIcon/HeadphonesIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render HeadphonesIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/HeadphonesIcon/__snapshots__/HeadphonesIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/HeadphonesIcon/__snapshots__/HeadphonesIcon.native.test.tsx.snap index 755fddd113a..58c8bba8a94 100644 --- a/packages/blade/src/components/Icons/HeadphonesIcon/__snapshots__/HeadphonesIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/HeadphonesIcon/__snapshots__/HeadphonesIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render HeadphonesIcon 1`] = ` should render HeadphonesIcon 1`] = ` clip-rule="evenodd" d="M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12V13H18C16.3431 13 15 14.3431 15 16V19C15 20.6569 16.3431 22 18 22H19C20.6569 22 22 20.6569 22 19V12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12V19C2 20.6569 3.34315 22 5 22H6C7.65685 22 9 20.6569 9 19V16C9 14.3431 7.65685 13 6 13H4V12ZM4 15V19C4 19.5523 4.44772 20 5 20H6C6.55228 20 7 19.5523 7 19V16C7 15.4477 6.55228 15 6 15H4ZM20 15H18C17.4477 15 17 15.4477 17 16V19C17 19.5523 17.4477 20 18 20H19C19.5523 20 20 19.5523 20 19V15Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/HeartIcon/HeartIcon.native.test.tsx b/packages/blade/src/components/Icons/HeartIcon/HeartIcon.native.test.tsx index 7a1656b959d..977eea840ef 100644 --- a/packages/blade/src/components/Icons/HeartIcon/HeartIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/HeartIcon/HeartIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render HeartIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/HeartIcon/HeartIcon.web.test.tsx b/packages/blade/src/components/Icons/HeartIcon/HeartIcon.web.test.tsx index 3a09473d8f6..b0ee88affe8 100644 --- a/packages/blade/src/components/Icons/HeartIcon/HeartIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/HeartIcon/HeartIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render HeartIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/HeartIcon/__snapshots__/HeartIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/HeartIcon/__snapshots__/HeartIcon.native.test.tsx.snap index d990a52891a..aa9e83d45c7 100644 --- a/packages/blade/src/components/Icons/HeartIcon/__snapshots__/HeartIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/HeartIcon/__snapshots__/HeartIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render HeartIcon 1`] = ` should render HeartIcon 1`] = ` clip-rule="evenodd" d="M12.3529 3.90289C13.5719 2.68335 15.2256 1.99817 16.95 1.99817C18.6743 1.99817 20.3279 2.68328 21.5469 3.90272C22.7664 5.12176 23.4518 6.77572 23.4518 8.49999C23.4518 10.2244 22.7666 11.878 21.5471 13.0971C21.547 13.0972 21.5472 13.097 21.5471 13.0971L12.7071 21.9371C12.3166 22.3276 11.6834 22.3276 11.2929 21.9371L2.45289 13.0971C-0.086022 10.5582 -0.0860219 6.4418 2.45289 3.90289C4.9918 1.36398 9.10819 1.36398 11.6471 3.90289L12 4.25578L12.3529 3.90289C12.3529 3.90283 12.3528 3.90294 12.3529 3.90289ZM16.95 3.99817C15.7562 3.99817 14.6112 4.47256 13.7673 5.31694L12.7071 6.3771C12.5196 6.56464 12.2652 6.66999 12 6.66999C11.7348 6.66999 11.4804 6.56464 11.2929 6.3771L10.2329 5.3171C8.47503 3.55924 5.62497 3.55924 3.8671 5.3171C2.10924 7.07497 2.10924 9.92502 3.8671 11.6829L12 19.8158L20.1329 11.6829C20.9773 10.8389 21.4518 9.69383 21.4518 8.49999C21.4518 7.30615 20.9774 6.16124 20.1331 5.31727C19.2891 4.4729 18.1438 3.99817 16.95 3.99817Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/HelpCircleIcon/HelpCircleIcon.native.test.tsx b/packages/blade/src/components/Icons/HelpCircleIcon/HelpCircleIcon.native.test.tsx index 027cbb6c53d..b574b3dfdd5 100644 --- a/packages/blade/src/components/Icons/HelpCircleIcon/HelpCircleIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/HelpCircleIcon/HelpCircleIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render HelpCircleIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/HelpCircleIcon/HelpCircleIcon.web.test.tsx b/packages/blade/src/components/Icons/HelpCircleIcon/HelpCircleIcon.web.test.tsx index 9937eef9891..13dcc5ee329 100644 --- a/packages/blade/src/components/Icons/HelpCircleIcon/HelpCircleIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/HelpCircleIcon/HelpCircleIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render HelpCircleIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/HelpCircleIcon/__snapshots__/HelpCircleIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/HelpCircleIcon/__snapshots__/HelpCircleIcon.native.test.tsx.snap index 708327f1811..a4fb0f27197 100644 --- a/packages/blade/src/components/Icons/HelpCircleIcon/__snapshots__/HelpCircleIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/HelpCircleIcon/__snapshots__/HelpCircleIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render HelpCircleIcon 1`] = ` > should render HelpCircleIcon 1`] = ` /> should render HelpCircleIcon 1`] = ` should render HelpCircleIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/HistoryIcon/HistoryIcon.native.test.tsx b/packages/blade/src/components/Icons/HistoryIcon/HistoryIcon.native.test.tsx index aebcac69fda..670d8a3c6b2 100644 --- a/packages/blade/src/components/Icons/HistoryIcon/HistoryIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/HistoryIcon/HistoryIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render HistoryIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/HistoryIcon/HistoryIcon.web.test.tsx b/packages/blade/src/components/Icons/HistoryIcon/HistoryIcon.web.test.tsx index 0cf62c0ade9..e1bb045b2c7 100644 --- a/packages/blade/src/components/Icons/HistoryIcon/HistoryIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/HistoryIcon/HistoryIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render HistoryIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/HistoryIcon/__snapshots__/HistoryIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/HistoryIcon/__snapshots__/HistoryIcon.native.test.tsx.snap index 6fd9ab9b9cd..0d35e051e85 100644 --- a/packages/blade/src/components/Icons/HistoryIcon/__snapshots__/HistoryIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/HistoryIcon/__snapshots__/HistoryIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render HistoryIcon 1`] = ` should render HistoryIcon 1`] = ` clip-rule="evenodd" d="M5.944 4.921a10 10 0 1 1-2.377 10.411 1 1 0 1 1 1.886-.664 8 8 0 1 0 1.872-8.3L4.475 9H8a1 1 0 1 1 0 2H2a1 1 0 0 1-1-1V4a1 1 0 1 1 2 0v3.64L5.944 4.92ZM12 6a1 1 0 0 1 1 1v5.586l2.707 2.707a1 1 0 0 1-1.414 1.414l-3-3A1 1 0 0 1 11 13V7a1 1 0 0 1 1-1Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/HomeIcon/HomeIcon.native.test.tsx b/packages/blade/src/components/Icons/HomeIcon/HomeIcon.native.test.tsx index 3a2278a7560..960d5658ac2 100644 --- a/packages/blade/src/components/Icons/HomeIcon/HomeIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/HomeIcon/HomeIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render HomeIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/HomeIcon/HomeIcon.web.test.tsx b/packages/blade/src/components/Icons/HomeIcon/HomeIcon.web.test.tsx index 51b9511886e..519cf6045b0 100644 --- a/packages/blade/src/components/Icons/HomeIcon/HomeIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/HomeIcon/HomeIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render HomeIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/HomeIcon/__snapshots__/HomeIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/HomeIcon/__snapshots__/HomeIcon.native.test.tsx.snap index f84bee48d6a..083bf5d1f6a 100644 --- a/packages/blade/src/components/Icons/HomeIcon/__snapshots__/HomeIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/HomeIcon/__snapshots__/HomeIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render HomeIcon 1`] = ` should render HomeIcon 1`] = ` clip-rule="evenodd" d="M12.6139 1.21065C12.2528 0.929784 11.7472 0.929784 11.3861 1.21065L2.38606 8.21065C2.14247 8.4001 2 8.69141 2 9V20C2 21.6569 3.34315 23 5 23H19C20.6569 23 22 21.6569 22 20V9C22 8.69141 21.8575 8.4001 21.6139 8.21065L12.6139 1.21065ZM16 21H19C19.5523 21 20 20.5523 20 20V9.48908L12 3.26686L4 9.48908V20C4 20.5523 4.44772 21 5 21H8V12C8 11.4477 8.44772 11 9 11H15C15.5523 11 16 11.4477 16 12V21ZM10 21V13H14V21H10Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/Icons.stories.tsx b/packages/blade/src/components/Icons/Icons.stories.tsx index 9ddb70a594e..976c9c1a95f 100644 --- a/packages/blade/src/components/Icons/Icons.stories.tsx +++ b/packages/blade/src/components/Icons/Icons.stories.tsx @@ -17,12 +17,7 @@ const Page = (): ReactElement => { apiDecisionLink="" note="Blade consists of a limited set of icons that are commonly used however you can contribute to Blade by adding more icons that are available on the Figma board as and when a use case arises. **See the adding icons section below for reference.**" imports={`// Replace IconName with actual Icon's name that you would like to use \nimport { IconName } from '@razorpay/blade/components' \n// IconProps are generic Icon props for all icons, don't replace it with your IconName \nimport type { IconProps } from '@razorpay/blade/components'`} - figmaURL={{ - paymentTheme: - 'https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?node-id=59%3A177', - bankingTheme: - 'https://www.figma.com/file/sAdplk2uYnI2ILnDKUxycW/Blade---Banking-Dark?node-id=9308%3A64839', - }} + figmaURL="https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?node-id=59%3A177" > Usage @@ -84,14 +79,14 @@ export default { title: 'Components/Icons', component: PlusIcon, // need to give it some icon component so that storybook can infer props & arg types args: { - color: 'surface.text.normal.lowContrast', + color: 'surface.icon.gray.normal', size: 'medium', }, tags: ['autodocs'], argTypes: { icon: { name: 'icon', - type: 'select', + type: 'select' as 'string', options: Object.keys(iconMap), }, size: { diff --git a/packages/blade/src/components/Icons/ImageIcon/ImageIcon.native.test.tsx b/packages/blade/src/components/Icons/ImageIcon/ImageIcon.native.test.tsx index 5f401814272..a0a5d505773 100644 --- a/packages/blade/src/components/Icons/ImageIcon/ImageIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ImageIcon/ImageIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ImageIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ImageIcon/ImageIcon.web.test.tsx b/packages/blade/src/components/Icons/ImageIcon/ImageIcon.web.test.tsx index e93e06f74a8..7c69bd902d7 100644 --- a/packages/blade/src/components/Icons/ImageIcon/ImageIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ImageIcon/ImageIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ImageIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ImageIcon/__snapshots__/ImageIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ImageIcon/__snapshots__/ImageIcon.native.test.tsx.snap index 157415c9479..823972acb80 100644 --- a/packages/blade/src/components/Icons/ImageIcon/__snapshots__/ImageIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ImageIcon/__snapshots__/ImageIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ImageIcon 1`] = ` should render ImageIcon 1`] = ` should render ImageIcon 1`] = ` clip-rule="evenodd" d="M6 8.5C6 7.11929 7.11929 6 8.5 6C9.88071 6 11 7.11929 11 8.5C11 9.88071 9.88071 11 8.5 11C7.11929 11 6 9.88071 6 8.5ZM8.5 8C8.22386 8 8 8.22386 8 8.5C8 8.77614 8.22386 9 8.5 9C8.77614 9 9 8.77614 9 8.5C9 8.22386 8.77614 8 8.5 8Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/InboxIcon/InboxIcon.native.test.tsx b/packages/blade/src/components/Icons/InboxIcon/InboxIcon.native.test.tsx index 5dd4d0ac348..6d8087c7b25 100644 --- a/packages/blade/src/components/Icons/InboxIcon/InboxIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/InboxIcon/InboxIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render InboxIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/InboxIcon/InboxIcon.web.test.tsx b/packages/blade/src/components/Icons/InboxIcon/InboxIcon.web.test.tsx index 146f9987854..cd37ead47d1 100644 --- a/packages/blade/src/components/Icons/InboxIcon/InboxIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/InboxIcon/InboxIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render InboxIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/InboxIcon/__snapshots__/InboxIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/InboxIcon/__snapshots__/InboxIcon.native.test.tsx.snap index 3b08efe6854..f30ad389aae 100644 --- a/packages/blade/src/components/Icons/InboxIcon/__snapshots__/InboxIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/InboxIcon/__snapshots__/InboxIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render InboxIcon 1`] = ` should render InboxIcon 1`] = ` clip-rule="evenodd" d="M16.7 3H7.3003C6.1131 2.99946 5.03671 3.69961 4.55568 4.785L1.09497 12.5741C1.03406 12.7033 1 12.8477 1 13V18C1 19.6569 2.34315 21 4 21H20C21.6569 21 23 19.6569 23 18V13C23 12.9868 22.9997 12.9736 22.9992 12.9604C22.9938 12.8216 22.9601 12.69 22.9037 12.5713L19.4126 4.78105C19.4063 4.76715 19.3998 4.75339 19.3929 4.73979C19.2342 4.42502 18.938 4.0135 18.5158 3.67027C18.085 3.32012 17.4693 3 16.7 3ZM20.456 12L17.5993 5.62534C17.5516 5.53762 17.4313 5.36618 17.2542 5.22223C17.075 5.07655 16.8907 5 16.7 5L7.29932 5C6.90343 4.99973 6.54465 5.23303 6.38432 5.595L3.53856 12H8C8.33435 12 8.64658 12.1671 8.83205 12.4453L10.5352 15H13.4648L15.1679 12.4453C15.3534 12.1671 15.6656 12 16 12H20.456ZM3 14V18C3 18.5523 3.44772 19 4 19H20C20.5523 19 21 18.5523 21 18V14H16.5352L14.8321 16.5547C14.6466 16.8329 14.3344 17 14 17H10C9.66565 17 9.35342 16.8329 9.16795 16.5547L7.46482 14H3Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/InfoIcon/InfoIcon.native.test.tsx b/packages/blade/src/components/Icons/InfoIcon/InfoIcon.native.test.tsx index 29360118685..5710d51d7ea 100644 --- a/packages/blade/src/components/Icons/InfoIcon/InfoIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/InfoIcon/InfoIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render InfoIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/InfoIcon/InfoIcon.web.test.tsx b/packages/blade/src/components/Icons/InfoIcon/InfoIcon.web.test.tsx index 159a8c536c9..91b1caadfca 100644 --- a/packages/blade/src/components/Icons/InfoIcon/InfoIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/InfoIcon/InfoIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render InfoIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/InfoIcon/__snapshots__/InfoIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/InfoIcon/__snapshots__/InfoIcon.native.test.tsx.snap index f847cb6cae6..d7becca42e2 100644 --- a/packages/blade/src/components/Icons/InfoIcon/__snapshots__/InfoIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/InfoIcon/__snapshots__/InfoIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render InfoIcon 1`] = ` > should render InfoIcon 1`] = ` /> should render InfoIcon 1`] = ` should render InfoIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/InstagramIcon/InstagramIcon.native.test.tsx b/packages/blade/src/components/Icons/InstagramIcon/InstagramIcon.native.test.tsx index e474fed817f..7722383b0b5 100644 --- a/packages/blade/src/components/Icons/InstagramIcon/InstagramIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/InstagramIcon/InstagramIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render InstagramIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/InstagramIcon/InstagramIcon.web.test.tsx b/packages/blade/src/components/Icons/InstagramIcon/InstagramIcon.web.test.tsx index 0603e0615ff..0d37d46a424 100644 --- a/packages/blade/src/components/Icons/InstagramIcon/InstagramIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/InstagramIcon/InstagramIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render InstagramIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/InstagramIcon/__snapshots__/InstagramIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/InstagramIcon/__snapshots__/InstagramIcon.native.test.tsx.snap index d46bf6d250a..648ae989bec 100644 --- a/packages/blade/src/components/Icons/InstagramIcon/__snapshots__/InstagramIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/InstagramIcon/__snapshots__/InstagramIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render InstagramIcon 1`] = ` should render InstagramIcon 1`] = ` should render InstagramIcon 1`] = ` clip-rule="evenodd" d="M12.7766 7.0108C10.6429 6.69439 8.54684 7.78201 7.57705 9.70876C6.60727 11.6355 6.98243 13.967 8.50769 15.4922C10.033 17.0175 12.3644 17.3927 14.2912 16.4229C16.2179 15.4531 17.3055 13.357 16.9891 11.2233C16.6661 9.04457 14.9554 7.33387 12.7766 7.0108ZM9.36352 10.6079C9.94539 9.45189 11.203 8.79932 12.4833 8.98916C13.7905 9.18301 14.8169 10.2094 15.0108 11.5167C15.2006 12.7969 14.548 14.0545 13.392 14.6364C12.2359 15.2183 10.8371 14.9932 9.92191 14.078C9.00675 13.1629 8.78165 11.764 9.36352 10.6079Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/InvoicesIcon/InvoicesIcon.native.test.tsx b/packages/blade/src/components/Icons/InvoicesIcon/InvoicesIcon.native.test.tsx index 6592d0d2493..bf7b77efdf4 100644 --- a/packages/blade/src/components/Icons/InvoicesIcon/InvoicesIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/InvoicesIcon/InvoicesIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render InvoicesIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/InvoicesIcon/InvoicesIcon.web.test.tsx b/packages/blade/src/components/Icons/InvoicesIcon/InvoicesIcon.web.test.tsx index 641205c36f0..6e53a89b95b 100644 --- a/packages/blade/src/components/Icons/InvoicesIcon/InvoicesIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/InvoicesIcon/InvoicesIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render InvoicesIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/InvoicesIcon/__snapshots__/InvoicesIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/InvoicesIcon/__snapshots__/InvoicesIcon.native.test.tsx.snap index 4fcab15023e..875ecec550a 100644 --- a/packages/blade/src/components/Icons/InvoicesIcon/__snapshots__/InvoicesIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/InvoicesIcon/__snapshots__/InvoicesIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render InvoicesIcon 1`] = ` > should render InvoicesIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/ItalicIcon/ItalicIcon.native.test.tsx b/packages/blade/src/components/Icons/ItalicIcon/ItalicIcon.native.test.tsx index 3323336b057..2890d5b0fe7 100644 --- a/packages/blade/src/components/Icons/ItalicIcon/ItalicIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ItalicIcon/ItalicIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ItalicIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ItalicIcon/ItalicIcon.web.test.tsx b/packages/blade/src/components/Icons/ItalicIcon/ItalicIcon.web.test.tsx index ab3c531705a..7c10d4d7f36 100644 --- a/packages/blade/src/components/Icons/ItalicIcon/ItalicIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ItalicIcon/ItalicIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ItalicIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ItalicIcon/__snapshots__/ItalicIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ItalicIcon/__snapshots__/ItalicIcon.native.test.tsx.snap index 160c83d3db5..e53984af386 100644 --- a/packages/blade/src/components/Icons/ItalicIcon/__snapshots__/ItalicIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ItalicIcon/__snapshots__/ItalicIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ItalicIcon 1`] = ` > should render ItalicIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/LayersIcon/LayersIcon.native.test.tsx b/packages/blade/src/components/Icons/LayersIcon/LayersIcon.native.test.tsx index fc12be7c7da..9fe881ac82f 100644 --- a/packages/blade/src/components/Icons/LayersIcon/LayersIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/LayersIcon/LayersIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render LayersIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/LayersIcon/LayersIcon.web.test.tsx b/packages/blade/src/components/Icons/LayersIcon/LayersIcon.web.test.tsx index 994a81a2147..ee72bbde364 100644 --- a/packages/blade/src/components/Icons/LayersIcon/LayersIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/LayersIcon/LayersIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render LayersIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/LayersIcon/__snapshots__/LayersIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/LayersIcon/__snapshots__/LayersIcon.native.test.tsx.snap index d916f0b2543..cd4f7a26fbd 100644 --- a/packages/blade/src/components/Icons/LayersIcon/__snapshots__/LayersIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/LayersIcon/__snapshots__/LayersIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render LayersIcon 1`] = ` should render LayersIcon 1`] = ` /> should render LayersIcon 1`] = ` /> should render LayersIcon 1`] = ` clip-rule="evenodd" d="M11.5528 1.10557C11.8343 0.964809 12.1657 0.964809 12.4472 1.10557L22.4472 6.10557C22.786 6.27496 23 6.62123 23 7C23 7.37877 22.786 7.72504 22.4472 7.89443L12.4472 12.8944C12.1657 13.0352 11.8343 13.0352 11.5528 12.8944L1.55279 7.89443C1.214 7.72504 1 7.37877 1 7C1 6.62123 1.214 6.27496 1.55279 6.10557L11.5528 1.10557ZM4.23607 7L12 10.882L19.7639 7L12 3.11803L4.23607 7Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/LayoutIcon/LayoutIcon.native.test.tsx b/packages/blade/src/components/Icons/LayoutIcon/LayoutIcon.native.test.tsx index 34ed1ab27c6..a04ba0f5a8b 100644 --- a/packages/blade/src/components/Icons/LayoutIcon/LayoutIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/LayoutIcon/LayoutIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render LayoutIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/LayoutIcon/LayoutIcon.web.test.tsx b/packages/blade/src/components/Icons/LayoutIcon/LayoutIcon.web.test.tsx index ed3bf33d67f..b2c71a2ff90 100644 --- a/packages/blade/src/components/Icons/LayoutIcon/LayoutIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/LayoutIcon/LayoutIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render LayoutIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/LayoutIcon/__snapshots__/LayoutIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/LayoutIcon/__snapshots__/LayoutIcon.native.test.tsx.snap index 3fcfbdf2100..44fa25a865b 100644 --- a/packages/blade/src/components/Icons/LayoutIcon/__snapshots__/LayoutIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/LayoutIcon/__snapshots__/LayoutIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render LayoutIcon 1`] = ` should render LayoutIcon 1`] = ` clip-rule="evenodd" d="M2 5C2 3.34315 3.34315 2 5 2H19C20.6569 2 22 3.34315 22 5V19C22 20.6569 20.6569 22 19 22H5C3.34315 22 2 20.6569 2 19V5ZM10 20H19C19.5523 20 20 19.5523 20 19V10H10V20ZM8 10V20H5C4.44772 20 4 19.5523 4 19V10H8ZM20 8V5C20 4.44772 19.5523 4 19 4H5C4.44772 4 4 4.44772 4 5V8H20Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/LifeBuoyIcon/LifeBuoyIcon.native.test.tsx b/packages/blade/src/components/Icons/LifeBuoyIcon/LifeBuoyIcon.native.test.tsx index da8ddef2d64..3ed1f45ddfb 100644 --- a/packages/blade/src/components/Icons/LifeBuoyIcon/LifeBuoyIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/LifeBuoyIcon/LifeBuoyIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render LifeBuoyIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/LifeBuoyIcon/LifeBuoyIcon.web.test.tsx b/packages/blade/src/components/Icons/LifeBuoyIcon/LifeBuoyIcon.web.test.tsx index 60ab3531423..f27d20fd467 100644 --- a/packages/blade/src/components/Icons/LifeBuoyIcon/LifeBuoyIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/LifeBuoyIcon/LifeBuoyIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render LifeBuoyIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/LifeBuoyIcon/__snapshots__/LifeBuoyIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/LifeBuoyIcon/__snapshots__/LifeBuoyIcon.native.test.tsx.snap index a1ac681d44e..3afedae7a97 100644 --- a/packages/blade/src/components/Icons/LifeBuoyIcon/__snapshots__/LifeBuoyIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/LifeBuoyIcon/__snapshots__/LifeBuoyIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render LifeBuoyIcon 1`] = ` should render LifeBuoyIcon 1`] = ` clip-rule="evenodd" d="M1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM4.96813 6.38228C3.73648 7.92196 3 9.87497 3 12C3 14.125 3.73649 16.078 4.96813 17.6177L7.82842 14.7574C7.30489 13.967 7 13.0191 7 12C7 10.9809 7.30489 10.033 7.82842 9.24257L4.96813 6.38228ZM9.24265 16.1716L6.38235 19.0319C7.92202 20.2635 9.875 21 12 21C14.125 21 16.078 20.2635 17.6177 19.0319L14.7574 16.1716C13.9669 16.6951 13.0191 17 12 17C10.9809 17 10.0331 16.6951 9.24265 16.1716ZM21 12C21 14.125 20.2635 16.078 19.0319 17.6177L16.1716 14.7574C16.6951 13.967 17 13.0191 17 12C17 10.9809 16.6951 10.033 16.1716 9.24258L19.0319 6.38228C20.2635 7.92196 21 9.87497 21 12ZM17.6177 4.96808L14.7574 7.82838C13.9669 7.30487 13.0191 7 12 7C10.9809 7 10.0331 7.30487 9.24265 7.82837L6.38235 4.96807C7.92201 3.73646 9.875 3 12 3C14.125 3 16.078 3.73646 17.6177 4.96808ZM12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/LinkIcon/LinkIcon.native.test.tsx b/packages/blade/src/components/Icons/LinkIcon/LinkIcon.native.test.tsx index 16899d76101..9de5150dffe 100644 --- a/packages/blade/src/components/Icons/LinkIcon/LinkIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/LinkIcon/LinkIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render LinkIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/LinkIcon/LinkIcon.web.test.tsx b/packages/blade/src/components/Icons/LinkIcon/LinkIcon.web.test.tsx index 3d1dcad69b1..9901dd0c94b 100644 --- a/packages/blade/src/components/Icons/LinkIcon/LinkIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/LinkIcon/LinkIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render LinkIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/LinkIcon/__snapshots__/LinkIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/LinkIcon/__snapshots__/LinkIcon.native.test.tsx.snap index 884a11f7212..b72d09dc7a3 100644 --- a/packages/blade/src/components/Icons/LinkIcon/__snapshots__/LinkIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/LinkIcon/__snapshots__/LinkIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render LinkIcon 1`] = ` > should render LinkIcon 1`] = ` /> should render LinkIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/ListIcon/ListIcon.native.test.tsx b/packages/blade/src/components/Icons/ListIcon/ListIcon.native.test.tsx index 60f13846d11..746d3506f42 100644 --- a/packages/blade/src/components/Icons/ListIcon/ListIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ListIcon/ListIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ListIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ListIcon/ListIcon.web.test.tsx b/packages/blade/src/components/Icons/ListIcon/ListIcon.web.test.tsx index 6b633f54582..2cce7dd5300 100644 --- a/packages/blade/src/components/Icons/ListIcon/ListIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ListIcon/ListIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ListIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ListIcon/__snapshots__/ListIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ListIcon/__snapshots__/ListIcon.native.test.tsx.snap index 43259c6e924..e4510abc59e 100644 --- a/packages/blade/src/components/Icons/ListIcon/__snapshots__/ListIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ListIcon/__snapshots__/ListIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ListIcon 1`] = ` > should render ListIcon 1`] = ` /> should render ListIcon 1`] = ` /> should render ListIcon 1`] = ` /> should render ListIcon 1`] = ` /> should render ListIcon 1`] = ` /> should render ListIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/LoaderIcon/LoaderIcon.native.test.tsx b/packages/blade/src/components/Icons/LoaderIcon/LoaderIcon.native.test.tsx index 82c9e53e5f4..95aa214d125 100644 --- a/packages/blade/src/components/Icons/LoaderIcon/LoaderIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/LoaderIcon/LoaderIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render LoaderIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/LoaderIcon/LoaderIcon.web.test.tsx b/packages/blade/src/components/Icons/LoaderIcon/LoaderIcon.web.test.tsx index a4ee086db22..8fb822813b9 100644 --- a/packages/blade/src/components/Icons/LoaderIcon/LoaderIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/LoaderIcon/LoaderIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render LoaderIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/LoaderIcon/__snapshots__/LoaderIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/LoaderIcon/__snapshots__/LoaderIcon.native.test.tsx.snap index 4bc992d0bb1..b0a9b27da74 100644 --- a/packages/blade/src/components/Icons/LoaderIcon/__snapshots__/LoaderIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/LoaderIcon/__snapshots__/LoaderIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render LoaderIcon 1`] = ` > should render LoaderIcon 1`] = ` /> should render LoaderIcon 1`] = ` /> should render LoaderIcon 1`] = ` /> should render LoaderIcon 1`] = ` /> should render LoaderIcon 1`] = ` /> should render LoaderIcon 1`] = ` /> should render LoaderIcon 1`] = ` /> should render LoaderIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/LockIcon/LockIcon.native.test.tsx b/packages/blade/src/components/Icons/LockIcon/LockIcon.native.test.tsx index 8fa094e444e..1d8dd49e5cc 100644 --- a/packages/blade/src/components/Icons/LockIcon/LockIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/LockIcon/LockIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render LockIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/LockIcon/LockIcon.web.test.tsx b/packages/blade/src/components/Icons/LockIcon/LockIcon.web.test.tsx index 44f149c3fce..c7890a4408d 100644 --- a/packages/blade/src/components/Icons/LockIcon/LockIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/LockIcon/LockIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render LockIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/LockIcon/__snapshots__/LockIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/LockIcon/__snapshots__/LockIcon.native.test.tsx.snap index 4fca216d4f3..8ce18d38ca4 100644 --- a/packages/blade/src/components/Icons/LockIcon/__snapshots__/LockIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/LockIcon/__snapshots__/LockIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render LockIcon 1`] = ` should render LockIcon 1`] = ` clip-rule="evenodd" d="M6 10V7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7V10H19C20.6569 10 22 11.3431 22 13V20C22 21.6569 20.6569 23 19 23H5C3.34315 23 2 21.6569 2 20V13C2 11.3431 3.34315 10 5 10H6ZM8 7C8 4.79086 9.79086 3 12 3C14.2091 3 16 4.79086 16 7V10H8V7ZM5 12C4.44772 12 4 12.4477 4 13V20C4 20.5523 4.44772 21 5 21H19C19.5523 21 20 20.5523 20 20V13C20 12.4477 19.5523 12 19 12H5Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/LogInIcon/LogInIcon.native.test.tsx b/packages/blade/src/components/Icons/LogInIcon/LogInIcon.native.test.tsx index 6d69e4d4786..d266d5dd099 100644 --- a/packages/blade/src/components/Icons/LogInIcon/LogInIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/LogInIcon/LogInIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render LogInIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/LogInIcon/LogInIcon.web.test.tsx b/packages/blade/src/components/Icons/LogInIcon/LogInIcon.web.test.tsx index a2317335cd2..17d73a066bc 100644 --- a/packages/blade/src/components/Icons/LogInIcon/LogInIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/LogInIcon/LogInIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render LogInIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/LogInIcon/__snapshots__/LogInIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/LogInIcon/__snapshots__/LogInIcon.native.test.tsx.snap index e906bafe6ba..b7d8b6f6fea 100644 --- a/packages/blade/src/components/Icons/LogInIcon/__snapshots__/LogInIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/LogInIcon/__snapshots__/LogInIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render LogInIcon 1`] = ` > should render LogInIcon 1`] = ` /> should render LogInIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/LogOutIcon/LogOutIcon.native.test.tsx b/packages/blade/src/components/Icons/LogOutIcon/LogOutIcon.native.test.tsx index b27b2fc476e..e41ff548651 100644 --- a/packages/blade/src/components/Icons/LogOutIcon/LogOutIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/LogOutIcon/LogOutIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render LogOutIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/LogOutIcon/LogOutIcon.web.test.tsx b/packages/blade/src/components/Icons/LogOutIcon/LogOutIcon.web.test.tsx index 76d52f73cbd..6a5872e22f8 100644 --- a/packages/blade/src/components/Icons/LogOutIcon/LogOutIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/LogOutIcon/LogOutIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render LogOutIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/LogOutIcon/__snapshots__/LogOutIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/LogOutIcon/__snapshots__/LogOutIcon.native.test.tsx.snap index 3ad29393119..730d0611653 100644 --- a/packages/blade/src/components/Icons/LogOutIcon/__snapshots__/LogOutIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/LogOutIcon/__snapshots__/LogOutIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render LogOutIcon 1`] = ` > should render LogOutIcon 1`] = ` /> should render LogOutIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/MailIcon/MailIcon.native.test.tsx b/packages/blade/src/components/Icons/MailIcon/MailIcon.native.test.tsx index 4151d3259b3..68882c9f119 100644 --- a/packages/blade/src/components/Icons/MailIcon/MailIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MailIcon/MailIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MailIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MailIcon/MailIcon.web.test.tsx b/packages/blade/src/components/Icons/MailIcon/MailIcon.web.test.tsx index 435b356764d..e34c3b57914 100644 --- a/packages/blade/src/components/Icons/MailIcon/MailIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MailIcon/MailIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MailIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MailIcon/__snapshots__/MailIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MailIcon/__snapshots__/MailIcon.native.test.tsx.snap index 5cb508a2abf..8124fc9a86b 100644 --- a/packages/blade/src/components/Icons/MailIcon/__snapshots__/MailIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MailIcon/__snapshots__/MailIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render MailIcon 1`] = ` should render MailIcon 1`] = ` clip-rule="evenodd" d="M23 6.01769V18C23 19.6523 21.6523 21 20 21H4C2.34772 21 1 19.6523 1 18V6C1 4.34772 2.34772 3 4 3H20C21.6443 3 22.987 4.33473 22.9999 5.97608C23.0002 5.98996 23.0003 6.00383 23 6.01769ZM3.10659 5.55392C3.27198 5.22691 3.61205 5 4 5H20C20.388 5 20.7281 5.22695 20.8935 5.55401L12.0001 11.7794L3.10659 5.55392ZM3 7.92062V18C3 18.5477 3.45228 19 4 19H20C20.5477 19 21 18.5477 21 18V7.92074L12.5735 13.8193C12.2292 14.0603 11.7709 14.0603 11.4266 13.8193L3 7.92062Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/MailOpenIcon/MailOpenIcon.native.test.tsx b/packages/blade/src/components/Icons/MailOpenIcon/MailOpenIcon.native.test.tsx index bb31fbd67eb..7094845353a 100644 --- a/packages/blade/src/components/Icons/MailOpenIcon/MailOpenIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MailOpenIcon/MailOpenIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MailOpenIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MailOpenIcon/MailOpenIcon.web.test.tsx b/packages/blade/src/components/Icons/MailOpenIcon/MailOpenIcon.web.test.tsx index a8adb28d5cb..fb48e463f04 100644 --- a/packages/blade/src/components/Icons/MailOpenIcon/MailOpenIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MailOpenIcon/MailOpenIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MailOpenIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MailOpenIcon/__snapshots__/MailOpenIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MailOpenIcon/__snapshots__/MailOpenIcon.native.test.tsx.snap index bbb5649e9fa..fef06c35bd3 100644 --- a/packages/blade/src/components/Icons/MailOpenIcon/__snapshots__/MailOpenIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MailOpenIcon/__snapshots__/MailOpenIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render MailOpenIcon 1`] = ` should render MailOpenIcon 1`] = ` clip-rule="evenodd" d="M22.7829 8.36084C22.6408 8.11932 22.4368 7.92021 22.1918 7.7841L19.4643 6.26881V3.75C19.4643 3.02065 19.1746 2.32118 18.6588 1.80546C18.1431 1.28973 17.4436 1 16.7143 1H7.28571C6.55637 1 5.8569 1.28973 5.34117 1.80546C4.82544 2.32118 4.53571 3.02065 4.53571 3.75V6.26881L1.80824 7.78408C1.56328 7.92018 1.35917 8.11931 1.21706 8.36084C1.07495 8.60236 1.00001 8.8775 1 9.15773V19.0714C1 20.1133 1.4139 21.1126 2.15065 21.8493C2.8874 22.5861 3.88665 23 4.92857 23H19.0714C20.1133 23 21.1126 22.5861 21.8493 21.8493C22.5861 21.1126 23 20.1133 23 19.0714V9.15773C23 8.87749 22.925 8.60236 22.7829 8.36084ZM4.92857 7.84824V7.84823L2.57142 9.15773L2.57143 19.0714V9.15773L4.92857 7.84824ZM4.53571 8.51589V10.4482C4.37829 10.4162 4.21392 10.4229 4.05726 10.47C3.80784 10.5449 3.59835 10.7157 3.47483 10.945C3.35131 11.1742 3.32386 11.4431 3.39851 11.6926C3.47316 11.9421 3.64421 12.152 3.87336 12.2757L11.5348 16.4011C11.6779 16.4777 11.8377 16.5179 12 16.5179C12.1623 16.5179 12.3228 16.4774 12.4659 16.4007L20.127 12.2755C20.3562 12.1517 20.5268 11.9421 20.6015 11.6926C20.6761 11.4431 20.6487 11.1742 20.5252 10.945C20.4016 10.7157 20.1922 10.5449 19.9427 10.47C19.7861 10.4229 19.6217 10.4162 19.4643 10.4482V8.51589L21.0357 9.38889V19.071C21.0351 19.5919 20.8279 20.0913 20.4596 20.4596C20.0913 20.8279 19.5919 21.0351 19.071 21.0357H4.92902C4.40813 21.0351 3.90873 20.8279 3.5404 20.4596C3.17211 20.0913 2.96492 19.5918 2.96429 19.071L2.96429 9.38889L4.53571 8.51589ZM6.73053 3.19481C6.87788 3.04746 7.07779 2.96456 7.28616 2.96429H16.7138C16.9222 2.96456 17.1221 3.04746 17.2695 3.19481C17.4169 3.3422 17.4998 3.54202 17.5 3.75045V11.4584L12 14.4202L6.5 11.4584V3.75018C6.50031 3.54185 6.58321 3.34213 6.73053 3.19481ZM7.28571 2.57143H16.7143L7.28571 2.57142C6.97324 2.57178 6.67368 2.69607 6.45273 2.91702C6.23178 3.13796 6.1075 3.43753 6.10714 3.75L6.10714 11.6931V3.75C6.1075 3.43753 6.23179 3.13797 6.45273 2.91702C6.67368 2.69607 6.97325 2.57179 7.28571 2.57143Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/MapIcon/MapIcon.native.test.tsx b/packages/blade/src/components/Icons/MapIcon/MapIcon.native.test.tsx index de30129f3e2..3b2df5a491e 100644 --- a/packages/blade/src/components/Icons/MapIcon/MapIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MapIcon/MapIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MapIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MapIcon/MapIcon.web.test.tsx b/packages/blade/src/components/Icons/MapIcon/MapIcon.web.test.tsx index fd08d4d1139..d43f9425df2 100644 --- a/packages/blade/src/components/Icons/MapIcon/MapIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MapIcon/MapIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MapIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MapIcon/__snapshots__/MapIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MapIcon/__snapshots__/MapIcon.native.test.tsx.snap index 29e2c67eae8..1129c7a2e11 100644 --- a/packages/blade/src/components/Icons/MapIcon/__snapshots__/MapIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MapIcon/__snapshots__/MapIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render MapIcon 1`] = ` should render MapIcon 1`] = ` clip-rule="evenodd" d="M8 1C7.81313 1 7.63824 1.05126 7.4886 1.14048L0.503861 5.13176C0.192286 5.3098 0 5.64114 0 6V22C0 22.3565 0.189758 22.686 0.498073 22.8649C0.806388 23.0438 1.18664 23.0451 1.49614 22.8682L8.03147 19.1338L15.5348 22.8854C15.6646 22.9538 15.8112 22.9944 15.9669 22.9995C15.9779 22.9998 15.989 23 16 23C16.1869 23 16.3618 22.9487 16.5114 22.8595L23.4961 18.8682C23.8077 18.6902 24 18.3589 24 18V2C24 1.64353 23.8102 1.31401 23.5019 1.13509C23.1936 0.956168 22.8134 0.954898 22.5039 1.13176L15.9685 4.86623L8.46522 1.11457C8.32625 1.04141 8.16796 1 8 1ZM17 20.2768L22 17.4197V3.72318L17 6.58032V20.2768ZM15 6.61803L9 3.61803V17.382L15 20.382V6.61803ZM2 6.58032L7 3.72318V17.4197L2 20.2768V6.58032Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/MapPinIcon/MapPinIcon.native.test.tsx b/packages/blade/src/components/Icons/MapPinIcon/MapPinIcon.native.test.tsx index bc013247d0e..d21d3bec4b5 100644 --- a/packages/blade/src/components/Icons/MapPinIcon/MapPinIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MapPinIcon/MapPinIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MapPinIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MapPinIcon/MapPinIcon.web.test.tsx b/packages/blade/src/components/Icons/MapPinIcon/MapPinIcon.web.test.tsx index 4d4fe1a74dc..9328659e05f 100644 --- a/packages/blade/src/components/Icons/MapPinIcon/MapPinIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MapPinIcon/MapPinIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MapPinIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MapPinIcon/__snapshots__/MapPinIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MapPinIcon/__snapshots__/MapPinIcon.native.test.tsx.snap index 7aed9cca8db..f8027b595fc 100644 --- a/packages/blade/src/components/Icons/MapPinIcon/__snapshots__/MapPinIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MapPinIcon/__snapshots__/MapPinIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render MapPinIcon 1`] = ` > should render MapPinIcon 1`] = ` should render MapPinIcon 1`] = ` should render MapPinIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/MaximizeIcon/MaximizeIcon.native.test.tsx b/packages/blade/src/components/Icons/MaximizeIcon/MaximizeIcon.native.test.tsx index 61449237dda..7c45c6de0fc 100644 --- a/packages/blade/src/components/Icons/MaximizeIcon/MaximizeIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MaximizeIcon/MaximizeIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MaximizeIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MaximizeIcon/MaximizeIcon.web.test.tsx b/packages/blade/src/components/Icons/MaximizeIcon/MaximizeIcon.web.test.tsx index 8ca05483a76..5f66dfd92d4 100644 --- a/packages/blade/src/components/Icons/MaximizeIcon/MaximizeIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MaximizeIcon/MaximizeIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MaximizeIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MaximizeIcon/__snapshots__/MaximizeIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MaximizeIcon/__snapshots__/MaximizeIcon.native.test.tsx.snap index 82b001c0afc..fd78856c0ae 100644 --- a/packages/blade/src/components/Icons/MaximizeIcon/__snapshots__/MaximizeIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MaximizeIcon/__snapshots__/MaximizeIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render MaximizeIcon 1`] = ` > should render MaximizeIcon 1`] = ` /> should render MaximizeIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/MenuDotsIcon/MenuDotsIcon.native.test.tsx b/packages/blade/src/components/Icons/MenuDotsIcon/MenuDotsIcon.native.test.tsx index 504c4338b41..068ec7daf8d 100644 --- a/packages/blade/src/components/Icons/MenuDotsIcon/MenuDotsIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MenuDotsIcon/MenuDotsIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MenuDotsIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MenuDotsIcon/MenuDotsIcon.web.test.tsx b/packages/blade/src/components/Icons/MenuDotsIcon/MenuDotsIcon.web.test.tsx index c6c68329b99..420d6ff1c61 100644 --- a/packages/blade/src/components/Icons/MenuDotsIcon/MenuDotsIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MenuDotsIcon/MenuDotsIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MenuDotsIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MenuDotsIcon/__snapshots__/MenuDotsIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MenuDotsIcon/__snapshots__/MenuDotsIcon.native.test.tsx.snap index 30f68342005..141b3272c26 100644 --- a/packages/blade/src/components/Icons/MenuDotsIcon/__snapshots__/MenuDotsIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MenuDotsIcon/__snapshots__/MenuDotsIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render MenuDotsIcon 1`] = ` should render MenuDotsIcon 1`] = ` clip-rule="evenodd" d="M6.07692 3.53846C6.07692 4.94042 4.94042 6.07692 3.53846 6.07692C2.13651 6.07692 1 4.94042 1 3.53846C1 2.13651 2.13651 1 3.53846 1C4.94042 1 6.07692 2.13651 6.07692 3.53846ZM6.07692 12.0002C6.07692 13.4021 4.94042 14.5386 3.53846 14.5386C2.13651 14.5386 1 13.4021 1 12.0002C1 10.5982 2.13651 9.46171 3.53846 9.46171C4.94042 9.46171 6.07692 10.5982 6.07692 12.0002ZM3.53846 22.9999C4.94042 22.9999 6.07692 21.8634 6.07692 20.4614C6.07692 19.0595 4.94042 17.923 3.53846 17.923C2.13651 17.923 1 19.0595 1 20.4614C1 21.8634 2.13651 22.9999 3.53846 22.9999ZM14.5384 3.53846C14.5384 4.94042 13.4019 6.07692 11.9999 6.07692C10.598 6.07692 9.46149 4.94042 9.46149 3.53846C9.46149 2.13651 10.598 1 11.9999 1C13.4019 1 14.5384 2.13651 14.5384 3.53846ZM11.9999 14.5386C13.4019 14.5386 14.5384 13.4021 14.5384 12.0002C14.5384 10.5982 13.4019 9.46171 11.9999 9.46171C10.598 9.46171 9.46149 10.5982 9.46149 12.0002C9.46149 13.4021 10.598 14.5386 11.9999 14.5386ZM14.5384 20.4614C14.5384 21.8634 13.4019 22.9999 11.9999 22.9999C10.598 22.9999 9.46149 21.8634 9.46149 20.4614C9.46149 19.0595 10.598 17.923 11.9999 17.923C13.4019 17.923 14.5384 19.0595 14.5384 20.4614ZM20.4614 6.07692C21.8634 6.07692 22.9999 4.94042 22.9999 3.53846C22.9999 2.13651 21.8634 1 20.4614 1C19.0595 1 17.923 2.13651 17.923 3.53846C17.923 4.94042 19.0595 6.07692 20.4614 6.07692ZM22.9999 12.0002C22.9999 13.4021 21.8634 14.5386 20.4614 14.5386C19.0595 14.5386 17.923 13.4021 17.923 12.0002C17.923 10.5982 19.0595 9.46171 20.4614 9.46171C21.8634 9.46171 22.9999 10.5982 22.9999 12.0002ZM20.4614 22.9999C21.8634 22.9999 22.9999 21.8634 22.9999 20.4614C22.9999 19.0595 21.8634 17.923 20.4614 17.923C19.0595 17.923 17.923 19.0595 17.923 20.4614C17.923 21.8634 19.0595 22.9999 20.4614 22.9999Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/MenuIcon/MenuIcon.native.test.tsx b/packages/blade/src/components/Icons/MenuIcon/MenuIcon.native.test.tsx index 9598cef04d2..dd0949e2668 100644 --- a/packages/blade/src/components/Icons/MenuIcon/MenuIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MenuIcon/MenuIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MenuIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MenuIcon/MenuIcon.web.test.tsx b/packages/blade/src/components/Icons/MenuIcon/MenuIcon.web.test.tsx index 5dd1ec7dc84..8cec48d416e 100644 --- a/packages/blade/src/components/Icons/MenuIcon/MenuIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MenuIcon/MenuIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MenuIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MenuIcon/__snapshots__/MenuIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MenuIcon/__snapshots__/MenuIcon.native.test.tsx.snap index b3fe31599f1..9fa3f70710c 100644 --- a/packages/blade/src/components/Icons/MenuIcon/__snapshots__/MenuIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MenuIcon/__snapshots__/MenuIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render MenuIcon 1`] = ` should render MenuIcon 1`] = ` should render MenuIcon 1`] = ` should render MenuIcon 1`] = ` clip-rule="evenodd" d="M2 12C2 11.4477 2.44772 11 3 11H21C21.5523 11 22 11.4477 22 12C22 12.5523 21.5523 13 21 13H3C2.44772 13 2 12.5523 2 12Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/MessageCircleIcon/MessageCircleIcon.native.test.tsx b/packages/blade/src/components/Icons/MessageCircleIcon/MessageCircleIcon.native.test.tsx index 21a9bc527ca..44f0bcfa37b 100644 --- a/packages/blade/src/components/Icons/MessageCircleIcon/MessageCircleIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MessageCircleIcon/MessageCircleIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MessageCircleIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MessageCircleIcon/MessageCircleIcon.web.test.tsx b/packages/blade/src/components/Icons/MessageCircleIcon/MessageCircleIcon.web.test.tsx index fb23713d043..dde69ec2768 100644 --- a/packages/blade/src/components/Icons/MessageCircleIcon/MessageCircleIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MessageCircleIcon/MessageCircleIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MessageCircleIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MessageCircleIcon/__snapshots__/MessageCircleIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MessageCircleIcon/__snapshots__/MessageCircleIcon.native.test.tsx.snap index bc199412872..79a5cfbb3bb 100644 --- a/packages/blade/src/components/Icons/MessageCircleIcon/__snapshots__/MessageCircleIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MessageCircleIcon/__snapshots__/MessageCircleIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render MessageCircleIcon 1`] = ` should render MessageCircleIcon 1`] = ` name="clip0_59_164" > should render MessageCircleIcon 1`] = ` clip-rule="evenodd" d="M12.4974 4.00003C11.3351 3.99699 10.1884 4.26857 9.15088 4.79263L9.14709 4.79454L9.14709 4.79453C6.6065 6.06427 5.00113 8.6602 5.00003 11.5004L5.00002 11.5026C4.99699 12.665 5.26857 13.8116 5.79263 14.8492C5.91284 15.0872 5.93303 15.3633 5.84871 15.6163L4.58117 19.4189L8.3838 18.1513C8.63541 18.0675 8.91002 18.087 9.14724 18.2056C10.7487 19.0064 12.0577 19.0475 12.376 19.0078C12.4229 19.0019 12.4703 18.9994 12.5176 19.0002C13.3301 19.0144 14.6949 18.8253 16.0136 18.1992C17.3158 17.5809 18.5247 16.5627 19.1702 14.932C19.1814 14.9038 19.1938 14.8762 19.2074 14.8492C19.7315 13.8116 20.0031 12.665 20 11.5026L20 11.5V11.0284C19.7778 7.24294 16.7571 4.22222 12.9716 4.00003H12.5L12.4974 4.00003ZM12.5013 2.00003C11.0251 1.99639 9.56887 2.34122 8.25107 3.00647C5.03442 4.615 3.00182 7.90209 3.00003 11.4986C2.99671 12.8332 3.27825 14.1516 3.82392 15.3661L2.05134 20.6838C1.93157 21.0431 2.02509 21.4393 2.29292 21.7071C2.56075 21.975 2.95692 22.0685 3.31625 21.9487L8.63453 20.176C10.3336 20.9427 11.8187 21.0711 12.548 21.0007C13.6365 21.0092 15.2775 20.7627 16.8714 20.0059C18.5037 19.2308 20.1343 17.8947 21.0129 15.7105C21.6655 14.4029 22.0036 12.9607 22 11.4989V11C22 10.9817 21.9995 10.9633 21.9985 10.9449C21.7323 6.12019 17.8799 2.26772 13.0551 2.00155C13.0368 2.00053 13.0184 2.00003 13 2.00003H12.5013Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> @@ -32,7 +32,7 @@ exports[` should render MessageCircleIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/MessageSquareIcon/MessageSquareIcon.native.test.tsx b/packages/blade/src/components/Icons/MessageSquareIcon/MessageSquareIcon.native.test.tsx index 75bbe09a74a..b9b58010240 100644 --- a/packages/blade/src/components/Icons/MessageSquareIcon/MessageSquareIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MessageSquareIcon/MessageSquareIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MessageSquareIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MessageSquareIcon/MessageSquareIcon.web.test.tsx b/packages/blade/src/components/Icons/MessageSquareIcon/MessageSquareIcon.web.test.tsx index 804f0d13581..3ac66cb2f81 100644 --- a/packages/blade/src/components/Icons/MessageSquareIcon/MessageSquareIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MessageSquareIcon/MessageSquareIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MessageSquareIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MessageSquareIcon/__snapshots__/MessageSquareIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MessageSquareIcon/__snapshots__/MessageSquareIcon.native.test.tsx.snap index 986e0b4bf98..d05e224b2ab 100644 --- a/packages/blade/src/components/Icons/MessageSquareIcon/__snapshots__/MessageSquareIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MessageSquareIcon/__snapshots__/MessageSquareIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render MessageSquareIcon 1`] = ` should render MessageSquareIcon 1`] = ` clip-rule="evenodd" d="M5 4C4.44772 4 4 4.44772 4 5V18.5858L6.29289 16.2929C6.48043 16.1054 6.73478 16 7 16H19C19.5523 16 20 15.5523 20 15V5C20 4.44772 19.5523 4 19 4H5ZM2 5C2 3.34315 3.34315 2 5 2H19C20.6569 2 22 3.34315 22 5V15C22 16.6569 20.6569 18 19 18H7.41421L3.70711 21.7071C3.42111 21.9931 2.99099 22.0787 2.61732 21.9239C2.24364 21.7691 2 21.4045 2 21V5Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/MicIcon/MicIcon.native.test.tsx b/packages/blade/src/components/Icons/MicIcon/MicIcon.native.test.tsx index 3278dbdee5e..51d850e276f 100644 --- a/packages/blade/src/components/Icons/MicIcon/MicIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MicIcon/MicIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MicIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MicIcon/MicIcon.web.test.tsx b/packages/blade/src/components/Icons/MicIcon/MicIcon.web.test.tsx index 576a0ccce35..344fa5dba9e 100644 --- a/packages/blade/src/components/Icons/MicIcon/MicIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MicIcon/MicIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MicIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MicIcon/__snapshots__/MicIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MicIcon/__snapshots__/MicIcon.native.test.tsx.snap index 37cfefea129..e8ef03b3c96 100644 --- a/packages/blade/src/components/Icons/MicIcon/__snapshots__/MicIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MicIcon/__snapshots__/MicIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render MicIcon 1`] = ` should render MicIcon 1`] = ` /> should render MicIcon 1`] = ` clip-rule="evenodd" d="M12 0C9.79086 0 8 1.79086 8 4V12C8 14.2091 9.79086 16 12 16C14.2091 16 16 14.2091 16 12V4C16 1.79086 14.2091 0 12 0ZM10 4C10 2.89543 10.8954 2 12 2C13.1046 2 14 2.89543 14 4V12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12V4Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/MicOffIcon/MicOffIcon.native.test.tsx b/packages/blade/src/components/Icons/MicOffIcon/MicOffIcon.native.test.tsx index 2fc80d9790c..4d5d0c61678 100644 --- a/packages/blade/src/components/Icons/MicOffIcon/MicOffIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MicOffIcon/MicOffIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MicOffIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MicOffIcon/MicOffIcon.web.test.tsx b/packages/blade/src/components/Icons/MicOffIcon/MicOffIcon.web.test.tsx index 0e3fc8c979c..aef1374c2ea 100644 --- a/packages/blade/src/components/Icons/MicOffIcon/MicOffIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MicOffIcon/MicOffIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MicOffIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MicOffIcon/__snapshots__/MicOffIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MicOffIcon/__snapshots__/MicOffIcon.native.test.tsx.snap index f3feb418e80..d3b1185f4b3 100644 --- a/packages/blade/src/components/Icons/MicOffIcon/__snapshots__/MicOffIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MicOffIcon/__snapshots__/MicOffIcon.native.test.tsx.snap @@ -54,7 +54,7 @@ exports[` should render MicOffIcon 1`] = ` > should render MicOffIcon 1`] = ` should render MicOffIcon 1`] = ` /> should render MicOffIcon 1`] = ` name="clip0_59_171" > should render MicOffIcon 1`] = ` should render MicOffIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/MinimizeIcon/MinimizeIcon.native.test.tsx b/packages/blade/src/components/Icons/MinimizeIcon/MinimizeIcon.native.test.tsx index 27056da2911..f7224935445 100644 --- a/packages/blade/src/components/Icons/MinimizeIcon/MinimizeIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MinimizeIcon/MinimizeIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MinimizeIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MinimizeIcon/MinimizeIcon.web.test.tsx b/packages/blade/src/components/Icons/MinimizeIcon/MinimizeIcon.web.test.tsx index ef9e0666d8a..b702f3f8505 100644 --- a/packages/blade/src/components/Icons/MinimizeIcon/MinimizeIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MinimizeIcon/MinimizeIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MinimizeIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MinimizeIcon/__snapshots__/MinimizeIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MinimizeIcon/__snapshots__/MinimizeIcon.native.test.tsx.snap index d8157cb296b..b5152868191 100644 --- a/packages/blade/src/components/Icons/MinimizeIcon/__snapshots__/MinimizeIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MinimizeIcon/__snapshots__/MinimizeIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render MinimizeIcon 1`] = ` > should render MinimizeIcon 1`] = ` /> should render MinimizeIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/MinusCircleIcon/MinusCircleIcon.native.test.tsx b/packages/blade/src/components/Icons/MinusCircleIcon/MinusCircleIcon.native.test.tsx index 214e788ad5d..04e9d5d50a4 100644 --- a/packages/blade/src/components/Icons/MinusCircleIcon/MinusCircleIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MinusCircleIcon/MinusCircleIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MinusCircleIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MinusCircleIcon/MinusCircleIcon.web.test.tsx b/packages/blade/src/components/Icons/MinusCircleIcon/MinusCircleIcon.web.test.tsx index 635e9218525..fbc7d0403ab 100644 --- a/packages/blade/src/components/Icons/MinusCircleIcon/MinusCircleIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MinusCircleIcon/MinusCircleIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MinusCircleIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MinusCircleIcon/__snapshots__/MinusCircleIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MinusCircleIcon/__snapshots__/MinusCircleIcon.native.test.tsx.snap index fb20b55b5f5..72287ff712e 100644 --- a/packages/blade/src/components/Icons/MinusCircleIcon/__snapshots__/MinusCircleIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MinusCircleIcon/__snapshots__/MinusCircleIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render MinusCircleIcon 1`] = ` > should render MinusCircleIcon 1`] = ` should render MinusCircleIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/MinusIcon/MinusIcon.native.test.tsx b/packages/blade/src/components/Icons/MinusIcon/MinusIcon.native.test.tsx index 04c8f1853b6..63bdfbb48e1 100644 --- a/packages/blade/src/components/Icons/MinusIcon/MinusIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MinusIcon/MinusIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MinusIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MinusIcon/MinusIcon.web.test.tsx b/packages/blade/src/components/Icons/MinusIcon/MinusIcon.web.test.tsx index 76ad6046309..2a69a1b55c8 100644 --- a/packages/blade/src/components/Icons/MinusIcon/MinusIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MinusIcon/MinusIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MinusIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MinusIcon/__snapshots__/MinusIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MinusIcon/__snapshots__/MinusIcon.native.test.tsx.snap index a2a4a771ecb..22ba7ac3924 100644 --- a/packages/blade/src/components/Icons/MinusIcon/__snapshots__/MinusIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MinusIcon/__snapshots__/MinusIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render MinusIcon 1`] = ` should render MinusIcon 1`] = ` clip-rule="evenodd" d="M4 12C4 11.4477 4.44772 11 5 11H19C19.5523 11 20 11.4477 20 12C20 12.5523 19.5523 13 19 13H5C4.44772 13 4 12.5523 4 12Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/MinusSquareIcon/MinusSquareIcon.native.test.tsx b/packages/blade/src/components/Icons/MinusSquareIcon/MinusSquareIcon.native.test.tsx index 7d2a6a89f01..74ed873932a 100644 --- a/packages/blade/src/components/Icons/MinusSquareIcon/MinusSquareIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MinusSquareIcon/MinusSquareIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MinusSquareIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MinusSquareIcon/MinusSquareIcon.web.test.tsx b/packages/blade/src/components/Icons/MinusSquareIcon/MinusSquareIcon.web.test.tsx index 26a37956462..c18820a5b5b 100644 --- a/packages/blade/src/components/Icons/MinusSquareIcon/MinusSquareIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MinusSquareIcon/MinusSquareIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MinusSquareIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MinusSquareIcon/__snapshots__/MinusSquareIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MinusSquareIcon/__snapshots__/MinusSquareIcon.native.test.tsx.snap index 7ad54619678..d4e76332f24 100644 --- a/packages/blade/src/components/Icons/MinusSquareIcon/__snapshots__/MinusSquareIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MinusSquareIcon/__snapshots__/MinusSquareIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render MinusSquareIcon 1`] = ` > should render MinusSquareIcon 1`] = ` should render MinusSquareIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/MonitorIcon/MonitorIcon.native.test.tsx b/packages/blade/src/components/Icons/MonitorIcon/MonitorIcon.native.test.tsx index f20f0257b5c..7e8a78246d0 100644 --- a/packages/blade/src/components/Icons/MonitorIcon/MonitorIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MonitorIcon/MonitorIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MonitorIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MonitorIcon/MonitorIcon.web.test.tsx b/packages/blade/src/components/Icons/MonitorIcon/MonitorIcon.web.test.tsx index 17f7dd25319..3767bf5b34e 100644 --- a/packages/blade/src/components/Icons/MonitorIcon/MonitorIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MonitorIcon/MonitorIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MonitorIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MonitorIcon/__snapshots__/MonitorIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MonitorIcon/__snapshots__/MonitorIcon.native.test.tsx.snap index 925196df74f..fbd9c14795b 100644 --- a/packages/blade/src/components/Icons/MonitorIcon/__snapshots__/MonitorIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MonitorIcon/__snapshots__/MonitorIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render MonitorIcon 1`] = ` should render MonitorIcon 1`] = ` clip-rule="evenodd" d="M1 5C1 3.34315 2.34315 2 4 2H20C21.6569 2 23 3.34315 23 5V15C23 16.6569 21.6569 18 20 18H13V20H16C16.5523 20 17 20.4477 17 21C17 21.5523 16.5523 22 16 22H8C7.44772 22 7 21.5523 7 21C7 20.4477 7.44772 20 8 20H11V18H4C2.34315 18 1 16.6569 1 15V5ZM20 16C20.5523 16 21 15.5523 21 15V5C21 4.44772 20.5523 4 20 4H4C3.44772 4 3 4.44772 3 5V15C3 15.5523 3.44772 16 4 16H20Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/MoonIcon/MoonIcon.native.test.tsx b/packages/blade/src/components/Icons/MoonIcon/MoonIcon.native.test.tsx index bd78997d86d..c4e48a569f0 100644 --- a/packages/blade/src/components/Icons/MoonIcon/MoonIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MoonIcon/MoonIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MoonIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MoonIcon/MoonIcon.web.test.tsx b/packages/blade/src/components/Icons/MoonIcon/MoonIcon.web.test.tsx index caa90a61d0d..4f63f285fb4 100644 --- a/packages/blade/src/components/Icons/MoonIcon/MoonIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MoonIcon/MoonIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MoonIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MoonIcon/__snapshots__/MoonIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MoonIcon/__snapshots__/MoonIcon.native.test.tsx.snap index 0991f033705..bf0e599e1a3 100644 --- a/packages/blade/src/components/Icons/MoonIcon/__snapshots__/MoonIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MoonIcon/__snapshots__/MoonIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render MoonIcon 1`] = ` should render MoonIcon 1`] = ` clip-rule="evenodd" d="M12.0812 2.50904C12.2747 2.85242 12.2484 3.27745 12.0141 3.59442C10.2487 5.98281 10.4964 9.30338 12.5965 11.4035C14.6966 13.5036 18.0172 13.7513 20.4056 11.9859C20.7225 11.7516 21.1476 11.7253 21.491 11.9188C21.8343 12.1124 22.032 12.4895 21.9957 12.882C21.5095 18.144 17.013 22.1194 11.731 21.9571C6.4491 21.7948 2.20518 17.5509 2.04288 12.269C1.88059 6.98701 5.85595 2.49054 11.118 2.00426C11.5104 1.96799 11.8876 2.16566 12.0812 2.50904ZM9.31561 4.43767C6.13442 5.587 3.93349 8.67806 4.04194 12.2075C4.17178 16.4331 7.56692 19.8282 11.7925 19.9581C15.3219 20.0665 18.413 17.8656 19.5623 14.6844C16.7077 15.7179 13.4237 15.0591 11.1823 12.8177C8.94088 10.5763 8.28206 7.2923 9.31561 4.43767Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/MoreHorizontalIcon/MoreHorizontalIcon.native.test.tsx b/packages/blade/src/components/Icons/MoreHorizontalIcon/MoreHorizontalIcon.native.test.tsx index 832eead7134..e3f27505537 100644 --- a/packages/blade/src/components/Icons/MoreHorizontalIcon/MoreHorizontalIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MoreHorizontalIcon/MoreHorizontalIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MoreHorizontalIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MoreHorizontalIcon/MoreHorizontalIcon.web.test.tsx b/packages/blade/src/components/Icons/MoreHorizontalIcon/MoreHorizontalIcon.web.test.tsx index 97ddad4256d..ee3161bd603 100644 --- a/packages/blade/src/components/Icons/MoreHorizontalIcon/MoreHorizontalIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MoreHorizontalIcon/MoreHorizontalIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MoreHorizontalIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MoreHorizontalIcon/__snapshots__/MoreHorizontalIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MoreHorizontalIcon/__snapshots__/MoreHorizontalIcon.native.test.tsx.snap index e90cbc1ccd7..fb0494fb006 100644 --- a/packages/blade/src/components/Icons/MoreHorizontalIcon/__snapshots__/MoreHorizontalIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MoreHorizontalIcon/__snapshots__/MoreHorizontalIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render MoreHorizontalIcon 1`] = ` should render MoreHorizontalIcon 1`] = ` should render MoreHorizontalIcon 1`] = ` should render MoreHorizontalIcon 1`] = ` clip-rule="evenodd" d="M9 12C9 10.3431 10.3431 9 12 9C13.6569 9 15 10.3431 15 12C15 13.6569 13.6569 15 12 15C10.3431 15 9 13.6569 9 12Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/MoreVerticalIcon/MoreVerticalIcon.native.test.tsx b/packages/blade/src/components/Icons/MoreVerticalIcon/MoreVerticalIcon.native.test.tsx index 595473bde28..106692d3283 100644 --- a/packages/blade/src/components/Icons/MoreVerticalIcon/MoreVerticalIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MoreVerticalIcon/MoreVerticalIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MoreVerticalIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MoreVerticalIcon/MoreVerticalIcon.web.test.tsx b/packages/blade/src/components/Icons/MoreVerticalIcon/MoreVerticalIcon.web.test.tsx index b6f2b8ec9e3..b624218a73c 100644 --- a/packages/blade/src/components/Icons/MoreVerticalIcon/MoreVerticalIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MoreVerticalIcon/MoreVerticalIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MoreVerticalIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MoreVerticalIcon/__snapshots__/MoreVerticalIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MoreVerticalIcon/__snapshots__/MoreVerticalIcon.native.test.tsx.snap index ea76edac4a5..969638765df 100644 --- a/packages/blade/src/components/Icons/MoreVerticalIcon/__snapshots__/MoreVerticalIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MoreVerticalIcon/__snapshots__/MoreVerticalIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render MoreVerticalIcon 1`] = ` should render MoreVerticalIcon 1`] = ` should render MoreVerticalIcon 1`] = ` should render MoreVerticalIcon 1`] = ` clip-rule="evenodd" d="M9 12C9 10.3431 10.3431 9 12 9C13.6569 9 15 10.3431 15 12C15 13.6569 13.6569 15 12 15C10.3431 15 9 13.6569 9 12Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/MoveIcon/MoveIcon.native.test.tsx b/packages/blade/src/components/Icons/MoveIcon/MoveIcon.native.test.tsx index d40afcfd9aa..892b1b5aabc 100644 --- a/packages/blade/src/components/Icons/MoveIcon/MoveIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MoveIcon/MoveIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MoveIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MoveIcon/MoveIcon.web.test.tsx b/packages/blade/src/components/Icons/MoveIcon/MoveIcon.web.test.tsx index ed9749b8d79..dee8a03f9c3 100644 --- a/packages/blade/src/components/Icons/MoveIcon/MoveIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MoveIcon/MoveIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MoveIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MoveIcon/__snapshots__/MoveIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MoveIcon/__snapshots__/MoveIcon.native.test.tsx.snap index 2340b781c3a..ae67d207aa7 100644 --- a/packages/blade/src/components/Icons/MoveIcon/__snapshots__/MoveIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MoveIcon/__snapshots__/MoveIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render MoveIcon 1`] = ` should render MoveIcon 1`] = ` clip-rule="evenodd" d="M12.7071 1.29289C12.3166 0.902369 11.6834 0.902369 11.2929 1.29289L8.29289 4.29289C7.90237 4.68342 7.90237 5.31658 8.29289 5.70711C8.68342 6.09763 9.31658 6.09763 9.70711 5.70711L11 4.41421V11H4.41421L5.70711 9.70711C6.09763 9.31658 6.09763 8.68342 5.70711 8.29289C5.31658 7.90237 4.68342 7.90237 4.29289 8.29289L1.29289 11.2929C0.902369 11.6834 0.902369 12.3166 1.29289 12.7071L4.29289 15.7071C4.68342 16.0976 5.31658 16.0976 5.70711 15.7071C6.09763 15.3166 6.09763 14.6834 5.70711 14.2929L4.41421 13H11V19.5858L9.70711 18.2929C9.31658 17.9024 8.68342 17.9024 8.29289 18.2929C7.90237 18.6834 7.90237 19.3166 8.29289 19.7071L11.2929 22.7071C11.6834 23.0976 12.3166 23.0976 12.7071 22.7071L15.7071 19.7071C16.0976 19.3166 16.0976 18.6834 15.7071 18.2929C15.3166 17.9024 14.6834 17.9024 14.2929 18.2929L13 19.5858V13H19.5858L18.2929 14.2929C17.9024 14.6834 17.9024 15.3166 18.2929 15.7071C18.6834 16.0976 19.3166 16.0976 19.7071 15.7071L22.7071 12.7071C23.0976 12.3166 23.0976 11.6834 22.7071 11.2929L19.7071 8.29289C19.3166 7.90237 18.6834 7.90237 18.2929 8.29289C17.9024 8.68342 17.9024 9.31658 18.2929 9.70711L19.5858 11H13V4.41421L14.2929 5.70711C14.6834 6.09763 15.3166 6.09763 15.7071 5.70711C16.0976 5.31658 16.0976 4.68342 15.7071 4.29289L12.7071 1.29289Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/MusicIcon/MusicIcon.native.test.tsx b/packages/blade/src/components/Icons/MusicIcon/MusicIcon.native.test.tsx index e602a197732..f6aedaaa41f 100644 --- a/packages/blade/src/components/Icons/MusicIcon/MusicIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MusicIcon/MusicIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MusicIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MusicIcon/MusicIcon.web.test.tsx b/packages/blade/src/components/Icons/MusicIcon/MusicIcon.web.test.tsx index e9be105b2b3..f893a8b4940 100644 --- a/packages/blade/src/components/Icons/MusicIcon/MusicIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MusicIcon/MusicIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MusicIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MusicIcon/__snapshots__/MusicIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MusicIcon/__snapshots__/MusicIcon.native.test.tsx.snap index 028280ddfd4..021cc9d213d 100644 --- a/packages/blade/src/components/Icons/MusicIcon/__snapshots__/MusicIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MusicIcon/__snapshots__/MusicIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render MusicIcon 1`] = ` should render MusicIcon 1`] = ` clip-rule="evenodd" d="M21.6464 2.23699C21.8707 2.42699 22 2.70606 22 3.00001V16C22 18.2091 20.2091 20 18 20C15.7909 20 14 18.2091 14 16C14 13.7909 15.7909 12 18 12C18.7286 12 19.4117 12.1948 20 12.5351V4.18047L10 5.84713V18L9.99999 18.0032C9.99824 20.2109 8.20806 22 6 22C3.79086 22 2 20.2091 2 18C2 15.7909 3.79086 14 6 14C6.72857 14 7.41165 14.1948 8 14.5351V5.00001C8 4.51117 8.35341 4.09398 8.8356 4.01361L20.8356 2.01361C21.1256 1.96529 21.4221 2.04698 21.6464 2.23699ZM6 16C7.10457 16 8 16.8954 8 18C8 19.1046 7.10457 20 6 20C4.89543 20 4 19.1046 4 18C4 16.8954 4.89543 16 6 16ZM16 16C16 14.8954 16.8954 14 18 14C19.1046 14 20 14.8954 20 16C20 17.1046 19.1046 18 18 18C16.8954 18 16 17.1046 16 16Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/MyAccountIcon/MyAccountIcon.native.test.tsx b/packages/blade/src/components/Icons/MyAccountIcon/MyAccountIcon.native.test.tsx index ab539d976dd..530edb460bc 100644 --- a/packages/blade/src/components/Icons/MyAccountIcon/MyAccountIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/MyAccountIcon/MyAccountIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render MyAccountIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MyAccountIcon/MyAccountIcon.web.test.tsx b/packages/blade/src/components/Icons/MyAccountIcon/MyAccountIcon.web.test.tsx index 23fadd81708..3065d968f25 100644 --- a/packages/blade/src/components/Icons/MyAccountIcon/MyAccountIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/MyAccountIcon/MyAccountIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render MyAccountIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/MyAccountIcon/__snapshots__/MyAccountIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/MyAccountIcon/__snapshots__/MyAccountIcon.native.test.tsx.snap index 08a59e69e24..dde6d41a0b9 100644 --- a/packages/blade/src/components/Icons/MyAccountIcon/__snapshots__/MyAccountIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/MyAccountIcon/__snapshots__/MyAccountIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render MyAccountIcon 1`] = ` > should render MyAccountIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/NavigationIcon/NavigationIcon.native.test.tsx b/packages/blade/src/components/Icons/NavigationIcon/NavigationIcon.native.test.tsx index 5c0657571b9..dfd0956a12b 100644 --- a/packages/blade/src/components/Icons/NavigationIcon/NavigationIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/NavigationIcon/NavigationIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render NavigationIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/NavigationIcon/NavigationIcon.web.test.tsx b/packages/blade/src/components/Icons/NavigationIcon/NavigationIcon.web.test.tsx index e5d8e70d1f5..04ff75f9dc5 100644 --- a/packages/blade/src/components/Icons/NavigationIcon/NavigationIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/NavigationIcon/NavigationIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render NavigationIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/NavigationIcon/__snapshots__/NavigationIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/NavigationIcon/__snapshots__/NavigationIcon.native.test.tsx.snap index 3d5bf3316d7..74f06548e3a 100644 --- a/packages/blade/src/components/Icons/NavigationIcon/__snapshots__/NavigationIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/NavigationIcon/__snapshots__/NavigationIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render NavigationIcon 1`] = ` should render NavigationIcon 1`] = ` clip-rule="evenodd" d="M21.7071 2.29292C22.006 2.59175 22.0847 3.04618 21.9038 3.42811L12.9038 22.4281C12.7229 22.8098 12.3218 23.0368 11.9015 22.9952C11.4812 22.9535 11.1323 22.6523 11.0299 22.2426L9.1754 14.8246L1.75749 12.9702C1.34773 12.8677 1.04651 12.5189 1.00489 12.0986C0.963272 11.6782 1.19022 11.2771 1.57194 11.0963L20.5719 2.09629C20.9539 1.91538 21.4083 1.99409 21.7071 2.29292ZM4.95337 11.7076L10.2426 13.0299C10.6008 13.1195 10.8806 13.3992 10.9702 13.7575L12.2925 19.0467L18.8976 5.10241L4.95337 11.7076Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/OctagonIcon/OctagonIcon.native.test.tsx b/packages/blade/src/components/Icons/OctagonIcon/OctagonIcon.native.test.tsx index a78ac19e89a..40bab32f4cf 100644 --- a/packages/blade/src/components/Icons/OctagonIcon/OctagonIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/OctagonIcon/OctagonIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render OctagonIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/OctagonIcon/OctagonIcon.web.test.tsx b/packages/blade/src/components/Icons/OctagonIcon/OctagonIcon.web.test.tsx index 0f62f14c208..5996dca39fa 100644 --- a/packages/blade/src/components/Icons/OctagonIcon/OctagonIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/OctagonIcon/OctagonIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render OctagonIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/OctagonIcon/__snapshots__/OctagonIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/OctagonIcon/__snapshots__/OctagonIcon.native.test.tsx.snap index b26883d0afe..6f551a29623 100644 --- a/packages/blade/src/components/Icons/OctagonIcon/__snapshots__/OctagonIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/OctagonIcon/__snapshots__/OctagonIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render OctagonIcon 1`] = ` should render OctagonIcon 1`] = ` clip-rule="evenodd" d="M7.15289 1.29289C7.33386 1.11193 7.58386 1 7.86 1H16.14C16.4052 1 16.6596 1.10536 16.8471 1.29289L22.7071 7.15289C22.8946 7.34043 23 7.59478 23 7.86V16.14C23 16.4052 22.8946 16.6596 22.7071 16.8471L16.8471 22.7071C16.6596 22.8946 16.4052 23 16.14 23H7.86C7.59478 23 7.34043 22.8946 7.15289 22.7071L1.29289 16.8471C1.10536 16.6596 1 16.4052 1 16.14V7.86C1 7.59478 1.10536 7.34043 1.29289 7.15289L7.15253 1.29326C7.15265 1.29314 7.15277 1.29301 7.15289 1.29289ZM8.27421 3L3 8.27421V15.7258L8.27421 21H15.7258L21 15.7258V8.27421L15.7258 3H8.27421Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/OffersIcon/OffersIcon.native.test.tsx b/packages/blade/src/components/Icons/OffersIcon/OffersIcon.native.test.tsx index 5d994dacc8f..957bd518a96 100644 --- a/packages/blade/src/components/Icons/OffersIcon/OffersIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/OffersIcon/OffersIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render OffersIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/OffersIcon/OffersIcon.web.test.tsx b/packages/blade/src/components/Icons/OffersIcon/OffersIcon.web.test.tsx index d63a0e0568e..b2eea833f8f 100644 --- a/packages/blade/src/components/Icons/OffersIcon/OffersIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/OffersIcon/OffersIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render OffersIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/OffersIcon/__snapshots__/OffersIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/OffersIcon/__snapshots__/OffersIcon.native.test.tsx.snap index 82c83f24781..68eac1e0460 100644 --- a/packages/blade/src/components/Icons/OffersIcon/__snapshots__/OffersIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/OffersIcon/__snapshots__/OffersIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render OffersIcon 1`] = ` > should render OffersIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/PackageIcon/PackageIcon.native.test.tsx b/packages/blade/src/components/Icons/PackageIcon/PackageIcon.native.test.tsx index 4cfb93872d1..db76c5fd450 100644 --- a/packages/blade/src/components/Icons/PackageIcon/PackageIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PackageIcon/PackageIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PackageIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PackageIcon/PackageIcon.web.test.tsx b/packages/blade/src/components/Icons/PackageIcon/PackageIcon.web.test.tsx index c4d1c30828f..09411bd8c97 100644 --- a/packages/blade/src/components/Icons/PackageIcon/PackageIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PackageIcon/PackageIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PackageIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PackageIcon/__snapshots__/PackageIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PackageIcon/__snapshots__/PackageIcon.native.test.tsx.snap index ace6c239ac2..e85083b64b0 100644 --- a/packages/blade/src/components/Icons/PackageIcon/__snapshots__/PackageIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PackageIcon/__snapshots__/PackageIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render PackageIcon 1`] = ` should render PackageIcon 1`] = ` clip-rule="evenodd" d="M6.49335 2.63762L2.55877 4.60249C1.97162 4.88819 0.999978 5.76032 0.999988 7.23992V16.7568C0.993506 17.8958 1.63264 18.9403 2.65001 19.4529L2.65277 19.4543L10.6525 23.4542C11.4975 23.8771 12.4924 23.8771 13.3375 23.4542L21.335 19.4554L21.336 19.4549C22.3549 18.9482 22.9994 17.9079 23 16.7699V7.23938C22.9994 6.10147 22.3551 5.06191 21.3364 4.55506L21.335 4.55438L13.3372 0.555476L13.335 0.554375C12.494 0.136497 11.5059 0.136497 10.665 0.554375L6.61373 2.57751C6.57239 2.5948 6.53216 2.61487 6.49335 2.63762ZM9.23962 3.50169L11.555 2.34544C11.8348 2.20666 12.1642 2.20627 12.4441 2.34499L12.445 2.34544L19.7589 6.00242L17 7.38188L9.23962 3.50169ZM7.00218 4.61904L14.7639 8.49992L12 9.88188L4.23654 6.00015L7.00218 4.61904ZM2.99999 7.61794V16.7669C2.99734 17.1467 3.21012 17.4952 3.54914 17.6665L11 21.3919V11.618L2.99999 7.61794ZM13 21.3869L20.4428 17.6655L20.445 17.6644C20.7848 17.4955 20.9998 17.1488 21 16.7694V7.61796L13 11.618V21.3869Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/PaperclipIcon/PaperclipIcon.native.test.tsx b/packages/blade/src/components/Icons/PaperclipIcon/PaperclipIcon.native.test.tsx index 878444bbdb8..739a4a50ef9 100644 --- a/packages/blade/src/components/Icons/PaperclipIcon/PaperclipIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PaperclipIcon/PaperclipIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PaperclipIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PaperclipIcon/PaperclipIcon.web.test.tsx b/packages/blade/src/components/Icons/PaperclipIcon/PaperclipIcon.web.test.tsx index a5b22de1a35..0a74d13a587 100644 --- a/packages/blade/src/components/Icons/PaperclipIcon/PaperclipIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PaperclipIcon/PaperclipIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PaperclipIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PaperclipIcon/__snapshots__/PaperclipIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PaperclipIcon/__snapshots__/PaperclipIcon.native.test.tsx.snap index 850308cc53d..b92a4002bc5 100644 --- a/packages/blade/src/components/Icons/PaperclipIcon/__snapshots__/PaperclipIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PaperclipIcon/__snapshots__/PaperclipIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render PaperclipIcon 1`] = ` should render PaperclipIcon 1`] = ` clip-rule="evenodd" d="M17.9012 3.87933C16.7288 2.70689 14.8279 2.70689 13.6554 3.87933L4.46544 13.0693C2.51152 15.0233 2.51152 18.1912 4.46544 20.1451C6.41937 22.099 9.58731 22.099 11.5412 20.1451L20.7312 10.9551C21.1218 10.5646 21.7549 10.5646 22.1454 10.9551C22.536 11.3456 22.536 11.9788 22.1454 12.3693L12.9554 21.5593C10.2205 24.2943 5.7862 24.2943 3.05123 21.5593C0.316257 18.8244 0.316257 14.3901 3.05123 11.6551L12.2412 2.46512C14.1947 0.511628 17.362 0.511627 19.3154 2.46512C21.2689 4.41861 21.2689 7.58584 19.3154 9.53933L10.1154 18.7293C8.94344 19.9013 7.04324 19.9013 5.87123 18.7293C4.69922 17.5573 4.69922 15.6571 5.87123 14.4851L14.3616 6.0047C14.7524 5.61441 15.3856 5.61478 15.7759 6.00553C16.1662 6.39629 16.1658 7.02945 15.775 7.41975L7.28544 15.8993C6.8949 16.2903 6.89462 16.9243 7.28544 17.3151C7.6764 17.7061 8.31027 17.7061 8.70123 17.3151L17.9012 8.12512C19.0733 6.95264 19.0735 5.05164 17.9012 3.87933Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/PauseCircleIcon/PauseCircleIcon.native.test.tsx b/packages/blade/src/components/Icons/PauseCircleIcon/PauseCircleIcon.native.test.tsx index 4a71c15d672..ca488cd243c 100644 --- a/packages/blade/src/components/Icons/PauseCircleIcon/PauseCircleIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PauseCircleIcon/PauseCircleIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PauseCircleIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PauseCircleIcon/PauseCircleIcon.web.test.tsx b/packages/blade/src/components/Icons/PauseCircleIcon/PauseCircleIcon.web.test.tsx index 0fe6f32b27b..7771052da27 100644 --- a/packages/blade/src/components/Icons/PauseCircleIcon/PauseCircleIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PauseCircleIcon/PauseCircleIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PauseCircleIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PauseCircleIcon/__snapshots__/PauseCircleIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PauseCircleIcon/__snapshots__/PauseCircleIcon.native.test.tsx.snap index 3e5f14b9003..38473f090e2 100644 --- a/packages/blade/src/components/Icons/PauseCircleIcon/__snapshots__/PauseCircleIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PauseCircleIcon/__snapshots__/PauseCircleIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render PauseCircleIcon 1`] = ` > should render PauseCircleIcon 1`] = ` /> should render PauseCircleIcon 1`] = ` should render PauseCircleIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/PauseIcon/PauseIcon.native.test.tsx b/packages/blade/src/components/Icons/PauseIcon/PauseIcon.native.test.tsx index 51b87232265..53f44d51dbe 100644 --- a/packages/blade/src/components/Icons/PauseIcon/PauseIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PauseIcon/PauseIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PauseIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PauseIcon/PauseIcon.web.test.tsx b/packages/blade/src/components/Icons/PauseIcon/PauseIcon.web.test.tsx index 9d3cbc8e860..31b69f05eaf 100644 --- a/packages/blade/src/components/Icons/PauseIcon/PauseIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PauseIcon/PauseIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PauseIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PauseIcon/__snapshots__/PauseIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PauseIcon/__snapshots__/PauseIcon.native.test.tsx.snap index 2a884acad07..0600fa9bf48 100644 --- a/packages/blade/src/components/Icons/PauseIcon/__snapshots__/PauseIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PauseIcon/__snapshots__/PauseIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render PauseIcon 1`] = ` should render PauseIcon 1`] = ` clip-rule="evenodd" d="M6 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H6Zm1 16V5h2v14H7ZM14 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1h-4Zm1 16V5h2v14h-2Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/PaymentButtonsIcon/PaymentButtonsIcon.native.test.tsx b/packages/blade/src/components/Icons/PaymentButtonsIcon/PaymentButtonsIcon.native.test.tsx index 150222964c9..63c3dbd265e 100644 --- a/packages/blade/src/components/Icons/PaymentButtonsIcon/PaymentButtonsIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PaymentButtonsIcon/PaymentButtonsIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PaymentButtonsIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PaymentButtonsIcon/PaymentButtonsIcon.web.test.tsx b/packages/blade/src/components/Icons/PaymentButtonsIcon/PaymentButtonsIcon.web.test.tsx index ccd6a4e3c9a..0abaa1f80b0 100644 --- a/packages/blade/src/components/Icons/PaymentButtonsIcon/PaymentButtonsIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PaymentButtonsIcon/PaymentButtonsIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PaymentButtonsIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PaymentButtonsIcon/__snapshots__/PaymentButtonsIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PaymentButtonsIcon/__snapshots__/PaymentButtonsIcon.native.test.tsx.snap index 1335a8d4c91..469d3c2b20f 100644 --- a/packages/blade/src/components/Icons/PaymentButtonsIcon/__snapshots__/PaymentButtonsIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PaymentButtonsIcon/__snapshots__/PaymentButtonsIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render PaymentButtonsIcon 1`] = ` should render PaymentButtonsIcon 1`] = ` clip-rule="evenodd" d="M5.63688 11.375C4.74852 11.6022 4.09561 12.3621 4.09561 13.2646V14.0822C4.09561 15.1641 5.03385 16.0411 6.19123 16.0411H14.2275C15.1724 16.0411 15.9713 15.4565 16.2327 14.6532H9.77254C7.69079 14.6532 5.96353 13.2345 5.63688 11.375ZM18.38 14.6171C18.101 16.5278 16.3482 18 14.2275 18H6.19123C3.87647 18 2 16.2459 2 14.0822V13.2646C2 11.282 3.5755 9.64333 5.62004 9.38291C5.89908 7.47222 7.65188 6 9.77254 6H17.8088C20.1236 6 22 7.75404 22 9.91776V10.7354C22 12.718 20.4245 14.3567 18.38 14.6171Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/PaymentLinksIcon/PaymentLinksIcon.native.test.tsx b/packages/blade/src/components/Icons/PaymentLinksIcon/PaymentLinksIcon.native.test.tsx index f48641d4ea5..49714630ff2 100644 --- a/packages/blade/src/components/Icons/PaymentLinksIcon/PaymentLinksIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PaymentLinksIcon/PaymentLinksIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PaymentLinksIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PaymentLinksIcon/PaymentLinksIcon.web.test.tsx b/packages/blade/src/components/Icons/PaymentLinksIcon/PaymentLinksIcon.web.test.tsx index b0bd84212a4..da2647a5e28 100644 --- a/packages/blade/src/components/Icons/PaymentLinksIcon/PaymentLinksIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PaymentLinksIcon/PaymentLinksIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PaymentLinksIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PaymentLinksIcon/__snapshots__/PaymentLinksIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PaymentLinksIcon/__snapshots__/PaymentLinksIcon.native.test.tsx.snap index 18e785b10b3..997b803bbd5 100644 --- a/packages/blade/src/components/Icons/PaymentLinksIcon/__snapshots__/PaymentLinksIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PaymentLinksIcon/__snapshots__/PaymentLinksIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render PaymentLinksIcon 1`] = ` > should render PaymentLinksIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/PaymentPagesIcon/PaymentPagesIcon.native.test.tsx b/packages/blade/src/components/Icons/PaymentPagesIcon/PaymentPagesIcon.native.test.tsx index 5c4d7b9f5f5..08de64e2679 100644 --- a/packages/blade/src/components/Icons/PaymentPagesIcon/PaymentPagesIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PaymentPagesIcon/PaymentPagesIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PaymentPagesIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PaymentPagesIcon/PaymentPagesIcon.web.test.tsx b/packages/blade/src/components/Icons/PaymentPagesIcon/PaymentPagesIcon.web.test.tsx index 1a84ae12186..2e358d9e314 100644 --- a/packages/blade/src/components/Icons/PaymentPagesIcon/PaymentPagesIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PaymentPagesIcon/PaymentPagesIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PaymentPagesIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PaymentPagesIcon/__snapshots__/PaymentPagesIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PaymentPagesIcon/__snapshots__/PaymentPagesIcon.native.test.tsx.snap index dc07c11687f..db2af69c272 100644 --- a/packages/blade/src/components/Icons/PaymentPagesIcon/__snapshots__/PaymentPagesIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PaymentPagesIcon/__snapshots__/PaymentPagesIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render PaymentPagesIcon 1`] = ` > should render PaymentPagesIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/PercentIcon/PercentIcon.native.test.tsx b/packages/blade/src/components/Icons/PercentIcon/PercentIcon.native.test.tsx index 40a2d0b7b5e..7bc8d2062fe 100644 --- a/packages/blade/src/components/Icons/PercentIcon/PercentIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PercentIcon/PercentIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PercentIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PercentIcon/PercentIcon.web.test.tsx b/packages/blade/src/components/Icons/PercentIcon/PercentIcon.web.test.tsx index 23fdfb70320..27b08659d07 100644 --- a/packages/blade/src/components/Icons/PercentIcon/PercentIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PercentIcon/PercentIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PercentIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PercentIcon/__snapshots__/PercentIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PercentIcon/__snapshots__/PercentIcon.native.test.tsx.snap index 6b13dae16e0..5570bc798e5 100644 --- a/packages/blade/src/components/Icons/PercentIcon/__snapshots__/PercentIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PercentIcon/__snapshots__/PercentIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render PercentIcon 1`] = ` should render PercentIcon 1`] = ` /> should render PercentIcon 1`] = ` should render PercentIcon 1`] = ` clip-rule="evenodd" d="M3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5ZM6.5 5C5.67157 5 5 5.67157 5 6.5C5 7.32843 5.67157 8 6.5 8C7.32843 8 8 7.32843 8 6.5C8 5.67157 7.32843 5 6.5 5Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/PhoneCallIcon/PhoneCallIcon.native.test.tsx b/packages/blade/src/components/Icons/PhoneCallIcon/PhoneCallIcon.native.test.tsx index 66e2dcf3882..5ea93b3a505 100644 --- a/packages/blade/src/components/Icons/PhoneCallIcon/PhoneCallIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PhoneCallIcon/PhoneCallIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PhoneCallIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PhoneCallIcon/PhoneCallIcon.web.test.tsx b/packages/blade/src/components/Icons/PhoneCallIcon/PhoneCallIcon.web.test.tsx index 2f730ab5af7..7def1df775d 100644 --- a/packages/blade/src/components/Icons/PhoneCallIcon/PhoneCallIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PhoneCallIcon/PhoneCallIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PhoneCallIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PhoneCallIcon/__snapshots__/PhoneCallIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PhoneCallIcon/__snapshots__/PhoneCallIcon.native.test.tsx.snap index ed95a05209c..a7a6f1c68c3 100644 --- a/packages/blade/src/components/Icons/PhoneCallIcon/__snapshots__/PhoneCallIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PhoneCallIcon/__snapshots__/PhoneCallIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render PhoneCallIcon 1`] = ` > should render PhoneCallIcon 1`] = ` /> should render PhoneCallIcon 1`] = ` should render PhoneCallIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/PhoneForwardedIcon/PhoneForwardedIcon.native.test.tsx b/packages/blade/src/components/Icons/PhoneForwardedIcon/PhoneForwardedIcon.native.test.tsx index c624c2e1ade..0ae4cf2d04b 100644 --- a/packages/blade/src/components/Icons/PhoneForwardedIcon/PhoneForwardedIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PhoneForwardedIcon/PhoneForwardedIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PhoneForwardedIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PhoneForwardedIcon/PhoneForwardedIcon.web.test.tsx b/packages/blade/src/components/Icons/PhoneForwardedIcon/PhoneForwardedIcon.web.test.tsx index 39cdb931989..c837c216a0a 100644 --- a/packages/blade/src/components/Icons/PhoneForwardedIcon/PhoneForwardedIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PhoneForwardedIcon/PhoneForwardedIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PhoneForwardedIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PhoneForwardedIcon/__snapshots__/PhoneForwardedIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PhoneForwardedIcon/__snapshots__/PhoneForwardedIcon.native.test.tsx.snap index 9161992565e..275caeb0ccf 100644 --- a/packages/blade/src/components/Icons/PhoneForwardedIcon/__snapshots__/PhoneForwardedIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PhoneForwardedIcon/__snapshots__/PhoneForwardedIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render PhoneForwardedIcon 1`] = ` > should render PhoneForwardedIcon 1`] = ` should render PhoneForwardedIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/PhoneIcon/PhoneIcon.native.test.tsx b/packages/blade/src/components/Icons/PhoneIcon/PhoneIcon.native.test.tsx index 10af70bfcd1..0ca2b884a57 100644 --- a/packages/blade/src/components/Icons/PhoneIcon/PhoneIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PhoneIcon/PhoneIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PhoneIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PhoneIcon/PhoneIcon.web.test.tsx b/packages/blade/src/components/Icons/PhoneIcon/PhoneIcon.web.test.tsx index aeb4d75f5f6..669a1338188 100644 --- a/packages/blade/src/components/Icons/PhoneIcon/PhoneIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PhoneIcon/PhoneIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PhoneIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PhoneIcon/__snapshots__/PhoneIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PhoneIcon/__snapshots__/PhoneIcon.native.test.tsx.snap index 1d92ec47e99..56e6a998a0f 100644 --- a/packages/blade/src/components/Icons/PhoneIcon/__snapshots__/PhoneIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PhoneIcon/__snapshots__/PhoneIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render PhoneIcon 1`] = ` should render PhoneIcon 1`] = ` clip-rule="evenodd" d="M0.883051 1.8182C1.47945 1.25294 2.28482 1 2.99996 1H6.10996C7.0887 1 7.81222 1.44835 8.28724 1.97575C8.74141 2.47998 8.98842 3.07204 9.0852 3.49887L9.09536 3.54368L9.10137 3.58924C9.21809 4.47417 9.43449 5.34306 9.74647 6.17935C10.1579 7.27536 9.89423 8.51066 9.07101 9.34314L9.06708 9.34712L8.34997 10.0642C9.52583 11.9088 11.0911 13.4741 12.9358 14.65L13.6529 13.9329L13.6568 13.9289C14.4893 13.1057 15.7246 12.842 16.8206 13.2535C17.6569 13.5655 18.5258 13.7819 19.4107 13.8986L19.4197 13.8998C20.9235 14.1119 22.0308 15.4142 22 16.9312V20C22 21.1 21.4415 21.8538 20.9683 22.1922C20.3527 22.7273 19.5446 22.9896 18.73 22.9159L18.7209 22.9151L18.7119 22.9141C15.4808 22.5631 12.377 21.4593 9.64971 19.6915C7.11256 18.0785 4.96126 15.9272 3.34828 13.39C1.58268 10.6633 0.480716 7.56092 0.130507 4.3318C-0.0695435 3.2942 0.253692 2.41469 0.883051 1.8182ZM2.25886 3.2698C2.13282 3.38926 2.01626 3.58008 2.09885 3.97561L2.10908 4.02462L2.11437 4.0744C2.42602 7.00921 3.42461 9.82933 5.02924 12.3063L5.034 12.3137C6.4906 14.6059 8.43401 16.5494 10.7263 18.006L10.7341 18.0109C13.1969 19.6081 15.9996 20.606 18.9175 20.9247C19.1954 20.9477 19.4704 20.8536 19.676 20.665L19.7452 20.6015L19.8058 20.5639C19.8085 20.5613 19.8122 20.5577 19.8166 20.553C19.8359 20.5325 19.8634 20.4985 19.891 20.4506C19.944 20.3589 20 20.2133 20 20V16.9076L20.0003 16.8952C20.0128 16.3888 19.6448 15.9532 19.1439 15.8807C18.1109 15.7441 17.0966 15.4912 16.1204 15.1269L16.1181 15.1261C15.7534 14.989 15.3423 15.0762 15.0647 15.3494L13.7971 16.6171C13.4788 16.9354 12.987 17.0018 12.5957 16.7793C9.93565 15.2668 7.73319 13.0643 6.22066 10.4043C5.99815 10.013 6.06454 9.52121 6.38285 9.20289L7.65052 7.93522C7.92376 7.65764 8.011 7.24658 7.87391 6.88186L7.87306 6.8796C7.51467 5.91916 7.26412 4.92193 7.12598 3.90627C7.08472 3.75483 6.97819 3.51078 6.80117 3.31425C6.6307 3.12499 6.41921 3 6.10996 3H2.99996C2.71509 3 2.42845 3.10906 2.25886 3.2698Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/PhoneIncomingIcon/PhoneIncomingIcon.native.test.tsx b/packages/blade/src/components/Icons/PhoneIncomingIcon/PhoneIncomingIcon.native.test.tsx index e076d589a57..6a886a3b970 100644 --- a/packages/blade/src/components/Icons/PhoneIncomingIcon/PhoneIncomingIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PhoneIncomingIcon/PhoneIncomingIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PhoneIncomingIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PhoneIncomingIcon/PhoneIncomingIcon.web.test.tsx b/packages/blade/src/components/Icons/PhoneIncomingIcon/PhoneIncomingIcon.web.test.tsx index 2a4d89ca13a..45f4fd560d2 100644 --- a/packages/blade/src/components/Icons/PhoneIncomingIcon/PhoneIncomingIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PhoneIncomingIcon/PhoneIncomingIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PhoneIncomingIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PhoneIncomingIcon/__snapshots__/PhoneIncomingIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PhoneIncomingIcon/__snapshots__/PhoneIncomingIcon.native.test.tsx.snap index 27f3743cb8c..463125cdb8a 100644 --- a/packages/blade/src/components/Icons/PhoneIncomingIcon/__snapshots__/PhoneIncomingIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PhoneIncomingIcon/__snapshots__/PhoneIncomingIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render PhoneIncomingIcon 1`] = ` > should render PhoneIncomingIcon 1`] = ` should render PhoneIncomingIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/PhoneMissedIcon/PhoneMissedIcon.native.test.tsx b/packages/blade/src/components/Icons/PhoneMissedIcon/PhoneMissedIcon.native.test.tsx index 6dd777caf4e..cf37bc9c0d2 100644 --- a/packages/blade/src/components/Icons/PhoneMissedIcon/PhoneMissedIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PhoneMissedIcon/PhoneMissedIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PhoneMissedIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PhoneMissedIcon/PhoneMissedIcon.web.test.tsx b/packages/blade/src/components/Icons/PhoneMissedIcon/PhoneMissedIcon.web.test.tsx index 0daa55e7959..6e4b033a7c3 100644 --- a/packages/blade/src/components/Icons/PhoneMissedIcon/PhoneMissedIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PhoneMissedIcon/PhoneMissedIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PhoneMissedIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PhoneMissedIcon/__snapshots__/PhoneMissedIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PhoneMissedIcon/__snapshots__/PhoneMissedIcon.native.test.tsx.snap index 3059c7740a3..b1adad5d8e7 100644 --- a/packages/blade/src/components/Icons/PhoneMissedIcon/__snapshots__/PhoneMissedIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PhoneMissedIcon/__snapshots__/PhoneMissedIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render PhoneMissedIcon 1`] = ` > should render PhoneMissedIcon 1`] = ` should render PhoneMissedIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/PhoneOffIcon/PhoneOffIcon.native.test.tsx b/packages/blade/src/components/Icons/PhoneOffIcon/PhoneOffIcon.native.test.tsx index f3bc63a576a..ad7aae60a6c 100644 --- a/packages/blade/src/components/Icons/PhoneOffIcon/PhoneOffIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PhoneOffIcon/PhoneOffIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PhoneOffIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PhoneOffIcon/PhoneOffIcon.web.test.tsx b/packages/blade/src/components/Icons/PhoneOffIcon/PhoneOffIcon.web.test.tsx index 3b49004b1fc..2f67fc83f17 100644 --- a/packages/blade/src/components/Icons/PhoneOffIcon/PhoneOffIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PhoneOffIcon/PhoneOffIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PhoneOffIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PhoneOffIcon/__snapshots__/PhoneOffIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PhoneOffIcon/__snapshots__/PhoneOffIcon.native.test.tsx.snap index 76e10f4807c..14ea9cb418e 100644 --- a/packages/blade/src/components/Icons/PhoneOffIcon/__snapshots__/PhoneOffIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PhoneOffIcon/__snapshots__/PhoneOffIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render PhoneOffIcon 1`] = ` should render PhoneOffIcon 1`] = ` /> should render PhoneOffIcon 1`] = ` name="clip0_59_166" > should render PhoneOffIcon 1`] = ` clip-rule="evenodd" d="M23.7071 1.70711C24.0976 1.31658 24.0976 0.683417 23.7071 0.292893C23.3166 -0.0976311 22.6834 -0.0976311 22.2929 0.292893L10.0624 12.5234C10.0315 12.5477 10.0017 12.5741 9.97321 12.6026C9.9445 12.6313 9.91791 12.6613 9.89342 12.6924L0.292893 22.2929C-0.0976311 22.6834 -0.0976311 23.3166 0.292893 23.7071C0.683417 24.0976 1.31658 24.0976 1.70711 23.7071L7.87171 17.5425C8.73506 18.3265 9.66444 19.0356 10.6498 19.6616C13.3771 21.4293 16.4809 22.5331 19.712 22.8842L19.73 22.8859C20.5399 22.9591 21.3434 22.7003 21.9576 22.1714C22.4472 21.8367 23 21.0933 23 20V16.8943C23.0121 15.3909 21.9092 14.1103 20.42 13.8998L20.4108 13.8986C19.5258 13.7819 18.6568 13.5654 17.8205 13.2534C16.7245 12.8421 15.4893 13.1058 14.6569 13.929L14.6529 13.9329L13.9358 14.65C13.298 14.2434 12.6919 13.7892 12.1228 13.2914L23.7071 1.70711ZM10.7058 14.7084L9.28774 16.1265C10.0474 16.8091 10.8629 17.4278 11.726 17.9758L11.7341 17.9809C14.197 19.5781 16.9997 20.576 19.9176 20.8947C20.1954 20.9177 20.4704 20.8236 20.6761 20.635C20.7227 20.5922 20.7734 20.5539 20.8273 20.5207L20.8321 20.5159C20.8476 20.5001 20.8719 20.4715 20.897 20.4291C20.9444 20.3493 21 20.2127 21 20V16.8802C21.0049 16.3795 20.6389 15.9525 20.1438 15.8807C19.1108 15.744 18.0966 15.4912 17.1204 15.1269L17.1181 15.1261C16.7534 14.989 16.3424 15.0762 16.0648 15.3494L14.7971 16.6171C14.4788 16.9354 13.987 17.0018 13.5957 16.7793C12.5619 16.1915 11.5934 15.4972 10.7058 14.7084Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> should render PhoneOffIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/PhoneOutgoingIcon/PhoneOutgoingIcon.native.test.tsx b/packages/blade/src/components/Icons/PhoneOutgoingIcon/PhoneOutgoingIcon.native.test.tsx index 98c7f4dbceb..8f495f919dc 100644 --- a/packages/blade/src/components/Icons/PhoneOutgoingIcon/PhoneOutgoingIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PhoneOutgoingIcon/PhoneOutgoingIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PhoneOutgoingIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PhoneOutgoingIcon/PhoneOutgoingIcon.web.test.tsx b/packages/blade/src/components/Icons/PhoneOutgoingIcon/PhoneOutgoingIcon.web.test.tsx index d900865909a..26771559259 100644 --- a/packages/blade/src/components/Icons/PhoneOutgoingIcon/PhoneOutgoingIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PhoneOutgoingIcon/PhoneOutgoingIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PhoneOutgoingIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PhoneOutgoingIcon/__snapshots__/PhoneOutgoingIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PhoneOutgoingIcon/__snapshots__/PhoneOutgoingIcon.native.test.tsx.snap index 4ce87bbd0f4..06462b82603 100644 --- a/packages/blade/src/components/Icons/PhoneOutgoingIcon/__snapshots__/PhoneOutgoingIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PhoneOutgoingIcon/__snapshots__/PhoneOutgoingIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render PhoneOutgoingIcon 1`] = ` > should render PhoneOutgoingIcon 1`] = ` should render PhoneOutgoingIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/PieChartIcon/PieChartIcon.native.test.tsx b/packages/blade/src/components/Icons/PieChartIcon/PieChartIcon.native.test.tsx index fa957eb7617..f6a5a029bfc 100644 --- a/packages/blade/src/components/Icons/PieChartIcon/PieChartIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PieChartIcon/PieChartIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PieChartIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PieChartIcon/PieChartIcon.web.test.tsx b/packages/blade/src/components/Icons/PieChartIcon/PieChartIcon.web.test.tsx index 20015436e68..26ccdd6827f 100644 --- a/packages/blade/src/components/Icons/PieChartIcon/PieChartIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PieChartIcon/PieChartIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PieChartIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PieChartIcon/__snapshots__/PieChartIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PieChartIcon/__snapshots__/PieChartIcon.native.test.tsx.snap index ec8ce1f9d80..43c52c54836 100644 --- a/packages/blade/src/components/Icons/PieChartIcon/__snapshots__/PieChartIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PieChartIcon/__snapshots__/PieChartIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render PieChartIcon 1`] = ` should render PieChartIcon 1`] = ` /> should render PieChartIcon 1`] = ` clip-rule="evenodd" d="M12 1C11.7348 1 11.4804 1.10536 11.2929 1.29289C11.1054 1.48043 11 1.73478 11 2V12C11 12.5523 11.4477 13 12 13H22C22.5523 13 23 12.5523 23 12C23 9.08262 21.8411 6.28473 19.7782 4.22183C17.7153 2.15893 14.9174 1 12 1ZM13 11V3.0557C15.019 3.28137 16.9135 4.18561 18.364 5.63604C19.8144 7.08647 20.7186 8.98098 20.9443 11H13Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/PlayCircleIcon/PlayCircleIcon.native.test.tsx b/packages/blade/src/components/Icons/PlayCircleIcon/PlayCircleIcon.native.test.tsx index 3adbd086c89..dea34c40e62 100644 --- a/packages/blade/src/components/Icons/PlayCircleIcon/PlayCircleIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PlayCircleIcon/PlayCircleIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PlayCircleIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PlayCircleIcon/PlayCircleIcon.web.test.tsx b/packages/blade/src/components/Icons/PlayCircleIcon/PlayCircleIcon.web.test.tsx index eff9709c2e2..57500955193 100644 --- a/packages/blade/src/components/Icons/PlayCircleIcon/PlayCircleIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PlayCircleIcon/PlayCircleIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PlayCircleIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PlayCircleIcon/__snapshots__/PlayCircleIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PlayCircleIcon/__snapshots__/PlayCircleIcon.native.test.tsx.snap index d0511f74fa1..ca493872764 100644 --- a/packages/blade/src/components/Icons/PlayCircleIcon/__snapshots__/PlayCircleIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PlayCircleIcon/__snapshots__/PlayCircleIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render PlayCircleIcon 1`] = ` should render PlayCircleIcon 1`] = ` should render PlayCircleIcon 1`] = ` clip-rule="evenodd" d="M10.5547 7.16795C10.2478 6.96338 9.8533 6.94431 9.52814 7.11833C9.20298 7.29235 9 7.63121 9 8V16C9 16.3688 9.20298 16.7077 9.52814 16.8817C9.8533 17.0557 10.2478 17.0366 10.5547 16.8321L16.5547 12.8321C16.8329 12.6466 17 12.3344 17 12C17 11.6656 16.8329 11.3534 16.5547 11.168L10.5547 7.16795ZM14.1972 12L11 14.1315V9.86852L14.1972 12Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/PlayIcon/PlayIcon.native.test.tsx b/packages/blade/src/components/Icons/PlayIcon/PlayIcon.native.test.tsx index 27aeec74932..4ebe4cd9410 100644 --- a/packages/blade/src/components/Icons/PlayIcon/PlayIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PlayIcon/PlayIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PlayIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PlayIcon/PlayIcon.web.test.tsx b/packages/blade/src/components/Icons/PlayIcon/PlayIcon.web.test.tsx index 76faeb256d1..843438224c9 100644 --- a/packages/blade/src/components/Icons/PlayIcon/PlayIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PlayIcon/PlayIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PlayIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PlayIcon/__snapshots__/PlayIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PlayIcon/__snapshots__/PlayIcon.native.test.tsx.snap index 3242b6407fe..353cbf79ffc 100644 --- a/packages/blade/src/components/Icons/PlayIcon/__snapshots__/PlayIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PlayIcon/__snapshots__/PlayIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render PlayIcon 1`] = ` should render PlayIcon 1`] = ` clip-rule="evenodd" d="M4.52081 2.12229C4.84189 1.947 5.23305 1.96101 5.54076 2.15882L19.5408 11.1588C19.827 11.3428 20 11.6597 20 12C20 12.3403 19.827 12.6572 19.5408 12.8412L5.54076 21.8412C5.23305 22.039 4.84189 22.053 4.52081 21.8777C4.19974 21.7024 4 21.3658 4 21V3C4 2.63419 4.19974 2.29758 4.52081 2.12229ZM6 4.83167V19.1683L17.1507 12L6 4.83167Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/PlusCircleIcon/PlusCircleIcon.native.test.tsx b/packages/blade/src/components/Icons/PlusCircleIcon/PlusCircleIcon.native.test.tsx index d16ff9385d7..5224b11e0d3 100644 --- a/packages/blade/src/components/Icons/PlusCircleIcon/PlusCircleIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PlusCircleIcon/PlusCircleIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PlusCircleIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PlusCircleIcon/PlusCircleIcon.web.test.tsx b/packages/blade/src/components/Icons/PlusCircleIcon/PlusCircleIcon.web.test.tsx index d3935a9e782..3b26921f2aa 100644 --- a/packages/blade/src/components/Icons/PlusCircleIcon/PlusCircleIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PlusCircleIcon/PlusCircleIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PlusCircleIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PlusCircleIcon/__snapshots__/PlusCircleIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PlusCircleIcon/__snapshots__/PlusCircleIcon.native.test.tsx.snap index b59e9677c32..6a64163437a 100644 --- a/packages/blade/src/components/Icons/PlusCircleIcon/__snapshots__/PlusCircleIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PlusCircleIcon/__snapshots__/PlusCircleIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render PlusCircleIcon 1`] = ` should render PlusCircleIcon 1`] = ` clip-rule="evenodd" d="M1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM12 7C12.5523 7 13 7.44772 13 8V11H16C16.5523 11 17 11.4477 17 12C17 12.5523 16.5523 13 16 13H13V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V13H8C7.44772 13 7 12.5523 7 12C7 11.4477 7.44772 11 8 11H11V8C11 7.44772 11.4477 7 12 7Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/PlusIcon/PlusIcon.native.test.tsx b/packages/blade/src/components/Icons/PlusIcon/PlusIcon.native.test.tsx index 0eebb7cb07b..9594c588bc9 100644 --- a/packages/blade/src/components/Icons/PlusIcon/PlusIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PlusIcon/PlusIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PlusIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PlusIcon/PlusIcon.web.test.tsx b/packages/blade/src/components/Icons/PlusIcon/PlusIcon.web.test.tsx index 0e9a5595c6b..16482fa6afe 100644 --- a/packages/blade/src/components/Icons/PlusIcon/PlusIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PlusIcon/PlusIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PlusIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PlusIcon/__snapshots__/PlusIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PlusIcon/__snapshots__/PlusIcon.native.test.tsx.snap index b9f39c809dd..6c2d4c0e9bb 100644 --- a/packages/blade/src/components/Icons/PlusIcon/__snapshots__/PlusIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PlusIcon/__snapshots__/PlusIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render PlusIcon 1`] = ` > should render PlusIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/PlusSquareIcon/PlusSquareIcon.native.test.tsx b/packages/blade/src/components/Icons/PlusSquareIcon/PlusSquareIcon.native.test.tsx index 7430b2b26c1..9a0398858e2 100644 --- a/packages/blade/src/components/Icons/PlusSquareIcon/PlusSquareIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PlusSquareIcon/PlusSquareIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PlusSquareIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PlusSquareIcon/PlusSquareIcon.web.test.tsx b/packages/blade/src/components/Icons/PlusSquareIcon/PlusSquareIcon.web.test.tsx index 40916fe0d99..dabcd1c0f15 100644 --- a/packages/blade/src/components/Icons/PlusSquareIcon/PlusSquareIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PlusSquareIcon/PlusSquareIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PlusSquareIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PlusSquareIcon/__snapshots__/PlusSquareIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PlusSquareIcon/__snapshots__/PlusSquareIcon.native.test.tsx.snap index 0e35efb5897..d3092689471 100644 --- a/packages/blade/src/components/Icons/PlusSquareIcon/__snapshots__/PlusSquareIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PlusSquareIcon/__snapshots__/PlusSquareIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render PlusSquareIcon 1`] = ` > should render PlusSquareIcon 1`] = ` should render PlusSquareIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/PocketIcon/PocketIcon.native.test.tsx b/packages/blade/src/components/Icons/PocketIcon/PocketIcon.native.test.tsx index d3b8f491a05..49b1c0c1c5e 100644 --- a/packages/blade/src/components/Icons/PocketIcon/PocketIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PocketIcon/PocketIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PocketIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PocketIcon/PocketIcon.web.test.tsx b/packages/blade/src/components/Icons/PocketIcon/PocketIcon.web.test.tsx index 3583c7a33ab..c71a9a88111 100644 --- a/packages/blade/src/components/Icons/PocketIcon/PocketIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PocketIcon/PocketIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PocketIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PocketIcon/__snapshots__/PocketIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PocketIcon/__snapshots__/PocketIcon.native.test.tsx.snap index f7d3ca2d201..1d01fbd7296 100644 --- a/packages/blade/src/components/Icons/PocketIcon/__snapshots__/PocketIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PocketIcon/__snapshots__/PocketIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render PocketIcon 1`] = ` > should render PocketIcon 1`] = ` should render PocketIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/PowerIcon/PowerIcon.native.test.tsx b/packages/blade/src/components/Icons/PowerIcon/PowerIcon.native.test.tsx index 67f0ceabab4..61f191df681 100644 --- a/packages/blade/src/components/Icons/PowerIcon/PowerIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PowerIcon/PowerIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PowerIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PowerIcon/PowerIcon.web.test.tsx b/packages/blade/src/components/Icons/PowerIcon/PowerIcon.web.test.tsx index f4d4c9d2a97..0262c4ffe05 100644 --- a/packages/blade/src/components/Icons/PowerIcon/PowerIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PowerIcon/PowerIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PowerIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PowerIcon/__snapshots__/PowerIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PowerIcon/__snapshots__/PowerIcon.native.test.tsx.snap index c9b63f28cc2..75e13b8ceb1 100644 --- a/packages/blade/src/components/Icons/PowerIcon/__snapshots__/PowerIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PowerIcon/__snapshots__/PowerIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render PowerIcon 1`] = ` > should render PowerIcon 1`] = ` /> should render PowerIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/PrinterIcon/PrinterIcon.native.test.tsx b/packages/blade/src/components/Icons/PrinterIcon/PrinterIcon.native.test.tsx index 9dbf8ce1134..690295350bc 100644 --- a/packages/blade/src/components/Icons/PrinterIcon/PrinterIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/PrinterIcon/PrinterIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render PrinterIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PrinterIcon/PrinterIcon.web.test.tsx b/packages/blade/src/components/Icons/PrinterIcon/PrinterIcon.web.test.tsx index e0ebaa093e4..2a63a8a0306 100644 --- a/packages/blade/src/components/Icons/PrinterIcon/PrinterIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/PrinterIcon/PrinterIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render PrinterIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/PrinterIcon/__snapshots__/PrinterIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/PrinterIcon/__snapshots__/PrinterIcon.native.test.tsx.snap index b104f81394d..cb97865c4cb 100644 --- a/packages/blade/src/components/Icons/PrinterIcon/__snapshots__/PrinterIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/PrinterIcon/__snapshots__/PrinterIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render PrinterIcon 1`] = ` should render PrinterIcon 1`] = ` clip-rule="evenodd" d="M5 2C5 1.44772 5.44772 1 6 1H18C18.5523 1 19 1.44772 19 2V8H20C21.6569 8 23 9.34315 23 11V16C23 17.6569 21.6569 19 20 19H19V22C19 22.5523 18.5523 23 18 23H6C5.44772 23 5 22.5523 5 22V19H4C2.34315 19 1 17.6569 1 16V11C1 9.34315 2.34315 8 4 8H5V2ZM7 18V21H17V18V15H7V18ZM19 17V14C19 13.4477 18.5523 13 18 13H6C5.44772 13 5 13.4477 5 14V17H4C3.44772 17 3 16.5523 3 16V11C3 10.4477 3.44772 10 4 10H6H18H20C20.5523 10 21 10.4477 21 11V16C21 16.5523 20.5523 17 20 17H19ZM17 3V8H7V3H17Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/QRCodeIcon/QRCodeIcon.native.test.tsx b/packages/blade/src/components/Icons/QRCodeIcon/QRCodeIcon.native.test.tsx index 51a9e99947a..dd5af01c7b9 100644 --- a/packages/blade/src/components/Icons/QRCodeIcon/QRCodeIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/QRCodeIcon/QRCodeIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render QRCodeIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/QRCodeIcon/QRCodeIcon.web.test.tsx b/packages/blade/src/components/Icons/QRCodeIcon/QRCodeIcon.web.test.tsx index 003fa32970c..6b65443eb01 100644 --- a/packages/blade/src/components/Icons/QRCodeIcon/QRCodeIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/QRCodeIcon/QRCodeIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render QRCodeIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/QRCodeIcon/__snapshots__/QRCodeIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/QRCodeIcon/__snapshots__/QRCodeIcon.native.test.tsx.snap index d14e85eed42..2db3cfa8f99 100644 --- a/packages/blade/src/components/Icons/QRCodeIcon/__snapshots__/QRCodeIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/QRCodeIcon/__snapshots__/QRCodeIcon.native.test.tsx.snap @@ -54,7 +54,7 @@ exports[` should render QRCodeIcon 1`] = ` > should render QRCodeIcon 1`] = ` ', () => { it('should render RadioIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RadioIcon/RadioIcon.web.test.tsx b/packages/blade/src/components/Icons/RadioIcon/RadioIcon.web.test.tsx index 08804b8d007..a3e602d691b 100644 --- a/packages/blade/src/components/Icons/RadioIcon/RadioIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/RadioIcon/RadioIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render RadioIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RadioIcon/__snapshots__/RadioIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/RadioIcon/__snapshots__/RadioIcon.native.test.tsx.snap index ac70c80cd1b..41b900802c8 100644 --- a/packages/blade/src/components/Icons/RadioIcon/__snapshots__/RadioIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/RadioIcon/__snapshots__/RadioIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render RadioIcon 1`] = ` should render RadioIcon 1`] = ` clip-rule="evenodd" d="M5.63715 5.63693C6.02762 5.24635 6.02752 4.61318 5.63694 4.22272C5.24636 3.83225 4.61319 3.83235 4.22273 4.22293C-0.071475 8.51843 -0.071475 15.4814 4.22273 19.7769C4.61319 20.1675 5.24636 20.1676 5.63694 19.7771C6.02752 19.3867 6.02762 18.7535 5.63715 18.3629C2.12372 14.8484 2.12372 9.15143 5.63715 5.63693ZM19.7772 4.22293C19.3867 3.83235 18.7535 3.83225 18.3629 4.22272C17.9724 4.61318 17.9723 5.24635 18.3627 5.63693C21.8762 9.15143 21.8762 14.8484 18.3627 18.3629C17.9723 18.7535 17.9724 19.3867 18.3629 19.7771C18.7535 20.1676 19.3867 20.1675 19.7772 19.7769C24.0714 15.4814 24.0714 8.51843 19.7772 4.22293ZM8.46665 8.45743C8.85739 8.06712 8.85775 7.43396 8.46744 7.04322C8.07713 6.65248 7.44397 6.65212 7.05323 7.04243C5.73879 8.35541 5.00022 10.1371 5.00022 11.9949C5.00022 13.8528 5.73879 15.6345 7.05323 16.9474C7.44397 17.3377 8.07713 17.3374 8.46744 16.9466C8.85775 16.5559 8.85739 15.9227 8.46665 15.5324C7.52777 14.5946 7.00022 13.322 7.00022 11.9949C7.00022 10.6679 7.52777 9.39527 8.46665 8.45743ZM16.9467 7.05243C16.5559 6.66212 15.9227 6.66248 15.5324 7.05322C15.1421 7.44396 15.1425 8.07712 15.5332 8.46743C16.4721 9.40527 16.9997 10.6779 16.9997 12.0049C16.9997 13.332 16.4721 14.6046 15.5332 15.5424C15.1425 15.9327 15.1421 16.5659 15.5324 16.9566C15.9227 17.3474 16.5559 17.3477 16.9467 16.9574C18.2611 15.6445 18.9997 13.8628 18.9997 12.0049C18.9997 10.1471 18.2611 8.36541 16.9467 7.05243ZM12 8.99994C10.3431 8.99994 9 10.3431 9 11.9999C9 13.6568 10.3431 14.9999 12 14.9999C13.6569 14.9999 15 13.6568 15 11.9999C15 10.3431 13.6569 8.99994 12 8.99994ZM11 11.9999C11 11.4477 11.4477 10.9999 12 10.9999C12.5523 10.9999 13 11.4477 13 11.9999C13 12.5522 12.5523 12.9999 12 12.9999C11.4477 12.9999 11 12.5522 11 11.9999Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/RazorpayIcon/RazorpayIcon.native.test.tsx b/packages/blade/src/components/Icons/RazorpayIcon/RazorpayIcon.native.test.tsx index a5a5936aa69..12304e528a0 100644 --- a/packages/blade/src/components/Icons/RazorpayIcon/RazorpayIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/RazorpayIcon/RazorpayIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render RazorpayIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RazorpayIcon/RazorpayIcon.web.test.tsx b/packages/blade/src/components/Icons/RazorpayIcon/RazorpayIcon.web.test.tsx index afab46afccf..32222f9d865 100644 --- a/packages/blade/src/components/Icons/RazorpayIcon/RazorpayIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/RazorpayIcon/RazorpayIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render RazorpayIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RazorpayIcon/__snapshots__/RazorpayIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/RazorpayIcon/__snapshots__/RazorpayIcon.native.test.tsx.snap index c9bb9e91275..9b6bf24ef04 100644 --- a/packages/blade/src/components/Icons/RazorpayIcon/__snapshots__/RazorpayIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/RazorpayIcon/__snapshots__/RazorpayIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render RazorpayIcon 1`] = ` should render RazorpayIcon 1`] = ` clip-rule="evenodd" d="M9.71749 12.3339L10.7149 8.66299L21 2L15.4844 22.5753L11.6926 22.5722L15.4262 8.64209L9.71749 12.3339ZM3 22.5756L4.57044 16.7193L13.9519 10.6624L10.7718 22.5756H3Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/RazorpayXIcon/RazorpayXIcon.native.test.tsx b/packages/blade/src/components/Icons/RazorpayXIcon/RazorpayXIcon.native.test.tsx index 0bbb63e526f..127d0f112bc 100644 --- a/packages/blade/src/components/Icons/RazorpayXIcon/RazorpayXIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/RazorpayXIcon/RazorpayXIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render RazorpayXIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RazorpayXIcon/RazorpayXIcon.web.test.tsx b/packages/blade/src/components/Icons/RazorpayXIcon/RazorpayXIcon.web.test.tsx index f098bb595c6..aed450bcd6a 100644 --- a/packages/blade/src/components/Icons/RazorpayXIcon/RazorpayXIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/RazorpayXIcon/RazorpayXIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render RazorpayXIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RazorpayXIcon/__snapshots__/RazorpayXIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/RazorpayXIcon/__snapshots__/RazorpayXIcon.native.test.tsx.snap index 3edc2848e44..34a71ea04d7 100644 --- a/packages/blade/src/components/Icons/RazorpayXIcon/__snapshots__/RazorpayXIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/RazorpayXIcon/__snapshots__/RazorpayXIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render RazorpayXIcon 1`] = ` should render RazorpayXIcon 1`] = ` clip-rule="evenodd" d="M16.7596 2L4.1499 18.1112H7.49182L10.5152 14.1753L16.5258 22.0002H20.4316L12.3986 11.7234L19.8675 2H16.7596ZM10.145 9.079L7.82196 5.88974H4.15013L8.22818 11.3079L10.145 9.079Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/RefreshIcon/RefreshIcon.native.test.tsx b/packages/blade/src/components/Icons/RefreshIcon/RefreshIcon.native.test.tsx index 85d72bcc58f..c6fdfb6d9be 100644 --- a/packages/blade/src/components/Icons/RefreshIcon/RefreshIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/RefreshIcon/RefreshIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render RefreshIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RefreshIcon/RefreshIcon.web.test.tsx b/packages/blade/src/components/Icons/RefreshIcon/RefreshIcon.web.test.tsx index 3f0656cffb3..68fd6d9decd 100644 --- a/packages/blade/src/components/Icons/RefreshIcon/RefreshIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/RefreshIcon/RefreshIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render RefreshIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RefreshIcon/__snapshots__/RefreshIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/RefreshIcon/__snapshots__/RefreshIcon.native.test.tsx.snap index 40d12f8b89d..960dfe01ad5 100644 --- a/packages/blade/src/components/Icons/RefreshIcon/__snapshots__/RefreshIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/RefreshIcon/__snapshots__/RefreshIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render RefreshIcon 1`] = ` > should render RefreshIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/RepeatIcon/RepeatIcon.native.test.tsx b/packages/blade/src/components/Icons/RepeatIcon/RepeatIcon.native.test.tsx index f89e986b1b2..d24e4b8e17f 100644 --- a/packages/blade/src/components/Icons/RepeatIcon/RepeatIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/RepeatIcon/RepeatIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render RepeatIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RepeatIcon/RepeatIcon.web.test.tsx b/packages/blade/src/components/Icons/RepeatIcon/RepeatIcon.web.test.tsx index 5af02ecf139..a6fd27b18ae 100644 --- a/packages/blade/src/components/Icons/RepeatIcon/RepeatIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/RepeatIcon/RepeatIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render RepeatIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RepeatIcon/__snapshots__/RepeatIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/RepeatIcon/__snapshots__/RepeatIcon.native.test.tsx.snap index ed80f478e76..ca94d53d37c 100644 --- a/packages/blade/src/components/Icons/RepeatIcon/__snapshots__/RepeatIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/RepeatIcon/__snapshots__/RepeatIcon.native.test.tsx.snap @@ -54,7 +54,7 @@ exports[` should render RepeatIcon 1`] = ` > should render RepeatIcon 1`] = ` /> should render RepeatIcon 1`] = ` name="clip0_60_1233" > should render RepeatIcon 1`] = ` should render RepeatIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/ReportsIcon/ReportsIcon.native.test.tsx b/packages/blade/src/components/Icons/ReportsIcon/ReportsIcon.native.test.tsx index c998372799e..70f68eda7bc 100644 --- a/packages/blade/src/components/Icons/ReportsIcon/ReportsIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ReportsIcon/ReportsIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ReportsIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ReportsIcon/ReportsIcon.web.test.tsx b/packages/blade/src/components/Icons/ReportsIcon/ReportsIcon.web.test.tsx index 03b080b94b9..0c161e2be3c 100644 --- a/packages/blade/src/components/Icons/ReportsIcon/ReportsIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ReportsIcon/ReportsIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ReportsIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ReportsIcon/__snapshots__/ReportsIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ReportsIcon/__snapshots__/ReportsIcon.native.test.tsx.snap index 41ab2b1a957..07cea381e19 100644 --- a/packages/blade/src/components/Icons/ReportsIcon/__snapshots__/ReportsIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ReportsIcon/__snapshots__/ReportsIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ReportsIcon 1`] = ` > should render ReportsIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/RewindIcon/RewindIcon.native.test.tsx b/packages/blade/src/components/Icons/RewindIcon/RewindIcon.native.test.tsx index 35388a14a6a..b0151d0d44d 100644 --- a/packages/blade/src/components/Icons/RewindIcon/RewindIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/RewindIcon/RewindIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render RewindIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RewindIcon/RewindIcon.web.test.tsx b/packages/blade/src/components/Icons/RewindIcon/RewindIcon.web.test.tsx index d4b6b83f86f..f8b6021564d 100644 --- a/packages/blade/src/components/Icons/RewindIcon/RewindIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/RewindIcon/RewindIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render RewindIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RewindIcon/__snapshots__/RewindIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/RewindIcon/__snapshots__/RewindIcon.native.test.tsx.snap index 9a7199d2f7f..f70d5142f77 100644 --- a/packages/blade/src/components/Icons/RewindIcon/__snapshots__/RewindIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/RewindIcon/__snapshots__/RewindIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render RewindIcon 1`] = ` should render RewindIcon 1`] = ` clip-rule="evenodd" d="M12 5.00001C12 4.61807 11.7824 4.2695 11.4394 4.10169C11.0963 3.93389 10.6875 3.97617 10.3861 4.21066L1.38606 11.2107C1.14247 11.4001 1 11.6914 1 12C1 12.3086 1.14247 12.5999 1.38606 12.7894L10.3861 19.7894C10.6875 20.0238 11.0963 20.0661 11.4394 19.8983C11.7824 19.7305 12 19.3819 12 19V12C12 12.3086 12.1425 12.5999 12.3861 12.7894L21.3861 19.7894C21.6875 20.0238 22.0963 20.0661 22.4394 19.8983C22.7824 19.7305 23 19.3819 23 19V5.00001C23 4.61807 22.7824 4.2695 22.4394 4.10169C22.0963 3.93389 21.6875 3.97617 21.3861 4.21066L12.3861 11.2107C12.1425 11.4001 12 11.6914 12 12V5.00001ZM10 16.9554L3.62882 12L10 7.04465V16.9554ZM21 16.9554L14.6288 12L21 7.04465V16.9554Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/RotateClockWiseIcon/RotateClockWiseIcon.native.test.tsx b/packages/blade/src/components/Icons/RotateClockWiseIcon/RotateClockWiseIcon.native.test.tsx index 81226de996a..31746f704b0 100644 --- a/packages/blade/src/components/Icons/RotateClockWiseIcon/RotateClockWiseIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/RotateClockWiseIcon/RotateClockWiseIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render RotateClockWiseIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RotateClockWiseIcon/RotateClockWiseIcon.web.test.tsx b/packages/blade/src/components/Icons/RotateClockWiseIcon/RotateClockWiseIcon.web.test.tsx index f78881c4aee..fd935d1acb1 100644 --- a/packages/blade/src/components/Icons/RotateClockWiseIcon/RotateClockWiseIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/RotateClockWiseIcon/RotateClockWiseIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render RotateClockWiseIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RotateClockWiseIcon/__snapshots__/RotateClockWiseIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/RotateClockWiseIcon/__snapshots__/RotateClockWiseIcon.native.test.tsx.snap index 298da8a7e05..d4d38bf9d9c 100644 --- a/packages/blade/src/components/Icons/RotateClockWiseIcon/__snapshots__/RotateClockWiseIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/RotateClockWiseIcon/__snapshots__/RotateClockWiseIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render RotateClockWiseIcon 1`] = ` > should render RotateClockWiseIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/RotateCounterClockWiseIcon/RotateCounterClockWiseIcon.native.test.tsx b/packages/blade/src/components/Icons/RotateCounterClockWiseIcon/RotateCounterClockWiseIcon.native.test.tsx index 9e649134aa4..d6581722180 100644 --- a/packages/blade/src/components/Icons/RotateCounterClockWiseIcon/RotateCounterClockWiseIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/RotateCounterClockWiseIcon/RotateCounterClockWiseIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render RotateCounterClockWiseIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RotateCounterClockWiseIcon/RotateCounterClockWiseIcon.web.test.tsx b/packages/blade/src/components/Icons/RotateCounterClockWiseIcon/RotateCounterClockWiseIcon.web.test.tsx index 2a4bc2101de..7cabe9d967b 100644 --- a/packages/blade/src/components/Icons/RotateCounterClockWiseIcon/RotateCounterClockWiseIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/RotateCounterClockWiseIcon/RotateCounterClockWiseIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render RotateCounterClockWiseIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RotateCounterClockWiseIcon/__snapshots__/RotateCounterClockWiseIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/RotateCounterClockWiseIcon/__snapshots__/RotateCounterClockWiseIcon.native.test.tsx.snap index 9d463741c64..d481109e50e 100644 --- a/packages/blade/src/components/Icons/RotateCounterClockWiseIcon/__snapshots__/RotateCounterClockWiseIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/RotateCounterClockWiseIcon/__snapshots__/RotateCounterClockWiseIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render RotateCounterClockWiseIcon > should render RotateCounterClockWiseIcon diff --git a/packages/blade/src/components/Icons/RoutesIcon/RoutesIcon.native.test.tsx b/packages/blade/src/components/Icons/RoutesIcon/RoutesIcon.native.test.tsx index 4b7985bac4c..9b8c8590ae5 100644 --- a/packages/blade/src/components/Icons/RoutesIcon/RoutesIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/RoutesIcon/RoutesIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render RoutesIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RoutesIcon/RoutesIcon.web.test.tsx b/packages/blade/src/components/Icons/RoutesIcon/RoutesIcon.web.test.tsx index 4a89b306957..ca2ddef8c3d 100644 --- a/packages/blade/src/components/Icons/RoutesIcon/RoutesIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/RoutesIcon/RoutesIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render RoutesIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RoutesIcon/__snapshots__/RoutesIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/RoutesIcon/__snapshots__/RoutesIcon.native.test.tsx.snap index d8e1312ee2e..141f9254db4 100644 --- a/packages/blade/src/components/Icons/RoutesIcon/__snapshots__/RoutesIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/RoutesIcon/__snapshots__/RoutesIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render RoutesIcon 1`] = ` should render RoutesIcon 1`] = ` clip-rule="evenodd" d="M6.84725 5.73737C6.84725 6.78818 5.9641 7.64003 4.87468 7.64003C3.78527 7.64003 2.90212 6.78818 2.90212 5.73737C2.90212 4.68656 3.78527 3.83471 4.87468 3.83471C5.9641 3.83471 6.84725 4.68656 6.84725 5.73737ZM4.87468 9.47474C6.62453 9.47474 8.10345 8.3559 8.58449 6.81943C8.66996 6.84375 8.76044 6.8568 8.85408 6.8568H18.9597C20.1406 6.8568 21.0979 7.78019 21.0979 8.91925C21.0979 10.0583 20.1406 10.9817 18.9597 10.9817H8.12103C5.74502 10.9817 3.81889 12.8396 3.81889 15.1314C3.81889 17.4232 5.74502 19.281 8.12103 19.281H11.3972L10.0167 20.6126C9.73813 20.8813 9.73813 21.3169 10.0167 21.5856C10.2952 21.8543 10.7469 21.8543 11.0254 21.5856L13.8615 18.8501C14.14 18.5814 14.14 18.1458 13.8615 17.8771L11.0254 15.1415C10.7469 14.8729 10.2952 14.8729 10.0167 15.1415C9.73813 15.4102 9.73813 15.8459 10.0167 16.1145L11.3974 17.4463H8.12103C6.79553 17.4463 5.72101 16.4099 5.72101 15.1314C5.72101 13.8528 6.79553 12.8164 8.12103 12.8164H18.9597C21.1911 12.8164 23 11.0716 23 8.91925C23 6.76691 21.1911 5.0221 18.9597 5.0221H8.85408C8.79514 5.0221 8.73745 5.02727 8.68148 5.03717C8.34165 3.30776 6.7665 2 4.87468 2C2.73475 2 1 3.67328 1 5.73737C1 7.80146 2.73475 9.47474 4.87468 9.47474ZM20.8799 18.2626C20.8799 19.3134 19.9967 20.1653 18.9073 20.1653C17.8179 20.1653 16.9347 19.3134 16.9347 18.2626C16.9347 17.2118 17.8179 16.36 18.9073 16.36C19.9967 16.36 20.8799 17.2118 20.8799 18.2626ZM22.782 18.2626C22.782 20.3267 21.0472 22 18.9073 22C16.7674 22 15.0326 20.3267 15.0326 18.2626C15.0326 16.1985 16.7674 14.5253 18.9073 14.5253C21.0472 14.5253 22.782 16.1985 22.782 18.2626Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/RupeeIcon/RupeeIcon.native.test.tsx b/packages/blade/src/components/Icons/RupeeIcon/RupeeIcon.native.test.tsx index 87bdc7892a1..577cb416fa4 100644 --- a/packages/blade/src/components/Icons/RupeeIcon/RupeeIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/RupeeIcon/RupeeIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render RupeeIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RupeeIcon/RupeeIcon.web.test.tsx b/packages/blade/src/components/Icons/RupeeIcon/RupeeIcon.web.test.tsx index 6a243b85135..f6babbcc280 100644 --- a/packages/blade/src/components/Icons/RupeeIcon/RupeeIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/RupeeIcon/RupeeIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render RupeeIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RupeeIcon/__snapshots__/RupeeIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/RupeeIcon/__snapshots__/RupeeIcon.native.test.tsx.snap index ac52ed46854..ba3421c46e2 100644 --- a/packages/blade/src/components/Icons/RupeeIcon/__snapshots__/RupeeIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/RupeeIcon/__snapshots__/RupeeIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render RupeeIcon 1`] = ` > should render RupeeIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/RupeesIcon/RupeesIcon.native.test.tsx b/packages/blade/src/components/Icons/RupeesIcon/RupeesIcon.native.test.tsx index f31c902746f..7575481c7cf 100644 --- a/packages/blade/src/components/Icons/RupeesIcon/RupeesIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/RupeesIcon/RupeesIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render RupeesIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RupeesIcon/RupeesIcon.web.test.tsx b/packages/blade/src/components/Icons/RupeesIcon/RupeesIcon.web.test.tsx index ddc59390ba9..11e22d2b98d 100644 --- a/packages/blade/src/components/Icons/RupeesIcon/RupeesIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/RupeesIcon/RupeesIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render RupeesIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/RupeesIcon/__snapshots__/RupeesIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/RupeesIcon/__snapshots__/RupeesIcon.native.test.tsx.snap index 8b25ff7d43c..30711f91e97 100644 --- a/packages/blade/src/components/Icons/RupeesIcon/__snapshots__/RupeesIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/RupeesIcon/__snapshots__/RupeesIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render RupeesIcon 1`] = ` > should render RupeesIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/SaveIcon/SaveIcon.native.test.tsx b/packages/blade/src/components/Icons/SaveIcon/SaveIcon.native.test.tsx index 825d00f6d7f..899f90fd408 100644 --- a/packages/blade/src/components/Icons/SaveIcon/SaveIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SaveIcon/SaveIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SaveIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SaveIcon/SaveIcon.web.test.tsx b/packages/blade/src/components/Icons/SaveIcon/SaveIcon.web.test.tsx index 3355ea06e89..da3f468f2ab 100644 --- a/packages/blade/src/components/Icons/SaveIcon/SaveIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SaveIcon/SaveIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SaveIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SaveIcon/__snapshots__/SaveIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SaveIcon/__snapshots__/SaveIcon.native.test.tsx.snap index 5a97734476f..048d9c68b8b 100644 --- a/packages/blade/src/components/Icons/SaveIcon/__snapshots__/SaveIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SaveIcon/__snapshots__/SaveIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render SaveIcon 1`] = ` should render SaveIcon 1`] = ` clip-rule="evenodd" d="M5 2C3.34315 2 2 3.34315 2 5V19C2 20.6569 3.34315 22 5 22H19C20.6569 22 22 20.6569 22 19V8C22 7.73478 21.8946 7.48043 21.7071 7.29289L16.7071 2.29289C16.5196 2.10536 16.2652 2 16 2H5ZM5 4C4.44772 4 4 4.44772 4 5V19C4 19.5523 4.44772 20 5 20H6V13C6 12.4477 6.44772 12 7 12H17C17.5523 12 18 12.4477 18 13V20H19C19.5523 20 20 19.5523 20 19V8.41421L15.5858 4H8V7H15C15.5523 7 16 7.44772 16 8C16 8.55228 15.5523 9 15 9H7C6.44772 9 6 8.55228 6 8V4H5ZM8 14V20H16V14H8Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ScissorsIcon/ScissorsIcon.native.test.tsx b/packages/blade/src/components/Icons/ScissorsIcon/ScissorsIcon.native.test.tsx index 903833720cd..c5407c43ba0 100644 --- a/packages/blade/src/components/Icons/ScissorsIcon/ScissorsIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ScissorsIcon/ScissorsIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ScissorsIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ScissorsIcon/ScissorsIcon.web.test.tsx b/packages/blade/src/components/Icons/ScissorsIcon/ScissorsIcon.web.test.tsx index 7f4d9398df5..e4c6427ddb4 100644 --- a/packages/blade/src/components/Icons/ScissorsIcon/ScissorsIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ScissorsIcon/ScissorsIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ScissorsIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ScissorsIcon/__snapshots__/ScissorsIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ScissorsIcon/__snapshots__/ScissorsIcon.native.test.tsx.snap index d9d56b3dff7..2a007d60b83 100644 --- a/packages/blade/src/components/Icons/ScissorsIcon/__snapshots__/ScissorsIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ScissorsIcon/__snapshots__/ScissorsIcon.native.test.tsx.snap @@ -65,7 +65,7 @@ exports[` should render ScissorsIcon 1`] = ` "strokeLinejoin", ] } - stroke={4282603381} + stroke={4280563015} strokeLinecap={1} strokeLinejoin={1} strokeWidth="2" @@ -83,7 +83,7 @@ exports[` should render ScissorsIcon 1`] = ` "strokeLinejoin", ] } - stroke={4282603381} + stroke={4280563015} strokeLinecap={1} strokeLinejoin={1} strokeWidth="2" @@ -98,7 +98,7 @@ exports[` should render ScissorsIcon 1`] = ` "strokeLinejoin", ] } - stroke={4282603381} + stroke={4280563015} strokeLinecap={1} strokeLinejoin={1} strokeWidth="2" @@ -113,7 +113,7 @@ exports[` should render ScissorsIcon 1`] = ` "strokeLinejoin", ] } - stroke={4282603381} + stroke={4280563015} strokeLinecap={1} strokeLinejoin={1} strokeWidth="2" @@ -128,7 +128,7 @@ exports[` should render ScissorsIcon 1`] = ` "strokeLinejoin", ] } - stroke={4282603381} + stroke={4280563015} strokeLinecap={1} strokeLinejoin={1} strokeWidth="2" @@ -139,7 +139,7 @@ exports[` should render ScissorsIcon 1`] = ` name="clip0_83_463" > should render ScissorsIcon 1`] = ` d="M6 9C7.65685 9 9 7.65685 9 6C9 4.34315 7.65685 3 6 3C4.34315 3 3 4.34315 3 6C3 7.65685 4.34315 9 6 9Z" data-blade-component="svg-path" fill-rule="evenodd" - stroke="hsla(216, 27%, 36%, 1)" + stroke="hsla(211, 33%, 21%, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" @@ -30,7 +30,7 @@ exports[` should render ScissorsIcon 1`] = ` d="M6 21C7.65685 21 9 19.6569 9 18C9 16.3431 7.65685 15 6 15C4.34315 15 3 16.3431 3 18C3 19.6569 4.34315 21 6 21Z" data-blade-component="svg-path" fill-rule="evenodd" - stroke="hsla(216, 27%, 36%, 1)" + stroke="hsla(211, 33%, 21%, 1)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" @@ -38,7 +38,7 @@ exports[` should render ScissorsIcon 1`] = ` should render ScissorsIcon 1`] = ` should render ScissorsIcon 1`] = ` should render ScissorsIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/SearchIcon/SearchIcon.native.test.tsx b/packages/blade/src/components/Icons/SearchIcon/SearchIcon.native.test.tsx index 573999752e3..ead14939ceb 100644 --- a/packages/blade/src/components/Icons/SearchIcon/SearchIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SearchIcon/SearchIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SearchIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SearchIcon/SearchIcon.web.test.tsx b/packages/blade/src/components/Icons/SearchIcon/SearchIcon.web.test.tsx index d64f187357d..39a22fe61fe 100644 --- a/packages/blade/src/components/Icons/SearchIcon/SearchIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SearchIcon/SearchIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SearchIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SearchIcon/__snapshots__/SearchIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SearchIcon/__snapshots__/SearchIcon.native.test.tsx.snap index 0a631bcfd75..31987d3f5a1 100644 --- a/packages/blade/src/components/Icons/SearchIcon/__snapshots__/SearchIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SearchIcon/__snapshots__/SearchIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render SearchIcon 1`] = ` should render SearchIcon 1`] = ` clip-rule="evenodd" d="M16.618 18.032a9 9 0 1 1 1.414-1.414l3.675 3.675a1 1 0 0 1-1.414 1.414l-3.675-3.675ZM4 11a7 7 0 1 1 12.041 4.857 1.009 1.009 0 0 0-.185.184A7 7 0 0 1 4 11Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/SendIcon/SendIcon.native.test.tsx b/packages/blade/src/components/Icons/SendIcon/SendIcon.native.test.tsx index caa40f404e2..8802b95af11 100644 --- a/packages/blade/src/components/Icons/SendIcon/SendIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SendIcon/SendIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SendIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SendIcon/SendIcon.web.test.tsx b/packages/blade/src/components/Icons/SendIcon/SendIcon.web.test.tsx index cf2a1623115..d27a1122e67 100644 --- a/packages/blade/src/components/Icons/SendIcon/SendIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SendIcon/SendIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SendIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SendIcon/__snapshots__/SendIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SendIcon/__snapshots__/SendIcon.native.test.tsx.snap index 5f91d1e71da..b87fd66df90 100644 --- a/packages/blade/src/components/Icons/SendIcon/__snapshots__/SendIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SendIcon/__snapshots__/SendIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render SendIcon 1`] = ` should render SendIcon 1`] = ` clip-rule="evenodd" d="M22.7071 1.29292C22.9306 1.5164 23.0262 1.81935 22.9939 2.11081C22.9848 2.19252 22.9657 2.27332 22.9366 2.35121L15.9439 22.3304C15.8084 22.7174 15.4504 22.9825 15.0408 22.9992C14.6311 23.0159 14.2527 22.7808 14.0862 22.4062L10.2424 13.7576L1.59387 9.91384C1.21919 9.74731 0.984122 9.36894 1.00084 8.95926C1.01755 8.54958 1.28265 8.19162 1.66965 8.05617L21.6488 1.06348C21.7272 1.03414 21.8085 1.01497 21.8907 1.00598C21.9511 0.999338 22.0117 0.998262 22.0717 1.00259C22.3032 1.01913 22.5301 1.11591 22.7071 1.29292ZM18.1943 4.3915L4.71108 9.11063L10.7785 11.8073L18.1943 4.3915ZM12.1927 13.2215L19.6085 5.80571L14.8894 19.2889L12.1927 13.2215Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ServerIcon/ServerIcon.native.test.tsx b/packages/blade/src/components/Icons/ServerIcon/ServerIcon.native.test.tsx index 2b215f17ad0..ac993d53fdf 100644 --- a/packages/blade/src/components/Icons/ServerIcon/ServerIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ServerIcon/ServerIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ServerIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ServerIcon/ServerIcon.web.test.tsx b/packages/blade/src/components/Icons/ServerIcon/ServerIcon.web.test.tsx index fa1be33f65d..d14684df940 100644 --- a/packages/blade/src/components/Icons/ServerIcon/ServerIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ServerIcon/ServerIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ServerIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ServerIcon/__snapshots__/ServerIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ServerIcon/__snapshots__/ServerIcon.native.test.tsx.snap index 1d004e62202..728eae80d8b 100644 --- a/packages/blade/src/components/Icons/ServerIcon/__snapshots__/ServerIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ServerIcon/__snapshots__/ServerIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ServerIcon 1`] = ` should render ServerIcon 1`] = ` should render ServerIcon 1`] = ` /> should render ServerIcon 1`] = ` /> should render ServerIcon 1`] = ` clip-rule="evenodd" d="M1 4C1 2.34315 2.34315 1 4 1H20C21.6569 1 23 2.34315 23 4V8C23 9.65685 21.6569 11 20 11H4C2.34315 11 1 9.65685 1 8V4ZM4 3C3.44772 3 3 3.44772 3 4V8C3 8.55228 3.44772 9 4 9H20C20.5523 9 21 8.55228 21 8V4C21 3.44772 20.5523 3 20 3H4Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/SettingsIcon/SettingsIcon.native.test.tsx b/packages/blade/src/components/Icons/SettingsIcon/SettingsIcon.native.test.tsx index 4bad8462997..07b5ad6e05c 100644 --- a/packages/blade/src/components/Icons/SettingsIcon/SettingsIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SettingsIcon/SettingsIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SettingsIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SettingsIcon/SettingsIcon.web.test.tsx b/packages/blade/src/components/Icons/SettingsIcon/SettingsIcon.web.test.tsx index f6bf6ee1bc2..5b5235126ae 100644 --- a/packages/blade/src/components/Icons/SettingsIcon/SettingsIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SettingsIcon/SettingsIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SettingsIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SettingsIcon/__snapshots__/SettingsIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SettingsIcon/__snapshots__/SettingsIcon.native.test.tsx.snap index 9e51181d55a..c223367ce22 100644 --- a/packages/blade/src/components/Icons/SettingsIcon/__snapshots__/SettingsIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SettingsIcon/__snapshots__/SettingsIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render SettingsIcon 1`] = ` > should render SettingsIcon 1`] = ` /> should render SettingsIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/SettlementsIcon/SettlementsIcon.native.test.tsx b/packages/blade/src/components/Icons/SettlementsIcon/SettlementsIcon.native.test.tsx index 992407754ef..fbfa2c8cd12 100644 --- a/packages/blade/src/components/Icons/SettlementsIcon/SettlementsIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SettlementsIcon/SettlementsIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SettlementsIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SettlementsIcon/SettlementsIcon.web.test.tsx b/packages/blade/src/components/Icons/SettlementsIcon/SettlementsIcon.web.test.tsx index b1402563e31..e5f84783601 100644 --- a/packages/blade/src/components/Icons/SettlementsIcon/SettlementsIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SettlementsIcon/SettlementsIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SettlementsIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SettlementsIcon/__snapshots__/SettlementsIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SettlementsIcon/__snapshots__/SettlementsIcon.native.test.tsx.snap index 20f11c71e15..0ca84740a34 100644 --- a/packages/blade/src/components/Icons/SettlementsIcon/__snapshots__/SettlementsIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SettlementsIcon/__snapshots__/SettlementsIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render SettlementsIcon 1`] = ` > should render SettlementsIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/ShareIcon/ShareIcon.native.test.tsx b/packages/blade/src/components/Icons/ShareIcon/ShareIcon.native.test.tsx index f58cd6bcd5f..37fca758686 100644 --- a/packages/blade/src/components/Icons/ShareIcon/ShareIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ShareIcon/ShareIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ShareIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ShareIcon/ShareIcon.web.test.tsx b/packages/blade/src/components/Icons/ShareIcon/ShareIcon.web.test.tsx index 3e52a2b4a52..ed6ee6c303d 100644 --- a/packages/blade/src/components/Icons/ShareIcon/ShareIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ShareIcon/ShareIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ShareIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ShareIcon/__snapshots__/ShareIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ShareIcon/__snapshots__/ShareIcon.native.test.tsx.snap index 6ee18029a91..66a04fe73b4 100644 --- a/packages/blade/src/components/Icons/ShareIcon/__snapshots__/ShareIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ShareIcon/__snapshots__/ShareIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ShareIcon 1`] = ` should render ShareIcon 1`] = ` should render ShareIcon 1`] = ` should render ShareIcon 1`] = ` should render ShareIcon 1`] = ` should render ShareIcon 1`] = ` clip-rule="evenodd" d="M14 5C14 2.79086 15.7909 1 18 1C20.2091 1 22 2.79086 22 5C22 7.20914 20.2091 9 18 9C15.7909 9 14 7.20914 14 5ZM18 3C16.8954 3 16 3.89543 16 5C16 6.10457 16.8954 7 18 7C19.1046 7 20 6.10457 20 5C20 3.89543 19.1046 3 18 3Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ShieldIcon/ShieldIcon.native.test.tsx b/packages/blade/src/components/Icons/ShieldIcon/ShieldIcon.native.test.tsx index 6e73ad1427c..86ae0b423af 100644 --- a/packages/blade/src/components/Icons/ShieldIcon/ShieldIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ShieldIcon/ShieldIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ShieldIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ShieldIcon/ShieldIcon.web.test.tsx b/packages/blade/src/components/Icons/ShieldIcon/ShieldIcon.web.test.tsx index 0b0195d8172..acfb4ba008b 100644 --- a/packages/blade/src/components/Icons/ShieldIcon/ShieldIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ShieldIcon/ShieldIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ShieldIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ShieldIcon/__snapshots__/ShieldIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ShieldIcon/__snapshots__/ShieldIcon.native.test.tsx.snap index ff9fdd6382e..cb91f8994d4 100644 --- a/packages/blade/src/components/Icons/ShieldIcon/__snapshots__/ShieldIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ShieldIcon/__snapshots__/ShieldIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ShieldIcon 1`] = ` should render ShieldIcon 1`] = ` clip-rule="evenodd" d="M11.7575 1.02986C11.9167 0.990047 12.0833 0.990047 12.2425 1.02986L20.2425 3.02986C20.6877 3.14115 21 3.54113 21 4V12C21 15.4464 18.7183 18.2003 16.6585 20.0026C15.6076 20.9221 14.5615 21.6408 13.78 22.1292C13.3882 22.3741 13.0603 22.5627 12.8281 22.6913C12.7119 22.7556 12.6194 22.805 12.5547 22.839C12.5223 22.856 12.4968 22.8692 12.4788 22.8784L12.4573 22.8894L12.4508 22.8926L12.4486 22.8937C12.4486 22.8937 12.4472 22.8944 12 22C11.5528 22.8944 11.5522 22.8941 11.5522 22.8941L11.5492 22.8926L11.5427 22.8894L11.5212 22.8784C11.5032 22.8692 11.4777 22.856 11.4453 22.839C11.3806 22.805 11.2881 22.7556 11.1719 22.6913C10.9397 22.5627 10.6118 22.3741 10.22 22.1292C9.43854 21.6408 8.39238 20.9221 7.3415 20.0026C5.28175 18.2003 3 15.4464 3 12V4C3 3.54113 3.3123 3.14115 3.75746 3.02986L11.7575 1.02986ZM12 22L11.5522 22.8941C11.8337 23.0349 12.1657 23.0352 12.4472 22.8944L12 22ZM12 20.8628C12.1916 20.7541 12.4367 20.6103 12.72 20.4333C13.4385 19.9842 14.3924 19.3279 15.3415 18.4974C17.2817 16.7997 19 14.5536 19 12V4.78078L12 3.03078L5 4.78078V12C5 14.5536 6.71825 16.7997 8.6585 18.4974C9.60762 19.3279 10.5615 19.9842 11.28 20.4333C11.5633 20.6103 11.8084 20.7541 12 20.8628Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ShoppingCartIcon/ShoppingCartIcon.native.test.tsx b/packages/blade/src/components/Icons/ShoppingCartIcon/ShoppingCartIcon.native.test.tsx index a0761292f59..692891bdb8f 100644 --- a/packages/blade/src/components/Icons/ShoppingCartIcon/ShoppingCartIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ShoppingCartIcon/ShoppingCartIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ShoppingCartIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ShoppingCartIcon/ShoppingCartIcon.web.test.tsx b/packages/blade/src/components/Icons/ShoppingCartIcon/ShoppingCartIcon.web.test.tsx index cad92f29542..bfbecb7a145 100644 --- a/packages/blade/src/components/Icons/ShoppingCartIcon/ShoppingCartIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ShoppingCartIcon/ShoppingCartIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ShoppingCartIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ShoppingCartIcon/__snapshots__/ShoppingCartIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ShoppingCartIcon/__snapshots__/ShoppingCartIcon.native.test.tsx.snap index 6f5fb7bed4c..71318c8e3dd 100644 --- a/packages/blade/src/components/Icons/ShoppingCartIcon/__snapshots__/ShoppingCartIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ShoppingCartIcon/__snapshots__/ShoppingCartIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render ShoppingCartIcon 1`] = ` should render ShoppingCartIcon 1`] = ` should render ShoppingCartIcon 1`] = ` should render ShoppingCartIcon 1`] = ` name="clip0_60_999" > should render ShoppingCartIcon 1`] = ` clip-rule="evenodd" d="M1 0C0.447715 0 0 0.447715 0 1C0 1.28581 0.119901 1.54361 0.312146 1.72585C0.491389 1.89577 0.733522 2 1 2H3.24911C3.75029 2.00107 4.17343 2.37381 4.23859 2.87081L5.75859 14.3908C5.95576 15.8918 7.24033 17.0105 8.75378 17H19.3113C20.7593 17.0227 22.0175 16.0073 22.3006 14.5862L22.3008 14.5848L23.9805 6.19634C24.0394 5.90254 23.9634 5.59784 23.7734 5.3661C23.5835 5.13436 23.2996 5 23 5H6.53686L6.22146 2.60958C6.02571 1.11819 4.75574 0.00227875 3.25151 0H1ZM7.74141 14.1292L6.80075 7H21.7799L20.3395 14.1937L20.3392 14.1952C20.2448 14.6703 19.8235 15.0095 19.3392 15.0002L19.32 15L8.75 15L8.74152 15C8.23626 15.0043 7.80708 14.6302 7.74141 14.1292Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> @@ -46,7 +46,7 @@ exports[` should render ShoppingCartIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/ShuffleIcon/ShuffleIcon.native.test.tsx b/packages/blade/src/components/Icons/ShuffleIcon/ShuffleIcon.native.test.tsx index 1401998ddb0..f69850d55c3 100644 --- a/packages/blade/src/components/Icons/ShuffleIcon/ShuffleIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ShuffleIcon/ShuffleIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ShuffleIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ShuffleIcon/ShuffleIcon.web.test.tsx b/packages/blade/src/components/Icons/ShuffleIcon/ShuffleIcon.web.test.tsx index 31eaa5562c1..ec42b553e35 100644 --- a/packages/blade/src/components/Icons/ShuffleIcon/ShuffleIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ShuffleIcon/ShuffleIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ShuffleIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ShuffleIcon/__snapshots__/ShuffleIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ShuffleIcon/__snapshots__/ShuffleIcon.native.test.tsx.snap index e01a28576fa..28a4893d422 100644 --- a/packages/blade/src/components/Icons/ShuffleIcon/__snapshots__/ShuffleIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ShuffleIcon/__snapshots__/ShuffleIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ShuffleIcon 1`] = ` > should render ShuffleIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/SidebarIcon/SidebarIcon.native.test.tsx b/packages/blade/src/components/Icons/SidebarIcon/SidebarIcon.native.test.tsx index 340f4bd1ecd..5f265ef5195 100644 --- a/packages/blade/src/components/Icons/SidebarIcon/SidebarIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SidebarIcon/SidebarIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SidebarIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SidebarIcon/SidebarIcon.web.test.tsx b/packages/blade/src/components/Icons/SidebarIcon/SidebarIcon.web.test.tsx index 6e30381538c..14ecdc35a3b 100644 --- a/packages/blade/src/components/Icons/SidebarIcon/SidebarIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SidebarIcon/SidebarIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SidebarIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SidebarIcon/__snapshots__/SidebarIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SidebarIcon/__snapshots__/SidebarIcon.native.test.tsx.snap index 55bb4edfcf7..e0985cfe666 100644 --- a/packages/blade/src/components/Icons/SidebarIcon/__snapshots__/SidebarIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SidebarIcon/__snapshots__/SidebarIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render SidebarIcon 1`] = ` should render SidebarIcon 1`] = ` clip-rule="evenodd" d="M5 2C3.34315 2 2 3.34315 2 5V19C2 20.6569 3.34315 22 5 22H19C20.6569 22 22 20.6569 22 19V5C22 3.34315 20.6569 2 19 2H5ZM8 4H5C4.44772 4 4 4.44772 4 5V19C4 19.5523 4.44772 20 5 20H8V4ZM10 20V4H19C19.5523 4 20 4.44772 20 5V19C20 19.5523 19.5523 20 19 20H10Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/SkipBackIcon/SkipBackIcon.native.test.tsx b/packages/blade/src/components/Icons/SkipBackIcon/SkipBackIcon.native.test.tsx index 6052c00a97d..5517f9f3f61 100644 --- a/packages/blade/src/components/Icons/SkipBackIcon/SkipBackIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SkipBackIcon/SkipBackIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SkipBackIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SkipBackIcon/SkipBackIcon.web.test.tsx b/packages/blade/src/components/Icons/SkipBackIcon/SkipBackIcon.web.test.tsx index 7f4843ed9ca..1111b3f57a6 100644 --- a/packages/blade/src/components/Icons/SkipBackIcon/SkipBackIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SkipBackIcon/SkipBackIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SkipBackIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SkipBackIcon/__snapshots__/SkipBackIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SkipBackIcon/__snapshots__/SkipBackIcon.native.test.tsx.snap index d0ce4c99dca..d691034aaa6 100644 --- a/packages/blade/src/components/Icons/SkipBackIcon/__snapshots__/SkipBackIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SkipBackIcon/__snapshots__/SkipBackIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render SkipBackIcon 1`] = ` should render SkipBackIcon 1`] = ` /> should render SkipBackIcon 1`] = ` clip-rule="evenodd" d="M20 4.00001C20 3.6156 19.7797 3.26523 19.4332 3.09871C19.0867 2.93219 18.6755 2.979 18.3753 3.21914L8.37531 11.2191C8.13809 11.4089 8 11.6962 8 12C8 12.3038 8.13809 12.5911 8.37531 12.7809L18.3753 20.7809C18.6755 21.021 19.0867 21.0678 19.4332 20.9013C19.7797 20.7348 20 20.3844 20 20V4.00001ZM18 17.9194L10.6008 12L18 6.08063V17.9194Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/SkipForwardIcon/SkipForwardIcon.native.test.tsx b/packages/blade/src/components/Icons/SkipForwardIcon/SkipForwardIcon.native.test.tsx index aed879953dd..68011f2964d 100644 --- a/packages/blade/src/components/Icons/SkipForwardIcon/SkipForwardIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SkipForwardIcon/SkipForwardIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SkipForwardIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SkipForwardIcon/SkipForwardIcon.web.test.tsx b/packages/blade/src/components/Icons/SkipForwardIcon/SkipForwardIcon.web.test.tsx index 694e2b2eb49..4029d2b04c0 100644 --- a/packages/blade/src/components/Icons/SkipForwardIcon/SkipForwardIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SkipForwardIcon/SkipForwardIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SkipForwardIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SkipForwardIcon/__snapshots__/SkipForwardIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SkipForwardIcon/__snapshots__/SkipForwardIcon.native.test.tsx.snap index ea91c2d37e3..3e30a75714a 100644 --- a/packages/blade/src/components/Icons/SkipForwardIcon/__snapshots__/SkipForwardIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SkipForwardIcon/__snapshots__/SkipForwardIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render SkipForwardIcon 1`] = ` should render SkipForwardIcon 1`] = ` should render SkipForwardIcon 1`] = ` clip-rule="evenodd" d="M3.56681 3.09871C3.91328 2.93219 4.32453 2.979 4.6247 3.21914L14.6247 11.2191C14.8619 11.4089 15 11.6962 15 12C15 12.3038 14.8619 12.5911 14.6247 12.7809L4.6247 20.7809C4.32453 21.021 3.91328 21.0678 3.56681 20.9013C3.22035 20.7348 3 20.3844 3 20V4.00001C3 3.6156 3.22035 3.26523 3.56681 3.09871ZM5 6.08063V17.9194L12.3992 12L5 6.08063Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/SlackIcon/SlackIcon.native.test.tsx b/packages/blade/src/components/Icons/SlackIcon/SlackIcon.native.test.tsx index 26e62808e75..b47bbf9ba43 100644 --- a/packages/blade/src/components/Icons/SlackIcon/SlackIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SlackIcon/SlackIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SlackIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SlackIcon/SlackIcon.web.test.tsx b/packages/blade/src/components/Icons/SlackIcon/SlackIcon.web.test.tsx index 616a27e1412..2ff20a959db 100644 --- a/packages/blade/src/components/Icons/SlackIcon/SlackIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SlackIcon/SlackIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SlackIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SlackIcon/__snapshots__/SlackIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SlackIcon/__snapshots__/SlackIcon.native.test.tsx.snap index 796a66edb8e..552d921a86d 100644 --- a/packages/blade/src/components/Icons/SlackIcon/__snapshots__/SlackIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SlackIcon/__snapshots__/SlackIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render SlackIcon 1`] = ` should render SlackIcon 1`] = ` should render SlackIcon 1`] = ` name="clip0_83_560" > should render SlackIcon 1`] = ` clip-rule="evenodd" d="M12.2446 5.04472C12.7668 4.86495 13.3359 5.14257 13.5156 5.66478L14.1673 7.55779L16.0645 6.9047C16.5867 6.72494 17.1558 7.00255 17.3356 7.52476C17.5153 8.04697 17.2377 8.61603 16.7155 8.79579L14.8182 9.44889L15.7915 12.2763L17.6845 11.6247C18.2067 11.4449 18.7758 11.7225 18.9556 12.2447C19.1353 12.7669 18.8577 13.336 18.3355 13.5158L16.4425 14.1674L17.0956 16.0648C17.2754 16.587 16.9978 17.156 16.4756 17.3358C15.9534 17.5156 15.3843 17.238 15.2045 16.7157L14.5514 14.8184L11.724 15.7916L12.3757 17.6848C12.5554 18.207 12.2778 18.776 11.7556 18.9558C11.2334 19.1356 10.6643 18.858 10.4846 18.3357L9.83291 16.4426L7.9355 17.0958C7.41329 17.2755 6.84423 16.9979 6.66447 16.4757C6.48471 15.9535 6.76232 15.3844 7.28453 15.2047L9.18194 14.5515L8.20865 11.7241L6.3155 12.3758C5.79329 12.5556 5.22423 12.2779 5.04447 11.7557C4.86471 11.2335 5.14232 10.6645 5.66453 10.4847L7.55768 9.83302L6.90458 7.93574C6.72482 7.41353 7.00243 6.84447 7.52464 6.66471C8.04685 6.48495 8.61591 6.76256 8.79567 7.28477L9.44877 9.18205L12.2762 8.20877L11.6245 6.31575C11.4448 5.79354 11.7224 5.22448 12.2446 5.04472ZM11.073 13.9006L13.9004 12.9273L12.9272 10.0999L10.0997 11.0731L11.073 13.9006Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> @@ -39,7 +39,7 @@ exports[` should render SlackIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/SlashIcon/SlashIcon.native.test.tsx b/packages/blade/src/components/Icons/SlashIcon/SlashIcon.native.test.tsx index 0153e74f66e..5971b614cd0 100644 --- a/packages/blade/src/components/Icons/SlashIcon/SlashIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SlashIcon/SlashIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SlashIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SlashIcon/SlashIcon.web.test.tsx b/packages/blade/src/components/Icons/SlashIcon/SlashIcon.web.test.tsx index ca944b77788..c6c9318cd23 100644 --- a/packages/blade/src/components/Icons/SlashIcon/SlashIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SlashIcon/SlashIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SlashIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SlashIcon/__snapshots__/SlashIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SlashIcon/__snapshots__/SlashIcon.native.test.tsx.snap index 6729bacfbe9..eb4af8854b3 100644 --- a/packages/blade/src/components/Icons/SlashIcon/__snapshots__/SlashIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SlashIcon/__snapshots__/SlashIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render SlashIcon 1`] = ` should render SlashIcon 1`] = ` clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM6.38231 4.9681C7.92199 3.73647 9.87499 3 12 3C16.9706 3 21 7.02944 21 12C21 14.125 20.2635 16.078 19.0319 17.6177L6.38231 4.9681ZM4.9681 6.38231C3.73647 7.92199 3 9.87499 3 12C3 16.9706 7.02944 21 12 21C14.125 21 16.078 20.2635 17.6177 19.0319L4.9681 6.38231Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/SlidersIcon/SlidersIcon.native.test.tsx b/packages/blade/src/components/Icons/SlidersIcon/SlidersIcon.native.test.tsx index 7f28a3cddf0..8ed721f58e6 100644 --- a/packages/blade/src/components/Icons/SlidersIcon/SlidersIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SlidersIcon/SlidersIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SlidersIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SlidersIcon/SlidersIcon.web.test.tsx b/packages/blade/src/components/Icons/SlidersIcon/SlidersIcon.web.test.tsx index 1ab9e9bb5ca..f2102eba3a7 100644 --- a/packages/blade/src/components/Icons/SlidersIcon/SlidersIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SlidersIcon/SlidersIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SlidersIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SlidersIcon/__snapshots__/SlidersIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SlidersIcon/__snapshots__/SlidersIcon.native.test.tsx.snap index 49938ac705f..97a522abca6 100644 --- a/packages/blade/src/components/Icons/SlidersIcon/__snapshots__/SlidersIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SlidersIcon/__snapshots__/SlidersIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render SlidersIcon 1`] = ` > should render SlidersIcon 1`] = ` /> should render SlidersIcon 1`] = ` /> should render SlidersIcon 1`] = ` /> should render SlidersIcon 1`] = ` /> should render SlidersIcon 1`] = ` /> should render SlidersIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/SmartCollectIcon/SmartCollectIcon.native.test.tsx b/packages/blade/src/components/Icons/SmartCollectIcon/SmartCollectIcon.native.test.tsx index 692e9e46d4e..644d1d7535e 100644 --- a/packages/blade/src/components/Icons/SmartCollectIcon/SmartCollectIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SmartCollectIcon/SmartCollectIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SmartCollectIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SmartCollectIcon/SmartCollectIcon.web.test.tsx b/packages/blade/src/components/Icons/SmartCollectIcon/SmartCollectIcon.web.test.tsx index d91d101dd11..b14fece4f10 100644 --- a/packages/blade/src/components/Icons/SmartCollectIcon/SmartCollectIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SmartCollectIcon/SmartCollectIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SmartCollectIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SmartCollectIcon/__snapshots__/SmartCollectIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SmartCollectIcon/__snapshots__/SmartCollectIcon.native.test.tsx.snap index 897112babea..6137e9bee4e 100644 --- a/packages/blade/src/components/Icons/SmartCollectIcon/__snapshots__/SmartCollectIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SmartCollectIcon/__snapshots__/SmartCollectIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render SmartCollectIcon 1`] = ` should render SmartCollectIcon 1`] = ` clip-rule="evenodd" d="M14.7907 6.7619C14.7907 8.33986 13.5413 9.61905 12 9.61905C10.4587 9.61905 9.2093 8.33986 9.2093 6.7619C9.2093 5.18395 10.4587 3.90476 12 3.90476C13.5413 3.90476 14.7907 5.18395 14.7907 6.7619ZM16.6512 6.7619C16.6512 9.39183 14.5688 11.5238 12 11.5238C9.43123 11.5238 7.34884 9.39183 7.34884 6.7619C7.34884 4.13198 9.43123 2 12 2C14.5688 2 16.6512 4.13198 16.6512 6.7619ZM2 9.61905C2 8.92858 2.6617 8.66667 3.16279 8.66667C3.66388 8.66667 4.32558 8.9881 4.32558 9.67857V15.0952L6.90552 17.7292C7.15183 17.981 7.53233 17.9597 7.77762 17.7068L8.27907 17.1935C8.52435 16.9406 8.52622 16.5367 8.27907 16.2857L6.09157 14.0536C5.82397 13.7796 5.826 13.34 6.09157 13.064L6.63663 12.4985C6.9022 12.2224 7.3138 12.2022 7.5814 12.4762L10.3721 15.3333V21C10.3721 21.5523 9.92438 22 9.37209 22H6.02326C5.47097 22 5.02326 21.5523 5.02326 21V19.381L2 16.0476V9.61905ZM19.6744 9.67857C19.6744 8.9881 20.3361 8.66667 20.8372 8.66667C21.3383 8.66667 22 8.92858 22 9.61905V16.0476L18.9767 19.381V21C18.9767 21.5523 18.529 22 17.9767 22H14.6279C14.0756 22 13.6279 21.5523 13.6279 21V15.3333L16.4186 12.4762C16.6862 12.2022 17.0978 12.2224 17.3634 12.4985L17.9084 13.064C18.174 13.34 18.176 13.7796 17.9084 14.0536L15.7209 16.2857C15.4738 16.5367 15.4756 16.9406 15.7209 17.1935L16.2224 17.7068C16.4677 17.9597 16.8482 17.981 17.0945 17.7292L19.6744 15.0952V9.67857Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/SmartphoneIcon/SmartphoneIcon.native.test.tsx b/packages/blade/src/components/Icons/SmartphoneIcon/SmartphoneIcon.native.test.tsx index b6096277f97..325040f618b 100644 --- a/packages/blade/src/components/Icons/SmartphoneIcon/SmartphoneIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SmartphoneIcon/SmartphoneIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SmartphoneIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SmartphoneIcon/SmartphoneIcon.web.test.tsx b/packages/blade/src/components/Icons/SmartphoneIcon/SmartphoneIcon.web.test.tsx index 264befb9f75..b977f768dd9 100644 --- a/packages/blade/src/components/Icons/SmartphoneIcon/SmartphoneIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SmartphoneIcon/SmartphoneIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SmartphoneIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SmartphoneIcon/__snapshots__/SmartphoneIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SmartphoneIcon/__snapshots__/SmartphoneIcon.native.test.tsx.snap index dc955a07f89..ff23ed304ac 100644 --- a/packages/blade/src/components/Icons/SmartphoneIcon/__snapshots__/SmartphoneIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SmartphoneIcon/__snapshots__/SmartphoneIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render SmartphoneIcon 1`] = ` > should render SmartphoneIcon 1`] = ` should render SmartphoneIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/SpeakerIcon/SpeakerIcon.native.test.tsx b/packages/blade/src/components/Icons/SpeakerIcon/SpeakerIcon.native.test.tsx index 69ae15762be..7586ec2c5e8 100644 --- a/packages/blade/src/components/Icons/SpeakerIcon/SpeakerIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SpeakerIcon/SpeakerIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SpeakerIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SpeakerIcon/SpeakerIcon.web.test.tsx b/packages/blade/src/components/Icons/SpeakerIcon/SpeakerIcon.web.test.tsx index 532b36c71b5..1abbf987fd9 100644 --- a/packages/blade/src/components/Icons/SpeakerIcon/SpeakerIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SpeakerIcon/SpeakerIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SpeakerIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SpeakerIcon/__snapshots__/SpeakerIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SpeakerIcon/__snapshots__/SpeakerIcon.native.test.tsx.snap index f0f54b1bf6d..8e0f20d9d5a 100644 --- a/packages/blade/src/components/Icons/SpeakerIcon/__snapshots__/SpeakerIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SpeakerIcon/__snapshots__/SpeakerIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render SpeakerIcon 1`] = ` should render SpeakerIcon 1`] = ` /> should render SpeakerIcon 1`] = ` should render SpeakerIcon 1`] = ` clip-rule="evenodd" d="M7 14C7 11.2386 9.23858 9 12 9C14.7614 9 17 11.2386 17 14C17 16.7614 14.7614 19 12 19C9.23858 19 7 16.7614 7 14ZM12 11C10.3431 11 9 12.3431 9 14C9 15.6569 10.3431 17 12 17C13.6569 17 15 15.6569 15 14C15 12.3431 13.6569 11 12 11Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/SquareIcon/SquareIcon.native.test.tsx b/packages/blade/src/components/Icons/SquareIcon/SquareIcon.native.test.tsx index f2699faff3c..ef46c8484d5 100644 --- a/packages/blade/src/components/Icons/SquareIcon/SquareIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SquareIcon/SquareIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SquareIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SquareIcon/SquareIcon.web.test.tsx b/packages/blade/src/components/Icons/SquareIcon/SquareIcon.web.test.tsx index c8d7f9df7f4..b3155a745d2 100644 --- a/packages/blade/src/components/Icons/SquareIcon/SquareIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SquareIcon/SquareIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SquareIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SquareIcon/__snapshots__/SquareIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SquareIcon/__snapshots__/SquareIcon.native.test.tsx.snap index 6da9730de9f..f66f10b80d3 100644 --- a/packages/blade/src/components/Icons/SquareIcon/__snapshots__/SquareIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SquareIcon/__snapshots__/SquareIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render SquareIcon 1`] = ` should render SquareIcon 1`] = ` clip-rule="evenodd" d="M2 5C2 3.34315 3.34315 2 5 2H19C20.6569 2 22 3.34315 22 5V19C22 20.6569 20.6569 22 19 22H5C3.34315 22 2 20.6569 2 19V5ZM5 4C4.44772 4 4 4.44772 4 5V19C4 19.5523 4.44772 20 5 20H19C19.5523 20 20 19.5523 20 19V5C20 4.44772 19.5523 4 19 4H5Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/StampIcon/StampIcon.native.test.tsx b/packages/blade/src/components/Icons/StampIcon/StampIcon.native.test.tsx index aad691f6be9..9e2b2a763ad 100644 --- a/packages/blade/src/components/Icons/StampIcon/StampIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/StampIcon/StampIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render StampIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/StampIcon/StampIcon.web.test.tsx b/packages/blade/src/components/Icons/StampIcon/StampIcon.web.test.tsx index 8552fec2f4e..d3c8c4909bf 100644 --- a/packages/blade/src/components/Icons/StampIcon/StampIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/StampIcon/StampIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render StampIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/StampIcon/__snapshots__/StampIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/StampIcon/__snapshots__/StampIcon.native.test.tsx.snap index caaad8c576c..294f7c76242 100644 --- a/packages/blade/src/components/Icons/StampIcon/__snapshots__/StampIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/StampIcon/__snapshots__/StampIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render StampIcon 1`] = ` should render StampIcon 1`] = ` clip-rule="evenodd" d="M16.4064 16.3022L17.4102 7.13452C17.4788 6.50752 17.4411 5.87322 17.2987 5.25913C15.982 -0.419711 8.01726 -0.419712 6.70057 5.25913C6.55819 5.87322 6.52051 6.50752 6.58916 7.13452L7.59292 16.3022H2.1C1.49249 16.3022 1 16.802 1 17.4185C1 18.035 1.49249 18.5348 2.1 18.5348H4.3V20.7674C4.3 22.0004 5.28497 23 6.5 23H17.5C18.715 23 19.7 22.0004 19.7 20.7674V18.5348H21.9C22.5075 18.5348 23 18.035 23 17.4185C23 16.802 22.5075 16.3022 21.9 16.3022H16.4064ZM15.1572 5.77049C14.3726 2.38663 9.62667 2.38663 8.84209 5.77049C8.75725 6.1364 8.73479 6.51436 8.7757 6.88797L9.79293 16.1786C9.79747 16.2202 9.79971 16.2614 9.79975 16.3022H14.1996C14.1996 16.2614 14.2018 16.2202 14.2064 16.1786L15.2236 6.88797C15.2645 6.51436 15.2421 6.1364 15.1572 5.77049ZM17.5 18.5348H6.5V20.7674H17.5V18.5348Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/StarIcon/StarIcon.native.test.tsx b/packages/blade/src/components/Icons/StarIcon/StarIcon.native.test.tsx index f43ff523364..cf248bf96ef 100644 --- a/packages/blade/src/components/Icons/StarIcon/StarIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/StarIcon/StarIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render StarIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/StarIcon/StarIcon.web.test.tsx b/packages/blade/src/components/Icons/StarIcon/StarIcon.web.test.tsx index 1b3b7fdd691..50cac3c3bbf 100644 --- a/packages/blade/src/components/Icons/StarIcon/StarIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/StarIcon/StarIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render StarIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/StarIcon/__snapshots__/StarIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/StarIcon/__snapshots__/StarIcon.native.test.tsx.snap index 37505f92f69..e51a6191003 100644 --- a/packages/blade/src/components/Icons/StarIcon/__snapshots__/StarIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/StarIcon/__snapshots__/StarIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render StarIcon 1`] = ` should render StarIcon 1`] = ` clip-rule="evenodd" d="M12 1C12.3806 1 12.7283 1.21607 12.8967 1.55738L15.7543 7.34647L22.1447 8.28051C22.5212 8.33555 22.8339 8.59956 22.9513 8.96157C23.0687 9.32357 22.9704 9.72083 22.6978 9.98636L18.0746 14.4894L19.1656 20.851C19.23 21.2261 19.0757 21.6053 18.7678 21.8291C18.4598 22.0528 18.0515 22.0823 17.7146 21.9051L12 18.8998L6.28548 21.9051C5.94856 22.0823 5.54027 22.0528 5.2323 21.8291C4.92432 21.6053 4.77007 21.2261 4.83442 20.851L5.92551 14.4894L1.3023 9.98636C1.02968 9.72083 0.931405 9.32357 1.04878 8.96157C1.16616 8.59956 1.47884 8.33555 1.8554 8.28051L8.24577 7.34647L11.1033 1.55738C11.2718 1.21607 11.6194 1 12 1ZM12 4.25925L9.80674 8.70262C9.6612 8.99747 9.38001 9.20193 9.05466 9.24949L4.14844 9.9666L7.69776 13.4236C7.93364 13.6534 8.0413 13.9845 7.98564 14.309L7.14821 19.1917L11.5346 16.8849C11.826 16.7317 12.1741 16.7317 12.4655 16.8849L16.8518 19.1917L16.0144 14.309C15.9588 13.9845 16.0664 13.6534 16.3023 13.4236L19.8516 9.9666L14.9454 9.24949C14.62 9.20193 14.3389 8.99747 14.1933 8.70262L12 4.25925Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/StopCircleIcon/StopCircleIcon.native.test.tsx b/packages/blade/src/components/Icons/StopCircleIcon/StopCircleIcon.native.test.tsx index 49fed7316e0..492829036bc 100644 --- a/packages/blade/src/components/Icons/StopCircleIcon/StopCircleIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/StopCircleIcon/StopCircleIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render StopCircleIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/StopCircleIcon/StopCircleIcon.web.test.tsx b/packages/blade/src/components/Icons/StopCircleIcon/StopCircleIcon.web.test.tsx index 524856e89bc..265c61a87b8 100644 --- a/packages/blade/src/components/Icons/StopCircleIcon/StopCircleIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/StopCircleIcon/StopCircleIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render StopCircleIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/StopCircleIcon/__snapshots__/StopCircleIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/StopCircleIcon/__snapshots__/StopCircleIcon.native.test.tsx.snap index 05adf12b8c0..6165c6b2277 100644 --- a/packages/blade/src/components/Icons/StopCircleIcon/__snapshots__/StopCircleIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/StopCircleIcon/__snapshots__/StopCircleIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render StopCircleIcon 1`] = ` should render StopCircleIcon 1`] = ` should render StopCircleIcon 1`] = ` clip-rule="evenodd" d="M1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/SubscriptionsIcon/SubscriptionsIcon.native.test.tsx b/packages/blade/src/components/Icons/SubscriptionsIcon/SubscriptionsIcon.native.test.tsx index c533eab4759..6e12e9cdcbd 100644 --- a/packages/blade/src/components/Icons/SubscriptionsIcon/SubscriptionsIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SubscriptionsIcon/SubscriptionsIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SubscriptionsIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SubscriptionsIcon/SubscriptionsIcon.web.test.tsx b/packages/blade/src/components/Icons/SubscriptionsIcon/SubscriptionsIcon.web.test.tsx index e863848826e..d248f98cd33 100644 --- a/packages/blade/src/components/Icons/SubscriptionsIcon/SubscriptionsIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SubscriptionsIcon/SubscriptionsIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SubscriptionsIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SubscriptionsIcon/__snapshots__/SubscriptionsIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SubscriptionsIcon/__snapshots__/SubscriptionsIcon.native.test.tsx.snap index ba84fc25bd7..b2225950cb1 100644 --- a/packages/blade/src/components/Icons/SubscriptionsIcon/__snapshots__/SubscriptionsIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SubscriptionsIcon/__snapshots__/SubscriptionsIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render SubscriptionsIcon 1`] = ` > should render SubscriptionsIcon 1`] = ` /> should render SubscriptionsIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/SunIcon/SunIcon.native.test.tsx b/packages/blade/src/components/Icons/SunIcon/SunIcon.native.test.tsx index 6d733766f55..729e7cfaac4 100644 --- a/packages/blade/src/components/Icons/SunIcon/SunIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SunIcon/SunIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SunIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SunIcon/SunIcon.web.test.tsx b/packages/blade/src/components/Icons/SunIcon/SunIcon.web.test.tsx index 54b334b4a73..a0a3d259b13 100644 --- a/packages/blade/src/components/Icons/SunIcon/SunIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SunIcon/SunIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SunIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SunIcon/__snapshots__/SunIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SunIcon/__snapshots__/SunIcon.native.test.tsx.snap index 406e88dca64..95507c6f59a 100644 --- a/packages/blade/src/components/Icons/SunIcon/__snapshots__/SunIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SunIcon/__snapshots__/SunIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render SunIcon 1`] = ` should render SunIcon 1`] = ` should render SunIcon 1`] = ` should render SunIcon 1`] = ` should render SunIcon 1`] = ` should render SunIcon 1`] = ` should render SunIcon 1`] = ` should render SunIcon 1`] = ` should render SunIcon 1`] = ` should render SunIcon 1`] = ` name="clip0_60_388" > should render SunIcon 1`] = ` clip-rule="evenodd" d="M6 12C6 8.68629 8.68629 6 12 6C15.3137 6 18 8.68629 18 12C18 15.3137 15.3137 18 12 18C8.68629 18 6 15.3137 6 12ZM12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> @@ -88,7 +88,7 @@ exports[` should render SunIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/SunriseIcon/SunriseIcon.native.test.tsx b/packages/blade/src/components/Icons/SunriseIcon/SunriseIcon.native.test.tsx index 7cc70a8aabc..6365e58295b 100644 --- a/packages/blade/src/components/Icons/SunriseIcon/SunriseIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SunriseIcon/SunriseIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SunriseIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SunriseIcon/SunriseIcon.web.test.tsx b/packages/blade/src/components/Icons/SunriseIcon/SunriseIcon.web.test.tsx index 9d89eda29da..a77e380cb13 100644 --- a/packages/blade/src/components/Icons/SunriseIcon/SunriseIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SunriseIcon/SunriseIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SunriseIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SunriseIcon/__snapshots__/SunriseIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SunriseIcon/__snapshots__/SunriseIcon.native.test.tsx.snap index abec8547ed4..ec2e3d213cb 100644 --- a/packages/blade/src/components/Icons/SunriseIcon/__snapshots__/SunriseIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SunriseIcon/__snapshots__/SunriseIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render SunriseIcon 1`] = ` should render SunriseIcon 1`] = ` should render SunriseIcon 1`] = ` should render SunriseIcon 1`] = ` should render SunriseIcon 1`] = ` should render SunriseIcon 1`] = ` should render SunriseIcon 1`] = ` should render SunriseIcon 1`] = ` should render SunriseIcon 1`] = ` name="clip0_60_389" > should render SunriseIcon 1`] = ` clip-rule="evenodd" d="M6 17C6 13.6863 8.68629 11 12 11C15.3137 11 18 13.6863 18 17C18 17.5523 17.5523 18 17 18C16.4477 18 16 17.5523 16 17C16 14.7909 14.2091 13 12 13C9.79086 13 8 14.7909 8 17C8 17.5523 7.55228 18 7 18C6.44772 18 6 17.5523 6 17Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> @@ -81,7 +81,7 @@ exports[` should render SunriseIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/SunsetIcon/SunsetIcon.native.test.tsx b/packages/blade/src/components/Icons/SunsetIcon/SunsetIcon.native.test.tsx index 40bb4adce0c..16cba16fbab 100644 --- a/packages/blade/src/components/Icons/SunsetIcon/SunsetIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/SunsetIcon/SunsetIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render SunsetIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SunsetIcon/SunsetIcon.web.test.tsx b/packages/blade/src/components/Icons/SunsetIcon/SunsetIcon.web.test.tsx index 09407634a51..4ab8ecccce0 100644 --- a/packages/blade/src/components/Icons/SunsetIcon/SunsetIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/SunsetIcon/SunsetIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render SunsetIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/SunsetIcon/__snapshots__/SunsetIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/SunsetIcon/__snapshots__/SunsetIcon.native.test.tsx.snap index 0fd634b69bf..593c849cf09 100644 --- a/packages/blade/src/components/Icons/SunsetIcon/__snapshots__/SunsetIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/SunsetIcon/__snapshots__/SunsetIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render SunsetIcon 1`] = ` should render SunsetIcon 1`] = ` should render SunsetIcon 1`] = ` should render SunsetIcon 1`] = ` should render SunsetIcon 1`] = ` should render SunsetIcon 1`] = ` should render SunsetIcon 1`] = ` should render SunsetIcon 1`] = ` should render SunsetIcon 1`] = ` clip-rule="evenodd" d="M6 17C6 13.6863 8.68629 11 12 11C15.3137 11 18 13.6863 18 17C18 17.5523 17.5523 18 17 18C16.4477 18 16 17.5523 16 17C16 14.7909 14.2091 13 12 13C9.79086 13 8 14.7909 8 17C8 17.5523 7.55228 18 7 18C6.44772 18 6 17.5523 6 17Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/TabletIcon/TabletIcon.native.test.tsx b/packages/blade/src/components/Icons/TabletIcon/TabletIcon.native.test.tsx index 98ba7e1646c..2cc21f9eb7a 100644 --- a/packages/blade/src/components/Icons/TabletIcon/TabletIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/TabletIcon/TabletIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render TabletIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TabletIcon/TabletIcon.web.test.tsx b/packages/blade/src/components/Icons/TabletIcon/TabletIcon.web.test.tsx index 01e5b92a622..c83e0dc8c5e 100644 --- a/packages/blade/src/components/Icons/TabletIcon/TabletIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/TabletIcon/TabletIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render TabletIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TabletIcon/__snapshots__/TabletIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/TabletIcon/__snapshots__/TabletIcon.native.test.tsx.snap index 84947571d6b..087074df8e7 100644 --- a/packages/blade/src/components/Icons/TabletIcon/__snapshots__/TabletIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/TabletIcon/__snapshots__/TabletIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render TabletIcon 1`] = ` should render TabletIcon 1`] = ` /> should render TabletIcon 1`] = ` clip-rule="evenodd" d="M21 20C21 21.6569 19.6569 23 18 23H6C4.34315 23 3 21.6569 3 20V4C3 2.34315 4.34315 1 6 1H18C19.6569 1 21 2.34315 21 4V20ZM18 21C18.5523 21 19 20.5523 19 20V4C19 3.44772 18.5523 3 18 3H6C5.44772 3 5 3.44772 5 4V20C5 20.5523 5.44772 21 6 21H18Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/TagIcon/TagIcon.native.test.tsx b/packages/blade/src/components/Icons/TagIcon/TagIcon.native.test.tsx index d6d08399bd2..511ed2cb1ad 100644 --- a/packages/blade/src/components/Icons/TagIcon/TagIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/TagIcon/TagIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render TagIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TagIcon/TagIcon.web.test.tsx b/packages/blade/src/components/Icons/TagIcon/TagIcon.web.test.tsx index 34aa8ee3a9b..176ce31e192 100644 --- a/packages/blade/src/components/Icons/TagIcon/TagIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/TagIcon/TagIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render TagIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TagIcon/__snapshots__/TagIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/TagIcon/__snapshots__/TagIcon.native.test.tsx.snap index 0b839bbe70e..a1976081658 100644 --- a/packages/blade/src/components/Icons/TagIcon/__snapshots__/TagIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/TagIcon/__snapshots__/TagIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render TagIcon 1`] = ` should render TagIcon 1`] = ` /> should render TagIcon 1`] = ` clip-rule="evenodd" d="M1 2a1 1 0 0 1 1-1h10a1 1 0 0 1 .707.293L21.3 9.885a3 3 0 0 1 0 4.23l-.002.002-7.17 7.17a3.001 3.001 0 0 1-4.244 0l-8.59-8.58A1 1 0 0 1 1 12V2Zm2 1v8.585l8.297 8.287v.001a1 1 0 0 0 1.415 0l7.169-7.168a1 1 0 0 0 0-1.41L11.586 3H3Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/TargetIcon/TargetIcon.native.test.tsx b/packages/blade/src/components/Icons/TargetIcon/TargetIcon.native.test.tsx index ad5ec72215c..f39b410fe80 100644 --- a/packages/blade/src/components/Icons/TargetIcon/TargetIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/TargetIcon/TargetIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render TargetIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TargetIcon/TargetIcon.web.test.tsx b/packages/blade/src/components/Icons/TargetIcon/TargetIcon.web.test.tsx index 42c668e941a..315230f7f5d 100644 --- a/packages/blade/src/components/Icons/TargetIcon/TargetIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/TargetIcon/TargetIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render TargetIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TargetIcon/__snapshots__/TargetIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/TargetIcon/__snapshots__/TargetIcon.native.test.tsx.snap index 941c13078aa..6d4d019b869 100644 --- a/packages/blade/src/components/Icons/TargetIcon/__snapshots__/TargetIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/TargetIcon/__snapshots__/TargetIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render TargetIcon 1`] = ` should render TargetIcon 1`] = ` should render TargetIcon 1`] = ` should render TargetIcon 1`] = ` clip-rule="evenodd" d="M1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ThermometerIcon/ThermometerIcon.native.test.tsx b/packages/blade/src/components/Icons/ThermometerIcon/ThermometerIcon.native.test.tsx index 28bbe5077b3..6bce015e0bc 100644 --- a/packages/blade/src/components/Icons/ThermometerIcon/ThermometerIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ThermometerIcon/ThermometerIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ThermometerIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ThermometerIcon/ThermometerIcon.web.test.tsx b/packages/blade/src/components/Icons/ThermometerIcon/ThermometerIcon.web.test.tsx index f317732b50e..8b033dd5fe2 100644 --- a/packages/blade/src/components/Icons/ThermometerIcon/ThermometerIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ThermometerIcon/ThermometerIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ThermometerIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ThermometerIcon/__snapshots__/ThermometerIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ThermometerIcon/__snapshots__/ThermometerIcon.native.test.tsx.snap index 43a9dfe9963..aedc7afd034 100644 --- a/packages/blade/src/components/Icons/ThermometerIcon/__snapshots__/ThermometerIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ThermometerIcon/__snapshots__/ThermometerIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render ThermometerIcon 1`] = ` should render ThermometerIcon 1`] = ` name="clip0_83_742" > should render ThermometerIcon 1`] = ` clip-rule="evenodd" d="M8.00006 3.5C8.00006 1.567 9.56706 0 11.5001 0C13.4331 0 15.0001 1.567 15.0001 3.5V14.2588C16.6983 15.6585 17.4124 17.958 16.7632 20.0982C16.06 22.4165 13.9227 24.0017 11.5001 24.0017C9.07744 24.0017 6.9401 22.4165 6.23687 20.0982C5.58769 17.958 6.30178 15.6585 8.00006 14.2588V3.5ZM11.5001 2C10.6716 2 10.0001 2.67157 10.0001 3.5V14.76C10.0001 15.094 9.83332 15.4059 9.55562 15.5915C8.27375 16.448 7.70325 18.0423 8.15076 19.5176C8.59827 20.9929 9.95839 22.0017 11.5001 22.0017C13.0417 22.0017 14.4018 20.9929 14.8494 19.5176C15.2969 18.0423 14.7264 16.448 13.4445 15.5915C13.1668 15.4059 13.0001 15.094 13.0001 14.76V3.5C13.0001 2.67157 12.3285 2 11.5001 2Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> @@ -32,7 +32,7 @@ exports[` should render ThermometerIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/ThumbsDownIcon/ThumbsDownIcon.native.test.tsx b/packages/blade/src/components/Icons/ThumbsDownIcon/ThumbsDownIcon.native.test.tsx index 38f9d18fb4b..f644ed228ce 100644 --- a/packages/blade/src/components/Icons/ThumbsDownIcon/ThumbsDownIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ThumbsDownIcon/ThumbsDownIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ThumbsDownIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ThumbsDownIcon/ThumbsDownIcon.web.test.tsx b/packages/blade/src/components/Icons/ThumbsDownIcon/ThumbsDownIcon.web.test.tsx index 87b5337c991..bf8a2c26bf3 100644 --- a/packages/blade/src/components/Icons/ThumbsDownIcon/ThumbsDownIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ThumbsDownIcon/ThumbsDownIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ThumbsDownIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ThumbsDownIcon/__snapshots__/ThumbsDownIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ThumbsDownIcon/__snapshots__/ThumbsDownIcon.native.test.tsx.snap index 3b733c99279..022f08b19f2 100644 --- a/packages/blade/src/components/Icons/ThumbsDownIcon/__snapshots__/ThumbsDownIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ThumbsDownIcon/__snapshots__/ThumbsDownIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ThumbsDownIcon 1`] = ` should render ThumbsDownIcon 1`] = ` clip-rule="evenodd" d="M21.0001 4.07678C20.8867 3.44753 20.3327 2.98844 19.6877 2.99985L19.6701 3H18.0001V12H19.6701L19.6877 12.0002C20.3327 12.0116 20.8867 11.5525 21.0001 10.9232V4.07678ZM16.0001 12.7878V3H5.70875C5.2101 2.99437 4.78352 3.3569 4.70875 3.84994L3.32873 12.8501C3.3287 12.8503 3.32876 12.8499 3.32873 12.8501C3.28492 13.1399 3.37042 13.4351 3.5628 13.6563C3.75532 13.8777 4.03535 14.0034 4.32873 14.0001L4.34005 13.9999L10.0001 14C10.5523 14 11.0001 14.4477 11.0001 15V19C11.0001 19.8926 11.5847 20.6486 12.392 20.9059L16.0001 12.7878ZM17.6499 14L13.9139 22.4061C13.7534 22.7673 13.3952 23 13.0001 23C10.7909 23 9.00005 21.2091 9.00005 19V16H4.34517C3.4673 16.0081 2.62979 15.6313 2.05359 14.9687C1.47603 14.3045 1.21929 13.4202 1.35138 12.5499L2.73136 3.55007C2.7314 3.54977 2.73131 3.55037 2.73136 3.55007C2.95574 2.07346 4.23219 0.986171 5.72514 1H19.662C21.3365 0.97518 22.7664 2.2054 22.991 3.86596C22.997 3.91039 23.0001 3.95517 23.0001 4V11C23.0001 11.0448 22.997 11.0896 22.991 11.134C22.7664 12.7946 21.3365 14.0248 19.662 14H17.6499Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ThumbsUpIcon/ThumbsUpIcon.native.test.tsx b/packages/blade/src/components/Icons/ThumbsUpIcon/ThumbsUpIcon.native.test.tsx index 05a8b5e9127..0befd0d4cc4 100644 --- a/packages/blade/src/components/Icons/ThumbsUpIcon/ThumbsUpIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ThumbsUpIcon/ThumbsUpIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ThumbsUpIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ThumbsUpIcon/ThumbsUpIcon.web.test.tsx b/packages/blade/src/components/Icons/ThumbsUpIcon/ThumbsUpIcon.web.test.tsx index 0b236bd2a0f..0c5ccf97124 100644 --- a/packages/blade/src/components/Icons/ThumbsUpIcon/ThumbsUpIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ThumbsUpIcon/ThumbsUpIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ThumbsUpIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ThumbsUpIcon/__snapshots__/ThumbsUpIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ThumbsUpIcon/__snapshots__/ThumbsUpIcon.native.test.tsx.snap index 961ac34264c..efb137f131f 100644 --- a/packages/blade/src/components/Icons/ThumbsUpIcon/__snapshots__/ThumbsUpIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ThumbsUpIcon/__snapshots__/ThumbsUpIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ThumbsUpIcon 1`] = ` should render ThumbsUpIcon 1`] = ` clip-rule="evenodd" d="M10.0862 1.59386C10.2467 1.23273 10.6048 1 11 1C13.2091 1 15 2.79086 15 5V8H19.6549C20.5328 7.99187 21.3703 8.36871 21.9465 9.03134C22.524 9.69553 22.7808 10.5798 22.6487 11.4501L21.2687 20.4499C21.2687 20.4502 21.2687 20.4497 21.2687 20.4499C21.0444 21.9266 19.7678 23.0139 18.2748 23H4C2.34315 23 1 21.6569 1 20V13C1 11.3431 2.34315 10 4 10H6.35013L10.0862 1.59386ZM6 12H4C3.44772 12 3 12.4477 3 13V20C3 20.5523 3.44772 21 4 21H6V12ZM8 21V11.2122L11.608 3.09411C12.4153 3.35143 13 4.10743 13 5V9C13 9.55228 13.4477 10 14 10H19.66L19.6713 9.99994C19.9647 9.99661 20.2447 10.1223 20.4373 10.3437C20.6297 10.565 20.7153 10.8596 20.6714 11.1495C20.6714 11.1494 20.6714 11.1497 20.6714 11.1495L19.2913 20.1501C19.2165 20.6431 18.7899 21.0057 18.2913 21.0001L8 21Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ToggleLeftIcon/ToggleLeftIcon.native.test.tsx b/packages/blade/src/components/Icons/ToggleLeftIcon/ToggleLeftIcon.native.test.tsx index f7661d9a0f0..0ae786c82fb 100644 --- a/packages/blade/src/components/Icons/ToggleLeftIcon/ToggleLeftIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ToggleLeftIcon/ToggleLeftIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ToggleLeftIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ToggleLeftIcon/ToggleLeftIcon.web.test.tsx b/packages/blade/src/components/Icons/ToggleLeftIcon/ToggleLeftIcon.web.test.tsx index fea20e2f236..620159d93b1 100644 --- a/packages/blade/src/components/Icons/ToggleLeftIcon/ToggleLeftIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ToggleLeftIcon/ToggleLeftIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ToggleLeftIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ToggleLeftIcon/__snapshots__/ToggleLeftIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ToggleLeftIcon/__snapshots__/ToggleLeftIcon.native.test.tsx.snap index fb2ba639266..54fd176a927 100644 --- a/packages/blade/src/components/Icons/ToggleLeftIcon/__snapshots__/ToggleLeftIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ToggleLeftIcon/__snapshots__/ToggleLeftIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ToggleLeftIcon 1`] = ` should render ToggleLeftIcon 1`] = ` should render ToggleLeftIcon 1`] = ` clip-rule="evenodd" d="M8 8C5.79086 8 4 9.79086 4 12C4 14.2091 5.79086 16 8 16C10.2091 16 12 14.2091 12 12C12 9.79086 10.2091 8 8 8ZM6 12C6 10.8954 6.89543 10 8 10C9.10457 10 10 10.8954 10 12C10 13.1046 9.10457 14 8 14C6.89543 14 6 13.1046 6 12Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ToggleRightIcon/ToggleRightIcon.native.test.tsx b/packages/blade/src/components/Icons/ToggleRightIcon/ToggleRightIcon.native.test.tsx index 446069b2f85..1a1faead72a 100644 --- a/packages/blade/src/components/Icons/ToggleRightIcon/ToggleRightIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ToggleRightIcon/ToggleRightIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ToggleRightIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ToggleRightIcon/ToggleRightIcon.web.test.tsx b/packages/blade/src/components/Icons/ToggleRightIcon/ToggleRightIcon.web.test.tsx index 993290be00a..3993525fb15 100644 --- a/packages/blade/src/components/Icons/ToggleRightIcon/ToggleRightIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ToggleRightIcon/ToggleRightIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ToggleRightIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ToggleRightIcon/__snapshots__/ToggleRightIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ToggleRightIcon/__snapshots__/ToggleRightIcon.native.test.tsx.snap index f5f6fd2799b..1fa42033fcd 100644 --- a/packages/blade/src/components/Icons/ToggleRightIcon/__snapshots__/ToggleRightIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ToggleRightIcon/__snapshots__/ToggleRightIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ToggleRightIcon 1`] = ` should render ToggleRightIcon 1`] = ` should render ToggleRightIcon 1`] = ` clip-rule="evenodd" d="M16 8C13.7909 8 12 9.79086 12 12C12 14.2091 13.7909 16 16 16C18.2091 16 20 14.2091 20 12C20 9.79086 18.2091 8 16 8ZM14 12C14 10.8954 14.8954 10 16 10C17.1046 10 18 10.8954 18 12C18 13.1046 17.1046 14 16 14C14.8954 14 14 13.1046 14 12Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/TransactionsIcon/TransactionsIcon.native.test.tsx b/packages/blade/src/components/Icons/TransactionsIcon/TransactionsIcon.native.test.tsx index 9f615e18e0f..186db19dc6d 100644 --- a/packages/blade/src/components/Icons/TransactionsIcon/TransactionsIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/TransactionsIcon/TransactionsIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render TransactionsIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TransactionsIcon/TransactionsIcon.web.test.tsx b/packages/blade/src/components/Icons/TransactionsIcon/TransactionsIcon.web.test.tsx index 9a9b68c12e7..7cd2c712040 100644 --- a/packages/blade/src/components/Icons/TransactionsIcon/TransactionsIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/TransactionsIcon/TransactionsIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render TransactionsIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TransactionsIcon/__snapshots__/TransactionsIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/TransactionsIcon/__snapshots__/TransactionsIcon.native.test.tsx.snap index f45c976f8a9..f5b92475f42 100644 --- a/packages/blade/src/components/Icons/TransactionsIcon/__snapshots__/TransactionsIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/TransactionsIcon/__snapshots__/TransactionsIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render TransactionsIcon 1`] = ` > should render TransactionsIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/TrashIcon/TrashIcon.native.test.tsx b/packages/blade/src/components/Icons/TrashIcon/TrashIcon.native.test.tsx index d61a7394d3b..98fe2a5ce28 100644 --- a/packages/blade/src/components/Icons/TrashIcon/TrashIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/TrashIcon/TrashIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render TrashIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TrashIcon/TrashIcon.web.test.tsx b/packages/blade/src/components/Icons/TrashIcon/TrashIcon.web.test.tsx index 09c7ec82930..97319ea31d4 100644 --- a/packages/blade/src/components/Icons/TrashIcon/TrashIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/TrashIcon/TrashIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render TrashIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TrashIcon/__snapshots__/TrashIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/TrashIcon/__snapshots__/TrashIcon.native.test.tsx.snap index b6e966646fb..713db32c1bb 100644 --- a/packages/blade/src/components/Icons/TrashIcon/__snapshots__/TrashIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/TrashIcon/__snapshots__/TrashIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render TrashIcon 1`] = ` > should render TrashIcon 1`] = ` should render TrashIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/TrendingDownIcon/TendingDownIcon.native.test.tsx b/packages/blade/src/components/Icons/TrendingDownIcon/TendingDownIcon.native.test.tsx index c5ea280d0aa..31738659eae 100644 --- a/packages/blade/src/components/Icons/TrendingDownIcon/TendingDownIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/TrendingDownIcon/TendingDownIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render TrendingDownIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TrendingDownIcon/TrendingDownIcon.native.test.tsx b/packages/blade/src/components/Icons/TrendingDownIcon/TrendingDownIcon.native.test.tsx index 887d1b624bf..7ac622c2e90 100644 --- a/packages/blade/src/components/Icons/TrendingDownIcon/TrendingDownIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/TrendingDownIcon/TrendingDownIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render TrendingDownIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TrendingDownIcon/TrendingDownIcon.web.test.tsx b/packages/blade/src/components/Icons/TrendingDownIcon/TrendingDownIcon.web.test.tsx index 6664caa28f9..e8d068a7b46 100644 --- a/packages/blade/src/components/Icons/TrendingDownIcon/TrendingDownIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/TrendingDownIcon/TrendingDownIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render TrendingDownIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TrendingDownIcon/__snapshots__/TendingDownIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/TrendingDownIcon/__snapshots__/TendingDownIcon.native.test.tsx.snap index d3209ceeff2..8bc86dbfe2e 100644 --- a/packages/blade/src/components/Icons/TrendingDownIcon/__snapshots__/TendingDownIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/TrendingDownIcon/__snapshots__/TendingDownIcon.native.test.tsx.snap @@ -54,7 +54,7 @@ exports[` should render TrendingDownIcon 1`] = ` > should render TrendingDownIcon 1`] = ` > should render TrendingDownIcon 1`] = ` ', () => { it('should render TrendingUpIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TrendingUpIcon/TrendingUpIcon.native.test.tsx b/packages/blade/src/components/Icons/TrendingUpIcon/TrendingUpIcon.native.test.tsx index 7e19ad444c4..93f8b21a00e 100644 --- a/packages/blade/src/components/Icons/TrendingUpIcon/TrendingUpIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/TrendingUpIcon/TrendingUpIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render TrendingUpIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TrendingUpIcon/TrendingUpIcon.web.test.tsx b/packages/blade/src/components/Icons/TrendingUpIcon/TrendingUpIcon.web.test.tsx index 750cdea7d56..8302c9f2f70 100644 --- a/packages/blade/src/components/Icons/TrendingUpIcon/TrendingUpIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/TrendingUpIcon/TrendingUpIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render TrendingUpIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TrendingUpIcon/__snapshots__/TendingUpIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/TrendingUpIcon/__snapshots__/TendingUpIcon.native.test.tsx.snap index b14a7f54020..a7ff0d1d9b4 100644 --- a/packages/blade/src/components/Icons/TrendingUpIcon/__snapshots__/TendingUpIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/TrendingUpIcon/__snapshots__/TendingUpIcon.native.test.tsx.snap @@ -54,7 +54,7 @@ exports[` should render TrendingUpIcon 1`] = ` > should render TrendingUpIcon 1`] = ` > should render TrendingUpIcon 1`] = ` ', () => { it('should render TriangleIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TriangleIcon/TriangleIcon.web.test.tsx b/packages/blade/src/components/Icons/TriangleIcon/TriangleIcon.web.test.tsx index 089745eb48d..12f6e22e8f5 100644 --- a/packages/blade/src/components/Icons/TriangleIcon/TriangleIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/TriangleIcon/TriangleIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render TriangleIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TriangleIcon/__snapshots__/TriangleIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/TriangleIcon/__snapshots__/TriangleIcon.native.test.tsx.snap index a7d71675748..26da06b9e42 100644 --- a/packages/blade/src/components/Icons/TriangleIcon/__snapshots__/TriangleIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/TriangleIcon/__snapshots__/TriangleIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render TriangleIcon 1`] = ` should render TriangleIcon 1`] = ` clip-rule="evenodd" d="M9.43502 3.34133C9.97887 2.44475 10.9514 1.89722 12 1.89722C13.0486 1.89722 14.0212 2.44475 14.565 3.34133L14.5679 3.34608L23.0379 17.4861L23.046 17.4999C23.5791 18.423 23.5822 19.5596 23.0544 20.4857C22.5265 21.4118 21.5469 21.9882 20.481 21.9999L20.47 22L3.51903 22C2.45315 21.9882 1.47353 21.4118 0.94567 20.4857C0.41781 19.5596 0.420993 18.423 0.95403 17.4999L0.962153 17.4861L9.43502 3.34133ZM11.1462 4.3766L2.6827 18.5058C2.50833 18.8125 2.50837 19.1885 2.68322 19.4953C2.85842 19.8026 3.1829 19.9945 3.53642 20H20.4636C20.8171 19.9945 21.1416 19.8026 21.3168 19.4953C21.4917 19.1885 21.4917 18.8125 21.3174 18.5058L12.855 4.37859C12.8546 4.37792 12.8542 4.37726 12.8538 4.3766C12.6723 4.07892 12.3488 3.89722 12 3.89722C11.6513 3.89722 11.3277 4.07892 11.1462 4.3766Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/TvIcon/TvIcon.native.test.tsx b/packages/blade/src/components/Icons/TvIcon/TvIcon.native.test.tsx index aae56ada406..f1d272eeb0f 100644 --- a/packages/blade/src/components/Icons/TvIcon/TvIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/TvIcon/TvIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render TvIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TvIcon/TvIcon.web.test.tsx b/packages/blade/src/components/Icons/TvIcon/TvIcon.web.test.tsx index 153d301fc8f..51e6e8213cd 100644 --- a/packages/blade/src/components/Icons/TvIcon/TvIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/TvIcon/TvIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render TvIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TvIcon/__snapshots__/TvIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/TvIcon/__snapshots__/TvIcon.native.test.tsx.snap index 3ec0956fe2c..120373930d8 100644 --- a/packages/blade/src/components/Icons/TvIcon/__snapshots__/TvIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/TvIcon/__snapshots__/TvIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render TvIcon 1`] = ` should render TvIcon 1`] = ` clip-rule="evenodd" d="M7.70711 1.29289C7.31658 0.902369 6.68342 0.902369 6.29289 1.29289C5.90237 1.68342 5.90237 2.31658 6.29289 2.70711L9.58579 6H4C2.34315 6 1 7.34315 1 9V20C1 21.6569 2.34315 23 4 23H20C21.6569 23 23 21.6569 23 20V9C23 7.34315 21.6569 6 20 6H14.4142L17.7071 2.70711C18.0976 2.31658 18.0976 1.68342 17.7071 1.29289C17.3166 0.902369 16.6834 0.902369 16.2929 1.29289L12 5.58579L7.70711 1.29289ZM3 9C3 8.44772 3.44772 8 4 8H20C20.5523 8 21 8.44772 21 9V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V9Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/TwitterIcon/TwitterIcon.native.test.tsx b/packages/blade/src/components/Icons/TwitterIcon/TwitterIcon.native.test.tsx index 6987a97c801..932de167160 100644 --- a/packages/blade/src/components/Icons/TwitterIcon/TwitterIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/TwitterIcon/TwitterIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render TwitterIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TwitterIcon/TwitterIcon.web.test.tsx b/packages/blade/src/components/Icons/TwitterIcon/TwitterIcon.web.test.tsx index 33d8b091210..5cb1026dd51 100644 --- a/packages/blade/src/components/Icons/TwitterIcon/TwitterIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/TwitterIcon/TwitterIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render TwitterIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TwitterIcon/__snapshots__/TwitterIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/TwitterIcon/__snapshots__/TwitterIcon.native.test.tsx.snap index 2da7e93f0e3..cf153facc65 100644 --- a/packages/blade/src/components/Icons/TwitterIcon/__snapshots__/TwitterIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/TwitterIcon/__snapshots__/TwitterIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render TwitterIcon 1`] = ` should render TwitterIcon 1`] = ` name="clip0_83_559" > should render TwitterIcon 1`] = ` clip-rule="evenodd" d="M20.1328 3.38509C18.6196 2.03085 16.4579 1.61269 14.5255 2.35025C12.3887 3.16583 10.9843 5.22202 10.9997 7.50656C8.13296 7.29145 5.48993 5.80559 3.81834 3.42534C3.6113 3.13053 3.26168 2.96986 2.90312 3.00476C2.54456 3.03965 2.23248 3.26471 2.08617 3.59392L2.99998 4.00005C2.08617 3.59392 2.08596 3.5944 2.08573 3.59491L2.08519 3.59612L2.08385 3.59916L2.08011 3.60772L2.06854 3.63465C2.05908 3.6569 2.04619 3.68771 2.03042 3.72664C1.99889 3.80447 1.95575 3.91494 1.90526 4.05459C1.8044 4.33356 1.67356 4.73083 1.54746 5.21842C1.29646 6.18895 1.05769 7.54234 1.12601 9.04546C1.19454 10.553 1.57341 12.2317 2.57704 13.8164C3.3294 15.0043 4.41157 16.1055 5.91472 17.033C4.39635 17.7325 2.72654 18.0679 1.03973 18.0008C0.577005 17.9824 0.162178 18.2841 0.0371299 18.73C-0.0879187 19.1759 0.109527 19.6493 0.514338 19.8742C5.29085 22.5278 10.6509 22.5526 14.8448 20.3203C19.0631 18.0751 22 13.6 22 7.50005L22 7.49675C21.9994 7.33449 21.9917 7.17243 21.9769 7.01103C22.9424 5.93962 23.629 4.6432 23.9716 3.23667C24.0702 2.83167 23.9073 2.40797 23.5627 2.17341C23.2181 1.93885 22.7642 1.94262 22.4236 2.18289C21.7152 2.68259 20.9449 3.08658 20.1328 3.38509ZM3.40458 6.04386C3.22091 6.8452 3.07426 7.86138 3.12395 8.95465C3.18043 10.1972 3.48906 11.5184 4.26667 12.7463C5.04027 13.9677 6.31602 15.1573 8.40612 16.0862C8.73792 16.2337 8.96372 16.5494 8.99602 16.9111C9.02831 17.2728 8.86204 17.6235 8.56161 17.8274C7.45067 18.5815 6.23418 19.1489 4.96008 19.5157C8.13025 20.3234 11.307 19.9377 13.9051 18.5548C17.4365 16.6752 19.9995 12.9009 20 7.50172C19.9992 7.28562 19.9783 7.07007 19.9378 6.85781C19.8751 6.52994 19.9801 6.19243 20.2178 5.95805C20.4406 5.73836 20.6469 5.50422 20.8357 5.25756C20.6092 5.34111 20.3799 5.41784 20.1483 5.48759C19.7717 5.601 19.3635 5.48309 19.1054 5.18629C18.1472 4.08445 16.6029 3.69806 15.2387 4.21877C13.8744 4.73948 12.9803 6.05653 12.9999 7.51665L13.0001 7.53006H13V8.53006C13 9.07224 12.5679 9.51567 12.0259 9.52972C8.76543 9.61426 5.65043 8.33089 3.40458 6.04386Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> @@ -32,7 +32,7 @@ exports[` should render TwitterIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/TypeIcon/TypeIcon.native.test.tsx b/packages/blade/src/components/Icons/TypeIcon/TypeIcon.native.test.tsx index 72c78fb4b54..2a610a78ee2 100644 --- a/packages/blade/src/components/Icons/TypeIcon/TypeIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/TypeIcon/TypeIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render TypeIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TypeIcon/TypeIcon.web.test.tsx b/packages/blade/src/components/Icons/TypeIcon/TypeIcon.web.test.tsx index 0d9ebe1fda4..fbd96a77c51 100644 --- a/packages/blade/src/components/Icons/TypeIcon/TypeIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/TypeIcon/TypeIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render TypeIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/TypeIcon/__snapshots__/TypeIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/TypeIcon/__snapshots__/TypeIcon.native.test.tsx.snap index 17c06e77e60..02fd836de37 100644 --- a/packages/blade/src/components/Icons/TypeIcon/__snapshots__/TypeIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/TypeIcon/__snapshots__/TypeIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render TypeIcon 1`] = ` should render TypeIcon 1`] = ` should render TypeIcon 1`] = ` should render TypeIcon 1`] = ` clip-rule="evenodd" d="M3 3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V6C21 6.55228 20.5523 7 20 7C19.4477 7 19 6.55228 19 6V4H5V6C5 6.55228 4.55228 7 4 7C3.44772 7 3 6.55228 3 6V3Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/UmbrellaIcon/UmbrellaIcon.native.test.tsx b/packages/blade/src/components/Icons/UmbrellaIcon/UmbrellaIcon.native.test.tsx index 6ad48315231..7ea8d80791d 100644 --- a/packages/blade/src/components/Icons/UmbrellaIcon/UmbrellaIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/UmbrellaIcon/UmbrellaIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render UmbrellaIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UmbrellaIcon/UmbrellaIcon.web.test.tsx b/packages/blade/src/components/Icons/UmbrellaIcon/UmbrellaIcon.web.test.tsx index 99f4c3417d8..c7c9d6dd62d 100644 --- a/packages/blade/src/components/Icons/UmbrellaIcon/UmbrellaIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/UmbrellaIcon/UmbrellaIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render UmbrellaIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UmbrellaIcon/__snapshots__/UmbrellaIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/UmbrellaIcon/__snapshots__/UmbrellaIcon.native.test.tsx.snap index fc95a0490f7..764da9eb465 100644 --- a/packages/blade/src/components/Icons/UmbrellaIcon/__snapshots__/UmbrellaIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/UmbrellaIcon/__snapshots__/UmbrellaIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render UmbrellaIcon 1`] = ` should render UmbrellaIcon 1`] = ` name="clip0_60_996" > should render UmbrellaIcon 1`] = ` clip-rule="evenodd" d="M0.00452884 11.905C0.59476 5.7216 5.78852 1 12 1C18.2115 1 23.4052 5.7216 23.9955 11.905C24.0223 12.1854 23.9295 12.4642 23.7399 12.6727C23.5504 12.8811 23.2817 13 23 13H13V19C13 20.1046 13.8954 21 15 21C16.1046 21 17 20.1046 17 19C17 18.4477 17.4477 18 18 18C18.5523 18 19 18.4477 19 19C19 21.2091 17.2091 23 15 23C12.7909 23 11 21.2091 11 19V13H1C0.718259 13 0.449586 12.8811 0.260064 12.6727C0.0705417 12.4642 -0.0222434 12.1854 0.00452884 11.905ZM21.8394 11C20.8835 6.39076 16.8072 3 12 3C7.19284 3 3.11654 6.39076 2.16062 11H21.8394Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> @@ -32,7 +32,7 @@ exports[` should render UmbrellaIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/UnderlineIcon/UnderlineIcon.native.test.tsx b/packages/blade/src/components/Icons/UnderlineIcon/UnderlineIcon.native.test.tsx index 936ffdfa128..7aa67d50c7c 100644 --- a/packages/blade/src/components/Icons/UnderlineIcon/UnderlineIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/UnderlineIcon/UnderlineIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render UnderlineIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UnderlineIcon/UnderlineIcon.web.test.tsx b/packages/blade/src/components/Icons/UnderlineIcon/UnderlineIcon.web.test.tsx index f5f9ef80932..62ce4764d94 100644 --- a/packages/blade/src/components/Icons/UnderlineIcon/UnderlineIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/UnderlineIcon/UnderlineIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render UnderlineIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UnderlineIcon/__snapshots__/UnderlineIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/UnderlineIcon/__snapshots__/UnderlineIcon.native.test.tsx.snap index 7df675fc048..bf61ee39be0 100644 --- a/packages/blade/src/components/Icons/UnderlineIcon/__snapshots__/UnderlineIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/UnderlineIcon/__snapshots__/UnderlineIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render UnderlineIcon 1`] = ` > should render UnderlineIcon 1`] = ` /> should render UnderlineIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/UnlockIcon/UnlockIcon.native.test.tsx b/packages/blade/src/components/Icons/UnlockIcon/UnlockIcon.native.test.tsx index 2c6466faf90..17fbbe95644 100644 --- a/packages/blade/src/components/Icons/UnlockIcon/UnlockIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/UnlockIcon/UnlockIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render UnlockIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UnlockIcon/UnlockIcon.web.test.tsx b/packages/blade/src/components/Icons/UnlockIcon/UnlockIcon.web.test.tsx index 6ada004b535..70d162e3029 100644 --- a/packages/blade/src/components/Icons/UnlockIcon/UnlockIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/UnlockIcon/UnlockIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render UnlockIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UnlockIcon/__snapshots__/UnlockIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/UnlockIcon/__snapshots__/UnlockIcon.native.test.tsx.snap index a58e31a2495..f9300769d04 100644 --- a/packages/blade/src/components/Icons/UnlockIcon/__snapshots__/UnlockIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/UnlockIcon/__snapshots__/UnlockIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render UnlockIcon 1`] = ` should render UnlockIcon 1`] = ` clip-rule="evenodd" d="M11.598 3.01522C13.6426 2.8087 15.5111 4.18508 15.92 6.19899C16.0299 6.74023 16.5578 7.0899 17.099 6.98C17.6402 6.8701 17.9899 6.34224 17.88 5.801C17.2666 2.78013 14.4639 0.71556 11.397 1.02535C8.32071 1.33609 6 3.99656 6 7V10H5C3.34315 10 2 11.3431 2 13V20C2 21.6569 3.34315 23 5 23H19C20.6569 23 22 21.6569 22 20V13C22 11.3431 20.6569 10 19 10H16.9024L16.9 10H8V7C8 5.00355 9.56277 3.2208 11.598 3.01522ZM4 13C4 12.4477 4.44772 12 5 12H19C19.5523 12 20 12.4477 20 13V20C20 20.5523 19.5523 21 19 21H5C4.44772 21 4 20.5523 4 20V13Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/UploadCloudIcon/UploadCloudIcon.native.test.tsx b/packages/blade/src/components/Icons/UploadCloudIcon/UploadCloudIcon.native.test.tsx index e858ff3bfe1..075c039d0cd 100644 --- a/packages/blade/src/components/Icons/UploadCloudIcon/UploadCloudIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/UploadCloudIcon/UploadCloudIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render UploadCloudIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UploadCloudIcon/UploadCloudIcon.web.test.tsx b/packages/blade/src/components/Icons/UploadCloudIcon/UploadCloudIcon.web.test.tsx index 3b9c9db90b5..0aeab67ebd7 100644 --- a/packages/blade/src/components/Icons/UploadCloudIcon/UploadCloudIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/UploadCloudIcon/UploadCloudIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render UploadCloudIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UploadCloudIcon/__snapshots__/UploadCloudIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/UploadCloudIcon/__snapshots__/UploadCloudIcon.native.test.tsx.snap index 33200275e3d..70c50fe0d91 100644 --- a/packages/blade/src/components/Icons/UploadCloudIcon/__snapshots__/UploadCloudIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/UploadCloudIcon/__snapshots__/UploadCloudIcon.native.test.tsx.snap @@ -54,7 +54,7 @@ exports[` should render UploadCloudIcon 1`] = ` > should render UploadCloudIcon 1`] = ` /> should render UploadCloudIcon 1`] = ` name="clip0_60_143" > should render UploadCloudIcon 1`] = ` should render UploadCloudIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/UploadIcon/UploadIcon.native.test.tsx b/packages/blade/src/components/Icons/UploadIcon/UploadIcon.native.test.tsx index a9e3188c9fe..2629bb999e6 100644 --- a/packages/blade/src/components/Icons/UploadIcon/UploadIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/UploadIcon/UploadIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render UploadIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UploadIcon/UploadIcon.web.test.tsx b/packages/blade/src/components/Icons/UploadIcon/UploadIcon.web.test.tsx index df977fde246..b03f76c957c 100644 --- a/packages/blade/src/components/Icons/UploadIcon/UploadIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/UploadIcon/UploadIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render UploadIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UploadIcon/__snapshots__/UploadIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/UploadIcon/__snapshots__/UploadIcon.native.test.tsx.snap index dd540d8cbb1..c43a946af8d 100644 --- a/packages/blade/src/components/Icons/UploadIcon/__snapshots__/UploadIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/UploadIcon/__snapshots__/UploadIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render UploadIcon 1`] = ` > should render UploadIcon 1`] = ` /> should render UploadIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/UserCheckIcon/UserCheckIcon.native.test.tsx b/packages/blade/src/components/Icons/UserCheckIcon/UserCheckIcon.native.test.tsx index 7e1c2b29563..3b813d1f0d5 100644 --- a/packages/blade/src/components/Icons/UserCheckIcon/UserCheckIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/UserCheckIcon/UserCheckIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render UserCheckIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UserCheckIcon/UserCheckIcon.web.test.tsx b/packages/blade/src/components/Icons/UserCheckIcon/UserCheckIcon.web.test.tsx index 9498a859909..9cef4fde9cb 100644 --- a/packages/blade/src/components/Icons/UserCheckIcon/UserCheckIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/UserCheckIcon/UserCheckIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render UserCheckIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UserCheckIcon/__snapshots__/UserCheckIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/UserCheckIcon/__snapshots__/UserCheckIcon.native.test.tsx.snap index dd06c7603b9..b2e4e490c48 100644 --- a/packages/blade/src/components/Icons/UserCheckIcon/__snapshots__/UserCheckIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/UserCheckIcon/__snapshots__/UserCheckIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render UserCheckIcon 1`] = ` should render UserCheckIcon 1`] = ` /> should render UserCheckIcon 1`] = ` /> should render UserCheckIcon 1`] = ` clip-rule="evenodd" d="M3.5 7C3.5 4.23858 5.73858 2 8.5 2C11.2614 2 13.5 4.23858 13.5 7C13.5 9.76142 11.2614 12 8.5 12C5.73858 12 3.5 9.76142 3.5 7ZM8.5 4C6.84315 4 5.5 5.34315 5.5 7C5.5 8.65685 6.84315 10 8.5 10C10.1569 10 11.5 8.65685 11.5 7C11.5 5.34315 10.1569 4 8.5 4Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/UserIcon/UserIcon.native.test.tsx b/packages/blade/src/components/Icons/UserIcon/UserIcon.native.test.tsx index ae01ae76316..4bfad8b5129 100644 --- a/packages/blade/src/components/Icons/UserIcon/UserIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/UserIcon/UserIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render UserIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UserIcon/UserIcon.web.test.tsx b/packages/blade/src/components/Icons/UserIcon/UserIcon.web.test.tsx index ce6c1a3316e..6ac32aa628a 100644 --- a/packages/blade/src/components/Icons/UserIcon/UserIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/UserIcon/UserIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render UserIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UserIcon/__snapshots__/UserIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/UserIcon/__snapshots__/UserIcon.native.test.tsx.snap index ad6510cbb48..c85444700f9 100644 --- a/packages/blade/src/components/Icons/UserIcon/__snapshots__/UserIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/UserIcon/__snapshots__/UserIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render UserIcon 1`] = ` should render UserIcon 1`] = ` /> should render UserIcon 1`] = ` clip-rule="evenodd" d="M12 2a5 5 0 1 0 0 10 5 5 0 0 0 0-10ZM9 7a3 3 0 1 1 6 0 3 3 0 0 1-6 0Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/UserMinusIcon/UserMinusIcon.native.test.tsx b/packages/blade/src/components/Icons/UserMinusIcon/UserMinusIcon.native.test.tsx index 1d1c62cc623..8b4cf453f23 100644 --- a/packages/blade/src/components/Icons/UserMinusIcon/UserMinusIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/UserMinusIcon/UserMinusIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render UserMinusIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UserMinusIcon/UserMinusIcon.web.test.tsx b/packages/blade/src/components/Icons/UserMinusIcon/UserMinusIcon.web.test.tsx index a67abcf9d37..cbd5963905c 100644 --- a/packages/blade/src/components/Icons/UserMinusIcon/UserMinusIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/UserMinusIcon/UserMinusIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render UserMinusIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UserMinusIcon/__snapshots__/UserMinusIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/UserMinusIcon/__snapshots__/UserMinusIcon.native.test.tsx.snap index 23e67823a8c..0c770407710 100644 --- a/packages/blade/src/components/Icons/UserMinusIcon/__snapshots__/UserMinusIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/UserMinusIcon/__snapshots__/UserMinusIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render UserMinusIcon 1`] = ` should render UserMinusIcon 1`] = ` /> should render UserMinusIcon 1`] = ` /> should render UserMinusIcon 1`] = ` clip-rule="evenodd" d="M3.5 7C3.5 4.23858 5.73858 2 8.5 2C11.2614 2 13.5 4.23858 13.5 7C13.5 9.76142 11.2614 12 8.5 12C5.73858 12 3.5 9.76142 3.5 7ZM8.5 4C6.84315 4 5.5 5.34315 5.5 7C5.5 8.65685 6.84315 10 8.5 10C10.1569 10 11.5 8.65685 11.5 7C11.5 5.34315 10.1569 4 8.5 4Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/UserPlusIcon/UserPlusIcon.native.test.tsx b/packages/blade/src/components/Icons/UserPlusIcon/UserPlusIcon.native.test.tsx index cb71cd60a30..9e02ff4b62c 100644 --- a/packages/blade/src/components/Icons/UserPlusIcon/UserPlusIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/UserPlusIcon/UserPlusIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render UserPlusIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UserPlusIcon/UserPlusIcon.web.test.tsx b/packages/blade/src/components/Icons/UserPlusIcon/UserPlusIcon.web.test.tsx index d0b17168bc5..90cf1bf447f 100644 --- a/packages/blade/src/components/Icons/UserPlusIcon/UserPlusIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/UserPlusIcon/UserPlusIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render UserPlusIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UserPlusIcon/__snapshots__/UserPlusIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/UserPlusIcon/__snapshots__/UserPlusIcon.native.test.tsx.snap index 8c10a97de5a..ab54d0d6f9f 100644 --- a/packages/blade/src/components/Icons/UserPlusIcon/__snapshots__/UserPlusIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/UserPlusIcon/__snapshots__/UserPlusIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render UserPlusIcon 1`] = ` should render UserPlusIcon 1`] = ` /> should render UserPlusIcon 1`] = ` /> should render UserPlusIcon 1`] = ` clip-rule="evenodd" d="M8.5 2C5.73858 2 3.5 4.23858 3.5 7C3.5 9.76142 5.73858 12 8.5 12C11.2614 12 13.5 9.76142 13.5 7C13.5 4.23858 11.2614 2 8.5 2ZM5.5 7C5.5 5.34315 6.84315 4 8.5 4C10.1569 4 11.5 5.34315 11.5 7C11.5 8.65685 10.1569 10 8.5 10C6.84315 10 5.5 8.65685 5.5 7Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/UserXIcon/UserXIcon.native.test.tsx b/packages/blade/src/components/Icons/UserXIcon/UserXIcon.native.test.tsx index b1eab3e4bb6..6280cb58eed 100644 --- a/packages/blade/src/components/Icons/UserXIcon/UserXIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/UserXIcon/UserXIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render UserXIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UserXIcon/UserXIcon.web.test.tsx b/packages/blade/src/components/Icons/UserXIcon/UserXIcon.web.test.tsx index 41d1aa1267b..c696fbdf637 100644 --- a/packages/blade/src/components/Icons/UserXIcon/UserXIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/UserXIcon/UserXIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render UserXIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UserXIcon/__snapshots__/UserXIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/UserXIcon/__snapshots__/UserXIcon.native.test.tsx.snap index 7b1d281d26c..5f3c10dc591 100644 --- a/packages/blade/src/components/Icons/UserXIcon/__snapshots__/UserXIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/UserXIcon/__snapshots__/UserXIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render UserXIcon 1`] = ` should render UserXIcon 1`] = ` /> should render UserXIcon 1`] = ` /> should render UserXIcon 1`] = ` clip-rule="evenodd" d="M8.5 2C5.73858 2 3.5 4.23858 3.5 7C3.5 9.76142 5.73858 12 8.5 12C11.2614 12 13.5 9.76142 13.5 7C13.5 4.23858 11.2614 2 8.5 2ZM5.5 7C5.5 5.34315 6.84315 4 8.5 4C10.1569 4 11.5 5.34315 11.5 7C11.5 8.65685 10.1569 10 8.5 10C6.84315 10 5.5 8.65685 5.5 7Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/UsersIcon/UsersIcon.native.test.tsx b/packages/blade/src/components/Icons/UsersIcon/UsersIcon.native.test.tsx index 7e5ff6d961f..758ee23818e 100644 --- a/packages/blade/src/components/Icons/UsersIcon/UsersIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/UsersIcon/UsersIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render UsersIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UsersIcon/UsersIcon.web.test.tsx b/packages/blade/src/components/Icons/UsersIcon/UsersIcon.web.test.tsx index de6bd47b114..dbb9db7464a 100644 --- a/packages/blade/src/components/Icons/UsersIcon/UsersIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/UsersIcon/UsersIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render UsersIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/UsersIcon/__snapshots__/UsersIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/UsersIcon/__snapshots__/UsersIcon.native.test.tsx.snap index caeec1431fa..9e395315e47 100644 --- a/packages/blade/src/components/Icons/UsersIcon/__snapshots__/UsersIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/UsersIcon/__snapshots__/UsersIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render UsersIcon 1`] = ` > should render UsersIcon 1`] = ` /> should render UsersIcon 1`] = ` /> should render UsersIcon 1`] = ` /> should render UsersIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/VideoIcon/VideoIcon.native.test.tsx b/packages/blade/src/components/Icons/VideoIcon/VideoIcon.native.test.tsx index 19e25ea78fd..bb47e26c142 100644 --- a/packages/blade/src/components/Icons/VideoIcon/VideoIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/VideoIcon/VideoIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render VideoIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/VideoIcon/VideoIcon.web.test.tsx b/packages/blade/src/components/Icons/VideoIcon/VideoIcon.web.test.tsx index a02edd38c55..f5d7f89cf06 100644 --- a/packages/blade/src/components/Icons/VideoIcon/VideoIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/VideoIcon/VideoIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render VideoIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/VideoIcon/__snapshots__/VideoIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/VideoIcon/__snapshots__/VideoIcon.native.test.tsx.snap index 0cb7a893b02..379657ece39 100644 --- a/packages/blade/src/components/Icons/VideoIcon/__snapshots__/VideoIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/VideoIcon/__snapshots__/VideoIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render VideoIcon 1`] = ` should render VideoIcon 1`] = ` clip-rule="evenodd" d="M3 4C1.34315 4 0 5.34315 0 7V17C0 18.6569 1.34315 20 3 20H14C15.6569 20 17 18.6569 17 17V13.9432L22.4188 17.8137C22.7236 18.0315 23.1245 18.0606 23.4576 17.8892C23.7907 17.7178 24 17.3746 24 17V7C24 6.62542 23.7907 6.28224 23.4576 6.11084C23.1245 5.93943 22.7236 5.96855 22.4188 6.18627L17 10.0568V7C17 5.34315 15.6569 4 14 4H3ZM15 7C15 6.44772 14.5523 6 14 6H3C2.44772 6 2 6.44772 2 7V17C2 17.5523 2.44772 18 3 18H14C14.5523 18 15 17.5523 15 17V7ZM22 15.0568L17.7205 12L22 8.94319V15.0568Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/VideoOffIcon/VideoOffIcon.native.test.tsx b/packages/blade/src/components/Icons/VideoOffIcon/VideoOffIcon.native.test.tsx index c36e3bfb9ce..86d09dc50fb 100644 --- a/packages/blade/src/components/Icons/VideoOffIcon/VideoOffIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/VideoOffIcon/VideoOffIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render VideoOffIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/VideoOffIcon/VideoOffIcon.web.test.tsx b/packages/blade/src/components/Icons/VideoOffIcon/VideoOffIcon.web.test.tsx index 882cf99756a..c1e01cb231b 100644 --- a/packages/blade/src/components/Icons/VideoOffIcon/VideoOffIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/VideoOffIcon/VideoOffIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render VideoOffIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/VideoOffIcon/__snapshots__/VideoOffIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/VideoOffIcon/__snapshots__/VideoOffIcon.native.test.tsx.snap index e1bc9eacbaf..cfa9282c6ee 100644 --- a/packages/blade/src/components/Icons/VideoOffIcon/__snapshots__/VideoOffIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/VideoOffIcon/__snapshots__/VideoOffIcon.native.test.tsx.snap @@ -55,7 +55,7 @@ exports[` should render VideoOffIcon 1`] = ` should render VideoOffIcon 1`] = ` /> should render VideoOffIcon 1`] = ` name="clip0_59_161" > should render VideoOffIcon 1`] = ` clip-rule="evenodd" d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L2.6108 4.02501C1.13781 4.21583 1.49012e-08 5.47504 1.49012e-08 7V17C1.49012e-08 18.6569 1.34315 20 3 20H14C15.2397 20 16.3038 19.248 16.761 18.1753L22.2929 23.7071C22.6834 24.0976 23.3166 24.0976 23.7071 23.7071C24.0976 23.3166 24.0976 22.6834 23.7071 22.2929L1.70711 0.292893ZM15 16.4142L4.58579 6H3C2.44772 6 2 6.44772 2 7V17C2 17.5523 2.44772 18 3 18H14C14.5523 18 15 17.5523 15 17V16.4142Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> should render VideoOffIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/VoicemailIcon/VoicemailIcon.native.test.tsx b/packages/blade/src/components/Icons/VoicemailIcon/VoicemailIcon.native.test.tsx index a09ee6b4e8f..b4cbee579d1 100644 --- a/packages/blade/src/components/Icons/VoicemailIcon/VoicemailIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/VoicemailIcon/VoicemailIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render VoicemailIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/VoicemailIcon/VoicemailIcon.web.test.tsx b/packages/blade/src/components/Icons/VoicemailIcon/VoicemailIcon.web.test.tsx index 51dff2ccf8b..6bd6a8f82a7 100644 --- a/packages/blade/src/components/Icons/VoicemailIcon/VoicemailIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/VoicemailIcon/VoicemailIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render VoicemailIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/VoicemailIcon/__snapshots__/VoicemailIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/VoicemailIcon/__snapshots__/VoicemailIcon.native.test.tsx.snap index 9a9b94b0de6..85ee6bed90f 100644 --- a/packages/blade/src/components/Icons/VoicemailIcon/__snapshots__/VoicemailIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/VoicemailIcon/__snapshots__/VoicemailIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render VoicemailIcon 1`] = ` should render VoicemailIcon 1`] = ` clip-rule="evenodd" d="M0 11.5C0 8.46243 2.46243 6 5.5 6C8.53757 6 11 8.46243 11 11.5C11 12.8296 10.5282 14.0491 9.74284 15H14.2572C13.4718 14.0491 13 12.8296 13 11.5C13 8.46243 15.4624 6 18.5 6C21.5376 6 24 8.46243 24 11.5C24 14.5376 21.5376 17 18.5 17H5.5C2.46243 17 0 14.5376 0 11.5ZM18.5 15C20.433 15 22 13.433 22 11.5C22 9.567 20.433 8 18.5 8C16.567 8 15 9.567 15 11.5C15 13.433 16.567 15 18.5 15ZM5.5 15C7.433 15 9 13.433 9 11.5C9 9.567 7.433 8 5.5 8C3.567 8 2 9.567 2 11.5C2 13.433 3.567 15 5.5 15Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/VolumeHighIcon/VolumeHighIcon.native.test.tsx b/packages/blade/src/components/Icons/VolumeHighIcon/VolumeHighIcon.native.test.tsx index 65362aa8426..ee0d1ace52b 100644 --- a/packages/blade/src/components/Icons/VolumeHighIcon/VolumeHighIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/VolumeHighIcon/VolumeHighIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render VolumeHighIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/VolumeHighIcon/VolumeHighIcon.web.test.tsx b/packages/blade/src/components/Icons/VolumeHighIcon/VolumeHighIcon.web.test.tsx index 4930c080456..a92d3e878c4 100644 --- a/packages/blade/src/components/Icons/VolumeHighIcon/VolumeHighIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/VolumeHighIcon/VolumeHighIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render VolumeHighIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/VolumeHighIcon/__snapshots__/VolumeHighIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/VolumeHighIcon/__snapshots__/VolumeHighIcon.native.test.tsx.snap index b646dad2aa8..c22d8df8bf0 100644 --- a/packages/blade/src/components/Icons/VolumeHighIcon/__snapshots__/VolumeHighIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/VolumeHighIcon/__snapshots__/VolumeHighIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render VolumeHighIcon 1`] = ` > should render VolumeHighIcon 1`] = ` /> should render VolumeHighIcon 1`] = ` should render VolumeHighIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/VolumeIcon/VolumeIcon.native.test.tsx b/packages/blade/src/components/Icons/VolumeIcon/VolumeIcon.native.test.tsx index 5b047744265..98f99c37efc 100644 --- a/packages/blade/src/components/Icons/VolumeIcon/VolumeIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/VolumeIcon/VolumeIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render VolumeIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/VolumeIcon/VolumeIcon.web.test.tsx b/packages/blade/src/components/Icons/VolumeIcon/VolumeIcon.web.test.tsx index 57e4076cbd7..544515a0a83 100644 --- a/packages/blade/src/components/Icons/VolumeIcon/VolumeIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/VolumeIcon/VolumeIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render VolumeIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/VolumeIcon/__snapshots__/VolumeIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/VolumeIcon/__snapshots__/VolumeIcon.native.test.tsx.snap index 3d401d72cde..e29fb3da76c 100644 --- a/packages/blade/src/components/Icons/VolumeIcon/__snapshots__/VolumeIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/VolumeIcon/__snapshots__/VolumeIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render VolumeIcon 1`] = ` should render VolumeIcon 1`] = ` clip-rule="evenodd" d="M16.4332 4.09871C16.7797 4.26523 17 4.6156 17 5.00001V19C17 19.3844 16.7797 19.7348 16.4332 19.9013C16.0867 20.0678 15.6755 20.021 15.3753 19.7809L10.6492 16H7C6.44772 16 6 15.5523 6 15V9.00001C6 8.44772 6.44772 8.00001 7 8.00001H10.6492L15.3753 4.21914C15.6755 3.979 16.0867 3.93219 16.4332 4.09871ZM15 7.08063L11.6247 9.78088C11.4474 9.92273 11.2271 10 11 10H8V14H11C11.2271 14 11.4474 14.0773 11.6247 14.2191L15 16.9194V7.08063Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/VolumeLowIcon/VolumeLowIcon.native.test.tsx b/packages/blade/src/components/Icons/VolumeLowIcon/VolumeLowIcon.native.test.tsx index bd9434cafb4..3cb393bbfbd 100644 --- a/packages/blade/src/components/Icons/VolumeLowIcon/VolumeLowIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/VolumeLowIcon/VolumeLowIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render VolumeLowIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/VolumeLowIcon/VolumeLowIcon.web.test.tsx b/packages/blade/src/components/Icons/VolumeLowIcon/VolumeLowIcon.web.test.tsx index 90fb67683b6..9a1bbbbee59 100644 --- a/packages/blade/src/components/Icons/VolumeLowIcon/VolumeLowIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/VolumeLowIcon/VolumeLowIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render VolumeLowIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/VolumeLowIcon/__snapshots__/VolumeLowIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/VolumeLowIcon/__snapshots__/VolumeLowIcon.native.test.tsx.snap index c14a43b7710..704e48ef06d 100644 --- a/packages/blade/src/components/Icons/VolumeLowIcon/__snapshots__/VolumeLowIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/VolumeLowIcon/__snapshots__/VolumeLowIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render VolumeLowIcon 1`] = ` should render VolumeLowIcon 1`] = ` should render VolumeLowIcon 1`] = ` clip-rule="evenodd" d="M13.4332 4.09871C13.7797 4.26523 14 4.6156 14 5.00001V19C14 19.3844 13.7797 19.7348 13.4332 19.9013C13.0867 20.0678 12.6755 20.021 12.3753 19.7809L7.64922 16H4C3.44772 16 3 15.5523 3 15V9.00001C3 8.44772 3.44772 8.00001 4 8.00001H7.64922L12.3753 4.21914C12.6755 3.979 13.0867 3.93219 13.4332 4.09871ZM12 7.08063L8.62469 9.78088C8.44738 9.92273 8.22707 10 8 10H5V14H8C8.22707 14 8.44738 14.0773 8.62469 14.2191L12 16.9194V7.08063Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/VolumeMuteIcon/VolumeMuteIcon.native.test.tsx b/packages/blade/src/components/Icons/VolumeMuteIcon/VolumeMuteIcon.native.test.tsx index 61adf9c4adc..744d55892a4 100644 --- a/packages/blade/src/components/Icons/VolumeMuteIcon/VolumeMuteIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/VolumeMuteIcon/VolumeMuteIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render VolumeMuteIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/VolumeMuteIcon/VolumeMuteIcon.web.test.tsx b/packages/blade/src/components/Icons/VolumeMuteIcon/VolumeMuteIcon.web.test.tsx index f959cffa119..46c28d54323 100644 --- a/packages/blade/src/components/Icons/VolumeMuteIcon/VolumeMuteIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/VolumeMuteIcon/VolumeMuteIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render VolumeMuteIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/VolumeMuteIcon/__snapshots__/VolumeMuteIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/VolumeMuteIcon/__snapshots__/VolumeMuteIcon.native.test.tsx.snap index fb165d807ca..bbd6265ef69 100644 --- a/packages/blade/src/components/Icons/VolumeMuteIcon/__snapshots__/VolumeMuteIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/VolumeMuteIcon/__snapshots__/VolumeMuteIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render VolumeMuteIcon 1`] = ` should render VolumeMuteIcon 1`] = ` /> should render VolumeMuteIcon 1`] = ` clip-rule="evenodd" d="M10.4332 4.09871C10.7797 4.26523 11 4.6156 11 5.00001V19C11 19.3844 10.7797 19.7348 10.4332 19.9013C10.0867 20.0678 9.67548 20.021 9.37531 19.7809L4.64922 16H1C0.447715 16 0 15.5523 0 15V9.00001C0 8.44772 0.447715 8.00001 1 8.00001H4.64922L9.37531 4.21914C9.67548 3.979 10.0867 3.93219 10.4332 4.09871ZM9 7.08063L5.62469 9.78088C5.44738 9.92273 5.22707 10 5 10H2V14H5C5.22707 14 5.44738 14.0773 5.62469 14.2191L9 16.9194V7.08063Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/WatchIcon/WatchIcon.native.test.tsx b/packages/blade/src/components/Icons/WatchIcon/WatchIcon.native.test.tsx index e6ae95e9276..4b98721a2d4 100644 --- a/packages/blade/src/components/Icons/WatchIcon/WatchIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/WatchIcon/WatchIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render WatchIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/WatchIcon/WatchIcon.web.test.tsx b/packages/blade/src/components/Icons/WatchIcon/WatchIcon.web.test.tsx index 63671a2c5e7..0ed62563fa0 100644 --- a/packages/blade/src/components/Icons/WatchIcon/WatchIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/WatchIcon/WatchIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render WatchIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/WatchIcon/__snapshots__/WatchIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/WatchIcon/__snapshots__/WatchIcon.native.test.tsx.snap index f68f5c59da7..7c5cfde817f 100644 --- a/packages/blade/src/components/Icons/WatchIcon/__snapshots__/WatchIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/WatchIcon/__snapshots__/WatchIcon.native.test.tsx.snap @@ -54,7 +54,7 @@ exports[` should render WatchIcon 1`] = ` > should render WatchIcon 1`] = ` should render WatchIcon 1`] = ` name="clip0_60_398" > should render WatchIcon 1`] = ` @@ -37,7 +37,7 @@ exports[` should render WatchIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/WifiIcon/WifiIcon.native.test.tsx b/packages/blade/src/components/Icons/WifiIcon/WifiIcon.native.test.tsx index 13a26a1ae6d..d68214f17f4 100644 --- a/packages/blade/src/components/Icons/WifiIcon/WifiIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/WifiIcon/WifiIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render WifiIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/WifiIcon/WifiIcon.web.test.tsx b/packages/blade/src/components/Icons/WifiIcon/WifiIcon.web.test.tsx index acbd5271280..aa5fd2aef01 100644 --- a/packages/blade/src/components/Icons/WifiIcon/WifiIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/WifiIcon/WifiIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render WifiIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/WifiIcon/__snapshots__/WifiIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/WifiIcon/__snapshots__/WifiIcon.native.test.tsx.snap index 8d77016dd91..d521f9d6b29 100644 --- a/packages/blade/src/components/Icons/WifiIcon/__snapshots__/WifiIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/WifiIcon/__snapshots__/WifiIcon.native.test.tsx.snap @@ -54,7 +54,7 @@ exports[` should render WifiIcon 1`] = ` > should render WifiIcon 1`] = ` /> should render WifiIcon 1`] = ` /> should render WifiIcon 1`] = ` /> should render WifiIcon 1`] = ` name="clip0_59_173" > should render WifiIcon 1`] = ` should render WifiIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/WifiOffIcon/WifiOffIcon.native.test.tsx b/packages/blade/src/components/Icons/WifiOffIcon/WifiOffIcon.native.test.tsx index b86dc308513..beb5706d075 100644 --- a/packages/blade/src/components/Icons/WifiOffIcon/WifiOffIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/WifiOffIcon/WifiOffIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render WifiOffIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/WifiOffIcon/WifiOffIcon.web.test.tsx b/packages/blade/src/components/Icons/WifiOffIcon/WifiOffIcon.web.test.tsx index 343f0bc4f8e..4ddafe7ee33 100644 --- a/packages/blade/src/components/Icons/WifiOffIcon/WifiOffIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/WifiOffIcon/WifiOffIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render WifiOffIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/WifiOffIcon/__snapshots__/WifiOffIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/WifiOffIcon/__snapshots__/WifiOffIcon.native.test.tsx.snap index 20c15ca43d1..5e70b4ee213 100644 --- a/packages/blade/src/components/Icons/WifiOffIcon/__snapshots__/WifiOffIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/WifiOffIcon/__snapshots__/WifiOffIcon.native.test.tsx.snap @@ -54,7 +54,7 @@ exports[` should render WifiOffIcon 1`] = ` > should render WifiOffIcon 1`] = ` /> should render WifiOffIcon 1`] = ` /> should render WifiOffIcon 1`] = ` /> should render WifiOffIcon 1`] = ` name="clip0_59_168" > should render WifiOffIcon 1`] = ` should render WifiOffIcon 1`] = ` > diff --git a/packages/blade/src/components/Icons/WindIcon/WindIcon.native.test.tsx b/packages/blade/src/components/Icons/WindIcon/WindIcon.native.test.tsx index dbc40905bef..5c2dc3eff52 100644 --- a/packages/blade/src/components/Icons/WindIcon/WindIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/WindIcon/WindIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render WindIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/WindIcon/WindIcon.web.test.tsx b/packages/blade/src/components/Icons/WindIcon/WindIcon.web.test.tsx index 5d87592b38f..34d1b4ac9bc 100644 --- a/packages/blade/src/components/Icons/WindIcon/WindIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/WindIcon/WindIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render WindIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/WindIcon/__snapshots__/WindIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/WindIcon/__snapshots__/WindIcon.native.test.tsx.snap index a23775c2dfc..d0dbb443ead 100644 --- a/packages/blade/src/components/Icons/WindIcon/__snapshots__/WindIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/WindIcon/__snapshots__/WindIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render WindIcon 1`] = ` should render WindIcon 1`] = ` clip-rule="evenodd" d="M11.5079 5.13376C11.115 4.90724 10.6189 4.97345 10.2992 5.29506C9.90983 5.68674 9.27667 5.68862 8.88499 5.29925C8.49331 4.90989 8.49144 4.27673 8.8808 3.88505C9.83995 2.9202 11.3283 2.72157 12.5069 3.40113C13.6855 4.0807 14.2593 5.4683 13.9048 6.78178C13.5505 8.09454 12.3576 9.00476 10.998 9.00005C10.9973 9.00005 10.9965 9.00005 10.9958 9.00005L11 8.00005V9.00005H10.998H2C1.44772 9.00005 1 8.55234 1 8.00005C1 7.44777 1.44772 7.00005 2 7.00005H11.0042C11.4577 7.00196 11.8557 6.69847 11.9739 6.26064C12.092 5.82281 11.9008 5.36028 11.5079 5.13376ZM20.2458 8.20121C19.6585 7.86189 18.9165 7.95901 18.4362 8.43806C18.0452 8.82809 17.412 8.82728 17.022 8.43627C16.632 8.04525 16.6328 7.41208 17.0238 7.02205C18.1444 5.90427 19.8757 5.67767 21.2463 6.4694C22.6168 7.26114 23.2854 8.87414 22.877 10.4033C22.4685 11.9325 21.0846 12.9972 19.5018 13.0001L19.5 13.0001H2C1.44772 13.0001 1 12.5523 1 12.0001C1 11.4478 1.44772 11.0001 2 11.0001H19.4989C20.177 10.9985 20.7697 10.5423 20.9447 9.88717C21.1198 9.23181 20.8332 8.54052 20.2458 8.20121ZM13.998 15.0001C15.3576 14.9954 16.5505 15.9056 16.9048 17.2183C17.2593 18.5318 16.6855 19.9194 15.5069 20.599C14.3283 21.2785 12.84 21.0799 11.8808 20.1151C11.4914 19.7234 11.4933 19.0902 11.885 18.7009C12.2767 18.3115 12.9098 18.3134 13.2992 18.705C13.6189 19.0267 14.115 19.0929 14.5079 18.8664C14.9008 18.6398 15.092 18.1773 14.9739 17.7395C14.8557 17.3016 14.4577 16.9981 14.0042 17L14 17.0001H2C1.44772 17.0001 1 16.5523 1 16.0001C1 15.4478 1.44772 15.0001 2 15.0001H13.998Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/XCircleIcon/XCircleIcon.native.test.tsx b/packages/blade/src/components/Icons/XCircleIcon/XCircleIcon.native.test.tsx index 43927ccf1b5..8c4aacb934a 100644 --- a/packages/blade/src/components/Icons/XCircleIcon/XCircleIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/XCircleIcon/XCircleIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render XCircleIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/XCircleIcon/XCircleIcon.web.test.tsx b/packages/blade/src/components/Icons/XCircleIcon/XCircleIcon.web.test.tsx index c9947e24d96..24a6a891a20 100644 --- a/packages/blade/src/components/Icons/XCircleIcon/XCircleIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/XCircleIcon/XCircleIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render XCircleIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/XCircleIcon/__snapshots__/XCircleIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/XCircleIcon/__snapshots__/XCircleIcon.native.test.tsx.snap index 250abd0b184..f81af6e5ca4 100644 --- a/packages/blade/src/components/Icons/XCircleIcon/__snapshots__/XCircleIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/XCircleIcon/__snapshots__/XCircleIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render XCircleIcon 1`] = ` > should render XCircleIcon 1`] = ` should render XCircleIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/XSquareIcon/XSquareIcon.native.test.tsx b/packages/blade/src/components/Icons/XSquareIcon/XSquareIcon.native.test.tsx index 26dc01bfe27..215dd46acea 100644 --- a/packages/blade/src/components/Icons/XSquareIcon/XSquareIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/XSquareIcon/XSquareIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render XSquareIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/XSquareIcon/XSquareIcon.web.test.tsx b/packages/blade/src/components/Icons/XSquareIcon/XSquareIcon.web.test.tsx index 720251cb224..bd180a081d7 100644 --- a/packages/blade/src/components/Icons/XSquareIcon/XSquareIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/XSquareIcon/XSquareIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render XSquareIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/XSquareIcon/__snapshots__/XSquareIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/XSquareIcon/__snapshots__/XSquareIcon.native.test.tsx.snap index 7346a6e5178..486110e59fc 100644 --- a/packages/blade/src/components/Icons/XSquareIcon/__snapshots__/XSquareIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/XSquareIcon/__snapshots__/XSquareIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render XSquareIcon 1`] = ` > should render XSquareIcon 1`] = ` should render XSquareIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/ZapIcon/ZapIcon.native.test.tsx b/packages/blade/src/components/Icons/ZapIcon/ZapIcon.native.test.tsx index fb4fb1946e4..2b710eb1992 100644 --- a/packages/blade/src/components/Icons/ZapIcon/ZapIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ZapIcon/ZapIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ZapIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ZapIcon/ZapIcon.web.test.tsx b/packages/blade/src/components/Icons/ZapIcon/ZapIcon.web.test.tsx index e0f69c13dc3..c455e9785fd 100644 --- a/packages/blade/src/components/Icons/ZapIcon/ZapIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ZapIcon/ZapIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ZapIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ZapIcon/__snapshots__/ZapIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ZapIcon/__snapshots__/ZapIcon.native.test.tsx.snap index 0a919c72105..52043faf1b0 100644 --- a/packages/blade/src/components/Icons/ZapIcon/__snapshots__/ZapIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ZapIcon/__snapshots__/ZapIcon.native.test.tsx.snap @@ -52,7 +52,7 @@ exports[` should render ZapIcon 1`] = ` should render ZapIcon 1`] = ` clip-rule="evenodd" d="M13.3982 1.08275C13.8054 1.25952 14.0474 1.68359 13.9923 2.12409L13.1328 9.00006H21C21.388 9.00006 21.741 9.22452 21.9056 9.5759C22.0702 9.92729 22.0166 10.3422 21.7682 10.6402L11.7682 22.6402C11.484 22.9813 11.009 23.0941 10.6018 22.9174C10.1946 22.7406 9.95267 22.3165 10.0077 21.876L10.8672 15.0001H3.00001C2.61199 15.0001 2.259 14.7756 2.09442 14.4242C1.92984 14.0728 1.98339 13.658 2.23179 13.3599L12.2318 1.35987C12.516 1.01884 12.991 0.905986 13.3982 1.08275ZM5.13505 13.0001H12C12.2868 13.0001 12.5599 13.1232 12.7497 13.3383C12.9395 13.5533 13.0279 13.8395 12.9923 14.1241L12.4154 18.7396L18.865 11.0001H12C11.7132 11.0001 11.4402 10.8769 11.2503 10.6619C11.0605 10.4468 10.9722 10.1606 11.0077 9.87602L11.5847 5.26051L5.13505 13.0001Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 33%, 21%, 1)" fill-rule="evenodd" /> diff --git a/packages/blade/src/components/Icons/ZoomInIcon/ZoomInIcon.native.test.tsx b/packages/blade/src/components/Icons/ZoomInIcon/ZoomInIcon.native.test.tsx index 4d3e2b28407..87191e9b641 100644 --- a/packages/blade/src/components/Icons/ZoomInIcon/ZoomInIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ZoomInIcon/ZoomInIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ZoomInIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ZoomInIcon/ZoomInIcon.web.test.tsx b/packages/blade/src/components/Icons/ZoomInIcon/ZoomInIcon.web.test.tsx index 32c3cb5f208..72b094b4621 100644 --- a/packages/blade/src/components/Icons/ZoomInIcon/ZoomInIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ZoomInIcon/ZoomInIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ZoomInIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ZoomInIcon/__snapshots__/ZoomInIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ZoomInIcon/__snapshots__/ZoomInIcon.native.test.tsx.snap index 1b2529713c2..3e6abe13411 100644 --- a/packages/blade/src/components/Icons/ZoomInIcon/__snapshots__/ZoomInIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ZoomInIcon/__snapshots__/ZoomInIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ZoomInIcon 1`] = ` > should render ZoomInIcon 1`] = ` should render ZoomInIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/ZoomOutIcon/ZoomOutIcon.native.test.tsx b/packages/blade/src/components/Icons/ZoomOutIcon/ZoomOutIcon.native.test.tsx index a54454fbe87..492d6671aa0 100644 --- a/packages/blade/src/components/Icons/ZoomOutIcon/ZoomOutIcon.native.test.tsx +++ b/packages/blade/src/components/Icons/ZoomOutIcon/ZoomOutIcon.native.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.native'; describe('', () => { it('should render ZoomOutIcon', () => { const renderTree = renderWithTheme( - , + , ).toJSON(); expect(renderTree).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ZoomOutIcon/ZoomOutIcon.web.test.tsx b/packages/blade/src/components/Icons/ZoomOutIcon/ZoomOutIcon.web.test.tsx index cdcbf934632..7128373e93a 100644 --- a/packages/blade/src/components/Icons/ZoomOutIcon/ZoomOutIcon.web.test.tsx +++ b/packages/blade/src/components/Icons/ZoomOutIcon/ZoomOutIcon.web.test.tsx @@ -4,7 +4,7 @@ import renderWithTheme from '~utils/testing/renderWithTheme.web'; describe('', () => { it('should render ZoomOutIcon', () => { const { container } = renderWithTheme( - , + , ); expect(container).toMatchSnapshot(); }); diff --git a/packages/blade/src/components/Icons/ZoomOutIcon/__snapshots__/ZoomOutIcon.native.test.tsx.snap b/packages/blade/src/components/Icons/ZoomOutIcon/__snapshots__/ZoomOutIcon.native.test.tsx.snap index 16302f9c69c..262200e1aa2 100644 --- a/packages/blade/src/components/Icons/ZoomOutIcon/__snapshots__/ZoomOutIcon.native.test.tsx.snap +++ b/packages/blade/src/components/Icons/ZoomOutIcon/__snapshots__/ZoomOutIcon.native.test.tsx.snap @@ -51,7 +51,7 @@ exports[` should render ZoomOutIcon 1`] = ` > should render ZoomOutIcon 1`] = ` should render ZoomOutIcon 1`] = ` diff --git a/packages/blade/src/components/Icons/_Svg/Circle/Circle.web.tsx b/packages/blade/src/components/Icons/_Svg/Circle/Circle.web.tsx index 9d5758f9cbb..b2a07ae0fc4 100644 --- a/packages/blade/src/components/Icons/_Svg/Circle/Circle.web.tsx +++ b/packages/blade/src/components/Icons/_Svg/Circle/Circle.web.tsx @@ -2,7 +2,17 @@ import type { ReactElement } from 'react'; import type { CircleProps } from './types'; import { metaAttribute } from '~utils/metaAttribute'; -const Circle = ({ cx, cy, x, y, r, fill, stroke, strokeWidth }: CircleProps): ReactElement => { +const Circle = ({ + cx, + cy, + x, + y, + r, + fill, + stroke, + strokeWidth, + fillOpacity, +}: CircleProps): ReactElement => { return ( ); diff --git a/packages/blade/src/components/Icons/_Svg/Circle/types.ts b/packages/blade/src/components/Icons/_Svg/Circle/types.ts index 2d18996c128..9a67103f17d 100644 --- a/packages/blade/src/components/Icons/_Svg/Circle/types.ts +++ b/packages/blade/src/components/Icons/_Svg/Circle/types.ts @@ -7,4 +7,5 @@ export type CircleProps = { cy: string; x?: string; y?: string; + fillOpacity?: number; }; diff --git a/packages/blade/src/components/Icons/_Svg/Rect/Rect.web.tsx b/packages/blade/src/components/Icons/_Svg/Rect/Rect.web.tsx index 72ede43535f..d1cba9f0d8a 100644 --- a/packages/blade/src/components/Icons/_Svg/Rect/Rect.web.tsx +++ b/packages/blade/src/components/Icons/_Svg/Rect/Rect.web.tsx @@ -2,7 +2,7 @@ import type { ReactElement } from 'react'; import type { RectProps } from './types'; import { metaAttribute } from '~utils/metaAttribute'; -const Rect = ({ height, width, rx, ry, x, y, fill }: RectProps): ReactElement => { +const Rect = ({ height, width, rx, ry, x, y, fill, fillOpacity }: RectProps): ReactElement => { return ( x={x} y={y} fill={fill} + fillOpacity={fillOpacity} /> ); }; diff --git a/packages/blade/src/components/Icons/_Svg/Rect/types.ts b/packages/blade/src/components/Icons/_Svg/Rect/types.ts index 2c49f351ba7..46713485b3d 100644 --- a/packages/blade/src/components/Icons/_Svg/Rect/types.ts +++ b/packages/blade/src/components/Icons/_Svg/Rect/types.ts @@ -6,4 +6,5 @@ export type RectProps = { ry?: string; x?: string; y?: string; + fillOpacity?: number; }; diff --git a/packages/blade/src/components/Icons/_Svg/Svg/Svg.web.tsx b/packages/blade/src/components/Icons/_Svg/Svg/Svg.web.tsx index 94f16f443bf..0453a34dcf0 100644 --- a/packages/blade/src/components/Icons/_Svg/Svg/Svg.web.tsx +++ b/packages/blade/src/components/Icons/_Svg/Svg/Svg.web.tsx @@ -20,6 +20,7 @@ const Svg = ({ fill, testID, display, + fillOpacity, ...styledProps }: SvgProps): ReactElement => { return ( @@ -32,6 +33,7 @@ const Svg = ({ fill={fill} // svg has its own display prop, which conflicts with our styled display prop styledDisplay={display} + fillOpacity={fillOpacity} {...styledProps} > {children} diff --git a/packages/blade/src/components/Icons/_Svg/Svg/types.ts b/packages/blade/src/components/Icons/_Svg/Svg/types.ts index 8c851245a87..d2941397a09 100644 --- a/packages/blade/src/components/Icons/_Svg/Svg/types.ts +++ b/packages/blade/src/components/Icons/_Svg/Svg/types.ts @@ -7,5 +7,6 @@ export type SvgProps = { height: string; viewBox: string; width: string; + fillOpacity?: number; } & TestID & Omit; // Order prop on SVG has different meaning so removing this prop from styledProps diff --git a/packages/blade/src/components/Icons/index.tsx b/packages/blade/src/components/Icons/index.tsx index cb3a266ba9c..02a1f7e5cdd 100644 --- a/packages/blade/src/components/Icons/index.tsx +++ b/packages/blade/src/components/Icons/index.tsx @@ -1,53 +1,21 @@ import type { Theme } from '~components/BladeProvider'; -import type { DotNotationColorStringToken } from '~utils/types'; -import type { Feedback } from '~tokens/theme/theme'; import type { StyledPropsBlade } from '~components/Box/styledProps'; +import type { DotNotationToken } from '~utils/lodashButBetter/get'; -type FeedbackIconColors = `feedback.icon.${DotNotationColorStringToken< - Theme['colors']['feedback']['icon'] ->}`; - -type FeedbackActionIconColors = `feedback.${Feedback}.action.icon.${DotNotationColorStringToken< - Theme['colors']['feedback'][Feedback]['action']['icon'] ->}`; - -type ActionIconColors = `action.icon.${DotNotationColorStringToken< - Theme['colors']['action']['icon'] ->}`; - -type TextIconColors = `surface.text.${DotNotationColorStringToken< - Theme['colors']['surface']['text'] ->}`; - -type SurfaceActionIconColors = `surface.action.icon.${DotNotationColorStringToken< - Theme['colors']['surface']['action']['icon'] ->}`; - -type BadgeIconColors = `badge.icon.${DotNotationColorStringToken< - Theme['colors']['badge']['icon'] ->}`; - -type WhiteIconColors = `white.action.icon.${DotNotationColorStringToken< - Theme['colors']['white']['action']['icon'] ->}`; - -type BrandColors = `brand.${DotNotationColorStringToken}`; +type InteractiveText = DotNotationToken; +type FeedbackText = DotNotationToken; +type SurfaceText = DotNotationToken; +export type IconColors = + | `interactive.icon.${InteractiveText}` + | `surface.icon.${SurfaceText}` + | `feedback.icon.${FeedbackText}`; export type IconSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | '2xlarge'; export type IconProps = { /** * Color token (not to be confused with actual hsla value) */ - color?: - | ActionIconColors - | SurfaceActionIconColors - | FeedbackIconColors - | FeedbackActionIconColors - | TextIconColors - | BadgeIconColors - | WhiteIconColors - | BrandColors - | 'currentColor'; // currentColor is useful for letting the SVG inherit color property from its container + color?: IconColors | 'currentColor'; // currentColor is useful for letting the SVG inherit color property from its container size?: IconSize; } & StyledPropsBlade; export type IconComponent = React.ComponentType; diff --git a/packages/blade/src/components/Icons/useIconProps/useIconProps.test.tsx b/packages/blade/src/components/Icons/useIconProps/useIconProps.test.tsx index 9366a782be1..cef5db3ea97 100644 --- a/packages/blade/src/components/Icons/useIconProps/useIconProps.test.tsx +++ b/packages/blade/src/components/Icons/useIconProps/useIconProps.test.tsx @@ -5,62 +5,62 @@ import themeWrapper from '~utils/testing/themeWrapper'; describe('useIconProps', () => { it('should return a xsmall icon with the correct color', () => { const { result } = renderHook( - () => useIconProps({ size: 'xsmall', color: 'action.icon.secondary.default' }), + () => useIconProps({ size: 'xsmall', color: 'interactive.icon.primary.normal' }), { wrapper: themeWrapper }, ); expect(result.current.height).toEqual('8px'); expect(result.current.width).toEqual('8px'); - expect(result.current.iconColor).toEqual('hsla(218, 89%, 51%, 1)'); + expect(result.current.iconColor).toMatchInlineSnapshot(`"hsla(227, 71%, 51%, 1)"`); }); it('should return a small icon with the correct color', () => { const { result } = renderHook( - () => useIconProps({ size: 'small', color: 'feedback.icon.negative.lowContrast' }), + () => useIconProps({ size: 'small', color: 'feedback.icon.negative.subtle' }), { wrapper: themeWrapper }, ); expect(result.current.height).toEqual('12px'); expect(result.current.width).toEqual('12px'); - expect(result.current.iconColor).toEqual('hsla(8, 73%, 47%, 1)'); + expect(result.current.iconColor).toMatchInlineSnapshot(`"hsla(4, 93%, 94%, 1)"`); }); it('should return a medium icon with the correct color', () => { const { result } = renderHook( - () => useIconProps({ size: 'medium', color: 'action.icon.primary.default' }), + () => useIconProps({ size: 'medium', color: 'interactive.icon.staticWhite.normal' }), { wrapper: themeWrapper }, ); expect(result.current.height).toEqual('16px'); expect(result.current.width).toEqual('16px'); - expect(result.current.iconColor).toEqual('hsla(0, 0%, 100%, 1)'); + expect(result.current.iconColor).toMatchInlineSnapshot(`"hsla(0, 0%, 100%, 1)"`); }); it('should return a large icon with the correct color', () => { const { result } = renderHook( - () => useIconProps({ size: 'large', color: 'feedback.icon.information.lowContrast' }), + () => useIconProps({ size: 'large', color: 'feedback.icon.information.subtle' }), { wrapper: themeWrapper }, ); expect(result.current.height).toEqual('20px'); expect(result.current.width).toEqual('20px'); - expect(result.current.iconColor).toEqual('hsla(193, 100%, 35%, 1)'); + expect(result.current.iconColor).toMatchInlineSnapshot(`"hsla(200, 88%, 90%, 1)"`); }); it('should return a xlarge icon with the correct color', () => { const { result } = renderHook( - () => useIconProps({ size: 'xlarge', color: 'feedback.icon.neutral.lowContrast' }), + () => useIconProps({ size: 'xlarge', color: 'feedback.icon.neutral.subtle' }), { wrapper: themeWrapper }, ); expect(result.current.height).toEqual('24px'); expect(result.current.width).toEqual('24px'); - expect(result.current.iconColor).toEqual('hsla(216, 27%, 36%, 1)'); + expect(result.current.iconColor).toMatchInlineSnapshot(`"hsla(211, 24%, 65%, 1)"`); }); it('should return a 2xlarge icon with the correct color', () => { const { result } = renderHook( - () => useIconProps({ size: '2xlarge', color: 'feedback.icon.neutral.lowContrast' }), + () => useIconProps({ size: '2xlarge', color: 'feedback.icon.neutral.subtle' }), { wrapper: themeWrapper }, ); expect(result.current.height).toEqual('32px'); expect(result.current.width).toEqual('32px'); - expect(result.current.iconColor).toEqual('hsla(216, 27%, 36%, 1)'); + expect(result.current.iconColor).toMatchInlineSnapshot(`"hsla(211, 24%, 65%, 1)"`); }); it('should set fill property to currentColor when color is set to currentColor', () => { diff --git a/packages/blade/src/components/Icons/useIconProps/useIconProps.tsx b/packages/blade/src/components/Icons/useIconProps/useIconProps.tsx index dd8d57d0647..c11edd2ebc5 100644 --- a/packages/blade/src/components/Icons/useIconProps/useIconProps.tsx +++ b/packages/blade/src/components/Icons/useIconProps/useIconProps.tsx @@ -15,7 +15,7 @@ const iconSize = { function useIconProps({ size = 'medium', - color = 'surface.text.normal.lowContrast', + color = 'surface.icon.gray.normal', }: IconProps): { height: `${typeof iconSize[keyof typeof iconSize]}px`; width: `${typeof iconSize[keyof typeof iconSize]}px`; diff --git a/packages/blade/src/components/Indicator/Indicator.stories.tsx b/packages/blade/src/components/Indicator/Indicator.stories.tsx index 99b7e1f3998..4dcee875d9f 100644 --- a/packages/blade/src/components/Indicator/Indicator.stories.tsx +++ b/packages/blade/src/components/Indicator/Indicator.stories.tsx @@ -16,12 +16,7 @@ const Page = (): ReactElement => { componentName="Indicator" componentDescription="Indicators describe the condition of an entity. They can be used to convey semantic meaning, such as statuses and semantical-categories." - figmaURL={{ - paymentTheme: - 'https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?node-id=8224%3A1', - bankingTheme: - 'https://www.figma.com/file/sAdplk2uYnI2ILnDKUxycW/Blade---Banking-Dark?node-id=8224%3A0', - }} + figmaURL="https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?node-id=8224%3A1" > Usage @@ -31,7 +26,7 @@ const Page = (): ReactElement => { function App() { return ( - + ) } @@ -104,7 +99,7 @@ export const Composition: StoryFn = ({ ...args }) => }; Composition.args = { children: undefined, - intent: 'notice', + color: 'notice', accessibilityLabel: 'New offers', size: 'large', }; diff --git a/packages/blade/src/components/Indicator/Indicator.tsx b/packages/blade/src/components/Indicator/Indicator.tsx index 9707071e561..a79dd1998fc 100644 --- a/packages/blade/src/components/Indicator/Indicator.tsx +++ b/packages/blade/src/components/Indicator/Indicator.tsx @@ -8,7 +8,7 @@ import { Text } from '~components/Typography'; import { size as sizeToken } from '~tokens/global'; import { getStringFromReactText } from '~src/utils/getStringChildren'; import type { StringChildrenType, TestID } from '~utils/types'; -import type { Feedback } from '~tokens/theme/theme'; +import type { FeedbackColors } from '~tokens/theme/theme'; import { isReactNative } from '~utils'; import { metaAttribute, MetaConstants } from '~utils/metaAttribute'; import { getStyledProps } from '~components/Box/styledProps'; @@ -21,7 +21,7 @@ type IndicatorCommonProps = { * * @default neutral */ - intent?: Feedback; + color?: FeedbackColors; /** * Size of the indicator @@ -67,15 +67,14 @@ const Indicator = ({ accessibilityLabel, children, size = 'medium', - intent = 'neutral', + color = 'neutral', testID, ...styledProps }: IndicatorProps): ReactElement => { const { theme } = useTheme(); const childrenString = getStringFromReactText(children); - const fillColor = theme.colors.feedback.background[intent].highContrast; - const strokeColor = theme.colors.brand.gray.a100.highContrast; + const fillColor = theme.colors.feedback.background[color].intense; const getDimension = useCallback((): Dimensions => { switch (size) { case 'small': @@ -109,10 +108,14 @@ const Indicator = ({ fill="none" > - - + {children} diff --git a/packages/blade/src/components/Indicator/__tests__/Indicator.native.test.tsx b/packages/blade/src/components/Indicator/__tests__/Indicator.native.test.tsx index 617c95fb904..f7d8c522ccb 100644 --- a/packages/blade/src/components/Indicator/__tests__/Indicator.native.test.tsx +++ b/packages/blade/src/components/Indicator/__tests__/Indicator.native.test.tsx @@ -8,13 +8,13 @@ describe('', () => { expect(toJSON()).toMatchSnapshot(); }); - it('should render different variants for size and intent', () => { + it('should render different variants for size and color', () => { const { toJSON } = renderWithTheme( <> - - - - + + + + , ); diff --git a/packages/blade/src/components/Indicator/__tests__/Indicator.web.test.tsx b/packages/blade/src/components/Indicator/__tests__/Indicator.web.test.tsx index 77495c230a1..aa1f71bb5ef 100644 --- a/packages/blade/src/components/Indicator/__tests__/Indicator.web.test.tsx +++ b/packages/blade/src/components/Indicator/__tests__/Indicator.web.test.tsx @@ -9,13 +9,13 @@ describe('', () => { expect(container).toMatchSnapshot(); }); - it('should render different variants for size and intent', () => { + it('should render different variants for size and color', () => { const { container } = renderWithTheme( <> - - - - + + + + , ); diff --git a/packages/blade/src/components/Indicator/__tests__/__snapshots__/Indicator.native.test.tsx.snap b/packages/blade/src/components/Indicator/__tests__/__snapshots__/Indicator.native.test.tsx.snap index eb4bb300715..82ee6db4777 100644 --- a/packages/blade/src/components/Indicator/__tests__/__snapshots__/Indicator.native.test.tsx.snap +++ b/packages/blade/src/components/Indicator/__tests__/__snapshots__/Indicator.native.test.tsx.snap @@ -80,7 +80,7 @@ exports[` should render 1`] = ` should render 1`] = ` } r="5" /> - should render 1`] = ` > should render 1`] = ` `; -exports[` should render different variants for size and intent 1`] = ` +exports[` should render different variants for size and color 1`] = ` should render different variants for size and intent 1`] should render different variants for size and intent 1`] } r="5" /> - should render different variants for size and intent 1`] > should render different variants for size and intent 1`] should render different variants for size and intent 1`] } r="5" /> - should render different variants for size and intent 1`] > should render different variants for size and intent 1`] should render different variants for size and intent 1`] } r="5" /> - should render different variants for size and intent 1`] > should render different variants for size and intent 1`] should render different variants for size and intent 1`] } r="5" /> - should render different variants for size and intent 1`] > should have role and a11y label when text label is passed 1`] = `"

Active

"`; +exports[` should have role and a11y label when text label is passed 1`] = `"

Active

"`; exports[` should have role and a11y label when text label is passed 2`] = ` .c0.c0.c0.c0.c0 { @@ -29,14 +29,18 @@ exports[` should have role and a11y label when text label is passed } .c3.c3.c3.c3.c3 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; @@ -68,17 +72,9 @@ exports[` should have role and a11y label when text label is passed cx="5" cy="5" data-blade-component="svg-circle" - fill="hsla(216, 33%, 29%, 1)" + fill="hsla(211, 29%, 26%, 1)" r="5" /> -
should render 1`] = ` } .c3.c3.c3.c3.c3 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; @@ -64,17 +68,9 @@ exports[` should render 1`] = ` cx="5" cy="5" data-blade-component="svg-circle" - fill="hsla(216, 33%, 29%, 1)" + fill="hsla(211, 29%, 26%, 1)" r="5" /> -
should render 1`] = `
`; -exports[` should render different variants for size and intent 1`] = ` +exports[` should render different variants for size and color 1`] = ` .c0.c0.c0.c0.c0 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -117,28 +113,36 @@ exports[` should render different variants for size and intent 1`] } .c3.c3.c3.c3.c3 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c4.c4.c4.c4.c4 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 400; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; @@ -168,17 +172,9 @@ exports[` should render different variants for size and intent 1`] cx="5" cy="5" data-blade-component="svg-circle" - fill="hsla(38, 97%, 38%, 1)" + fill="hsla(25, 90%, 48%, 1)" r="5" /> -
should render different variants for size and intent 1`] cx="5" cy="5" data-blade-component="svg-circle" - fill="hsla(160, 100%, 26%, 1)" + fill="hsla(150, 100%, 32%, 1)" r="5" /> -
should render different variants for size and intent 1`] cx="5" cy="5" data-blade-component="svg-circle" - fill="hsla(8, 73%, 47%, 1)" + fill="hsla(4, 74%, 49%, 1)" r="5" /> -
should render different variants for size and intent 1`] cx="5" cy="5" data-blade-component="svg-circle" - fill="hsla(193, 100%, 35%, 1)" + fill="hsla(200, 84%, 44%, 1)" r="5" /> -
((props) => ({ ...getInputBackgroundAndBorderStyles({ theme: props.theme, - isFocused: props.currentInteraction === 'active', + isFocused: props.currentInteraction === 'focus', isDisabled: props.isDisabled, validationState: props.validationState, isTextArea: props.isTextArea, diff --git a/packages/blade/src/components/Input/BaseInput/AnimatedBaseInputWrapper.web.tsx b/packages/blade/src/components/Input/BaseInput/AnimatedBaseInputWrapper.web.tsx index ba49ac3f682..d5f6b8711f5 100644 --- a/packages/blade/src/components/Input/BaseInput/AnimatedBaseInputWrapper.web.tsx +++ b/packages/blade/src/components/Input/BaseInput/AnimatedBaseInputWrapper.web.tsx @@ -50,7 +50,7 @@ const StyledBaseInputWrapper = styled(BaseBox)< >((props) => ({ ...getInputBackgroundAndBorderStyles({ theme: props.theme, - isFocused: props.currentInteraction === 'active', + isFocused: props.currentInteraction === 'focus', isDisabled: props.isDisabled, validationState: props.validationState, isTextArea: props.isTextArea, @@ -60,7 +60,7 @@ const StyledBaseInputWrapper = styled(BaseBox)< ...getInputBackgroundAndBorderStyles({ theme: props.theme, isHovered: true, - isFocused: props.currentInteraction === 'active', + isFocused: props.currentInteraction === 'focus', isDisabled: props.isDisabled, validationState: props.validationState, isDropdownTrigger: props.isDropdownTrigger, @@ -72,7 +72,7 @@ const StyledBaseInputWrapper = styled(BaseBox)< ':focus-within': { ...getInputBackgroundAndBorderStyles({ theme: props.theme, - isFocused: props.currentInteraction === 'active', + isFocused: props.currentInteraction === 'focus', isDisabled: props.isDisabled, validationState: props.validationState, isDropdownTrigger: props.isDropdownTrigger, diff --git a/packages/blade/src/components/Input/BaseInput/BaseInputAnimatedBorder.native.tsx b/packages/blade/src/components/Input/BaseInput/BaseInputAnimatedBorder.native.tsx index 4eb86476f2f..037714a9e8b 100644 --- a/packages/blade/src/components/Input/BaseInput/BaseInputAnimatedBorder.native.tsx +++ b/packages/blade/src/components/Input/BaseInput/BaseInputAnimatedBorder.native.tsx @@ -8,9 +8,9 @@ import Animated, { } from 'react-native-reanimated'; import type { ReactElement } from 'react'; import { useEffect } from 'react'; +import type { ActionStates } from '../../../utils/useInteraction'; import type { BaseInputProps } from './BaseInput'; import { useTheme } from '~components/BladeProvider'; -import type { ActionStates } from '~tokens/theme/theme'; import { makeBorderSize } from '~utils/makeBorderSize'; const BaseInputStyledAnimatedBorder = styled(Animated.View)(({ theme }) => ({ @@ -19,7 +19,7 @@ const BaseInputStyledAnimatedBorder = styled(Animated.View)(({ theme }) => ({ left: 0, right: 0, opacity: 1, - backgroundColor: theme.colors.brand.primary[500], + backgroundColor: theme.colors.interactive.background.primary.default, height: makeBorderSize(theme.border.width.thin), })); @@ -27,7 +27,7 @@ export const BaseInputAnimatedBorder = ({ currentInteraction, validationState, }: { - currentInteraction: keyof ActionStates; + currentInteraction: ActionStates; validationState: BaseInputProps['validationState']; }): ReactElement => { const { theme } = useTheme(); @@ -45,7 +45,7 @@ export const BaseInputAnimatedBorder = ({ useEffect(() => { if ( - currentInteraction == 'active' && + currentInteraction == 'focus' && validationState !== 'error' && validationState !== 'success' ) { diff --git a/packages/blade/src/components/Input/BaseInput/BaseInputAnimatedBorder.web.tsx b/packages/blade/src/components/Input/BaseInput/BaseInputAnimatedBorder.web.tsx index ae48030ef7d..37d8fea49a1 100644 --- a/packages/blade/src/components/Input/BaseInput/BaseInputAnimatedBorder.web.tsx +++ b/packages/blade/src/components/Input/BaseInput/BaseInputAnimatedBorder.web.tsx @@ -7,8 +7,8 @@ import BaseBox from '~components/Box/BaseBox'; import { makeMotionTime } from '~utils/makeMotionTime'; import type { Theme } from '~components/BladeProvider'; import { useTheme } from '~components/BladeProvider'; -import type { ActionStates } from '~tokens/theme/theme'; import { makeBorderSize } from '~utils/makeBorderSize'; +import type { ActionStates } from '~utils/useInteraction'; const scaleBorder = keyframes` from { @@ -39,7 +39,7 @@ const BaseInputStyledAnimatedBorder = styled(BaseBox)( left: 0; right: 0; opacity: 0; - background-color: ${theme.colors.brand.primary[500]}; + background-color: ${theme.colors.interactive.background.primary.default}; border-width: ${makeBorderSize(theme.border.width.thin)}; height: ${makeBorderSize(theme.border.width.thin)}; ${animation} @@ -50,7 +50,7 @@ export const BaseInputAnimatedBorder = ({ currentInteraction, validationState, }: { - currentInteraction: keyof ActionStates; + currentInteraction: ActionStates; validationState: BaseInputProps['validationState']; }): ReactElement => { const { theme } = useTheme(); @@ -67,7 +67,7 @@ export const BaseInputAnimatedBorder = ({ // need ref because we don't have `blur` as an interaction which means the exit animation would run on default as well as blur event const borderAnimation = React.useRef(); if ( - currentInteraction === 'active' && + currentInteraction === 'focus' && validationState !== 'error' && validationState !== 'success' ) { diff --git a/packages/blade/src/components/Input/BaseInput/BaseInputTagSlot.native.tsx b/packages/blade/src/components/Input/BaseInput/BaseInputTagSlot.native.tsx index 5dc946465aa..11221b4dbe9 100644 --- a/packages/blade/src/components/Input/BaseInput/BaseInputTagSlot.native.tsx +++ b/packages/blade/src/components/Input/BaseInput/BaseInputTagSlot.native.tsx @@ -69,7 +69,14 @@ const ClickableText = ({ }} > - {children} + + {children} + ); diff --git a/packages/blade/src/components/Input/BaseInput/BaseInputTagSlot.web.tsx b/packages/blade/src/components/Input/BaseInput/BaseInputTagSlot.web.tsx index c206b5e5809..18eb9994b42 100644 --- a/packages/blade/src/components/Input/BaseInput/BaseInputTagSlot.web.tsx +++ b/packages/blade/src/components/Input/BaseInput/BaseInputTagSlot.web.tsx @@ -189,10 +189,13 @@ const BaseInputTagSlot = ({ {visibleTags} {tags && !showAllTags && invisibleTagsCount ? ( {visibleTags?.length === 0 diff --git a/packages/blade/src/components/Input/BaseInput/BaseInputVisuals.tsx b/packages/blade/src/components/Input/BaseInput/BaseInputVisuals.tsx index a62027c7ce9..73459f77e63 100644 --- a/packages/blade/src/components/Input/BaseInput/BaseInputVisuals.tsx +++ b/packages/blade/src/components/Input/BaseInput/BaseInputVisuals.tsx @@ -140,11 +140,7 @@ export const BaseInputVisuals = ({ ) : null} @@ -154,8 +150,7 @@ export const BaseInputVisuals = ({ size="medium" variant="body" weight="regular" - contrast="low" - type={isDisabled ? 'placeholder' : 'subtle'} + color={isDisabled ? 'surface.text.gray.disabled' : 'surface.text.gray.subtle'} > {prefix} @@ -184,8 +179,7 @@ export const BaseInputVisuals = ({ size="medium" variant="body" weight="regular" - contrast="low" - type={isDisabled ? 'placeholder' : 'subtle'} + color={isDisabled ? 'surface.text.gray.disabled' : 'surface.text.gray.subtle'} > {suffix} @@ -197,9 +191,7 @@ export const BaseInputVisuals = ({ } diff --git a/packages/blade/src/components/Input/BaseInput/BaseInputWrapper.tsx b/packages/blade/src/components/Input/BaseInput/BaseInputWrapper.tsx index 7d8675fb376..62de6903f04 100644 --- a/packages/blade/src/components/Input/BaseInput/BaseInputWrapper.tsx +++ b/packages/blade/src/components/Input/BaseInput/BaseInputWrapper.tsx @@ -3,8 +3,8 @@ import React from 'react'; import type { BaseInputProps } from './BaseInput'; import { BaseInputAnimatedBorder } from './BaseInputAnimatedBorder'; import { AnimatedBaseInputWrapper } from './AnimatedBaseInputWrapper'; -import type { ActionStates } from '~tokens/theme/theme'; import type { ContainerElementType } from '~utils/types'; +import type { ActionStates } from '~utils/useInteraction'; type BaseInputWrapperProps = Pick< BaseInputProps, @@ -17,7 +17,7 @@ type BaseInputWrapperProps = Pick< > & { isFocused?: boolean; isLabelLeftPositioned?: boolean; - currentInteraction: keyof ActionStates; + currentInteraction: ActionStates; isTextArea?: boolean; setShowAllTagsWithAnimation: (showAllTagsWithAnimation: boolean) => void; children: React.ReactNode; diff --git a/packages/blade/src/components/Input/BaseInput/StyledBaseInput.native.tsx b/packages/blade/src/components/Input/BaseInput/StyledBaseInput.native.tsx index 7cd5b033fd4..30ca906b447 100644 --- a/packages/blade/src/components/Input/BaseInput/StyledBaseInput.native.tsx +++ b/packages/blade/src/components/Input/BaseInput/StyledBaseInput.native.tsx @@ -254,7 +254,7 @@ const _StyledBaseInput: React.ForwardRefRenderFunction< setCurrentInteraction('default'); } }, - isFocused: currentInteraction === 'active', + isFocused: currentInteraction === 'focus', }; return renderAs === 'button' ? ( @@ -267,7 +267,7 @@ const _StyledBaseInput: React.ForwardRefRenderFunction< }} onFocus={(): void => { handleOnFocus?.({ name, value: props.value }); - setCurrentInteraction('active'); + setCurrentInteraction('focus'); }} as={undefined} {...commonProps} @@ -275,7 +275,9 @@ const _StyledBaseInput: React.ForwardRefRenderFunction< {...accessibilityProps} > @@ -291,12 +293,12 @@ const _StyledBaseInput: React.ForwardRefRenderFunction< numberOfLines={numberOfLines} editable={!isDisabled} maxLength={maxCharacters} - placeholderTextColor={theme.colors.surface.text.placeholder.lowContrast} + placeholderTextColor={theme.colors.surface.text.gray.disabled} onFocus={(event): void => { handleOnFocus?.({ name, value: event?.nativeEvent.text }); // React Native does not have native onPress event on Input elements so for consistency of API we call it on onFocus which also gets triggered on clicks handleOnClick?.({ name, value: event?.nativeEvent.text }); - setCurrentInteraction('active'); + setCurrentInteraction('focus'); }} onChangeText={(text): void => { handleOnChange?.({ name, value: text }); diff --git a/packages/blade/src/components/Input/BaseInput/StyledBaseInput.web.tsx b/packages/blade/src/components/Input/BaseInput/StyledBaseInput.web.tsx index e0e39cf86d0..cabe7e9913f 100644 --- a/packages/blade/src/components/Input/BaseInput/StyledBaseInput.web.tsx +++ b/packages/blade/src/components/Input/BaseInput/StyledBaseInput.web.tsx @@ -34,9 +34,8 @@ const getWebInputStyles = ( ...getTextStyles({ size: 'medium', variant: 'body', - type: 'placeholder', weight: 'regular', - contrast: 'low', + color: 'surface.text.gray.disabled', theme: props.theme, }), textAlign: props.textAlign, @@ -116,7 +115,7 @@ const _StyledBaseInput: React.ForwardRefRenderFunction< handleOnBlur?.({ name, value: event }); }, onFocus: (event: React.ChangeEvent): void => { - setCurrentInteraction('active'); + setCurrentInteraction('focus'); handleOnFocus?.({ name, value: event }); }, onKeyDown: (event: React.KeyboardEvent) => { @@ -144,7 +143,9 @@ const _StyledBaseInput: React.ForwardRefRenderFunction< value={props.value} > diff --git a/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.native.test.tsx.snap b/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.native.test.tsx.snap index 8ef035dc5ad..842bd0ea183 100644 --- a/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.native.test.tsx.snap +++ b/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.native.test.tsx.snap @@ -84,23 +84,24 @@ exports[` should render 1`] = ` > should render 1`] = ` > should render 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -186,8 +188,8 @@ exports[` should render 1`] = ` style={ [ { - "backgroundColor": "hsla(216, 15%, 54%, 0.09)", - "borderBottomColor": "hsla(216, 15%, 54%, 0.18)", + "backgroundColor": "hsla(211, 20%, 52%, 0.09)", + "borderBottomColor": "hsla(211, 20%, 52%, 0.18)", "borderBottomStyle": "solid", "borderBottomWidth": 1, "borderTopLeftRadius": 2, @@ -226,21 +228,22 @@ exports[` should render 1`] = ` onFocus={[Function]} onKeyPress={[Function]} onSubmitEditing={[Function]} - placeholderTextColor="hsla(214, 18%, 69%, 1)" + placeholderTextColor="hsla(211, 20%, 52%, 0.32)" secureTextEntry={false} style={ [ { "backgroundColor": "transparent", - "color": "hsla(216, 27%, 36%, 1)", + "color": "hsla(211, 26%, 34%, 1)", "flexBasis": 0, "flexGrow": 1, "flexShrink": 1, - "fontFamily": "Lato", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", "height": 36, + "letterSpacing": 0, "marginBottom": 0, "marginLeft": 0, "marginRight": 0, @@ -261,7 +264,7 @@ exports[` should render 1`] = ` style={ [ { - "backgroundColor": "hsla(218, 89%, 51%, 1)", + "backgroundColor": "hsla(227, 100%, 59%, 1)", "bottom": 0, "height": 1, "left": 0, @@ -392,23 +395,24 @@ exports[` should render with icons 1`] = ` > should render with icons 1`] = ` > should render with icons 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -494,8 +499,8 @@ exports[` should render with icons 1`] = ` style={ [ { - "backgroundColor": "hsla(216, 15%, 54%, 0.09)", - "borderBottomColor": "hsla(216, 15%, 54%, 0.18)", + "backgroundColor": "hsla(211, 20%, 52%, 0.09)", + "borderBottomColor": "hsla(211, 20%, 52%, 0.18)", "borderBottomStyle": "solid", "borderBottomWidth": 1, "borderTopLeftRadius": 2, @@ -582,7 +587,7 @@ exports[` should render with icons 1`] = ` should render with icons 1`] = ` should render with icons 1`] = ` onKeyPress={[Function]} onSubmitEditing={[Function]} placeholder="First Last" - placeholderTextColor="hsla(214, 18%, 69%, 1)" + placeholderTextColor="hsla(211, 20%, 52%, 0.32)" secureTextEntry={false} style={ [ { "backgroundColor": "transparent", - "color": "hsla(216, 27%, 36%, 1)", + "color": "hsla(211, 26%, 34%, 1)", "flexBasis": 0, "flexGrow": 1, "flexShrink": 1, - "fontFamily": "Lato", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", "height": 36, + "letterSpacing": 0, "marginBottom": 0, "marginLeft": 0, "marginRight": 0, @@ -738,7 +744,7 @@ exports[` should render with icons 1`] = ` > should render with icons 1`] = ` style={ [ { - "backgroundColor": "hsla(218, 89%, 51%, 1)", + "backgroundColor": "hsla(227, 100%, 59%, 1)", "bottom": 0, "height": 1, "left": 0, diff --git a/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.ssr.test.tsx.snap b/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.ssr.test.tsx.snap index 81acbd1788b..0a357bdd325 100644 --- a/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.ssr.test.tsx.snap +++ b/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.ssr.test.tsx.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` should display success validation state 1`] = `"
Success
"`; +exports[` should display success validation state 1`] = `"
Success
"`; exports[` should display success validation state 2`] = ` .c0.c0.c0.c0.c0 { @@ -95,14 +95,18 @@ exports[` should display success validation state 2`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(217,18%,45%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -113,40 +117,52 @@ exports[` should display success validation state 2`] = ` } .c6.c6.c6.c6.c6 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c15.c15.c15.c15.c15 { - color: hsla(160,100%,26%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(150,100%,27%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.6875rem; font-weight: 400; font-style: italic; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c8.c8.c8.c8.c8 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; -webkit-flex: 1; @@ -167,53 +183,69 @@ exports[` should display success validation state 2`] = ` } .c8.c8.c8.c8.c8::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c8.c8.c8.c8.c8::-moz-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c8.c8.c8.c8.c8:-ms-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c8.c8.c8.c8.c8::placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } @@ -228,14 +260,14 @@ exports[` should display success validation state 2`] = ` left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; } .c7.c7.c7.c7.c7 { - background-color: hsla(155,100%,31%,0.09); - border-bottom-color: hsla(160,100%,26%,1); + background-color: hsla(150,100%,32%,0.09); + border-bottom-color: hsla(150,100%,32%,1); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -252,8 +284,8 @@ exports[` should display success validation state 2`] = ` } .c7.c7.c7.c7.c7:hover { - background-color: hsla(155,100%,31%,0.09); - border-bottom-color: hsla(160,100%,26%,1); + background-color: hsla(150,100%,32%,0.09); + border-bottom-color: hsla(150,100%,32%,1); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -276,8 +308,8 @@ exports[` should display success validation state 2`] = ` } .c7.c7.c7.c7.c7:focus-within { - background-color: hsla(155,100%,31%,0.09); - border-bottom-color: hsla(160,100%,26%,1); + background-color: hsla(150,100%,32%,0.09); + border-bottom-color: hsla(150,100%,32%,1); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -389,6 +421,7 @@ exports[` should display success validation state 2`] = `
should display success validation state 2`] = ` clip-rule="evenodd" d="M20.7071 5.29289C21.0976 5.68342 21.0976 6.31658 20.7071 6.70711L9.70711 17.7071C9.31658 18.0976 8.68342 18.0976 8.29289 17.7071L3.29289 12.7071C2.90237 12.3166 2.90237 11.6834 3.29289 11.2929C3.68342 10.9024 4.31658 10.9024 4.70711 11.2929L9 15.5858L19.2929 5.29289C19.6834 4.90237 20.3166 4.90237 20.7071 5.29289Z" data-blade-component="svg-path" - fill="hsla(160, 100%, 26%, 1)" + fill="hsla(150, 100%, 27%, 1)" fill-rule="evenodd" /> @@ -418,8 +451,7 @@ exports[` should display success validation state 2`] = ` /> Success diff --git a/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.web.test.tsx.snap b/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.web.test.tsx.snap index 6cff03b79a0..76ab512c06e 100644 --- a/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.web.test.tsx.snap +++ b/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.web.test.tsx.snap @@ -71,14 +71,18 @@ exports[` should render 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(217,18%,45%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -89,27 +93,35 @@ exports[` should render 1`] = ` } .c6.c6.c6.c6.c6 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c8.c8.c8.c8.c8 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; -webkit-flex: 1; @@ -130,53 +142,69 @@ exports[` should render 1`] = ` } .c8.c8.c8.c8.c8::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c8.c8.c8.c8.c8::-moz-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c8.c8.c8.c8.c8:-ms-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c8.c8.c8.c8.c8::placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } @@ -191,14 +219,14 @@ exports[` should render 1`] = ` left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; } .c7.c7.c7.c7.c7 { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -215,8 +243,8 @@ exports[` should render 1`] = ` } .c7.c7.c7.c7.c7:hover { - background-color: hsla(216,15%,54%,0.18); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.18); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -239,8 +267,8 @@ exports[` should render 1`] = ` } .c7.c7.c7.c7.c7:focus-within { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -456,14 +484,18 @@ exports[` should render with icons 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(217,18%,45%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -474,27 +506,35 @@ exports[` should render with icons 1`] = ` } .c6.c6.c6.c6.c6 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c10.c10.c10.c10.c10 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; -webkit-flex: 1; @@ -515,53 +555,69 @@ exports[` should render with icons 1`] = ` } .c10.c10.c10.c10.c10::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c10.c10.c10.c10.c10::-moz-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c10.c10.c10.c10.c10:-ms-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c10.c10.c10.c10.c10::placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } @@ -576,14 +632,14 @@ exports[` should render with icons 1`] = ` left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; } .c7.c7.c7.c7.c7 { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -600,8 +656,8 @@ exports[` should render with icons 1`] = ` } .c7.c7.c7.c7.c7:hover { - background-color: hsla(216,15%,54%,0.18); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.18); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -624,8 +680,8 @@ exports[` should render with icons 1`] = ` } .c7.c7.c7.c7.c7:focus-within { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -728,14 +784,14 @@ exports[` should render with icons 1`] = ` clip-rule="evenodd" d="M12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8ZM10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 26%, 34%, 1)" fill-rule="evenodd" /> @@ -773,7 +829,7 @@ exports[` should render with icons 1`] = `
diff --git a/packages/blade/src/components/Input/BaseInput/baseInputStyles.ts b/packages/blade/src/components/Input/BaseInput/baseInputStyles.ts index 806b2d8bbb1..3e30a0ec640 100644 --- a/packages/blade/src/components/Input/BaseInput/baseInputStyles.ts +++ b/packages/blade/src/components/Input/BaseInput/baseInputStyles.ts @@ -46,32 +46,32 @@ export const getInputBackgroundAndBorderStyles = ({ | 'isDropdownTrigger' >): CSSObject => { // normal state - let backgroundColor = theme.colors.brand.gray.a50.lowContrast; - let borderBottomColor = theme.colors.brand.gray.a100.lowContrast; + let backgroundColor = theme.colors.interactive.background.gray.default; + let borderBottomColor = theme.colors.interactive.background.gray.highlighted; // hoverState if (isHovered) { - backgroundColor = theme.colors.brand.gray.a100.lowContrast; + backgroundColor = theme.colors.interactive.background.gray.highlighted; } // focused state if (isFocused) { - backgroundColor = theme.colors.brand.primary[300]; + backgroundColor = theme.colors.interactive.background.primary.faded; } // disabled state if (isDisabled) { - backgroundColor = theme.colors.brand.gray.a50.lowContrast; - borderBottomColor = theme.colors.brand.gray[300].lowContrast; + backgroundColor = theme.colors.interactive.background.gray.disabled; + borderBottomColor = 'transparent'; } // validation state if (validationState === 'error') { - backgroundColor = theme.colors.feedback.background.negative.lowContrast; - borderBottomColor = theme.colors.feedback.border.negative.highContrast; + backgroundColor = theme.colors.interactive.background.negative.faded; + borderBottomColor = theme.colors.interactive.background.negative.default; } else if (validationState === 'success') { - backgroundColor = theme.colors.feedback.background.positive.lowContrast; - borderBottomColor = theme.colors.feedback.border.positive.highContrast; + backgroundColor = theme.colors.interactive.background.positive.faded; + borderBottomColor = theme.colors.interactive.background.positive.default; } return { @@ -146,9 +146,8 @@ export const getBaseInputStyles = ({ ...getTextStyles({ size: 'medium', variant: 'body', - type: isDisabled ? 'placeholder' : 'subtle', weight: 'regular', - contrast: 'low', + color: isDisabled ? 'surface.text.gray.disabled' : 'surface.text.gray.subtle', theme, }), // take the full available width of parent container for input field diff --git a/packages/blade/src/components/Input/BaseInput/types.ts b/packages/blade/src/components/Input/BaseInput/types.ts index fe906b41470..845bbd5f119 100644 --- a/packages/blade/src/components/Input/BaseInput/types.ts +++ b/packages/blade/src/components/Input/BaseInput/types.ts @@ -2,13 +2,13 @@ import type React from 'react'; import type { Dispatch, SetStateAction } from 'react'; import type { BaseInputProps } from './BaseInput'; import type { FormInputHandleOnEvent } from '~components/Form'; -import type { ActionStates } from '~tokens/theme/theme'; import type { FormInputHandleOnClickEvent, FormInputHandleOnKeyDownEvent, FormInputOnClickEvent, } from '~components/Form/FormTypes'; import type { ContainerElementType } from '~utils/types'; +import type { ActionStates } from '~utils/useInteraction'; export type InputWrapperRef = React.MutableRefObject; @@ -34,7 +34,7 @@ export type BaseInputWrapperProps = Pick< > & { isFocused?: boolean; isLabelLeftPositioned?: boolean; - currentInteraction: keyof ActionStates; + currentInteraction: ActionStates; isTextArea?: boolean; setShowAllTagsWithAnimation?: (showAllTagsWithAnimation: boolean) => void; children: React.ReactNode; @@ -51,8 +51,8 @@ export type StyledBaseInputProps = { hasLeadingIcon?: boolean; hasTrailingIcon?: boolean; accessibilityProps: Record; - currentInteraction: keyof ActionStates; - setCurrentInteraction: Dispatch>; + currentInteraction: ActionStates; + setCurrentInteraction: Dispatch>; isTextArea?: boolean; hasTags?: boolean; } & Pick< diff --git a/packages/blade/src/components/Input/DropdownInputTriggers/AutoComplete.stories.tsx b/packages/blade/src/components/Input/DropdownInputTriggers/AutoComplete.stories.tsx index 66daa6ee934..1052a96f10d 100644 --- a/packages/blade/src/components/Input/DropdownInputTriggers/AutoComplete.stories.tsx +++ b/packages/blade/src/components/Input/DropdownInputTriggers/AutoComplete.stories.tsx @@ -200,12 +200,7 @@ export default { componentDescription="The AutoComplete component is SelectInput-like component where you can type text and search through the list" componentName="AutoComplete" note="AutoComplete is meant to be used only inside the Dropdown component. Things will not work as expected if you are using this without Dropdown" - figmaURL={{ - paymentTheme: - 'https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?node-id=13590-171090', - bankingTheme: - 'https://www.figma.com/file/sAdplk2uYnI2ILnDKUxycW/Blade---Banking-Dark?node-id=13344-389834', - }} + figmaURL="https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?node-id=13590-171090'" > Usage @@ -534,9 +529,11 @@ export const InternalWithValidations = (): React.ReactElement => { return ( { - console.log('dismiss'); - setIsDismissed(true); + onOpenChange={(isOpen) => { + if (!isOpen) { + console.log('dismiss'); + setIsDismissed(true); + } }} > { - const iconColor = `surface.text.${ - props.isDisabled ? 'placeholder' : 'normal' - }.lowContrast` as const; + const iconColor = `surface.icon.gray.${props.isDisabled ? 'disabled' : 'muted'}` as const; return ( <> diff --git a/packages/blade/src/components/Input/DropdownInputTriggers/SelectInput.stories.tsx b/packages/blade/src/components/Input/DropdownInputTriggers/SelectInput.stories.tsx index 3b5b788629c..f1ea51864a1 100644 --- a/packages/blade/src/components/Input/DropdownInputTriggers/SelectInput.stories.tsx +++ b/packages/blade/src/components/Input/DropdownInputTriggers/SelectInput.stories.tsx @@ -179,12 +179,7 @@ export default { componentName="SelectInput" apiDecisionLink="https://github.com/razorpay/blade/blob/master/packages/blade/src/components/Dropdown/_decisions/decisions.md" note="SelectInput is meant to be used only inside the Dropdown component. Things will not work as expected if you are using this without Dropdown" - figmaURL={{ - paymentTheme: - 'https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?node-id=13590-171090', - bankingTheme: - 'https://www.figma.com/file/sAdplk2uYnI2ILnDKUxycW/Blade---Banking-Dark?node-id=13344-389834', - }} + figmaURL="https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?node-id=13590-171090'" > Usage diff --git a/packages/blade/src/components/Input/DropdownInputTriggers/__tests__/__snapshots__/AutoComplete.native.test.tsx.snap b/packages/blade/src/components/Input/DropdownInputTriggers/__tests__/__snapshots__/AutoComplete.native.test.tsx.snap index 547fd0c6e57..6e8a0e03052 100644 --- a/packages/blade/src/components/Input/DropdownInputTriggers/__tests__/__snapshots__/AutoComplete.native.test.tsx.snap +++ b/packages/blade/src/components/Input/DropdownInputTriggers/__tests__/__snapshots__/AutoComplete.native.test.tsx.snap @@ -116,23 +116,24 @@ exports[` with should render AutoComplete 1`] = ` > with should render AutoComplete 1`] = ` > with should render AutoComplete 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -219,8 +221,8 @@ exports[` with should render AutoComplete 1`] = ` style={ [ { - "backgroundColor": "hsla(216, 15%, 54%, 0.09)", - "borderBottomColor": "hsla(216, 15%, 54%, 0.18)", + "backgroundColor": "hsla(211, 20%, 52%, 0.09)", + "borderBottomColor": "hsla(211, 20%, 52%, 0.18)", "borderBottomStyle": "solid", "borderBottomWidth": 1, "borderTopLeftRadius": 2, @@ -362,21 +364,22 @@ exports[` with should render AutoComplete 1`] = ` onKeyPress={[Function]} onSubmitEditing={[Function]} placeholder="Select Option" - placeholderTextColor="hsla(214, 18%, 69%, 1)" + placeholderTextColor="hsla(211, 20%, 52%, 0.32)" secureTextEntry={false} style={ [ { "backgroundColor": "transparent", - "color": "hsla(216, 27%, 36%, 1)", + "color": "hsla(211, 26%, 34%, 1)", "flexBasis": 0, "flexGrow": 1, "flexShrink": 1, - "fontFamily": "Lato", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", "height": 36, + "letterSpacing": 0, "marginBottom": 0, "marginLeft": 0, "marginRight": 0, @@ -552,7 +555,7 @@ exports[` with should render AutoComplete 1`] = ` with should render AutoComplete 1`] = ` with should render AutoComplete 1`] = ` style={ [ { - "backgroundColor": "hsla(218, 89%, 51%, 1)", + "backgroundColor": "hsla(227, 100%, 59%, 1)", "bottom": 0, "height": 1, "left": 0, @@ -741,19 +744,19 @@ exports[` with should render AutoComplete 1`] = ` "width": "100%", }, { - "elevation": 12, - "shadowColor": "hsla(217, 56%, 17%, 0.64)", + "elevation": 16, + "shadowColor": "hsla(217, 56%, 17%, 0.55)", "shadowOffset": { - "height": 8, + "height": 4, "width": 0, }, - "shadowOpacity": 0.1, - "shadowRadius": 4, + "shadowOpacity": 0.17, + "shadowRadius": 6, }, [ { "backgroundColor": "hsla(0, 0%, 100%, 1)", - "borderColor": "hsla(216, 15%, 54%, 0.18)", + "borderColor": "hsla(211, 20%, 52%, 0.18)", "borderRadius": 4, "borderStyle": "solid", "borderWidth": 1, @@ -812,7 +815,7 @@ exports[` with should render AutoComplete 1`] = ` getItemCount={[Function]} isInBottomSheet={false} keyExtractor={[Function]} - marginBottom={0} + marginBottom="0px" onContentSizeChange={[Function]} onLayout={[Function]} onMomentumScrollBegin={[Function]} @@ -826,7 +829,7 @@ exports[` with should render AutoComplete 1`] = ` style={ [ { - "marginBottom": 0, + "marginBottom": "0pxpx", "maxHeight": 300, "paddingBottom": 8, "paddingLeft": 8, @@ -1030,8 +1033,8 @@ exports[` with should render AutoComplete 1`] = ` [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(214, 18%, 69%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 27%, 76%, 1)", "borderRadius": 2, "borderStyle": "solid", "borderWidth": 1.5, @@ -1074,7 +1077,7 @@ exports[` with should render AutoComplete 1`] = ` > with should render AutoComplete 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -1317,8 +1321,8 @@ exports[` with should render AutoComplete 1`] = ` [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(214, 18%, 69%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 27%, 76%, 1)", "borderRadius": 2, "borderStyle": "solid", "borderWidth": 1.5, @@ -1361,7 +1365,7 @@ exports[` with should render AutoComplete 1`] = ` > with should render AutoComplete 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -1604,8 +1609,8 @@ exports[` with should render AutoComplete 1`] = ` [ { "alignItems": "center", - "backgroundColor": "transparent", - "borderColor": "hsla(214, 18%, 69%, 1)", + "backgroundColor": "hsla(0, 0%, 100%, 0)", + "borderColor": "hsla(211, 27%, 76%, 1)", "borderRadius": 2, "borderStyle": "solid", "borderWidth": 1.5, @@ -1648,7 +1653,7 @@ exports[` with should render AutoComplete 1`] = ` > with should render AutoComplete 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -1722,22 +1728,21 @@ exports[` with should render AutoComplete 1`] = ` } > with should render AutoComplete 1`] = ` } } accessible={true} - activeBackgroundColor="hsla(230, 100%, 42%, 1)" - activeBorderColor="hsla(230, 100%, 42%, 1)" - borderRadius="2px" - borderWidth="1px" + borderRadius="4px" + borderWidth="0px" buttonPaddingBottom="0px" buttonPaddingLeft="20px" buttonPaddingRight="20px" buttonPaddingTop="0px" collapsable={false} data-blade-component="button" - defaultBackgroundColor="hsla(218, 89%, 51%, 1)" - defaultBorderColor="hsla(218, 89%, 51%, 1)" - focusBackgroundColor="hsla(227, 100%, 45%, 1)" - focusBorderColor="hsla(227, 100%, 45%, 1)" - focusRingColor="hsla(218, 89%, 51%, 0.18)" + defaultBackgroundColor="hsla(227, 100%, 59%, 1)" + defaultBorderColor="hsla(227, 100%, 59%, 1)" + focusBackgroundColor="hsla(227, 71%, 51%, 1)" + focusBorderColor="hsla(227, 100%, 59%, 1)" + focusRingColor="hsla(227, 100%, 59%, 0.18)" focusable={true} - hoverBackgroundColor="hsla(223, 95%, 48%, 1)" - hoverBorderColor="hsla(223, 95%, 48%, 1)" + hoverBackgroundColor="hsla(227, 71%, 51%, 1)" + hoverBorderColor="hsla(227, 100%, 59%, 1)" isFullWidth={false} isLoading={false} minHeight="36px" @@ -1815,15 +1818,16 @@ exports[` with should render AutoComplete 1`] = ` { "alignItems": "center", "alignSelf": "center", - "backgroundColor": "hsla(218, 89%, 51%, 1)", - "borderColor": "hsla(218, 89%, 51%, 1)", - "borderRadius": 2, + "backgroundColor": "hsla(227, 100%, 59%, 1)", + "borderColor": "hsla(227, 100%, 59%, 1)", + "borderRadius": 4, "borderStyle": "solid", - "borderWidth": 1, + "borderWidth": 0, "cursor": "pointer", "display": "flex", "justifyContent": "center", "minHeight": 36, + "overflow": "hidden", "paddingBottom": 0, "paddingLeft": 20, "paddingRight": 20, @@ -1834,8 +1838,8 @@ exports[` with should render AutoComplete 1`] = ` "width": "auto", }, { - "backgroundColor": "hsla(218, 89%, 51%, 1)", - "borderColor": "hsla(218, 89%, 51%, 1)", + "backgroundColor": "hsla(227, 100%, 59%, 1)", + "borderColor": "hsla(227, 100%, 59%, 1)", }, ] } @@ -1858,28 +1862,31 @@ exports[` with should render AutoComplete 1`] = ` "flexGrow": 1, "flexShrink": 1, "justifyContent": "center", + "zIndex": 1, }, { "opacity": 1, }, ] } + zIndex={1} > with should render dropdown and make it visible on click 1`] = `"
Recent Searches

No Search Result Found

Try searching for a different value

"`; +exports[` with should render dropdown and make it visible on click 1`] = `"

Recent Searches

No Search Result Found

Try searching for a different value

"`; exports[` with should render dropdown and make it visible on click 2`] = ` .c0.c0.c0.c0.c0 { @@ -137,7 +137,7 @@ exports[` with should render dropdown and make it v .c23.c23.c23.c23.c23 { width: 100%; - box-shadow: 0 12px 16px -4px hsla(217,56%,17%,0.08),0 4px 6px -2px hsla(217,56%,17%,0.03); + box-shadow: 0px 8px 24px 0px hsla(217,56%,17%,0.12); } .c25.c25.c25.c25.c25 { @@ -207,9 +207,8 @@ exports[` with should render dropdown and make it v } .c32.c32.c32.c32.c32 { - border-width: 0px; - border-bottom-color: hsla(216,15%,54%,0.18); - border-style: solid; + border-bottom-color: hsla(211,20%,52%,0.18); + border-bottom-style: solid; } .c41.c41.c41.c41.c41 { @@ -243,6 +242,7 @@ exports[` with should render dropdown and make it v -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c11.c11.c11.c11.c11 { @@ -321,7 +321,7 @@ exports[` with should render dropdown and make it v .c24.c24.c24.c24.c24 { background-color: hsla(0,0%,100%,1); border-width: 1px; - border-color: hsla(216,15%,54%,0.18); + border-color: hsla(211,20%,52%,0.18); border-style: solid; border-radius: 4px; } @@ -330,10 +330,10 @@ exports[` with should render dropdown and make it v min-height: 36px; width: 100%; cursor: pointer; - background-color: hsla(218,89%,51%,1); - border-color: hsla(218,89%,51%,1); - border-width: 1px; - border-radius: 2px; + background-color: hsla(227,100%,59%,1); + border-color: hsla(227,100%,59%,1); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -349,6 +349,7 @@ exports[` with should render dropdown and make it v align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -363,25 +364,25 @@ exports[` with should render dropdown and make it v } .c42.c42.c42.c42.c42:hover { - background-color: hsla(223,95%,48%,1); - border-color: hsla(223,95%,48%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c42.c42.c42.c42.c42:active { - background-color: hsla(230,100%,42%,1); - border-color: hsla(230,100%,42%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c42.c42.c42.c42.c42:focus-visible { - background-color: hsla(227,100%,45%,1); - border-color: hsla(227,100%,45%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c42.c42.c42.c42.c42 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -389,14 +390,18 @@ exports[` with should render dropdown and make it v } .c6.c6.c6.c6.c6 { - color: hsla(217,18%,45%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -407,54 +412,70 @@ exports[` with should render dropdown and make it v } .c8.c8.c8.c8.c8 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c31.c31.c31.c31.c31 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 1rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.5rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c45.c45.c45.c45.c45 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; } .c39.c39.c39.c39.c39 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -480,6 +501,7 @@ exports[` with should render dropdown and make it v } .c33.c33.c33.c33.c33 { + border-width: 0; border-bottom-style: solid; border-bottom-width: 1px; -webkit-box-flex: 1; @@ -489,14 +511,18 @@ exports[` with should render dropdown and make it v } .c13.c13.c13.c13.c13 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; @@ -518,56 +544,72 @@ exports[` with should render dropdown and make it v } .c13.c13.c13.c13.c13::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c13.c13.c13.c13.c13::-moz-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c13.c13.c13.c13.c13:-ms-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c13.c13.c13.c13.c13::placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; @@ -583,14 +625,14 @@ exports[` with should render dropdown and make it v left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; } .c9.c9.c9.c9.c9 { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -608,8 +650,8 @@ exports[` with should render dropdown and make it v } .c9.c9.c9.c9.c9:hover { - background-color: hsla(216,15%,54%,0.18); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.18); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -633,8 +675,8 @@ exports[` with should render dropdown and make it v } .c9.c9.c9.c9.c9:focus-within { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -700,11 +742,15 @@ exports[` with should render dropdown and make it v } .c35.c35.c35.c35.c35:hover:not([aria-disabled=true]) { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(211,20%,52%,0.09); } .c35.c35.c35.c35.c35[aria-selected=true] { - background-color: hsla(218,89%,51%,0.09); + background-color: hsla(227,100%,59%,0.09); +} + +.c35.c35.c35.c35.c35[aria-selected=true]:hover { + background-color: hsla(227,100%,59%,0.18); } @media screen and (min-width:768px) { @@ -718,31 +764,31 @@ exports[` with should render dropdown and make it v @media screen and (min-width:320px) { .c32.c32.c32.c32.c32 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:480px) { .c32.c32.c32.c32.c32 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:768px) { .c32.c32.c32.c32.c32 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1024px) { .c32.c32.c32.c32.c32 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1200px) { .c32.c32.c32.c32.c32 { - border-style: solid; + border-bottom-style: solid; } } @@ -869,7 +915,7 @@ exports[` with should render dropdown and make it v clip-rule="evenodd" d="M5.29289 8.29289C5.68342 7.90237 6.31658 7.90237 6.70711 8.29289L12 13.5858L17.2929 8.29289C17.6834 7.90237 18.3166 7.90237 18.7071 8.29289C19.0976 8.68342 19.0976 9.31658 18.7071 9.70711L12.7071 15.7071C12.3166 16.0976 11.6834 16.0976 11.2929 15.7071L5.29289 9.70711C4.90237 9.31658 4.90237 8.68342 5.29289 8.29289Z" data-blade-component="svg-path" - fill="hsla(217, 56%, 17%, 1)" + fill="hsla(211, 22%, 56%, 1)" fill-rule="evenodd" /> @@ -886,7 +932,7 @@ exports[` with should render dropdown and make it v clip-rule="evenodd" d="M11.2929 8.29289C11.6834 7.90237 12.3166 7.90237 12.7071 8.29289L18.7071 14.2929C19.0976 14.6834 19.0976 15.3166 18.7071 15.7071C18.3166 16.0976 17.6834 16.0976 17.2929 15.7071L12 10.4142L6.70711 15.7071C6.31658 16.0976 5.68342 16.0976 5.29289 15.7071C4.90237 15.3166 4.90237 14.6834 5.29289 14.2929L11.2929 8.29289Z" data-blade-component="svg-path" - fill="hsla(217, 56%, 17%, 1)" + fill="hsla(211, 22%, 56%, 1)" fill-rule="evenodd" /> @@ -949,12 +995,12 @@ exports[` with should render dropdown and make it v class="c30" data-blade-component="base-box" > -
Recent Searches -
+

diff --git a/packages/blade/src/components/Input/DropdownInputTriggers/__tests__/__snapshots__/AutoComplete.web.test.tsx.snap b/packages/blade/src/components/Input/DropdownInputTriggers/__tests__/__snapshots__/AutoComplete.web.test.tsx.snap index 58b0a832549..825a539fad7 100644 --- a/packages/blade/src/components/Input/DropdownInputTriggers/__tests__/__snapshots__/AutoComplete.web.test.tsx.snap +++ b/packages/blade/src/components/Input/DropdownInputTriggers/__tests__/__snapshots__/AutoComplete.web.test.tsx.snap @@ -247,9 +247,8 @@ exports[` & with should render Bott } .c40.c40.c40.c40.c40 { - border-width: 0px; - border-bottom-color: hsla(216,15%,54%,0.18); - border-style: solid; + border-bottom-color: hsla(211,20%,52%,0.18); + border-bottom-style: solid; } .c42.c42.c42.c42.c42 { @@ -350,6 +349,7 @@ exports[` & with should render Bott -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c43.c43.c43.c43.c43 { @@ -386,7 +386,7 @@ exports[` & with should render Bott right: 0px; bottom: 0px; left: 0px; - background-color: hsla(214,15%,18%,0.64); + background-color: hsla(0,0%,0%,0.56); opacity: 1; } @@ -394,10 +394,10 @@ exports[` & with should render Bott min-height: 36px; width: 100%; cursor: pointer; - background-color: hsla(218,89%,51%,1); - border-color: hsla(218,89%,51%,1); - border-width: 1px; - border-radius: 2px; + background-color: hsla(227,100%,59%,1); + border-color: hsla(227,100%,59%,1); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -413,6 +413,7 @@ exports[` & with should render Bott align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -427,25 +428,25 @@ exports[` & with should render Bott } .c53.c53.c53.c53.c53:hover { - background-color: hsla(223,95%,48%,1); - border-color: hsla(223,95%,48%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c53.c53.c53.c53.c53:active { - background-color: hsla(230,100%,42%,1); - border-color: hsla(230,100%,42%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c53.c53.c53.c53.c53:focus-visible { - background-color: hsla(227,100%,45%,1); - border-color: hsla(227,100%,45%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c53.c53.c53.c53.c53 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -453,14 +454,18 @@ exports[` & with should render Bott } .c7.c7.c7.c7.c7 { - color: hsla(217,18%,45%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -471,27 +476,35 @@ exports[` & with should render Bott } .c8.c8.c8.c8.c8 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c14.c14.c14.c14.c14 { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; @@ -503,14 +516,18 @@ exports[` & with should render Bott } .c49.c49.c49.c49.c49 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -522,13 +539,17 @@ exports[` & with should render Bott .c56.c56.c56.c56.c56 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -550,6 +571,7 @@ exports[` & with should render Bott } .c41.c41.c41.c41.c41 { + border-width: 0; border-bottom-style: solid; border-bottom-width: 1px; -webkit-box-flex: 1; @@ -576,7 +598,7 @@ exports[` & with should render Bott -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - color: hsla(214,18%,69%,1); + color: hsla(211,22%,56%,1); -webkit-transition-property: color,box-shadow; transition-property: color,box-shadow; -webkit-transition-duration: 150ms; @@ -586,28 +608,38 @@ exports[` & with should render Bott } .c35.c35.c35.c35.c35:hover { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); } .c35.c35.c35.c35.c35:focus-visible { - outline: none; - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); - color: hsla(217,18%,45%,1); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); + color: hsla(211,26%,34%,1); } .c35.c35.c35.c35.c35:active { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); } .c38.c38.c38.c38.c38 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; @@ -629,56 +661,72 @@ exports[` & with should render Bott } .c38.c38.c38.c38.c38::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c38.c38.c38.c38.c38::-moz-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c38.c38.c38.c38.c38:-ms-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c38.c38.c38.c38.c38::placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; @@ -689,14 +737,18 @@ exports[` & with should render Bott } .c13.c13.c13.c13.c13 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; @@ -718,56 +770,72 @@ exports[` & with should render Bott } .c13.c13.c13.c13.c13::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c13.c13.c13.c13.c13::-moz-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c13.c13.c13.c13.c13:-ms-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c13.c13.c13.c13.c13::placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; @@ -783,7 +851,7 @@ exports[` & with should render Bott left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; -webkit-animation: cAlpMa-450290765 250ms cubic-bezier(0.3,0,0.2,1) forwards; @@ -796,7 +864,7 @@ exports[` & with should render Bott left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; -webkit-animation: iXkvNT-450290765 150ms cubic-bezier(0.3,0,0.2,1) forwards; @@ -804,8 +872,8 @@ exports[` & with should render Bott } .c9.c9.c9.c9.c9 { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -823,8 +891,8 @@ exports[` & with should render Bott } .c9.c9.c9.c9.c9:hover { - background-color: hsla(216,15%,54%,0.18); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.18); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -848,8 +916,8 @@ exports[` & with should render Bott } .c9.c9.c9.c9.c9:focus-within { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -867,8 +935,8 @@ exports[` & with should render Bott } .c36.c36.c36.c36.c36 { - background-color: hsla(218,89%,51%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(227,100%,59%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -886,8 +954,8 @@ exports[` & with should render Bott } .c36.c36.c36.c36.c36:hover { - background-color: hsla(218,89%,51%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(227,100%,59%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -911,8 +979,8 @@ exports[` & with should render Bott } .c36.c36.c36.c36.c36:focus-within { - background-color: hsla(218,89%,51%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(227,100%,59%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -976,11 +1044,15 @@ exports[` & with should render Bott } .c45.c45.c45.c45.c45:hover:not([aria-disabled=true]) { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(211,20%,52%,0.09); } .c45.c45.c45.c45.c45[aria-selected=true] { - background-color: hsla(218,89%,51%,0.09); + background-color: hsla(227,100%,59%,0.09); +} + +.c45.c45.c45.c45.c45[aria-selected=true]:hover { + background-color: hsla(227,100%,59%,0.18); } .c24.c24.c24.c24.c24 { @@ -1025,7 +1097,7 @@ exports[` & with should render Bott content: ''; width: 56px; height: 4px; - background-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.12); border-radius: 16px; } @@ -1033,7 +1105,7 @@ exports[` & with should render Bott background: hsla(0,0%,100%,1); border-top-left-radius: 16px; border-top-right-radius: 16px; - border-color: hsla(216,15%,54%,0.18); + border-color: hsla(211,20%,52%,0.18); box-shadow: 0px -24px 48px -12px hsla(217,56%,17%,0.18); opacity: 0; pointer-events: none; @@ -1074,31 +1146,31 @@ exports[` & with should render Bott @media screen and (min-width:320px) { .c40.c40.c40.c40.c40 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:480px) { .c40.c40.c40.c40.c40 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:768px) { .c40.c40.c40.c40.c40 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1024px) { .c40.c40.c40.c40.c40 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1200px) { .c40.c40.c40.c40.c40 { - border-style: solid; + border-bottom-style: solid; } } @@ -1241,7 +1313,7 @@ exports[` & with should render Bott clip-rule="evenodd" d="M5.29289 8.29289C5.68342 7.90237 6.31658 7.90237 6.70711 8.29289L12 13.5858L17.2929 8.29289C17.6834 7.90237 18.3166 7.90237 18.7071 8.29289C19.0976 8.68342 19.0976 9.31658 18.7071 9.70711L12.7071 15.7071C12.3166 16.0976 11.6834 16.0976 11.2929 15.7071L5.29289 9.70711C4.90237 9.31658 4.90237 8.68342 5.29289 8.29289Z" data-blade-component="svg-path" - fill="hsla(217, 56%, 17%, 1)" + fill="hsla(211, 22%, 56%, 1)" fill-rule="evenodd" /> @@ -1258,7 +1330,7 @@ exports[` & with should render Bott clip-rule="evenodd" d="M11.2929 8.29289C11.6834 7.90237 12.3166 7.90237 12.7071 8.29289L18.7071 14.2929C19.0976 14.6834 19.0976 15.3166 18.7071 15.7071C18.3166 16.0976 17.6834 16.0976 17.2929 15.7071L12 10.4142L6.70711 15.7071C6.31658 16.0976 5.68342 16.0976 5.29289 15.7071C4.90237 15.3166 4.90237 14.6834 5.29289 14.2929L11.2929 8.29289Z" data-blade-component="svg-path" - fill="hsla(217, 56%, 17%, 1)" + fill="hsla(211, 22%, 56%, 1)" fill-rule="evenodd" /> @@ -1747,7 +1819,7 @@ exports[` with should render dropdown and make it v .c23.c23.c23.c23.c23 { width: 100%; - box-shadow: 0 12px 16px -4px hsla(217,56%,17%,0.08),0 4px 6px -2px hsla(217,56%,17%,0.03); + box-shadow: 0px 8px 24px 0px hsla(217,56%,17%,0.12); } .c25.c25.c25.c25.c25 { @@ -1817,9 +1889,8 @@ exports[` with should render dropdown and make it v } .c32.c32.c32.c32.c32 { - border-width: 0px; - border-bottom-color: hsla(216,15%,54%,0.18); - border-style: solid; + border-bottom-color: hsla(211,20%,52%,0.18); + border-bottom-style: solid; } .c41.c41.c41.c41.c41 { @@ -1853,6 +1924,7 @@ exports[` with should render dropdown and make it v -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; + z-index: 1; } .c11.c11.c11.c11.c11 { @@ -1931,7 +2003,7 @@ exports[` with should render dropdown and make it v .c24.c24.c24.c24.c24 { background-color: hsla(0,0%,100%,1); border-width: 1px; - border-color: hsla(216,15%,54%,0.18); + border-color: hsla(211,20%,52%,0.18); border-style: solid; border-radius: 4px; } @@ -1940,10 +2012,10 @@ exports[` with should render dropdown and make it v min-height: 36px; width: 100%; cursor: pointer; - background-color: hsla(218,89%,51%,1); - border-color: hsla(218,89%,51%,1); - border-width: 1px; - border-radius: 2px; + background-color: hsla(227,100%,59%,1); + border-color: hsla(227,100%,59%,1); + border-width: 0px; + border-radius: 4px; border-style: solid; padding-top: 0px; padding-bottom: 0px; @@ -1959,6 +2031,7 @@ exports[` with should render dropdown and make it v align-items: center; -webkit-text-decoration: none; text-decoration: none; + overflow: hidden; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1973,25 +2046,25 @@ exports[` with should render dropdown and make it v } .c42.c42.c42.c42.c42:hover { - background-color: hsla(223,95%,48%,1); - border-color: hsla(223,95%,48%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c42.c42.c42.c42.c42:active { - background-color: hsla(230,100%,42%,1); - border-color: hsla(230,100%,42%,1); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); } .c42.c42.c42.c42.c42:focus-visible { - background-color: hsla(227,100%,45%,1); - border-color: hsla(227,100%,45%,1); - outline: 1px solid hsla(220,30%,96%,1); - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); + background-color: hsla(227,71%,51%,1); + border-color: hsla(227,100%,59%,1); + outline: 1px solid hsla(227,100%,59%,0.09); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.18); } .c42.c42.c42.c42.c42 * { - -webkit-transition-property: color,fill; - transition-property: color,fill; + -webkit-transition-property: color,fill,opacity; + transition-property: color,fill,opacity; -webkit-transition-duration: 150ms; transition-duration: 150ms; -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); @@ -1999,14 +2072,18 @@ exports[` with should render dropdown and make it v } .c6.c6.c6.c6.c6 { - color: hsla(217,18%,45%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -2017,54 +2094,70 @@ exports[` with should render dropdown and make it v } .c8.c8.c8.c8.c8 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c31.c31.c31.c31.c31 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 1rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.5rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c45.c45.c45.c45.c45 { color: hsla(0,0%,100%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; - font-weight: 700; + font-weight: 500; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; } .c39.c39.c39.c39.c39 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -2090,6 +2183,7 @@ exports[` with should render dropdown and make it v } .c33.c33.c33.c33.c33 { + border-width: 0; border-bottom-style: solid; border-bottom-width: 1px; -webkit-box-flex: 1; @@ -2099,14 +2193,18 @@ exports[` with should render dropdown and make it v } .c13.c13.c13.c13.c13 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; @@ -2128,56 +2226,72 @@ exports[` with should render dropdown and make it v } .c13.c13.c13.c13.c13::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c13.c13.c13.c13.c13::-moz-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c13.c13.c13.c13.c13:-ms-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; } .c13.c13.c13.c13.c13::placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: left; margin: 0; padding: 0; @@ -2193,7 +2307,7 @@ exports[` with should render dropdown and make it v left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; -webkit-animation: cAlpMa-450290765 250ms cubic-bezier(0.3,0,0.2,1) forwards; @@ -2201,8 +2315,8 @@ exports[` with should render dropdown and make it v } .c9.c9.c9.c9.c9 { - background-color: hsla(218,89%,51%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(227,100%,59%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -2220,8 +2334,8 @@ exports[` with should render dropdown and make it v } .c9.c9.c9.c9.c9:hover { - background-color: hsla(218,89%,51%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(227,100%,59%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -2245,8 +2359,8 @@ exports[` with should render dropdown and make it v } .c9.c9.c9.c9.c9:focus-within { - background-color: hsla(218,89%,51%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(227,100%,59%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -2312,11 +2426,15 @@ exports[` with should render dropdown and make it v } .c35.c35.c35.c35.c35:hover:not([aria-disabled=true]) { - background-color: hsla(216,15%,54%,0.09); + background-color: hsla(211,20%,52%,0.09); } .c35.c35.c35.c35.c35[aria-selected=true] { - background-color: hsla(218,89%,51%,0.09); + background-color: hsla(227,100%,59%,0.09); +} + +.c35.c35.c35.c35.c35[aria-selected=true]:hover { + background-color: hsla(227,100%,59%,0.18); } @media screen and (min-width:768px) { @@ -2330,31 +2448,31 @@ exports[` with should render dropdown and make it v @media screen and (min-width:320px) { .c32.c32.c32.c32.c32 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:480px) { .c32.c32.c32.c32.c32 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:768px) { .c32.c32.c32.c32.c32 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1024px) { .c32.c32.c32.c32.c32 { - border-style: solid; + border-bottom-style: solid; } } @media screen and (min-width:1200px) { .c32.c32.c32.c32.c32 { - border-style: solid; + border-bottom-style: solid; } } @@ -2479,7 +2597,7 @@ exports[` with should render dropdown and make it v clip-rule="evenodd" d="M5.29289 8.29289C5.68342 7.90237 6.31658 7.90237 6.70711 8.29289L12 13.5858L17.2929 8.29289C17.6834 7.90237 18.3166 7.90237 18.7071 8.29289C19.0976 8.68342 19.0976 9.31658 18.7071 9.70711L12.7071 15.7071C12.3166 16.0976 11.6834 16.0976 11.2929 15.7071L5.29289 9.70711C4.90237 9.31658 4.90237 8.68342 5.29289 8.29289Z" data-blade-component="svg-path" - fill="hsla(217, 56%, 17%, 1)" + fill="hsla(211, 22%, 56%, 1)" fill-rule="evenodd" /> @@ -2496,7 +2614,7 @@ exports[` with should render dropdown and make it v clip-rule="evenodd" d="M11.2929 8.29289C11.6834 7.90237 12.3166 7.90237 12.7071 8.29289L18.7071 14.2929C19.0976 14.6834 19.0976 15.3166 18.7071 15.7071C18.3166 16.0976 17.6834 16.0976 17.2929 15.7071L12 10.4142L6.70711 15.7071C6.31658 16.0976 5.68342 16.0976 5.29289 15.7071C4.90237 15.3166 4.90237 14.6834 5.29289 14.2929L11.2929 8.29289Z" data-blade-component="svg-path" - fill="hsla(217, 56%, 17%, 1)" + fill="hsla(211, 22%, 56%, 1)" fill-rule="evenodd" /> @@ -2559,12 +2677,12 @@ exports[` with should render dropdown and make it v class="c30" data-blade-component="base-box" > -
Recent Searches -
+

diff --git a/packages/blade/src/components/Input/OTPInput/OTPInput.stories.tsx b/packages/blade/src/components/Input/OTPInput/OTPInput.stories.tsx index ce57719d0d1..80bd532831f 100644 --- a/packages/blade/src/components/Input/OTPInput/OTPInput.stories.tsx +++ b/packages/blade/src/components/Input/OTPInput/OTPInput.stories.tsx @@ -154,12 +154,7 @@ export default { componentName="OTPInput" apiDecisionLink="https://github.com/razorpay/blade/blob/master/packages/blade/src/components/Input/OTPInput/_decisions/_decisions.md" componentDescription="A one-time password (OTP), also known as a one-time PIN, one-time authorization code (OTAC) or dynamic password, is a password that is valid for only one login session or a transaction. These are a group of inputs and can be either 4 or 6 characters long." - figmaURL={{ - paymentTheme: - 'https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?node-id=10953%3A191059', - bankingTheme: - 'https://www.figma.com/file/sAdplk2uYnI2ILnDKUxycW/Blade---Banking-Dark?node-id=9941%3A193027', - }} + figmaURL="https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?node-id=10953%3A191059'" > Usage diff --git a/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.native.test.tsx.snap b/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.native.test.tsx.snap index 6fedbf374c6..995c845f186 100644 --- a/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.native.test.tsx.snap +++ b/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.native.test.tsx.snap @@ -65,23 +65,24 @@ exports[` should render 1`] = ` > should render 1`] = ` > should render 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -217,8 +219,8 @@ exports[` should render 1`] = ` style={ [ { - "backgroundColor": "hsla(216, 15%, 54%, 0.09)", - "borderBottomColor": "hsla(216, 15%, 54%, 0.18)", + "backgroundColor": "hsla(211, 20%, 52%, 0.09)", + "borderBottomColor": "hsla(211, 20%, 52%, 0.18)", "borderBottomStyle": "solid", "borderBottomWidth": 1, "borderTopLeftRadius": 2, @@ -260,21 +262,22 @@ exports[` should render 1`] = ` onKeyPress={[Function]} onSubmitEditing={[Function]} placeholder="" - placeholderTextColor="hsla(214, 18%, 69%, 1)" + placeholderTextColor="hsla(211, 20%, 52%, 0.32)" secureTextEntry={false} style={ [ { "backgroundColor": "transparent", - "color": "hsla(216, 27%, 36%, 1)", + "color": "hsla(211, 26%, 34%, 1)", "flexBasis": 0, "flexGrow": 1, "flexShrink": 1, - "fontFamily": "Lato", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", "height": 36, + "letterSpacing": 0, "marginBottom": 0, "marginLeft": 0, "marginRight": 0, @@ -298,7 +301,7 @@ exports[` should render 1`] = ` style={ [ { - "backgroundColor": "hsla(218, 89%, 51%, 1)", + "backgroundColor": "hsla(227, 100%, 59%, 1)", "bottom": 0, "height": 1, "left": 0, @@ -361,8 +364,8 @@ exports[` should render 1`] = ` style={ [ { - "backgroundColor": "hsla(216, 15%, 54%, 0.09)", - "borderBottomColor": "hsla(216, 15%, 54%, 0.18)", + "backgroundColor": "hsla(211, 20%, 52%, 0.09)", + "borderBottomColor": "hsla(211, 20%, 52%, 0.18)", "borderBottomStyle": "solid", "borderBottomWidth": 1, "borderTopLeftRadius": 2, @@ -404,21 +407,22 @@ exports[` should render 1`] = ` onKeyPress={[Function]} onSubmitEditing={[Function]} placeholder="" - placeholderTextColor="hsla(214, 18%, 69%, 1)" + placeholderTextColor="hsla(211, 20%, 52%, 0.32)" secureTextEntry={false} style={ [ { "backgroundColor": "transparent", - "color": "hsla(216, 27%, 36%, 1)", + "color": "hsla(211, 26%, 34%, 1)", "flexBasis": 0, "flexGrow": 1, "flexShrink": 1, - "fontFamily": "Lato", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", "height": 36, + "letterSpacing": 0, "marginBottom": 0, "marginLeft": 0, "marginRight": 0, @@ -442,7 +446,7 @@ exports[` should render 1`] = ` style={ [ { - "backgroundColor": "hsla(218, 89%, 51%, 1)", + "backgroundColor": "hsla(227, 100%, 59%, 1)", "bottom": 0, "height": 1, "left": 0, @@ -505,8 +509,8 @@ exports[` should render 1`] = ` style={ [ { - "backgroundColor": "hsla(216, 15%, 54%, 0.09)", - "borderBottomColor": "hsla(216, 15%, 54%, 0.18)", + "backgroundColor": "hsla(211, 20%, 52%, 0.09)", + "borderBottomColor": "hsla(211, 20%, 52%, 0.18)", "borderBottomStyle": "solid", "borderBottomWidth": 1, "borderTopLeftRadius": 2, @@ -548,21 +552,22 @@ exports[` should render 1`] = ` onKeyPress={[Function]} onSubmitEditing={[Function]} placeholder="" - placeholderTextColor="hsla(214, 18%, 69%, 1)" + placeholderTextColor="hsla(211, 20%, 52%, 0.32)" secureTextEntry={false} style={ [ { "backgroundColor": "transparent", - "color": "hsla(216, 27%, 36%, 1)", + "color": "hsla(211, 26%, 34%, 1)", "flexBasis": 0, "flexGrow": 1, "flexShrink": 1, - "fontFamily": "Lato", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", "height": 36, + "letterSpacing": 0, "marginBottom": 0, "marginLeft": 0, "marginRight": 0, @@ -586,7 +591,7 @@ exports[` should render 1`] = ` style={ [ { - "backgroundColor": "hsla(218, 89%, 51%, 1)", + "backgroundColor": "hsla(227, 100%, 59%, 1)", "bottom": 0, "height": 1, "left": 0, @@ -649,8 +654,8 @@ exports[` should render 1`] = ` style={ [ { - "backgroundColor": "hsla(216, 15%, 54%, 0.09)", - "borderBottomColor": "hsla(216, 15%, 54%, 0.18)", + "backgroundColor": "hsla(211, 20%, 52%, 0.09)", + "borderBottomColor": "hsla(211, 20%, 52%, 0.18)", "borderBottomStyle": "solid", "borderBottomWidth": 1, "borderTopLeftRadius": 2, @@ -692,21 +697,22 @@ exports[` should render 1`] = ` onKeyPress={[Function]} onSubmitEditing={[Function]} placeholder="" - placeholderTextColor="hsla(214, 18%, 69%, 1)" + placeholderTextColor="hsla(211, 20%, 52%, 0.32)" secureTextEntry={false} style={ [ { "backgroundColor": "transparent", - "color": "hsla(216, 27%, 36%, 1)", + "color": "hsla(211, 26%, 34%, 1)", "flexBasis": 0, "flexGrow": 1, "flexShrink": 1, - "fontFamily": "Lato", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", "height": 36, + "letterSpacing": 0, "marginBottom": 0, "marginLeft": 0, "marginRight": 0, @@ -730,7 +736,7 @@ exports[` should render 1`] = ` style={ [ { - "backgroundColor": "hsla(218, 89%, 51%, 1)", + "backgroundColor": "hsla(227, 100%, 59%, 1)", "bottom": 0, "height": 1, "left": 0, @@ -793,8 +799,8 @@ exports[` should render 1`] = ` style={ [ { - "backgroundColor": "hsla(216, 15%, 54%, 0.09)", - "borderBottomColor": "hsla(216, 15%, 54%, 0.18)", + "backgroundColor": "hsla(211, 20%, 52%, 0.09)", + "borderBottomColor": "hsla(211, 20%, 52%, 0.18)", "borderBottomStyle": "solid", "borderBottomWidth": 1, "borderTopLeftRadius": 2, @@ -836,21 +842,22 @@ exports[` should render 1`] = ` onKeyPress={[Function]} onSubmitEditing={[Function]} placeholder="" - placeholderTextColor="hsla(214, 18%, 69%, 1)" + placeholderTextColor="hsla(211, 20%, 52%, 0.32)" secureTextEntry={false} style={ [ { "backgroundColor": "transparent", - "color": "hsla(216, 27%, 36%, 1)", + "color": "hsla(211, 26%, 34%, 1)", "flexBasis": 0, "flexGrow": 1, "flexShrink": 1, - "fontFamily": "Lato", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", "height": 36, + "letterSpacing": 0, "marginBottom": 0, "marginLeft": 0, "marginRight": 0, @@ -874,7 +881,7 @@ exports[` should render 1`] = ` style={ [ { - "backgroundColor": "hsla(218, 89%, 51%, 1)", + "backgroundColor": "hsla(227, 100%, 59%, 1)", "bottom": 0, "height": 1, "left": 0, @@ -937,8 +944,8 @@ exports[` should render 1`] = ` style={ [ { - "backgroundColor": "hsla(216, 15%, 54%, 0.09)", - "borderBottomColor": "hsla(216, 15%, 54%, 0.18)", + "backgroundColor": "hsla(211, 20%, 52%, 0.09)", + "borderBottomColor": "hsla(211, 20%, 52%, 0.18)", "borderBottomStyle": "solid", "borderBottomWidth": 1, "borderTopLeftRadius": 2, @@ -980,21 +987,22 @@ exports[` should render 1`] = ` onKeyPress={[Function]} onSubmitEditing={[Function]} placeholder="" - placeholderTextColor="hsla(214, 18%, 69%, 1)" + placeholderTextColor="hsla(211, 20%, 52%, 0.32)" secureTextEntry={false} style={ [ { "backgroundColor": "transparent", - "color": "hsla(216, 27%, 36%, 1)", + "color": "hsla(211, 26%, 34%, 1)", "flexBasis": 0, "flexGrow": 1, "flexShrink": 1, - "fontFamily": "Lato", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", "height": 36, + "letterSpacing": 0, "marginBottom": 0, "marginLeft": 0, "marginRight": 0, @@ -1018,7 +1026,7 @@ exports[` should render 1`] = ` style={ [ { - "backgroundColor": "hsla(218, 89%, 51%, 1)", + "backgroundColor": "hsla(227, 100%, 59%, 1)", "bottom": 0, "height": 1, "left": 0, diff --git a/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.ssr.test.tsx.snap b/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.ssr.test.tsx.snap index 3d3467f19c6..9e530f7b4e4 100644 --- a/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.ssr.test.tsx.snap +++ b/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.ssr.test.tsx.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` should have hidden input for form submissions 1`] = `"
"`; +exports[` should have hidden input for form submissions 1`] = `"
"`; exports[` should have hidden input for form submissions 2`] = ` .c0.c0.c0.c0.c0 { @@ -78,14 +78,18 @@ exports[` should have hidden input for form submissions 2`] = ` } .c3.c3.c3.c3.c3 { - color: hsla(217,18%,45%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -96,27 +100,35 @@ exports[` should have hidden input for form submissions 2`] = ` } .c5.c5.c5.c5.c5 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c10.c10.c10.c10.c10 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -138,56 +150,72 @@ exports[` should have hidden input for form submissions 2`] = ` } .c10.c10.c10.c10.c10::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; } .c10.c10.c10.c10.c10::-moz-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; } .c10.c10.c10.c10.c10:-ms-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; } .c10.c10.c10.c10.c10::placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -203,14 +231,14 @@ exports[` should have hidden input for form submissions 2`] = ` left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; } .c9.c9.c9.c9.c9 { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -227,8 +255,8 @@ exports[` should have hidden input for form submissions 2`] = ` } .c9.c9.c9.c9.c9:hover { - background-color: hsla(216,15%,54%,0.18); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.18); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -251,8 +279,8 @@ exports[` should have hidden input for form submissions 2`] = ` } .c9.c9.c9.c9.c9:focus-within { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; diff --git a/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.web.test.tsx.snap b/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.web.test.tsx.snap index cb019b558d3..2482ce9c5b7 100644 --- a/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.web.test.tsx.snap +++ b/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.web.test.tsx.snap @@ -76,14 +76,18 @@ exports[` should render 1`] = ` } .c3.c3.c3.c3.c3 { - color: hsla(217,18%,45%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -94,27 +98,35 @@ exports[` should render 1`] = ` } .c5.c5.c5.c5.c5 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c10.c10.c10.c10.c10 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -136,56 +148,72 @@ exports[` should render 1`] = ` } .c10.c10.c10.c10.c10::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; } .c10.c10.c10.c10.c10::-moz-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; } .c10.c10.c10.c10.c10:-ms-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; } .c10.c10.c10.c10.c10::placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; text-align: center; margin: 0; padding: 0; @@ -201,14 +229,14 @@ exports[` should render 1`] = ` left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; } .c9.c9.c9.c9.c9 { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -225,8 +253,8 @@ exports[` should render 1`] = ` } .c9.c9.c9.c9.c9:hover { - background-color: hsla(216,15%,54%,0.18); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.18); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -249,8 +277,8 @@ exports[` should render 1`] = ` } .c9.c9.c9.c9.c9:focus-within { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; diff --git a/packages/blade/src/components/Input/PasswordInput/PasswordInput.stories.tsx b/packages/blade/src/components/Input/PasswordInput/PasswordInput.stories.tsx index ebafbc9983b..e7b8447a690 100644 --- a/packages/blade/src/components/Input/PasswordInput/PasswordInput.stories.tsx +++ b/packages/blade/src/components/Input/PasswordInput/PasswordInput.stories.tsx @@ -17,12 +17,7 @@ const Page = (): ReactElement => { componentName="PasswordInput" apiDecisionLink="https://github.com/razorpay/blade/blob/master/packages/blade/src/components/Input/PasswordInput/_decisions/decisions.md" componentDescription="PasswordInput is an input field for entering passwords. The input is masked by default. On mobile devices the last typed letter is shown for a brief moment. The masking can be toggled using an optional reveal button." - figmaURL={{ - paymentTheme: - 'https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?node-id=10953%3A110176', - bankingTheme: - 'https://www.figma.com/file/sAdplk2uYnI2ILnDKUxycW/Blade---Banking-Dark?node-id=9995%3A180296', - }} + figmaURL="https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?node-id=10953%3A110176" > Usage diff --git a/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.native.test.tsx.snap b/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.native.test.tsx.snap index ea6eff139e2..f6aa3b38ec1 100644 --- a/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.native.test.tsx.snap +++ b/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.native.test.tsx.snap @@ -84,23 +84,24 @@ exports[` should render 1`] = ` > should render 1`] = ` > should render 1`] = ` style={ [ { - "color": "hsla(217, 56%, 17%, 1)", - "fontFamily": "Lato", + "color": "hsla(212, 39%, 16%, 1)", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", + "letterSpacing": 0, "lineHeight": 20, "marginBottom": 0, "marginLeft": 0, @@ -187,8 +189,8 @@ exports[` should render 1`] = ` style={ [ { - "backgroundColor": "hsla(216, 15%, 54%, 0.09)", - "borderBottomColor": "hsla(216, 15%, 54%, 0.18)", + "backgroundColor": "hsla(211, 20%, 52%, 0.09)", + "borderBottomColor": "hsla(211, 20%, 52%, 0.18)", "borderBottomStyle": "solid", "borderBottomWidth": 1, "borderTopLeftRadius": 2, @@ -237,22 +239,23 @@ exports[` should render 1`] = ` onFocus={[Function]} onKeyPress={[Function]} onSubmitEditing={[Function]} - placeholderTextColor="hsla(214, 18%, 69%, 1)" + placeholderTextColor="hsla(211, 20%, 52%, 0.32)" returnKeyType="done" secureTextEntry={true} style={ [ { "backgroundColor": "transparent", - "color": "hsla(216, 27%, 36%, 1)", + "color": "hsla(211, 26%, 34%, 1)", "flexBasis": 0, "flexGrow": 1, "flexShrink": 1, - "fontFamily": "Lato", + "fontFamily": "Inter", "fontSize": 14, "fontStyle": "normal", "fontWeight": "400", "height": 36, + "letterSpacing": 0, "marginBottom": 0, "marginLeft": 0, "marginRight": 0, @@ -324,7 +327,7 @@ exports[` should render 1`] = ` } accessible={true} collapsable={false} - contrast="low" + emphasis="intense" focusable={true} onBlur={[Function]} onClick={[Function]} @@ -387,7 +390,7 @@ exports[` should render 1`] = ` should render 1`] = ` should render 1`] = ` style={ [ { - "backgroundColor": "hsla(218, 89%, 51%, 1)", + "backgroundColor": "hsla(227, 100%, 59%, 1)", "bottom": 0, "height": 1, "left": 0, diff --git a/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.ssr.test.tsx.snap b/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.ssr.test.tsx.snap index 4f129260501..9cf7df19d71 100644 --- a/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.ssr.test.tsx.snap +++ b/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.ssr.test.tsx.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` should display error validation state 1`] = `"
Error
"`; +exports[` should display error validation state 1`] = `"
Error
"`; exports[` should display error validation state 2`] = ` .c0.c0.c0.c0.c0 { @@ -127,14 +127,18 @@ exports[` should display error validation state 2`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(217,18%,45%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -145,40 +149,52 @@ exports[` should display error validation state 2`] = ` } .c6.c6.c6.c6.c6 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c18.c18.c18.c18.c18 { - color: hsla(8,73%,47%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(4,74%,49%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.6875rem; font-weight: 400; font-style: italic; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c8.c8.c8.c8.c8 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; -webkit-flex: 1; @@ -199,53 +215,69 @@ exports[` should display error validation state 2`] = ` } .c8.c8.c8.c8.c8::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c8.c8.c8.c8.c8::-moz-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c8.c8.c8.c8.c8:-ms-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c8.c8.c8.c8.c8::placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } @@ -260,14 +292,14 @@ exports[` should display error validation state 2`] = ` left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; } .c7.c7.c7.c7.c7 { - background-color: hsla(9,91%,56%,0.09); - border-bottom-color: hsla(8,73%,47%,1); + background-color: hsla(4,74%,49%,0.09); + border-bottom-color: hsla(4,74%,49%,1); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -284,8 +316,8 @@ exports[` should display error validation state 2`] = ` } .c7.c7.c7.c7.c7:hover { - background-color: hsla(9,91%,56%,0.09); - border-bottom-color: hsla(8,73%,47%,1); + background-color: hsla(4,74%,49%,0.09); + border-bottom-color: hsla(4,74%,49%,1); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -308,8 +340,8 @@ exports[` should display error validation state 2`] = ` } .c7.c7.c7.c7.c7:focus-within { - background-color: hsla(9,91%,56%,0.09); - border-bottom-color: hsla(8,73%,47%,1); + background-color: hsla(4,74%,49%,0.09); + border-bottom-color: hsla(4,74%,49%,1); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -360,7 +392,7 @@ exports[` should display error validation state 2`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - color: hsla(214,18%,69%,1); + color: hsla(211,22%,56%,1); -webkit-transition-property: color,box-shadow; transition-property: color,box-shadow; -webkit-transition-duration: 150ms; @@ -370,17 +402,23 @@ exports[` should display error validation state 2`] = ` } .c11.c11.c11.c11.c11:hover { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); } .c11.c11.c11.c11.c11:focus-visible { - outline: none; - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); - color: hsla(217,18%,45%,1); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); + color: hsla(211,26%,34%,1); } .c11.c11.c11.c11.c11:active { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); }
should display error validation state 2`] = `
should display error validation state 2`] = ` @@ -544,8 +583,7 @@ exports[` should display error validation state 2`] = ` /> Error diff --git a/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.web.test.tsx.snap b/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.web.test.tsx.snap index ac7a8c9cc50..d6ab7668cb1 100644 --- a/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.web.test.tsx.snap +++ b/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.web.test.tsx.snap @@ -103,14 +103,18 @@ exports[` should render 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(217,18%,45%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; - font-weight: 700; + font-weight: 600; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; - line-height: 1rem; + line-height: 1.125rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; overflow: hidden; @@ -121,27 +125,35 @@ exports[` should render 1`] = ` } .c6.c6.c6.c6.c6 { - color: hsla(217,56%,17%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(212,39%,16%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c8.c8.c8.c8.c8 { - color: hsla(216,27%,36%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,26%,34%,1); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; -webkit-flex: 1; @@ -162,53 +174,69 @@ exports[` should render 1`] = ` } .c8.c8.c8.c8.c8::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c8.c8.c8.c8.c8::-moz-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c8.c8.c8.c8.c8:-ms-input-placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } .c8.c8.c8.c8.c8::placeholder { - color: hsla(214,18%,69%,1); - font-family: Lato,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + color: hsla(211,20%,52%,0.32); + font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; font-style: normal; -webkit-text-decoration-line: none; text-decoration-line: none; line-height: 1.25rem; + -webkit-letter-spacing: 0px; + -moz-letter-spacing: 0px; + -ms-letter-spacing: 0px; + letter-spacing: 0px; margin: 0; padding: 0; } @@ -223,14 +251,14 @@ exports[` should render 1`] = ` left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; } .c7.c7.c7.c7.c7 { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -247,8 +275,8 @@ exports[` should render 1`] = ` } .c7.c7.c7.c7.c7:hover { - background-color: hsla(216,15%,54%,0.18); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.18); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -271,8 +299,8 @@ exports[` should render 1`] = ` } .c7.c7.c7.c7.c7:focus-within { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -323,7 +351,7 @@ exports[` should render 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - color: hsla(214,18%,69%,1); + color: hsla(211,22%,56%,1); -webkit-transition-property: color,box-shadow; transition-property: color,box-shadow; -webkit-transition-duration: 150ms; @@ -333,17 +361,23 @@ exports[` should render 1`] = ` } .c11.c11.c11.c11.c11:hover { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); } .c11.c11.c11.c11.c11:focus-visible { - outline: none; - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); - color: hsla(217,18%,45%,1); + outline: 4px solid hsla(227,100%,59%,0.18); + outline-offset: 1px; + -webkit-transition-property: outline-width; + transition-property: outline-width; + -webkit-transition-duration: 70ms; + transition-duration: 70ms; + -webkit-transition-timing-function: cubic-bezier(0.3,0,0.2,1); + transition-timing-function: cubic-bezier(0.3,0,0.2,1); + color: hsla(211,26%,34%,1); } .c11.c11.c11.c11.c11:active { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); }
diff --git a/packages/blade/src/components/Input/TextArea/TextArea.stories.tsx b/packages/blade/src/components/Input/TextArea/TextArea.stories.tsx index 30ea2daa089..dd7c29f9646 100644 --- a/packages/blade/src/components/Input/TextArea/TextArea.stories.tsx +++ b/packages/blade/src/components/Input/TextArea/TextArea.stories.tsx @@ -170,12 +170,7 @@ export default { componentDescription="The TextArea component lets you enter long form text which spans over multiple lines." componentName="TextArea" apiDecisionLink="https://github.com/razorpay/blade/blob/master/packages/blade/src/components/Input/TextArea/_decisions/decisions.md" - figmaURL={{ - paymentTheme: - 'https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?node-id=11115%3A166804', - bankingTheme: - 'https://www.figma.com/file/sAdplk2uYnI2ILnDKUxycW/Blade---Banking-Dark?node-id=10050%3A180805', - }} + figmaURL="https://www.figma.com/file/jubmQL9Z8V7881ayUD95ps/Blade---Payment-Light?node-id=11115%3A166804'" > Usage diff --git a/packages/blade/src/components/Input/TextArea/__tests__/__snapshots__/TextArea.native.test.tsx.snap b/packages/blade/src/components/Input/TextArea/__tests__/__snapshots__/TextArea.native.test.tsx.snap index 1e7581991f0..96bf78b7e72 100644 --- a/packages/blade/src/components/Input/TextArea/__tests__/__snapshots__/TextArea.native.test.tsx.snap +++ b/packages/blade/src/components/Input/TextArea/__tests__/__snapshots__/TextArea.native.test.tsx.snap @@ -86,23 +86,24 @@ exports[`
"`; +exports[`
"`; exports[`